Exemple #1
0
    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)
Exemple #2
0
    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)