summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/static-route.xml.i14
-rw-r--r--interface-definitions/include/static-route6.xml.i14
2 files changed, 26 insertions, 2 deletions
diff --git a/interface-definitions/include/static-route.xml.i b/interface-definitions/include/static-route.xml.i
index 9ab3926da..1f79aaca8 100644
--- a/interface-definitions/include/static-route.xml.i
+++ b/interface-definitions/include/static-route.xml.i
@@ -4,7 +4,7 @@
<help>VRF static IPv4 route</help>
<valueHelp>
<format>ipv4net</format>
- <description>VRF static IPv4 route</description>
+ <description>IPv4 static route</description>
</valueHelp>
<constraint>
<validator name="ipv4-prefix"/>
@@ -17,6 +17,18 @@
</properties>
<children>
#include <include/static-route-distance.xml.i>
+ <leafNode name="tag">
+ <properties>
+ <help>Tag value for this route</help>
+ <valueHelp>
+ <format>u32:1-4294967295</format>
+ <description>Tag value for this route</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
<tagNode name="interface">
diff --git a/interface-definitions/include/static-route6.xml.i b/interface-definitions/include/static-route6.xml.i
index d484b285c..1ff6bbead 100644
--- a/interface-definitions/include/static-route6.xml.i
+++ b/interface-definitions/include/static-route6.xml.i
@@ -4,7 +4,7 @@
<help>VRF static IPv6 route</help>
<valueHelp>
<format>ipv6net</format>
- <description>VRF static IPv6 route</description>
+ <description>IPv6 static route</description>
</valueHelp>
<constraint>
<validator name="ipv6-prefix"/>
@@ -17,6 +17,18 @@
</properties>
<children>
#include <include/static-route-distance.xml.i>
+ <leafNode name="tag">
+ <properties>
+ <help>Tag value for this route</help>
+ <valueHelp>
+ <format>u32:1-4294967295</format>
+ <description>Tag value for this route</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
<tagNode name="interface">