diff options
author | Christian Poessinger <christian@poessinger.com> | 2023-01-01 08:18:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-01 08:18:10 +0100 |
commit | 6574b0dd5a5c7616ac4b17619d5f2c29a691616d (patch) | |
tree | 1aeda3c69dc87a8b69172fbd6fa3f4011602cdbe /interface-definitions/include/qos/bandwidth-auto.xml.i | |
parent | 182adaf56a5573d32d79d3c21e24007f5c18fb2b (diff) | |
parent | bebec647c3d04f42d471d4aed1a3b98bf82732b8 (diff) | |
download | vyos-1x-6574b0dd5a5c7616ac4b17619d5f2c29a691616d.tar.gz vyos-1x-6574b0dd5a5c7616ac4b17619d5f2c29a691616d.zip |
Merge pull request #1663 from c-po/t4284-qos
QoS: T4284: re-implementation using XML and Python
Diffstat (limited to 'interface-definitions/include/qos/bandwidth-auto.xml.i')
-rw-r--r-- | interface-definitions/include/qos/bandwidth-auto.xml.i | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/bandwidth-auto.xml.i b/interface-definitions/include/qos/bandwidth-auto.xml.i new file mode 100644 index 000000000..3780b7444 --- /dev/null +++ b/interface-definitions/include/qos/bandwidth-auto.xml.i @@ -0,0 +1,43 @@ +<!-- include start from qos/bandwidth-auto.xml.i --> +<leafNode name="bandwidth"> + <properties> + <help>Available bandwidth for this policy</help> + <completionHelp> + <list>auto</list> + </completionHelp> + <valueHelp> + <format>auto</format> + <description>Rate matches interface speed</description> + </valueHelp> + <valueHelp> + <format><number></format> + <description>Bits per second</description> + </valueHelp> + <valueHelp> + <format><number>bit</format> + <description>Bits per second</description> + </valueHelp> + <valueHelp> + <format><number>kbit</format> + <description>Kilobits per second</description> + </valueHelp> + <valueHelp> + <format><number>mbit</format> + <description>Megabits per second</description> + </valueHelp> + <valueHelp> + <format><number>gbit</format> + <description>Gigabits per second</description> + </valueHelp> + <valueHelp> + <format><number>tbit</format> + <description>Terabits per second</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--positive"/> + <regex>\d+(bit|kbit|mbit|gbit|tbit)</regex> + </constraint> + </properties> + <defaultValue>auto</defaultValue> +</leafNode> +<!-- include end --> |