commit 057da4b7656110bfb125346fcbe2394312a025f9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Nov 12 11:14:02 2022 +0100
Added "qos" plugin to "EXT_PARENT_RESOURCE_MAPPING"
The plugin "qos" is added to the "EXT_PARENT_RESOURCE_MAPPING" constant.
The policy engine can now check the QoS rule ownership using the QoS
policy project ID. The QoS rules are resources that do not have an
assigned project ID, it is inherited from the QoS policy. This patch
allows to check a QoS rule ownership using the "ext_parent_policy_id"
field, that stores the QoS policy project ID.
NOTE: once released, this bug fix must include Neutron unit tests
checking, using the rules:
"update_policy_bandwidth_limit_rule": "rule:admin_or_owner"
"update_policy_packet_rate_limit_rule": "rule:admin_or_owner"
"update_policy_dscp_marking_rule": "rule:admin_or_owner"
"update_policy_minimum_bandwidth_rule": "rule:admin_or_owner"
"update_policy_minimum_packet_rate_rule": "rule:admin_or_owner"
Conflicts: neutron_lib/services/constants.py
Closes-Bug: #1996606
Change-Id: I0531ea2c1bf29aecfab9b491eefef044a4ee49ad
(cherry picked from commit 7e4a6beed43d28f7ab0c6c47ea056c70ea7b1fea)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron- lib/+/864738 /opendev. org/openstack/ neutron- lib/commit/ 057da4b7656110b fb125346fcbe239 4312a025f9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 057da4b7656110b fb125346fcbe239 4312a025f9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Nov 12 11:14:02 2022 +0100
Added "qos" plugin to "EXT_PARENT_ RESOURCE_ MAPPING"
The plugin "qos" is added to the "EXT_PARENT_ RESOURCE_ MAPPING" constant. policy_ id"
The policy engine can now check the QoS rule ownership using the QoS
policy project ID. The QoS rules are resources that do not have an
assigned project ID, it is inherited from the QoS policy. This patch
allows to check a QoS rule ownership using the "ext_parent_
field, that stores the QoS policy project ID.
NOTE: once released, this bug fix must include Neutron unit tests update_ policy_ bandwidth_ limit_rule" : "rule:admin_ or_owner" update_ policy_ packet_ rate_limit_ rule": "rule:admin_ or_owner" update_ policy_ dscp_marking_ rule": "rule:admin_ or_owner" update_ policy_ minimum_ bandwidth_ rule": "rule:admin_ or_owner" update_ policy_ minimum_ packet_ rate_rule" : "rule:admin_ or_owner"
checking, using the rules:
"
"
"
"
"
Conflicts:
neutron_ lib/services/ constants. py
Closes-Bug: #1996606 ecfab9b491eefef 044a4ee49ad 7ab0c6c47ea056c 70ea7b1fea)
Change-Id: I0531ea2c1bf29a
(cherry picked from commit 7e4a6beed43d28f