def create_router(self, context, router): # Put the router in PENDING CREATE router["router"]["status"] = constants.STATUS_PENDING_CREATE new_router = super(HdnNeutronPlugin, self).create_router(context, router) # Notify HDN operators hdnlib.notify_router_create(new_router) LOG.debug("Queued request to create router: %s", new_router["id"]) return new_router
def create_router(self, context, router): # Put the router in PENDING CREATE router['router']['status'] = constants.STATUS_PENDING_CREATE new_router = super(HdnL3Plugin, self).create_router( context, router) registry.notify(resources.ROUTER, events.AFTER_CREATE, self, tenant_id=context.tenant_id, resource_id=new_router['id']) # Notify HDN operators hdnlib.notify_router_create(new_router) LOG.debug("Queued request to create router: %s", new_router['id']) return new_router
def create_router(self, context, router): # Put the router in PENDING CREATE router['router']['status'] = constants.STATUS_PENDING_CREATE new_router = super(HdnL3Plugin, self).create_router(context, router) registry.notify(resources.ROUTER, events.AFTER_CREATE, self, tenant_id=context.tenant_id, resource_id=new_router['id']) # Notify HDN operators hdnlib.notify_router_create(new_router) LOG.debug("Queued request to create router: %s", new_router['id']) return new_router