Add "network" to the EXT_PARENT_RESOURCE_MAPPING
It's needed so network can be used as ext_parent for e.g. subnets in the API policy rules. Related-bug: #2023679 Change-Id: Ib446dffcd60e18b578a4d816ab5881e2fabc3e51
This commit is contained in:
parent
95b6a4bb47
commit
a014720912
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
from neutron_lib.api.definitions import l3
|
from neutron_lib.api.definitions import l3
|
||||||
from neutron_lib.api.definitions import local_ip
|
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.api.definitions import qos
|
||||||
from neutron_lib.plugins import constants as plugin_const
|
from neutron_lib.plugins import constants as plugin_const
|
||||||
|
|
||||||
@ -31,4 +32,5 @@ EXT_PARENT_RESOURCE_MAPPING = {
|
|||||||
l3.ROUTER: plugin_const.CONNTRACKHELPER,
|
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,
|
qos.POLICY: plugin_const.QOS,
|
||||||
|
network.RESOURCE_NAME: plugin_const.CORE,
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
other:
|
||||||
|
- |
|
||||||
|
Resource ``network`` was added to the ``EXT_PARENT_RESOURCE_MAPPING in
|
||||||
|
``neutron_lib.services.constants``.
|
Loading…
Reference in New Issue
Block a user