summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-17 18:02:49 +0100
committerGitHub <noreply@github.com>2023-03-17 18:02:49 +0100
commit92c3ce9fbc266bbbd89a40fe0c98d6db1a4f4c2c (patch)
tree0a37d9f887ac862cbd6f8122b88e8f4eafa1f582 /interface-definitions
parentda42b37983e75dc4587160036be9eb71df4e4989 (diff)
parent57c06dcd78f9b711c4fb46e6657b0a496059a685 (diff)
downloadvyos-1x-92c3ce9fbc266bbbd89a40fe0c98d6db1a4f4c2c.tar.gz
vyos-1x-92c3ce9fbc266bbbd89a40fe0c98d6db1a4f4c2c.zip
Merge pull request #1897 from sever-sever/T5086
T5086: Add sFlow drop-monitor-limit option
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-sflow.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/system-sflow.xml.in b/interface-definitions/system-sflow.xml.in
index a53c99937..335181fe1 100644
--- a/interface-definitions/system-sflow.xml.in
+++ b/interface-definitions/system-sflow.xml.in
@@ -46,6 +46,18 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="drop-monitor-limit">
+ <properties>
+ <help>Export headers of dropped by kernel packets</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Maximum rate limit of N drops per second send out in the sFlow datagrams</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
#include <include/generic-interface-multi.xml.i>
<leafNode name="polling">
<properties>