summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/vrf.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-10-07 17:13:14 +0200
committerChristian Breunig <christian@breunig.cc>2024-10-07 17:17:42 +0200
commit9c291d115d987cc635d1ef56898119c7d2bdfee6 (patch)
treec06e2e25705abe13d53bebe9e7598728b45113e1 /interface-definitions/include/firewall/vrf.xml.i
parent051cb6fbe2a9e4b8008bf21cec33eb2b8385305d (diff)
downloadvyos-1x-9c291d115d987cc635d1ef56898119c7d2bdfee6.tar.gz
vyos-1x-9c291d115d987cc635d1ef56898119c7d2bdfee6.zip
xml: T6430: add re-usable vrf CLI node for firewall and pbr
Diffstat (limited to 'interface-definitions/include/firewall/vrf.xml.i')
-rw-r--r--interface-definitions/include/firewall/vrf.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/vrf.xml.i b/interface-definitions/include/firewall/vrf.xml.i
new file mode 100644
index 000000000..af8ce3ab4
--- /dev/null
+++ b/interface-definitions/include/firewall/vrf.xml.i
@@ -0,0 +1,20 @@
+<!-- include start from firewall/vrf.xml.i -->
+<leafNode name="vrf">
+ <properties>
+ <help>VRF to forward packet with</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>VRF instance name</description>
+ </valueHelp>
+ <valueHelp>
+ <format>default</format>
+ <description>Forward into default global VRF</description>
+ </valueHelp>
+ <completionHelp>
+ <list>default</list>
+ <path>vrf name</path>
+ </completionHelp>
+ #include <include/constraint/vrf.xml.i>
+ </properties>
+</leafNode>
+<!-- include end -->