diff --git a/neutron_lib/services/constants.py b/neutron_lib/services/constants.py index 99b843bf7..7620d8df8 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 qos from neutron_lib.plugins import constants as plugin_const @@ -28,5 +29,6 @@ from neutron_lib.plugins import constants as plugin_const EXT_PARENT_RESOURCE_MAPPING = { l3.FLOATINGIP: plugin_const.L3, l3.ROUTER: plugin_const.CONNTRACKHELPER, - local_ip.RESOURCE_NAME: plugin_const.LOCAL_IP + local_ip.RESOURCE_NAME: plugin_const.LOCAL_IP, + qos.POLICY: plugin_const.QOS, } diff --git a/releasenotes/notes/qos-plugin-parent-resource-mapping-ab5208caba9eda01.yaml b/releasenotes/notes/qos-plugin-parent-resource-mapping-ab5208caba9eda01.yaml new file mode 100644 index 000000000..842f9d773 --- /dev/null +++ b/releasenotes/notes/qos-plugin-parent-resource-mapping-ab5208caba9eda01.yaml @@ -0,0 +1,5 @@ +--- +other: + - | + Parent resource mapping was added to ``EXT_PARENT_RESOURCE_MAPPING`` in + ``neutron_lib.services.constants`` for the ``qos`` plugin.