diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2025-12-08 13:55:16 +0200 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2025-12-17 14:04:31 +0200 |
| commit | f5d14a304f2ea32e49ecba278c78e86c75f2cb87 (patch) | |
| tree | b3ebc25334d1edc45b11014d6090e5b825d0d780 /op-mode-definitions | |
| parent | f4d46db92f9d95c2264c219304172b7b45094bb3 (diff) | |
| download | vyos-1x-f5d14a304f2ea32e49ecba278c78e86c75f2cb87.tar.gz vyos-1x-f5d14a304f2ea32e49ecba278c78e86c75f2cb87.zip | |
vpp: T7954: Add op-mode commands to show LACP
Diffstat (limited to 'op-mode-definitions')
| -rw-r--r-- | op-mode-definitions/vpp_lacp.xml.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/op-mode-definitions/vpp_lacp.xml.in b/op-mode-definitions/vpp_lacp.xml.in new file mode 100644 index 000000000..60d18647f --- /dev/null +++ b/op-mode-definitions/vpp_lacp.xml.in @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="vpp"> + <children> + <node name="lacp"> + <properties> + <help>Show VPP LACP information</help> + </properties> + <command>${vyos_op_scripts_dir}/vpp.py show_lacp</command> + <children> + <virtualTagNode> + <properties> + <help>Show specific interface LACP information</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces --bondable</script> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/vpp.py show_lacp --ifname=$4</command> + <children> + <leafNode name="detail"> + <properties> + <help>Show interface LACP details</help> + </properties> + <command>${vyos_op_scripts_dir}/vpp.py show_lacp_details --ifname=$4</command> + </leafNode> + </children> + </virtualTagNode> + <leafNode name="detail"> + <properties> + <help>Show LACP detailed information</help> + </properties> + <command>${vyos_op_scripts_dir}/vpp.py show_lacp_details</command> + </leafNode> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition>
\ No newline at end of file |
