diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-31 15:19:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 15:19:04 +0200 |
commit | d98b70aead175809f9b14b9f16779481bbde0877 (patch) | |
tree | 22ebbb1db28fba746fe7b4e5717e329db6974b72 /op-mode-definitions | |
parent | fdfaa680ef77a469698bfd30c56131710e637253 (diff) | |
parent | 657f5c1a08351c7740ff74cc112321d8f4e2155c (diff) | |
download | vyos-1x-d98b70aead175809f9b14b9f16779481bbde0877.tar.gz vyos-1x-d98b70aead175809f9b14b9f16779481bbde0877.zip |
Merge pull request #1927 from sever-sever/T5125
T5125: Add op-mode for sFlow based on hsflowd
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/sflow.xml.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/op-mode-definitions/sflow.xml.in b/op-mode-definitions/sflow.xml.in new file mode 100644 index 000000000..9f02dacda --- /dev/null +++ b/op-mode-definitions/sflow.xml.in @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- sflow op mode commands --> +<interfaceDefinition> + <node name="show"> + <children> + <node name="sflow"> + <properties> + <help>Show sFlow statistics</help> + </properties> + <!-- requires sudo, do not remove it --> + <command>sudo ${vyos_op_scripts_dir}/sflow.py show</command> + </node> + </children> + </node> +</interfaceDefinition> |