diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-25 14:26:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 14:26:26 +0100 |
commit | cf128449bac7f753d7853636758a74f370490ff3 (patch) | |
tree | 185220694aba68d41cbf27a1b0dd82f0f29d6c90 /interface-definitions/include/vrrp | |
parent | 2e607d43c5acc3521a41e0155f8571aa42d14cdc (diff) | |
parent | 144b6e6e7b6230283ad8eccc374c443bffd74c3f (diff) | |
download | vyos-1x-cf128449bac7f753d7853636758a74f370490ff3.tar.gz vyos-1x-cf128449bac7f753d7853636758a74f370490ff3.zip |
Merge pull request #1777 from nicolas-fort/T1297-garp
T1297: VRRP: add garp options to vrrp
Diffstat (limited to 'interface-definitions/include/vrrp')
-rw-r--r-- | interface-definitions/include/vrrp/garp.xml.i | 74 |
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..b321c9591 --- /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><0.000-1000></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 --> |