diff options
Diffstat (limited to 'interface-definitions/high-availability.xml.in')
| -rw-r--r-- | interface-definitions/high-availability.xml.in | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/interface-definitions/high-availability.xml.in b/interface-definitions/high-availability.xml.in index 6cf6237ca..11ea91309 100644 --- a/interface-definitions/high-availability.xml.in +++ b/interface-definitions/high-availability.xml.in @@ -12,12 +12,19 @@ <help>Virtual Router Redundancy Protocol settings</help> </properties> <children> - <leafNode name="snmp"> + <node name="snmp"> <properties> - <valueless/> <help>Enable SNMP</help> </properties> - </leafNode> + <children> + <leafNode name="trap"> + <properties> + <valueless/> + <help>Enable SNMP traps</help> + </properties> + </leafNode> + </children> + </node> <node name="global-parameters"> <properties> <help>VRRP global parameters</help> @@ -163,6 +170,18 @@ </constraint> </properties> </leafNode> + <leafNode name="timeout"> + <properties> + <help>Health check script timeout in seconds</help> + <valueHelp> + <format>u32</format> + <description>Timeout in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--positive"/> + </constraint> + </properties> + </leafNode> </children> </node> <leafNode name="hello-source-address"> @@ -386,6 +405,18 @@ </constraint> </properties> </leafNode> + <leafNode name="timeout"> + <properties> + <help>Health check script timeout in seconds</help> + <valueHelp> + <format>u32</format> + <description>Timeout in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--positive"/> + </constraint> + </properties> + </leafNode> </children> </node> #include <include/vrrp-transition-script.xml.i> @@ -482,11 +513,15 @@ <properties> <help>Timeout for persistent connections</help> <valueHelp> + <format>u32:0</format> + <description>Disable persistent connections</description> + </valueHelp> + <valueHelp> <format>u32:1-86400</format> <description>Timeout for persistent connections</description> </valueHelp> <constraint> - <validator name="numeric" argument="--range 1-86400"/> + <validator name="numeric" argument="--range 0-86400"/> </constraint> </properties> <defaultValue>300</defaultValue> |
