Merge "Add DSCP mark 44"
This commit is contained in:
commit
eb4da30f26
@ -88,10 +88,16 @@ Response Parameters
|
|||||||
- type: qos-rule-type
|
- type: qos-rule-type
|
||||||
- drivers: qos-backend-drivers
|
- drivers: qos-backend-drivers
|
||||||
|
|
||||||
Response Example
|
Response Example (type "bandwidth_limit")
|
||||||
----------------
|
-----------------------------------------
|
||||||
|
|
||||||
.. literalinclude:: samples/qos/rule_type-details-response.json
|
.. literalinclude:: samples/qos/rule_type-details-bandwidth_limit-response.json
|
||||||
|
:language: javascript
|
||||||
|
|
||||||
|
Response Example (type "dscp_marking")
|
||||||
|
--------------------------------------
|
||||||
|
|
||||||
|
.. literalinclude:: samples/qos/rule_type-details-dscp_marking-response.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
==================
|
==================
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"drivers": [
|
||||||
|
{
|
||||||
|
"name": "openvswitch",
|
||||||
|
"supported_parameters": [
|
||||||
|
{
|
||||||
|
"parameter_name": "dscp_mark",
|
||||||
|
"parameter_type": "choices",
|
||||||
|
"parameter_values": [
|
||||||
|
0, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 44, 46, 48, 56
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linuxbridge",
|
||||||
|
"supported_parameters": [
|
||||||
|
{
|
||||||
|
"parameter_name": "dscp_mark",
|
||||||
|
"parameter_type": "choices",
|
||||||
|
"parameter_values": [
|
||||||
|
0, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 44, 46, 48, 56
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "dscp_marking"
|
||||||
|
}
|
@ -357,7 +357,7 @@ DNS_LABEL_REGEX = "^([a-z0-9-]{1,%d}|%s)$" % (
|
|||||||
PORT_MAX = 2**16 - 1
|
PORT_MAX = 2**16 - 1
|
||||||
|
|
||||||
VALID_DSCP_MARKS = [0, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34,
|
VALID_DSCP_MARKS = [0, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34,
|
||||||
36, 38, 40, 46, 48, 56]
|
36, 38, 40, 44, 46, 48, 56]
|
||||||
|
|
||||||
INGRESS_DIRECTION = 'ingress'
|
INGRESS_DIRECTION = 'ingress'
|
||||||
EGRESS_DIRECTION = 'egress'
|
EGRESS_DIRECTION = 'egress'
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Added a new DSCP mark value: 44. This new mark value was included
|
||||||
|
recently in the `RFC5865 <https://www.rfc-editor.org/rfc/rfc5865.html>`_.
|
Loading…
Reference in New Issue
Block a user