Skip to content

Commit

Permalink
op_mode: T6909: Move "show monitoring" and "show zebra" to "show moni…
Browse files Browse the repository at this point in the history
…toring frr"
  • Loading branch information
natali-rs1985 committed Nov 26, 2024
1 parent 99f414c commit 51c6930
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 57 deletions.
62 changes: 59 additions & 3 deletions op-mode-definitions/show-monitoring.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>
54 changes: 0 additions & 54 deletions op-mode-definitions/show-zebra.xml.in

This file was deleted.

0 comments on commit 51c6930

Please sign in to comment.