commit acfb2fdc29ab6b22003903b16688cde373f5082a
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)
(cherry picked from commit 3f9cbe45252d93dac4c8dbd11c1629aec43137b0)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron- lib/+/864739 /opendev. org/openstack/ neutron- lib/commit/ acfb2fdc29ab6b2 2003903b16688cd e373f5082a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit acfb2fdc29ab6b2 2003903b16688cd e373f5082a
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) ac4c8dbd11c1629 aec43137b0)
Change-Id: I0531ea2c1bf29a
(cherry picked from commit 7e4a6beed43d28f
(cherry picked from commit 3f9cbe45252d93d