From 6bfeb43b0cfed18c8e9022c83b2b40d630b0eb6b Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 10 Mar 2023 15:54:09 +0100 Subject: xml: bgp: T5070: split out CLI definitions to include files which can be reused --- .../include/bgp/martian-next-hop.xml.i | 15 ++++++++++++++ op-mode-definitions/include/bgp/next-hop.xml.i | 23 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 op-mode-definitions/include/bgp/martian-next-hop.xml.i create mode 100644 op-mode-definitions/include/bgp/next-hop.xml.i (limited to 'op-mode-definitions/include') diff --git a/op-mode-definitions/include/bgp/martian-next-hop.xml.i b/op-mode-definitions/include/bgp/martian-next-hop.xml.i new file mode 100644 index 000000000..938d4ffa2 --- /dev/null +++ b/op-mode-definitions/include/bgp/martian-next-hop.xml.i @@ -0,0 +1,15 @@ + + + + Martian next-hops + + + + + Martian next-hop database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + 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 @@ + + + + Show BGP nexthop table + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + IPv4/IPv6 nexthop address + + <x.x.x.x> <h:h:h:h:h:h:h:h> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + -- cgit v1.2.3