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-marks <dscp-marks>]
    [--min-kbps <min-kbps>]
    [--ingress | --egress]
    <qos-policy>
--type <type>¶QoS rule type (minimum-bandwidth, dscp-marking, bandwidth-limit)
--max-kbps <min-kbps>¶Maximum bandwidth in kbps
--max-burst-kbits <max-burst-kbits>¶Maximum burst in kilobits, 0 means automatic
--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
--ingressIngress traffic direction from the project point of view
--egressEgress 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
     <qos-policy>
<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-marks <dscp-marks>]
    [--min-kbps <min-kbps>]
    [--ingress | --egress]
    <qos-policy>
    <rule-id>
--max-kbps <min-kbps>¶Maximum bandwidth in kbps
--max-burst-kbits <max-burst-kbits>¶Maximum burst in kilobits, 0 means automatic
--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
--ingressIngress traffic direction from the project point of view
--egressEgress 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)
Display Network QoS rule details
openstack network qos rule show
    <qos-policy>
    <rule-id>
<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.