summaryrefslogtreecommitdiff
path: root/interface-definitions/flow-accounting-conf.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-24 22:12:19 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-25 23:27:15 +0100
commit015e26acc8ed65b6a7d778107a83ee8604950f90 (patch)
tree7cc2810b6061d5251b0d82103e72896680d67a9f /interface-definitions/flow-accounting-conf.xml.in
parent4abca54698edb09b76e7d059dd35cdcef3512ec4 (diff)
downloadvyos-1x-015e26acc8ed65b6a7d778107a83ee8604950f90.tar.gz
vyos-1x-015e26acc8ed65b6a7d778107a83ee8604950f90.zip
flow-accounting: T4097: move to get_config_dict()
Diffstat (limited to 'interface-definitions/flow-accounting-conf.xml.in')
-rw-r--r--interface-definitions/flow-accounting-conf.xml.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/interface-definitions/flow-accounting-conf.xml.in b/interface-definitions/flow-accounting-conf.xml.in
index 9f13c295b..02364425f 100644
--- a/interface-definitions/flow-accounting-conf.xml.in
+++ b/interface-definitions/flow-accounting-conf.xml.in
@@ -14,12 +14,13 @@
<help>Buffer size</help>
<valueHelp>
<format>u32</format>
- <description>Buffer size in MiB</description>
+ <description>Buffer size in MiB (default: 10)</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 0-4294967295"/>
</constraint>
</properties>
+ <defaultValue>10</defaultValue>
</leafNode>
<leafNode name="enable-egress">
<properties>
@@ -218,6 +219,7 @@
<description>Internet Protocol Flow Information Export (IPFIX)</description>
</valueHelp>
</properties>
+ <defaultValue>9</defaultValue>
</leafNode>
<tagNode name="server">
<properties>
@@ -247,6 +249,7 @@
<validator name="numeric" argument="--range 1025-65535"/>
</constraint>
</properties>
+ <defaultValue>2055</defaultValue>
</leafNode>
</children>
</tagNode>
@@ -266,6 +269,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>60</defaultValue>
</leafNode>
<leafNode name="flow-generic">
<properties>
@@ -278,6 +282,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>3600</defaultValue>
</leafNode>
<leafNode name="icmp">
<properties>
@@ -290,6 +295,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>300</defaultValue>
</leafNode>
<leafNode name="max-active-life">
<properties>
@@ -302,6 +308,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>604800</defaultValue>
</leafNode>
<leafNode name="tcp-fin">
<properties>
@@ -314,6 +321,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>300</defaultValue>
</leafNode>
<leafNode name="tcp-generic">
<properties>
@@ -326,6 +334,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>3600</defaultValue>
</leafNode>
<leafNode name="tcp-rst">
<properties>
@@ -338,6 +347,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>120</defaultValue>
</leafNode>
<leafNode name="udp">
<properties>
@@ -350,6 +360,7 @@
<validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
+ <defaultValue>300</defaultValue>
</leafNode>
</children>
</node>
@@ -380,6 +391,7 @@
<regex>^auto$</regex>
</constraint>
</properties>
+ <defaultValue>auto</defaultValue>
</leafNode>
<leafNode name="sampling-rate">
<properties>
@@ -421,6 +433,7 @@
<validator name="numeric" argument="--range 1025-65535"/>
</constraint>
</properties>
+ <defaultValue>6343</defaultValue>
</leafNode>
</children>
</tagNode>