summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-22 21:06:47 +0200
committerGitHub <noreply@github.com>2023-07-22 21:06:47 +0200
commit20b7155f4140f54cf7669256160b6fedd8c1ab7a (patch)
tree192d57df1a71d8745525be6611adc70a5e32223d /op-mode-definitions
parente4f3bcc7083c554866cdb0b625ea4991ed0d7f32 (diff)
parenta684ab26c5ebdefb13ca870c0bfd5ef60fb9c6fc (diff)
downloadvyos-1x-20b7155f4140f54cf7669256160b6fedd8c1ab7a.tar.gz
vyos-1x-20b7155f4140f54cf7669256160b6fedd8c1ab7a.zip
Merge pull request #1511 from jack9603301/T4659
T4659: op-mode: Display bridge interface details
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-bridge.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/show-bridge.xml.in b/op-mode-definitions/show-bridge.xml.in
index acf3a00c7..a272ea204 100644
--- a/op-mode-definitions/show-bridge.xml.in
+++ b/op-mode-definitions/show-bridge.xml.in
@@ -42,6 +42,18 @@
</properties>
<command>${vyos_op_scripts_dir}/bridge.py show_fdb --interface=$3</command>
</leafNode>
+ <leafNode name="detail">
+ <properties>
+ <help>Display bridge interface details</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/bridge.py show_detail --interface=$3</command>
+ </leafNode>
+ <leafNode name="nexthop-group">
+ <properties>
+ <help>Display bridge interface nexthop-group</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/bridge.py show_detail --nexthop_group --interface=$3</command>
+ </leafNode>
</children>
</tagNode>
</children>