diff --git a/neutron_lib/plugins/constants.py b/neutron_lib/plugins/constants.py index a67439cbb..6b6ca7e9b 100644 --- a/neutron_lib/plugins/constants.py +++ b/neutron_lib/plugins/constants.py @@ -26,3 +26,4 @@ LOG_API = "LOGGING" PORTFORWARDING = "PORTFORWARDING" FLOATINGIPPOOL = "FLOATINGIPPOOL" NETWORK_SEGMENT_RANGE = "NETWORK_SEGMENT_RANGE" +CONNTRACKHELPER = "CONNTRACKHELPER" diff --git a/neutron_lib/services/constants.py b/neutron_lib/services/constants.py index cad5ac52e..5a5f374fe 100644 --- a/neutron_lib/services/constants.py +++ b/neutron_lib/services/constants.py @@ -25,5 +25,6 @@ from neutron_lib.plugins import constants as plugin_const # SERVICE_PLUGIN_NAME is the service plugin which introduced the resource and # registered the service plugin name in neutron-lib. EXT_PARENT_RESOURCE_MAPPING = { - l3.FLOATINGIP: plugin_const.L3 + l3.FLOATINGIP: plugin_const.L3, + l3.ROUTER: plugin_const.CONNTRACKHELPER } diff --git a/releasenotes/notes/conntrack-helper-parent-resource-mapping-95a4a2cb6f6536fe.yaml b/releasenotes/notes/conntrack-helper-parent-resource-mapping-95a4a2cb6f6536fe.yaml new file mode 100644 index 000000000..88b43c20a --- /dev/null +++ b/releasenotes/notes/conntrack-helper-parent-resource-mapping-95a4a2cb6f6536fe.yaml @@ -0,0 +1,6 @@ +--- +other: + - | + Parent resource mapping was added to ``EXT_PARENT_RESOURCE_MAPPING`` in + ``neutron_lib.services.constants`` for the ``l3-conntrack-helper`` + extension.