summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static-route-next-hop-vrf.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-04 00:00:41 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 22:42:29 +0100
commit3dd78cddfe90851cb7a6891add8a0973d23da292 (patch)
treec26dc708d38edf330464f49ccdd4a6e4333f71dc /interface-definitions/include/static-route-next-hop-vrf.xml.i
parent830688d0c523d6209091ed2fc9160e6ca70e62b9 (diff)
downloadvyos-1x-3dd78cddfe90851cb7a6891add8a0973d23da292.tar.gz
vyos-1x-3dd78cddfe90851cb7a6891add8a0973d23da292.zip
vrf: T2450: provide full protocol support in XML and Python with new CLI
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.i12
1 files changed, 7 insertions, 5 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
index c90140856..ae2515a12 100644
--- a/interface-definitions/include/static-route-next-hop-vrf.xml.i
+++ b/interface-definitions/include/static-route-next-hop-vrf.xml.i
@@ -1,16 +1,18 @@
<!-- included start from static-route-next-hop-vrf.xml.i -->
-<leafNode name="next-hop-vrf">
+<leafNode name="vrf">
<properties>
<help>VRF to leak route</help>
+ <completionHelp>
+ <list>default</list>
+ <path>vrf name</path>
+ </completionHelp>
<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>
+ <regex>^(default)$</regex>
+ <validator name="vrf-name"/>
</constraint>
</properties>
</leafNode>