summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-babel.xml.in
diff options
context:
space:
mode:
authorYuxiang Zhu <vfreex@gmail.com>2023-01-09 05:48:50 +0000
committerYuxiang Zhu <vfreex@gmail.com>2023-02-08 21:48:15 +0800
commit4bfe801e7e6c59bdb70500b629fd31bb03598d4b (patch)
treefd51141d8fd1c6c112c7742259f5b97cf88abd17 /op-mode-definitions/show-babel.xml.in
parent2622902ac76bc1c3356bb722f63e931119f3eb04 (diff)
downloadvyos-1x-4bfe801e7e6c59bdb70500b629fd31bb03598d4b.tar.gz
vyos-1x-4bfe801e7e6c59bdb70500b629fd31bb03598d4b.zip
T4977: Add Babel routing protocol support
This PR adds basic Babel routing protocol support using the implementation in FRR. Signed-off-by: Yuxiang Zhu <vfreex@gmail.com>
Diffstat (limited to 'op-mode-definitions/show-babel.xml.in')
-rw-r--r--op-mode-definitions/show-babel.xml.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/op-mode-definitions/show-babel.xml.in b/op-mode-definitions/show-babel.xml.in
new file mode 100644
index 000000000..3aac3764e
--- /dev/null
+++ b/op-mode-definitions/show-babel.xml.in
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="babel">
+ <properties>
+ <help>Show Babel routing protocol information</help>
+ </properties>
+ <children>
+ <leafNode name="interface">
+ <properties>
+ <help>Show Babel Interface information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ <leafNode name="neighbor">
+ <properties>
+ <help>Show Babel neighbor information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ <tagNode name="neighbor">
+ <properties>
+ <help>Show Babel neighbor information for specified interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </tagNode>
+ <leafNode name="route">
+ <properties>
+ <help>Show Babel route information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>