summaryrefslogtreecommitdiff
path: root/interface-definitions/flow-accounting-conf.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-25 23:26:36 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-25 23:27:15 +0100
commit344c2776bd6e157d33ea81f548d1eacde1d3e644 (patch)
tree969dd43ccffa3d78f8b58f02cb7e36f202a2f1db /interface-definitions/flow-accounting-conf.xml.in
parentb9b5070203c3c3b31a7b297c5ddba8934b1ca34d (diff)
downloadvyos-1x-344c2776bd6e157d33ea81f548d1eacde1d3e644.tar.gz
vyos-1x-344c2776bd6e157d33ea81f548d1eacde1d3e644.zip
flow-accounting: T4106: support specification of capture packet length
Diffstat (limited to 'interface-definitions/flow-accounting-conf.xml.in')
-rw-r--r--interface-definitions/flow-accounting-conf.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/flow-accounting-conf.xml.in b/interface-definitions/flow-accounting-conf.xml.in
index ba5c70979..1b57d706c 100644
--- a/interface-definitions/flow-accounting-conf.xml.in
+++ b/interface-definitions/flow-accounting-conf.xml.in
@@ -22,6 +22,19 @@
</properties>
<defaultValue>10</defaultValue>
</leafNode>
+ <leafNode name="packet-length">
+ <properties>
+ <help>Specifies the maximum number of bytes to capture for each packet</help>
+ <valueHelp>
+ <format>u32:128-750</format>
+ <description>Packet length in bytes (default: 128)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 128-750"/>
+ </constraint>
+ </properties>
+ <defaultValue>128</defaultValue>
+ </leafNode>
<leafNode name="enable-egress">
<properties>
<help>Enable egress flow accounting</help>