summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-bridge.xml.in
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-07-10 18:31:26 +0800
committerjack9603301 <jack9603301@163.com>2021-07-10 18:31:26 +0800
commitd32d6d23828b17e3cd4acb9e9a1d41796672c028 (patch)
tree8e9dd5579d2a884ace7472906d0a97e19b02dd1a /op-mode-definitions/show-bridge.xml.in
parentef4f47003eb102e8b4d8178bb1bb5124a8be64e2 (diff)
downloadvyos-1x-d32d6d23828b17e3cd4acb9e9a1d41796672c028.tar.gz
vyos-1x-d32d6d23828b17e3cd4acb9e9a1d41796672c028.zip
bridge: op-mode: T3667: Moving `vlan` to better locations
Diffstat (limited to 'op-mode-definitions/show-bridge.xml.in')
-rw-r--r--op-mode-definitions/show-bridge.xml.in19
1 files changed, 13 insertions, 6 deletions
diff --git a/op-mode-definitions/show-bridge.xml.in b/op-mode-definitions/show-bridge.xml.in
index 2c792be4a..6a099acb6 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>