summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-10 14:55:08 +0200
committerGitHub <noreply@github.com>2021-07-10 14:55:08 +0200
commit3bfaed07d3353583b981a5af0f656c03b537f28f (patch)
tree3bae91eebe521c3fd6f0ad8ac20cb2d1d19c0b8b
parent2a299c3fb23e7546bc26de8be83a3fda153e4e63 (diff)
parentbd2c6d55b5813528d58f8828d18899c30958861b (diff)
downloadvyos-1x-3bfaed07d3353583b981a5af0f656c03b537f28f.tar.gz
vyos-1x-3bfaed07d3353583b981a5af0f656c03b537f28f.zip
Merge pull request #916 from jack9603301/T3667
bridge: op-mode: T3667: Moving VLANs and modifying XML errors
-rw-r--r--op-mode-definitions/show-bridge.xml.in21
1 files changed, 14 insertions, 7 deletions
diff --git a/op-mode-definitions/show-bridge.xml.in b/op-mode-definitions/show-bridge.xml.in
index 2c792be4a..268bfaddd 100644
--- a/op-mode-definitions/show-bridge.xml.in
+++ b/op-mode-definitions/show-bridge.xml.in
@@ -2,17 +2,24 @@
<interfaceDefinition>
<node name="show">
<children>
- <leafNode name="bridge">
+ <node name="bridge">
<properties>
<help>Show bridging information</help>
</properties>
- <command>bridge -c link show</command>
- </leafNode>
- <leafNode name="vlan">
+ <children>
+ <leafNode name="vlan">
+ <properties>
+ <help>View the VLAN filter settings of the bridge</help>
+ </properties>
+ <command>bridge -c vlan show</command>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="bridge">
<properties>
- <help>View the VLAN filter settings of the bridge</help>
+ <help>Show bridging information</help>
</properties>
- <command>bridge -c vlan show</command>
+ <command>bridge -c link show</command>
</leafNode>
<tagNode name="bridge">
<properties>
@@ -27,7 +34,7 @@
<properties>
<help>Displays the multicast group database for the bridge</help>
</properties>
- <command>bridge -c fdb show dev $3</command>
+ <command>bridge -c mdb show dev $3</command>
</leafNode>
<leafNode name="fdb">
<properties>