diff --git a/neutron_lib/services/constants.py b/neutron_lib/services/constants.py index 7620d8df8..78de39cad 100644 --- a/neutron_lib/services/constants.py +++ b/neutron_lib/services/constants.py @@ -14,6 +14,7 @@ from neutron_lib.api.definitions import l3 from neutron_lib.api.definitions import local_ip +from neutron_lib.api.definitions import network from neutron_lib.api.definitions import qos from neutron_lib.plugins import constants as plugin_const @@ -31,4 +32,5 @@ EXT_PARENT_RESOURCE_MAPPING = { l3.ROUTER: plugin_const.CONNTRACKHELPER, local_ip.RESOURCE_NAME: plugin_const.LOCAL_IP, qos.POLICY: plugin_const.QOS, + network.RESOURCE_NAME: plugin_const.CORE, } diff --git a/releasenotes/notes/network-in-parent-resource-mapping-0bc57f9bb54d1dc9.yaml b/releasenotes/notes/network-in-parent-resource-mapping-0bc57f9bb54d1dc9.yaml new file mode 100644 index 000000000..18613ed73 --- /dev/null +++ b/releasenotes/notes/network-in-parent-resource-mapping-0bc57f9bb54d1dc9.yaml @@ -0,0 +1,5 @@ +--- +other: + - | + Resource ``network`` was added to the ``EXT_PARENT_RESOURCE_MAPPING in + ``neutron_lib.services.constants``.