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:
Slawek Kaplonski 2023-07-21 08:19:12 +00:00
parent a014720912
commit 5df6e93b59
2 changed files with 0 additions and 7 deletions

View File

@ -14,7 +14,6 @@
from neutron_lib.api.definitions import l3
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.plugins import constants as plugin_const
@ -32,5 +31,4 @@ EXT_PARENT_RESOURCE_MAPPING = {
l3.ROUTER: plugin_const.CONNTRACKHELPER,
local_ip.RESOURCE_NAME: plugin_const.LOCAL_IP,
qos.POLICY: plugin_const.QOS,
network.RESOURCE_NAME: plugin_const.CORE,
}

View File

@ -1,5 +0,0 @@
---
other:
- |
Resource ``network`` was added to the ``EXT_PARENT_RESOURCE_MAPPING in
``neutron_lib.services.constants``.