summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/vpp_lacp.xml.in42
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