summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-02-07 21:45:53 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-02-07 21:45:53 +0000
commit79ef46e8af11c6fc57f9465b1b9ac97e775f2c89 (patch)
treea1dab16b2ccda50666dea89c6511439767b0922f /interface-definitions
parentebfd8e5e6ef64f86291b28ad08225fb497c32655 (diff)
downloadvyos-1x-79ef46e8af11c6fc57f9465b1b9ac97e775f2c89.tar.gz
vyos-1x-79ef46e8af11c6fc57f9465b1b9ac97e775f2c89.zip
vrrp: T1884: Add mode-force for run transition-scripts without checking previous state
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vrrp.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/vrrp.xml b/interface-definitions/vrrp.xml
index 2884ef613..36b75f28a 100644
--- a/interface-definitions/vrrp.xml
+++ b/interface-definitions/vrrp.xml
@@ -197,6 +197,20 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="stop">
+ <properties>
+ <help>Script to run on VRRP state transition to stop</help>
+ <constraint>
+ <validator name="script"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="mode-force">
+ <properties>
+ <help>Don't check previously VRRP scripts states</help>
+ <valueless/>
+ </properties>
+ </leafNode>
</children>
</node>
<leafNode name="virtual-address">