diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-21 19:53:04 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-21 19:58:12 +0100 |
commit | 0a34f23012f5f0621d5d15a1a5c30c04dfc68bf9 (patch) | |
tree | 135455f4bada18b4bb8335f75ac0f5dfea9c0de1 /op-mode-definitions | |
parent | 0e050cb357972eb83412da1d0edecff46fa515bd (diff) | |
download | vyos-1x-0a34f23012f5f0621d5d15a1a5c30c04dfc68bf9.tar.gz vyos-1x-0a34f23012f5f0621d5d15a1a5c30c04dfc68bf9.zip |
op-mode: add "show zebra" commands to query RIB informations
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-zebra.xml.in | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/op-mode-definitions/show-zebra.xml.in b/op-mode-definitions/show-zebra.xml.in new file mode 100644 index 000000000..b0ad37f49 --- /dev/null +++ b/op-mode-definitions/show-zebra.xml.in @@ -0,0 +1,54 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="zebra"> + <properties> + <help>Zebra routing information</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + <children> + <node name="client"> + <properties> + <help>Client information </help> + </properties> + <children> + <node name="summary"> + <properties> + <help>Brief Summary</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </node> + </children> + </node> + <node name="dplane"> + <properties> + <help>Zebra dataplane information</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </node> + <node name="router"> + <properties> + <help>Zebra Router Information</help> + </properties> + <children> + <node name="table"> + <properties> + <help>Table Information about this Zebra Router</help> + </properties> + <children> + <node name="summary"> + <properties> + <help>Summary Information</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </node> + </children> + </node> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |