diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-23 15:22:32 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-23 15:42:53 +0100 |
commit | c69190bb2b9a3c0f105ea630d328b294aa7810d7 (patch) | |
tree | 8ade90f7eb2660b59447f11181f5999861889313 /op-mode-definitions | |
parent | 440ce3011e8718c917933026e68047fcfb008031 (diff) | |
download | vyos-1x-c69190bb2b9a3c0f105ea630d328b294aa7810d7.tar.gz vyos-1x-c69190bb2b9a3c0f105ea630d328b294aa7810d7.zip |
xdp: op-mode: T2666: support per interface statistics
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-interfaces-bonding.xml | 6 | ||||
-rw-r--r-- | op-mode-definitions/show-interfaces-ethernet.xml | 6 |
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"> |