summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/bandwidth-auto.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/qos/bandwidth-auto.xml.i')
-rw-r--r--interface-definitions/include/qos/bandwidth-auto.xml.i6
1 files changed, 5 insertions, 1 deletions
diff --git a/interface-definitions/include/qos/bandwidth-auto.xml.i b/interface-definitions/include/qos/bandwidth-auto.xml.i
index 260bd4f7b..a86f28296 100644
--- a/interface-definitions/include/qos/bandwidth-auto.xml.i
+++ b/interface-definitions/include/qos/bandwidth-auto.xml.i
@@ -33,9 +33,13 @@
<format>&lt;number&gt;tbit</format>
<description>Terabits per second</description>
</valueHelp>
+ <valueHelp>
+ <format>&lt;number&gt;%%</format>
+ <description>Percentage of interface link speed</description>
+ </valueHelp>
<constraint>
<validator name="numeric" argument="--positive"/>
- <regex>(auto|\d+(bit|kbit|mbit|gbit|tbit))</regex>
+ <regex>(auto|\d+(bit|kbit|mbit|gbit|tbit)|(100|\d(\d)?)%)</regex>
</constraint>
</properties>
<defaultValue>auto</defaultValue>