diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-19 18:28:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-19 18:33:49 +0200 |
commit | a4e1a9235ff5e4aef29cc013239c6d842af5c1ae (patch) | |
tree | 904bb3ee8c1067ce774c5dcad26986f64f1153f6 /op-mode-definitions/include | |
parent | 40f5359d2d34e322272b79f3905d26954311daa6 (diff) | |
download | vyos-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')
-rw-r--r-- | op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i | 23 | ||||
-rw-r--r-- | op-mode-definitions/include/bgp/show-bgp-common.xml.i | 2 |
2 files changed, 25 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><x.x.x.x> <x.x.x.x/x> <h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x></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 --> diff --git a/op-mode-definitions/include/bgp/show-bgp-common.xml.i b/op-mode-definitions/include/bgp/show-bgp-common.xml.i index b86b09056..0664b11fc 100644 --- a/op-mode-definitions/include/bgp/show-bgp-common.xml.i +++ b/op-mode-definitions/include/bgp/show-bgp-common.xml.i @@ -20,6 +20,7 @@ <children> #include <include/bgp/afi-common.xml.i> #include <include/bgp/afi-ipv4-ipv6-common.xml.i> + #include <include/bgp/afi-ipv4-ipv6-vpn.xml.i> </children> </node> <tagNode name="ipv6"> @@ -41,6 +42,7 @@ <children> #include <include/bgp/afi-common.xml.i> #include <include/bgp/afi-ipv4-ipv6-common.xml.i> + #include <include/bgp/afi-ipv4-ipv6-vpn.xml.i> </children> </node> <node name="l2vpn"> |