def destroy_routers(self):
     self.logger.debug('Destroying routers')
     for router in self.routers:
         self.stop_router(router)
         cmd = destroyRouter.destroyRouterCmd()
         cmd.id = router.id
         self.apiclient.destroyRouter(cmd)
     self.routers = []
Ejemplo n.º 2
0
 def destroy_routers(self):
     self.logger.debug('Destroying routers')
     for router in self.routers:
         self.stop_router(router)
         cmd = destroyRouter.destroyRouterCmd()
         cmd.id = router.id
         self.apiclient.destroyRouter(cmd)
     self.routers = []