Control QoS policy access with role-based permissions

Apply QoS policies to specific projects by using role-based access control.

Before you begin

  • You must have one or more QoS policies available.

Procedure

Create an RHOSP Networking service RBAC policy associated with a specific QoS policy, and assign it to a specific project:
$ openstack network rbac create --type qos_policy --target-project <project_name | project_ID> --action access_as_shared <QoS_policy_name | QoS_policy_ID>
Example

For example, you might have a QoS policy that allows for lower-priority network traffic, named bw-limiter. Using a RHOSP Networking service RBAC policy, you can apply the QoS policy to a specific project:

$ openstack network rbac create --type qos_policy --target-project 80bf5732752a41128e612fe615c886c6 --action access_as_shared bw-limiter