summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-01-09 11:13:23 +0000
committerGitHub <noreply@github.com>2024-01-09 11:13:23 +0000
commite8d57b5f9caea7b9ed46e36bda6094c194eee4f8 (patch)
tree9db35fffafdcc737609141aed547f2dfe20b31da /interface-definitions/include
parentd6b2144b3c017d9fd5b3bf8e69c17de7b80f0fa6 (diff)
parent56141ca2165f58dcfd7ef47afcdb1b227827d416 (diff)
downloadvyos-1x-e8d57b5f9caea7b9ed46e36bda6094c194eee4f8.tar.gz
vyos-1x-e8d57b5f9caea7b9ed46e36bda6094c194eee4f8.zip
Merge pull request #2776 from nicolas-fort/T1297
T1297: vrrp: backport VRRP GARP options to Equuleus
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/vrrp/garp.xml.i74
1 files changed, 74 insertions, 0 deletions
diff --git a/interface-definitions/include/vrrp/garp.xml.i b/interface-definitions/include/vrrp/garp.xml.i
new file mode 100644
index 000000000..847154444
--- /dev/null
+++ b/interface-definitions/include/vrrp/garp.xml.i
@@ -0,0 +1,74 @@
+<!-- include start from vrrp/garp.xml.i -->
+<node name="garp">
+ <properties>
+ <help>Gratuitous ARP parameters</help>
+ </properties>
+ <children>
+ <leafNode name="master-delay">
+ <properties>
+ <help>Delay for second set of gratuitous ARPs after transition to MASTER</help>
+ <valueHelp>
+ <format>u32:1-1000</format>
+ <description>Delay for second set of gratuitous ARPs after transition to MASTER</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-1000"/>
+ </constraint>
+ </properties>
+ <defaultValue>5</defaultValue>
+ </leafNode>
+ <leafNode name="master-repeat">
+ <properties>
+ <help>Number of gratuitous ARP messages to send at a time after transition to MASTER</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Number of gratuitous ARP messages to send at a time after transition to MASTER</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ <defaultValue>5</defaultValue>
+ </leafNode>
+ <leafNode name="master-refresh">
+ <properties>
+ <help>Minimum time interval for refreshing gratuitous ARPs while MASTER. 0 means no refresh</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Minimum time interval for refreshing gratuitous ARPs while MASTER. 0 means no refresh</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ <defaultValue>5</defaultValue>
+ </leafNode>
+ <leafNode name="master-refresh-repeat">
+ <properties>
+ <help>Number of gratuitous ARP messages to send at a time while MASTER</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Number of gratuitous ARP messages to send at a time while MASTER</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ <defaultValue>1</defaultValue>
+ </leafNode>
+ <leafNode name="interval">
+ <properties>
+ <help>Delay between gratuitous ARP messages sent on an interface</help>
+ <valueHelp>
+ <format>&lt;0.000-1000&gt;</format>
+ <description>Delay between gratuitous ARP messages sent on an interface</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0.000-1000 --float"/>
+ </constraint>
+ </properties>
+ <defaultValue>0</defaultValue>
+ </leafNode>
+ </children>
+</node>
+<!-- include end --> \ No newline at end of file