From 97e0e0eb3ddc1645be3ee255cd7a17fa4b9c1e80 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Tue, 26 Jul 2022 17:40:31 +0000 Subject: bridge: T4569: Extend bridge.py for op-mode Extend bridge.py op-mode script, allow next commands to use own op-mode functions Add: show bridge vlan show bridge brX fdb show bridge brX mdb --- op-mode-definitions/show-bridge.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'op-mode-definitions') 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 @@ View the VLAN filter settings of the bridge - bridge -c vlan show + ${vyos_op_scripts_dir}/bridge.py show_vlan @@ -34,13 +34,13 @@ Displays the multicast group database for the bridge - bridge -c mdb show dev $3 + ${vyos_op_scripts_dir}/bridge.py show_mdb --interface=$3 Show the forwarding database of the bridge - bridge -c fdb show br $3 + ${vyos_op_scripts_dir}/bridge.py show_fdb --interface=$3 -- cgit v1.2.3