Add conntrack helper to parent resource mapping

For policy to work router must map to the conntrack
helper service plug-in.

Related-Bug: #1823633
Change-Id: Ib4e0c412e1e20f5148c11a909c549413859e1bc9
This commit is contained in:
Harald Jensås 2019-06-05 23:06:39 +02:00
parent c9773782c3
commit 7a0a41b904
3 changed files with 9 additions and 1 deletions

View File

@ -26,3 +26,4 @@ LOG_API = "LOGGING"
PORTFORWARDING = "PORTFORWARDING"
FLOATINGIPPOOL = "FLOATINGIPPOOL"
NETWORK_SEGMENT_RANGE = "NETWORK_SEGMENT_RANGE"
CONNTRACKHELPER = "CONNTRACKHELPER"

View File

@ -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
}

View File

@ -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.