diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-12-23 15:10:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-23 15:10:22 +0000 |
| commit | d171c52ff343ba80a5d5fdb7bb4c008347a6649d (patch) | |
| tree | 4cce3dea00b1a28ca5f493cf39341a85645339ed /op-mode-definitions | |
| parent | 165841c13d6b57631b8c034c5b5c87d4d7f3469f (diff) | |
| parent | 16d0f617ed63a72fe6cf7cbbb69ba62b05973401 (diff) | |
| download | vyos-1x-d171c52ff343ba80a5d5fdb7bb4c008347a6649d.tar.gz vyos-1x-d171c52ff343ba80a5d5fdb7bb4c008347a6649d.zip | |
Merge pull request #4913 from natali-rs1985/T7203
vpp: T7203: Add op-mode to show bridge-domain
Diffstat (limited to 'op-mode-definitions')
| -rw-r--r-- | op-mode-definitions/vpp-bridge.xml.in | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/op-mode-definitions/vpp-bridge.xml.in b/op-mode-definitions/vpp-bridge.xml.in new file mode 100644 index 000000000..d75fb17b4 --- /dev/null +++ b/op-mode-definitions/vpp-bridge.xml.in @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="vpp"> + <children> + <node name="bridge"> + <properties> + <help>Show VPP bridge information</help> + </properties> + <command>${vyos_op_scripts_dir}/vpp.py show_bridge</command> + <children> + <virtualTagNode> + <properties> + <help>Show bridge information for specified interface</help> + <completionHelp> + <path>vpp interfaces bridge</path> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/vpp.py show_bridge --ifname=$4</command> + <children> + <leafNode name="detail"> + <properties> + <help>Show detailed bridge domain information</help> + </properties> + <command>${vyos_op_scripts_dir}/vpp.py show_bridge_details --ifname=$4</command> + </leafNode> + </children> + </virtualTagNode> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |
