A Network QoS rule specifies a rule defined in a Network QoS policy; its type is defined by the parameter ‘type’. Can be assigned, within a Network QoS policy, to a port or a network. Each Network QoS policy can contain several rules, each of them
Network v2
Create new Network QoS rule
openstack network qos rule create
[--type <type>]
[--max-kbps <max-kbps>]
[--max-burst-kbits <max-burst-kbits>]
[--dscp-mark <dscp-mark>]
[--min-kbps <min-kbps>]
[--ingress | --egress]
<qos-policy>
--type
<type>
¶QoS rule type (minimum-bandwidth, dscp-marking, bandwidth-limit)
--max-kbps
<max-kbps>
¶Maximum bandwidth in kbps
--max-burst-kbits
<max-burst-kbits>
¶Maximum burst in kilobits, 0 or not specified means automatic, which is 80%% of the bandwidth limit, which works for typical TCP traffic. For details check the QoS user workflow.
--dscp-mark
<dscp-mark>
¶DSCP mark: value can be 0, even numbers from 8-56, excluding 42, 44, 50, 52, and 54
--min-kbps
<min-kbps>
¶Minimum guaranteed bandwidth in kbps
--ingress
¶Ingress traffic direction from the project point of view
--egress
¶Egress traffic direction from the project point of view
qos-policy
¶QoS policy that contains the rule (name or ID)
Delete Network QoS rule
openstack network qos rule delete <qos-policy> <rule-id>
qos-policy
¶QoS policy that contains the rule (name or ID)
rule-id
¶Network QoS rule to delete (ID)
List Network QoS rules
openstack network qos rule list
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<qos-policy>
--sort-column
SORT_COLUMN
¶specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
--sort-ascending
¶sort the column(s) in ascending order
--sort-descending
¶sort the column(s) in descending order
qos-policy
¶QoS policy that contains the rule (name or ID)
Set Network QoS rule properties
openstack network qos rule set
[--max-kbps <max-kbps>]
[--max-burst-kbits <max-burst-kbits>]
[--dscp-mark <dscp-mark>]
[--min-kbps <min-kbps>]
[--ingress | --egress]
<qos-policy>
<rule-id>
--max-kbps
<max-kbps>
¶Maximum bandwidth in kbps
--max-burst-kbits
<max-burst-kbits>
¶Maximum burst in kilobits, 0 or not specified means automatic, which is 80%% of the bandwidth limit, which works for typical TCP traffic. For details check the QoS user workflow.
--dscp-mark
<dscp-mark>
¶DSCP mark: value can be 0, even numbers from 8-56, excluding 42, 44, 50, 52, and 54
--min-kbps
<min-kbps>
¶Minimum guaranteed bandwidth in kbps
--ingress
¶Ingress traffic direction from the project point of view
--egress
¶Egress traffic direction from the project point of view
qos-policy
¶QoS policy that contains the rule (name or ID)
rule-id
¶Network QoS rule to delete (ID)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.