Merge "Add DSCP mark 44"

This commit is contained in:
Zuul 2022-09-12 15:10:16 +00:00 committed by Gerrit Code Review
commit eb4da30f26
5 changed files with 44 additions and 4 deletions

View File

@ -88,10 +88,16 @@ Response Parameters
- type: qos-rule-type
- 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
==================

View File

@ -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"
}

View File

@ -357,7 +357,7 @@ DNS_LABEL_REGEX = "^([a-z0-9-]{1,%d}|%s)$" % (
PORT_MAX = 2**16 - 1
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'
EGRESS_DIRECTION = 'egress'

View File

@ -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>`_.