def create_router(self): IOSRouter.create_router(self) # EtherSwitch router special case: automatically assign NM-16ESW in slot 1 if not self.default_symbol: config = self.create_config() config['slots'][1] = 'NM-16ESW' self.set_config(config)
def __init__(self, renderer_normal, renderer_select): IOSRouter.__init__(self, renderer_normal, renderer_select) IOSRouter3700Defaults.__init__(self) self.platform = 'c2691'