summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static-route-next-hop-vrf.xml.i
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-02-02 10:20:33 +0000
committersever-sever <v.gletenko@vyos.io>2021-02-02 10:20:33 +0000
commit3edaff512227f19ab5108c6175d13be07cd41fc9 (patch)
tree3ccad7328dc723d6b8a0362956f03da16b972746 /interface-definitions/include/static-route-next-hop-vrf.xml.i
parent40c4a14a6ff994c4b3a425b6f8aee2a6a4828201 (diff)
downloadvyos-1x-3edaff512227f19ab5108c6175d13be07cd41fc9.tar.gz
vyos-1x-3edaff512227f19ab5108c6175d13be07cd41fc9.zip
conf-mode: T3280: Add XML for protocols static
Diffstat (limited to 'interface-definitions/include/static-route-next-hop-vrf.xml.i')
-rw-r--r--interface-definitions/include/static-route-next-hop-vrf.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/static-route-next-hop-vrf.xml.i b/interface-definitions/include/static-route-next-hop-vrf.xml.i
new file mode 100644
index 000000000..c90140856
--- /dev/null
+++ b/interface-definitions/include/static-route-next-hop-vrf.xml.i
@@ -0,0 +1,17 @@
+<!-- included start from static-route-next-hop-vrf.xml.i -->
+<leafNode name="next-hop-vrf">
+ <properties>
+ <help>VRF to leak route</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Name of VRF to leak to</description>
+ </valueHelp>
+ <completionHelp>
+ <path>protocols vrf</path>
+ </completionHelp>
+ <constraint>
+ <regex>^[a-zA-Z0-9\-_]{1,100}$</regex>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->