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)