diff options
author | Christian Poessinger <christian@poessinger.com> | 2023-01-02 19:52:10 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2023-01-02 19:52:18 +0100 |
commit | c55f36d47a9241402710528c8668a3d98bec571c (patch) | |
tree | 509685b759887acb2bdd8e23706d330fb244a140 /interface-definitions/include/qos | |
parent | 2e3644593d8991d2e9b5c26bfddfab362287dee2 (diff) | |
download | vyos-1x-c55f36d47a9241402710528c8668a3d98bec571c.tar.gz vyos-1x-c55f36d47a9241402710528c8668a3d98bec571c.zip |
xml: qos: T4284: fix DSCP CLI values
Diffstat (limited to 'interface-definitions/include/qos')
-rw-r--r-- | interface-definitions/include/qos/bandwidth-auto.xml.i | 4 | ||||
-rw-r--r-- | interface-definitions/include/qos/match-dscp.xml.i | 44 | ||||
-rw-r--r-- | interface-definitions/include/qos/set-dscp.xml.i | 84 |
3 files changed, 106 insertions, 26 deletions
diff --git a/interface-definitions/include/qos/bandwidth-auto.xml.i b/interface-definitions/include/qos/bandwidth-auto.xml.i index 3780b7444..260bd4f7b 100644 --- a/interface-definitions/include/qos/bandwidth-auto.xml.i +++ b/interface-definitions/include/qos/bandwidth-auto.xml.i @@ -7,7 +7,7 @@ </completionHelp> <valueHelp> <format>auto</format> - <description>Rate matches interface speed</description> + <description>Bandwidth matches interface speed</description> </valueHelp> <valueHelp> <format><number></format> @@ -35,7 +35,7 @@ </valueHelp> <constraint> <validator name="numeric" argument="--positive"/> - <regex>\d+(bit|kbit|mbit|gbit|tbit)</regex> + <regex>(auto|\d+(bit|kbit|mbit|gbit|tbit))</regex> </constraint> </properties> <defaultValue>auto</defaultValue> diff --git a/interface-definitions/include/qos/match-dscp.xml.i b/interface-definitions/include/qos/match-dscp.xml.i index 1323fc033..2d2fd0a57 100644 --- a/interface-definitions/include/qos/match-dscp.xml.i +++ b/interface-definitions/include/qos/match-dscp.xml.i @@ -3,7 +3,7 @@ <properties> <help>Match on Differentiated Services Codepoint (DSCP)</help> <completionHelp> - <list>default reliability throughput lowdelay priority immediate flash flash-override critical internet network af11 af12 af13 af21 af22 af23 af31 af32 af33 af41 af42 af43 cs1 cs2 cs3 cs4 cs5 cs6 cs7 ef</list> + <list>default reliability throughput lowdelay priority immediate flash flash-override critical internet network AF11 AF12 AF13 AF21 AF22 AF23 AF31 AF32 AF33 AF41 AF42 AF43 CS1 CS2 CS3 CS4 CS5 CS6 CS7 EF</list> </completionHelp> <valueHelp> <format>u32:0-63</format> @@ -54,88 +54,88 @@ <description>match DSCP (111000)</description> </valueHelp> <valueHelp> - <format>af11</format> + <format>AF11</format> <description>High-throughput data</description> </valueHelp> <valueHelp> - <format>af12</format> + <format>AF12</format> <description>High-throughput data</description> </valueHelp> <valueHelp> - <format>af13</format> + <format>AF13</format> <description>High-throughput data</description> </valueHelp> <valueHelp> - <format>af21</format> + <format>AF21</format> <description>Low-latency data</description> </valueHelp> <valueHelp> - <format>af22</format> + <format>AF22</format> <description>Low-latency data</description> </valueHelp> <valueHelp> - <format>af23</format> + <format>AF23</format> <description>Low-latency data</description> </valueHelp> <valueHelp> - <format>af31</format> + <format>AF31</format> <description>Multimedia streaming</description> </valueHelp> <valueHelp> - <format>af32</format> + <format>AF32</format> <description>Multimedia streaming</description> </valueHelp> <valueHelp> - <format>af33</format> + <format>AF33</format> <description>Multimedia streaming</description> </valueHelp> <valueHelp> - <format>af41</format> + <format>AF41</format> <description>Multimedia conferencing</description> </valueHelp> <valueHelp> - <format>af42</format> + <format>AF42</format> <description>Multimedia conferencing</description> </valueHelp> <valueHelp> - <format>af43</format> + <format>AF43</format> <description>Multimedia conferencing</description> </valueHelp> <valueHelp> - <format>cs1</format> + <format>CS1</format> <description>Low-priority data</description> </valueHelp> <valueHelp> - <format>cs2</format> + <format>CS2</format> <description>OAM</description> </valueHelp> <valueHelp> - <format>cs3</format> + <format>CS3</format> <description>Broadcast video</description> </valueHelp> <valueHelp> - <format>cs4</format> + <format>CS4</format> <description>Real-time interactive</description> </valueHelp> <valueHelp> - <format>cs5</format> + <format>CS5</format> <description>Signaling</description> </valueHelp> <valueHelp> - <format>cs6</format> + <format>CS6</format> <description>Network control</description> </valueHelp> <valueHelp> - <format>cs7</format> + <format>CS7</format> <description></description> </valueHelp> <valueHelp> - <format>ef</format> + <format>EF</format> <description>Expedited Forwarding</description> </valueHelp> <constraint> <validator name="numeric" argument="--range 0-63"/> - <regex>(default|reliability|throughput|lowdelay|priority|immediate|flash|flash-override|critical|internet|network|af11|af12|af13|af21|af22|af23|af31|af32|af33|af41|af42|af43|cs1|cs2|cs3|cs4|cs5|cs6|cs7|ef)</regex> + <regex>(default|reliability|throughput|lowdelay|priority|immediate|flash|flash-override|critical|internet|network|AF11|AF12|AF13|AF21|AF22|AF23|AF31|AF32|AF33|AF41|AF42|AF43|CS1|CS2|CS3|CS4|CS5|CS6|CS7|EF)</regex> </constraint> </properties> </leafNode> diff --git a/interface-definitions/include/qos/set-dscp.xml.i b/interface-definitions/include/qos/set-dscp.xml.i index 55c0ea44d..07f33783f 100644 --- a/interface-definitions/include/qos/set-dscp.xml.i +++ b/interface-definitions/include/qos/set-dscp.xml.i @@ -3,7 +3,7 @@ <properties> <help>Change the Differentiated Services (DiffServ) field in the IP header</help> <completionHelp> - <list>default reliability throughput lowdelay priority immediate flash flash-override critical internet network</list> + <list>default reliability throughput lowdelay priority immediate flash flash-override critical internet network AF11 AF12 AF13 AF21 AF22 AF23 AF31 AF32 AF33 AF41 AF42 AF43 CS1 CS2 CS3 CS4 CS5 CS6 CS7 EF</list> </completionHelp> <valueHelp> <format>u32:0-63</format> @@ -53,9 +53,89 @@ <format>network</format> <description>match DSCP (111000)</description> </valueHelp> + <valueHelp> + <format>AF11</format> + <description>High-throughput data</description> + </valueHelp> + <valueHelp> + <format>AF12</format> + <description>High-throughput data</description> + </valueHelp> + <valueHelp> + <format>AF13</format> + <description>High-throughput data</description> + </valueHelp> + <valueHelp> + <format>AF21</format> + <description>Low-latency data</description> + </valueHelp> + <valueHelp> + <format>AF22</format> + <description>Low-latency data</description> + </valueHelp> + <valueHelp> + <format>AF23</format> + <description>Low-latency data</description> + </valueHelp> + <valueHelp> + <format>AF31</format> + <description>Multimedia streaming</description> + </valueHelp> + <valueHelp> + <format>AF32</format> + <description>Multimedia streaming</description> + </valueHelp> + <valueHelp> + <format>AF33</format> + <description>Multimedia streaming</description> + </valueHelp> + <valueHelp> + <format>AF41</format> + <description>Multimedia conferencing</description> + </valueHelp> + <valueHelp> + <format>AF42</format> + <description>Multimedia conferencing</description> + </valueHelp> + <valueHelp> + <format>AF43</format> + <description>Multimedia conferencing</description> + </valueHelp> + <valueHelp> + <format>CS1</format> + <description>Low-priority data</description> + </valueHelp> + <valueHelp> + <format>CS2</format> + <description>OAM</description> + </valueHelp> + <valueHelp> + <format>CS3</format> + <description>Broadcast video</description> + </valueHelp> + <valueHelp> + <format>CS4</format> + <description>Real-time interactive</description> + </valueHelp> + <valueHelp> + <format>CS5</format> + <description>Signaling</description> + </valueHelp> + <valueHelp> + <format>CS6</format> + <description>Network control</description> + </valueHelp> + <valueHelp> + <format>CS7</format> + <description></description> + </valueHelp> + <valueHelp> + <format>EF</format> + <description>Expedited Forwarding</description> + </valueHelp> <constraint> <validator name="numeric" argument="--range 0-63"/> - <regex>(default|reliability|throughput|lowdelay|priority|immediate|flash|flash-override|critical|internet|network)</regex> + <regex>(default|reliability|throughput|lowdelay|priority|immediate|flash|flash-override|critical|internet|network|AF11|AF12|AF13|AF21|AF22|AF23|AF31|AF32|AF33|AF41|AF42|AF43|CS1|CS2|CS3|CS4|CS5|CS6|CS7|EF)</regex> </constraint> <constraintErrorMessage>Priority must be between 0 and 63</constraintErrorMessage> </properties> |