def create_subnet(self, context, subnet): subnet['subnet']['status'] = constants.STATUS_PENDING_CREATE new_subnet = super(HdnNeutronPlugin, self).create_subnet( context, subnet) # Notify HDN operators hdnlib.notify_subnet_create(new_subnet) LOG.debug("Queued request to create subnet: %s", new_subnet['id']) return new_subnet
def create_subnet(self, context, subnet): subnet['subnet']['status'] = constants.STATUS_PENDING_CREATE new_subnet = super(HdnNeutronPlugin, self).create_subnet( context, subnet) registry.notify(resources.SUBNET, events.AFTER_CREATE, self, tenant_id=context.tenant_id, resource_id=new_subnet['id']) # Notify HDN operators hdnlib.notify_subnet_create(new_subnet) LOG.debug("Queued request to create subnet: %s", new_subnet['id']) return new_subnet