summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-19 18:28:00 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-19 18:33:49 +0200
commita4e1a9235ff5e4aef29cc013239c6d842af5c1ae (patch)
tree904bb3ee8c1067ce774c5dcad26986f64f1153f6 /op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i
parent40f5359d2d34e322272b79f3905d26954311daa6 (diff)
downloadvyos-1x-a4e1a9235ff5e4aef29cc013239c6d842af5c1ae.tar.gz
vyos-1x-a4e1a9235ff5e4aef29cc013239c6d842af5c1ae.zip
op-mode: bgp: T3759: add "show bgp ipv4|ipv6 vpn" commands
Diffstat (limited to 'op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i')
-rw-r--r--op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i23
1 files changed, 23 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i b/op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i
new file mode 100644
index 000000000..ba6edb256
--- /dev/null
+++ b/op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i
@@ -0,0 +1,23 @@
+<!-- included start from bgp/afi-ipv4-ipv6-vpn.xml.i -->
+<tagNode name="vpn">
+ <properties>
+ <help>Network in the BGP routing table to display</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt; &lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <children>
+ #include <include/bgp/prefix-bestpath-multipath.xml.i>
+ </children>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</tagNode>
+<node name="vpn">
+ <properties>
+ <help>VPN Address Family modifier</help>
+ </properties>
+ <children>
+ #include <include/bgp/afi-common.xml.i>
+ #include <include/bgp/afi-ipv4-ipv6-common.xml.i>
+ </children>
+</node>
+<!-- included end -->