Revert "Add "network" to the EXT_PARENT_RESOURCE_MAPPING"
This reverts commit a014720912
.
Reason for revert: It is not needed to have network in the EXT_PARENT_RESOURCE_MAPPING as we will keep NET_OWNER rules and use
them for subnets and ports API.
Please see [1] for more detailed explanation why it's better to keep NET_OWNER rules for those policies.
[1] https://review.opendev.org/c/openstack/neutron/+/889153
Change-Id: Ia2cd6301e04ac502888ee2b8042ea8c19873a95a
This commit is contained in:
parent
a014720912
commit
5df6e93b59
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
@ -32,5 +31,4 @@ 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,
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
other:
|
|
||||||
- |
|
|
||||||
Resource ``network`` was added to the ``EXT_PARENT_RESOURCE_MAPPING in
|
|
||||||
``neutron_lib.services.constants``.
|
|
Loading…
Reference in New Issue