summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-bridge.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-29 18:39:40 +0200
committerGitHub <noreply@github.com>2022-07-29 18:39:40 +0200
commitb5d9ebf16f63b86013ce4e72a8023ac65fc2df8d (patch)
tree935b49a012aa6eb6b996b553e03bb2c9e464a1e5 /op-mode-definitions/show-bridge.xml.in
parent9310ed82e1e3800e68255b0166ff741c5e84e587 (diff)
parent97e0e0eb3ddc1645be3ee255cd7a17fa4b9c1e80 (diff)
downloadvyos-1x-b5d9ebf16f63b86013ce4e72a8023ac65fc2df8d.tar.gz
vyos-1x-b5d9ebf16f63b86013ce4e72a8023ac65fc2df8d.zip
Merge pull request #1438 from sever-sever/T4569
bridge: T4569: Extend bridge.py for op-mode
Diffstat (limited to 'op-mode-definitions/show-bridge.xml.in')
-rw-r--r--op-mode-definitions/show-bridge.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/show-bridge.xml.in b/op-mode-definitions/show-bridge.xml.in
index 8b857888b..dd2a28931 100644
--- a/op-mode-definitions/show-bridge.xml.in
+++ b/op-mode-definitions/show-bridge.xml.in
@@ -11,7 +11,7 @@
<properties>
<help>View the VLAN filter settings of the bridge</help>
</properties>
- <command>bridge -c vlan show</command>
+ <command>${vyos_op_scripts_dir}/bridge.py show_vlan</command>
</leafNode>
</children>
</node>
@@ -34,13 +34,13 @@
<properties>
<help>Displays the multicast group database for the bridge</help>
</properties>
- <command>bridge -c mdb show dev $3</command>
+ <command>${vyos_op_scripts_dir}/bridge.py show_mdb --interface=$3</command>
</leafNode>
<leafNode name="fdb">
<properties>
<help>Show the forwarding database of the bridge</help>
</properties>
- <command>bridge -c fdb show br $3</command>
+ <command>${vyos_op_scripts_dir}/bridge.py show_fdb --interface=$3</command>
</leafNode>
</children>
</tagNode>