diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-10 15:54:09 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-10 15:55:51 +0100 |
commit | 6bfeb43b0cfed18c8e9022c83b2b40d630b0eb6b (patch) | |
tree | b3ff3bde418b0facb37f6ab175772512a99e50a5 /op-mode-definitions/include/bgp/next-hop.xml.i | |
parent | eb4d0ac46bf48e02c07b43cce5ead9ca12b791a4 (diff) | |
download | vyos-1x-6bfeb43b0cfed18c8e9022c83b2b40d630b0eb6b.tar.gz vyos-1x-6bfeb43b0cfed18c8e9022c83b2b40d630b0eb6b.zip |
xml: bgp: T5070: split out CLI definitions to include files which can be reused
Diffstat (limited to 'op-mode-definitions/include/bgp/next-hop.xml.i')
-rw-r--r-- | op-mode-definitions/include/bgp/next-hop.xml.i | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/next-hop.xml.i b/op-mode-definitions/include/bgp/next-hop.xml.i new file mode 100644 index 000000000..517a44888 --- /dev/null +++ b/op-mode-definitions/include/bgp/next-hop.xml.i @@ -0,0 +1,23 @@ +<!-- included start from bgp/next-hop.xml.i --> +<node name="nexthop"> + <properties> + <help>Show BGP nexthop table</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + <children> + #include <include/vtysh-generic-detail.xml.i> + </children> +</node> +<tagNode name="nexthop"> + <properties> + <help>IPv4/IPv6 nexthop address</help> + <completionHelp> + <list><x.x.x.x> <h:h:h:h:h:h:h:h></list> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + <children> + #include <include/vtysh-generic-detail.xml.i> + </children> +</tagNode> +<!-- included end --> |