From 7915b4a2eaf26b13b86160948466c4052c154c1c Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Sun, 22 Jan 2017 16:42:32 -0800 Subject: [PATCH] Add missing module-level SUBNET ref The resources module was missing the SUBNET variable so it wasn't possible for consumers to reference it like the other resources. TrivialFix Partially-Implements: blueprint push-notifications Change-Id: I954858f5c4487ea97a482a24576a6ca523d4d5d6 --- neutron/api/rpc/callbacks/resources.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron/api/rpc/callbacks/resources.py b/neutron/api/rpc/callbacks/resources.py index 42f21ce9dac..646719b747e 100644 --- a/neutron/api/rpc/callbacks/resources.py +++ b/neutron/api/rpc/callbacks/resources.py @@ -24,6 +24,7 @@ QOS_POLICY = policy.QosPolicy.obj_name() SUBPORT = trunk.SubPort.obj_name() PORT = ports.Port.obj_name() NETWORK = network.Network.obj_name() +SUBNET = subnet.Subnet.obj_name() SECURITYGROUP = securitygroup.SecurityGroup.obj_name() SECURITYGROUPRULE = securitygroup.SecurityGroupRule.obj_name()