diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-11-22 15:20:13 +0200 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-11-26 11:02:07 +0200 |
commit | 51c6930e5e498dd2aef2fcba0287884b17683390 (patch) | |
tree | a62305432c2ec05d5268443d1dfaa8d25c79b4ec /op-mode-definitions/show-monitoring.xml.in | |
parent | 99f414cc69730cb5a33c6d1891e6f7e5e4f3dd16 (diff) | |
download | vyos-1x-51c6930e5e498dd2aef2fcba0287884b17683390.tar.gz vyos-1x-51c6930e5e498dd2aef2fcba0287884b17683390.zip |
op_mode: T6909: Move "show monitoring" and "show zebra" to "show monitoring frr"
Diffstat (limited to 'op-mode-definitions/show-monitoring.xml.in')
-rw-r--r-- | op-mode-definitions/show-monitoring.xml.in | 62 |
1 files changed, 59 insertions, 3 deletions
diff --git a/op-mode-definitions/show-monitoring.xml.in b/op-mode-definitions/show-monitoring.xml.in index 2651b3438..9fd60e45a 100644 --- a/op-mode-definitions/show-monitoring.xml.in +++ b/op-mode-definitions/show-monitoring.xml.in @@ -2,12 +2,68 @@ <interfaceDefinition> <node name="show"> <children> - <leafNode name="monitoring"> + <node name="monitoring"> <properties> <help>Show currently monitored services</help> </properties> - <command>vtysh -c "show debugging"</command> - </leafNode> + <children> + <node name="frr"> + <properties> + <help>Show currently monitored FRR services</help> + </properties> + <command>vtysh -c "show debugging"</command> + <children> + <node name="zebra"> + <properties> + <help>Show Zebra routing information</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh "show ${@:4}"</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 "show ${@:4}"</command> + </node> + </children> + </node> + <node name="dplane"> + <properties> + <help>Zebra dataplane information</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh "show ${@:4}"</command> + </node> + <node name="router"> + <properties> + <help>Zebra router information</help> + </properties> + <children> + <node name="table"> + <properties> + <help>Zebra routing table information</help> + </properties> + <children> + <node name="summary"> + <properties> + <help>Summary information</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh "show ${@:4}"</command> + </node> + </children> + </node> + </children> + </node> + </children> + </node> + </children> + </node> + </children> + </node> </children> </node> </interfaceDefinition> |