Setting the default QoS policy
You can set the default QoS policy to a project. It will be automatically assigned to all new networks that you create within the project. Existing networks within the project will not inherit the default QoS policy, you will need to explicitly assign the policy to them.
Limitations
- Each project can have only one default QoS policy. If you want to change the default policy, unset the old default policy first.
Prerequisites
- A QoS policy is created, as described in Creating QoS policies.
To set a QoS policy as default to a project
Use the --default
option with the openstack network qos policy set
command. For example:
# openstack --insecure network qos policy set --default policy1
To unset the default policy from a project
Use the --no-default
option with the openstack network qos policy set
command. For example:
# openstack --insecure network qos policy set --no-default policy1