summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static-route.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-04 19:35:18 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 22:42:29 +0100
commit1f8c257f126d492a3f41eee72728b2c35b6b534e (patch)
treea4111e0fa5dccef83b755e3eb9071e39334a2eac /interface-definitions/include/static-route.xml.i
parent3dd78cddfe90851cb7a6891add8a0973d23da292 (diff)
downloadvyos-1x-1f8c257f126d492a3f41eee72728b2c35b6b534e.tar.gz
vyos-1x-1f8c257f126d492a3f41eee72728b2c35b6b534e.zip
route: static: T2450: provide full protocol support in XML and Python with new CLI
Diffstat (limited to 'interface-definitions/include/static-route.xml.i')
-rw-r--r--interface-definitions/include/static-route.xml.i14
1 files changed, 13 insertions, 1 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">