After you enable the Neutron Quality of Service feature, configure a QoS policy to prioritize one type of traffic over the other. This section describes basic operations. For more information, see: OpenStack documentation.
To create a QoS policy:
Log in to an OpenStack controller node.
Create a QoS policy:
neutron qos-policy-create bw-limiter
Add a rule to the QoSpolicy:
neutron qos-bandwidth-limit-rule-create bw-limiter --max-kbps 3000000
Apply the QoS policy:
To a new network:
neutron net-create <network-name> --qos-policy bw-limiter
To an existing network:
neutron net-update test --qos-policy bw-limiter
To a new port:
neutron port-create test --name sriov_port --binding:vnic_type direct
--qos-policy bw-limiter
To an existing port:
neutron port-update sriov_port --qos-policy bw-limiter
See also