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:
@@ -26,3 +26,4 @@ LOG_API = "LOGGING"
|
|||||||
PORTFORWARDING = "PORTFORWARDING"
|
PORTFORWARDING = "PORTFORWARDING"
|
||||||
FLOATINGIPPOOL = "FLOATINGIPPOOL"
|
FLOATINGIPPOOL = "FLOATINGIPPOOL"
|
||||||
NETWORK_SEGMENT_RANGE = "NETWORK_SEGMENT_RANGE"
|
NETWORK_SEGMENT_RANGE = "NETWORK_SEGMENT_RANGE"
|
||||||
|
CONNTRACKHELPER = "CONNTRACKHELPER"
|
||||||
|
|||||||
@@ -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
|
# SERVICE_PLUGIN_NAME is the service plugin which introduced the resource and
|
||||||
# registered the service plugin name in neutron-lib.
|
# registered the service plugin name in neutron-lib.
|
||||||
EXT_PARENT_RESOURCE_MAPPING = {
|
EXT_PARENT_RESOURCE_MAPPING = {
|
||||||
l3.FLOATINGIP: plugin_const.L3
|
l3.FLOATINGIP: plugin_const.L3,
|
||||||
|
l3.ROUTER: plugin_const.CONNTRACKHELPER
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
||||||
Reference in New Issue
Block a user