summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/martian-next-hop.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-10 15:54:09 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-10 15:55:51 +0100
commit6bfeb43b0cfed18c8e9022c83b2b40d630b0eb6b (patch)
treeb3ff3bde418b0facb37f6ab175772512a99e50a5 /op-mode-definitions/include/bgp/martian-next-hop.xml.i
parenteb4d0ac46bf48e02c07b43cce5ead9ca12b791a4 (diff)
downloadvyos-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/martian-next-hop.xml.i')
-rw-r--r--op-mode-definitions/include/bgp/martian-next-hop.xml.i15
1 files changed, 15 insertions, 0 deletions
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 @@
+<!-- included start from bgp/martian-next-hop.xml.i -->
+<node name="martian">
+ <properties>
+ <help>Martian next-hops</help>
+ </properties>
+ <children>
+ <leafNode name="next-hop">
+ <properties>
+ <help>Martian next-hop database</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ </children>
+</node>
+<!-- included end -->