summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-interfaces-bonding.xml6
-rw-r--r--op-mode-definitions/show-interfaces-ethernet.xml6
2 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/show-interfaces-bonding.xml b/op-mode-definitions/show-interfaces-bonding.xml
index c1c76b059..f6d9b3508 100644
--- a/op-mode-definitions/show-interfaces-bonding.xml
+++ b/op-mode-definitions/show-interfaces-bonding.xml
@@ -42,6 +42,12 @@
</leafNode>
</children>
</tagNode>
+ <leafNode name="xdp">
+ <properties>
+ <help>Show eXpress Data Path statistics</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/show_xdp_stats.sh bonding "$4"</command>
+ </leafNode>
</children>
</tagNode>
<node name="bonding">
diff --git a/op-mode-definitions/show-interfaces-ethernet.xml b/op-mode-definitions/show-interfaces-ethernet.xml
index bdcfa55f1..fc79f44bf 100644
--- a/op-mode-definitions/show-interfaces-ethernet.xml
+++ b/op-mode-definitions/show-interfaces-ethernet.xml
@@ -68,6 +68,12 @@
</leafNode>
</children>
</tagNode>
+ <leafNode name="xdp">
+ <properties>
+ <help>Show eXpress Data Path statistics</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/show_xdp_stats.sh ethernet "$4"</command>
+ </leafNode>
</children>
</tagNode>
<node name="ethernet">