diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-01 13:20:35 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-01 13:20:35 +0200 |
commit | f83a5125735bb2f63e4d98e1b264eb689a2ef00f (patch) | |
tree | 7d66a62c5df6227df7a39f3f17c79d298530db44 /op-mode-definitions/include/bgp/show-bgp-common.xml.i | |
parent | d3a0b9bcb30e36633bad0edf39c1f92039bebcb7 (diff) | |
download | vyos-1x-f83a5125735bb2f63e4d98e1b264eb689a2ef00f.tar.gz vyos-1x-f83a5125735bb2f63e4d98e1b264eb689a2ef00f.zip |
op-mode: bgp: T1513: backport "show bgp" commands from current branch
Diffstat (limited to 'op-mode-definitions/include/bgp/show-bgp-common.xml.i')
-rw-r--r-- | op-mode-definitions/include/bgp/show-bgp-common.xml.i | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/show-bgp-common.xml.i b/op-mode-definitions/include/bgp/show-bgp-common.xml.i new file mode 100644 index 000000000..785b85963 --- /dev/null +++ b/op-mode-definitions/include/bgp/show-bgp-common.xml.i @@ -0,0 +1,46 @@ +<!-- included start from bgp/show-bgp-common.xml.i --> +#include <include/bgp/afi-common.xml.i> +#include <include/bgp/afi-ipv4-ipv6-common.xml.i> +<tagNode name="ipv4"> + <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="ipv4"> + <properties> + <help>IPv4 Address Family</help> + </properties> + <children> + #include <include/bgp/afi-common.xml.i> + #include <include/bgp/afi-ipv4-ipv6-common.xml.i> + </children> +</node> +<tagNode name="ipv6"> + <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="ipv6"> + <properties> + <help>IPv6 Address Family</help> + </properties> + <children> + #include <include/bgp/afi-common.xml.i> + #include <include/bgp/afi-ipv4-ipv6-common.xml.i> + </children> +</node> +<!-- included end --> |