diff options
author | ricolin <rico.lin.guanyu@gmail.com> | 2020-04-09 12:14:12 +0800 |
---|---|---|
committer | ricolin <rico.lin.guanyu@gmail.com> | 2020-04-26 15:30:21 +0800 |
commit | 1b070723ef142564c4ddedee01a5988808393809 (patch) | |
tree | 291de1766c4354fc93d35ba3054f52dbca2e3db5 | |
parent | be68ab85830baa214bac8c1dde13cca66ec6ec77 (diff) | |
download | heat-1b070723ef142564c4ddedee01a5988808393809.tar.gz |
Mark OS::Neutron::QoSDscpMarkingRule as admin only
Update the policy for admin only resource type and added in
``OS::Neutron::QoSDscpMarkingRule`` as other OS::Neutron::QoS* are.
Change-Id: I0f0fa5f92816886b10f07e6d093e7bdeb58bc3f6
-rw-r--r-- | heat/policies/resource_types.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/heat/policies/resource_types.py b/heat/policies/resource_types.py index f94397110..194986de4 100644 --- a/heat/policies/resource_types.py +++ b/heat/policies/resource_types.py @@ -51,6 +51,9 @@ resource_types_policies = [ name=POLICY_ROOT % 'OS::Neutron::QoSBandwidthLimitRule', check_str=base.RULE_PROJECT_ADMIN), policy.RuleDefault( + name=POLICY_ROOT % 'OS::Neutron::QoSDscpMarkingRule', + check_str=base.RULE_PROJECT_ADMIN), + policy.RuleDefault( name=POLICY_ROOT % 'OS::Neutron::Segment', check_str=base.RULE_PROJECT_ADMIN), policy.RuleDefault( |