Creating QoS policies as a domain administrator
With the quota manager role, you can also create network QoS policies. Do the following:
-
Use the environment file for the domain administrator to authorize further OpenStack commands:
# source domain-admin.sh
-
Use the project name variable for the project where you want to create a QoS policy. For example:
# export OS_PROJECT_NAME=testproject
-
Create a QoS policy. For example:
# openstack --insecure network qos policy create policy1 +-------------+------------------------------------------------+ | Field | Value | +-------------+------------------------------------------------+ | description | | | id | 3c9a40a2-e5b1-4d63-a577-48d9489eaf77 | | is_default | False | | location | Munch({'project': Munch({'domain_name': test, | | | 'domain_id': None, 'name': testproject, | | | 'id': u'd746acd8b2e847c4925685b8ad95b828'}), | | | 'cloud': '', 'region_name': '', 'zone': None}) | | name | policy1 | | project_id | d746acd8b2e847c4925685b8ad95b828 | | rules | [] | | shared | True | | tags | [] | +-------------+------------------------------------------------+
For more information about network QoS policies, refer to Using network QoS policies.