summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-01-14 21:24:42 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-01-14 21:24:42 +0000
commit187d34b82f80c9c251c81cf9b96aa8d52e9f21e2 (patch)
treed73a378b2292f53465ae4021bb012ee31b7fcde8 /interface-definitions
parentf7c3e427c19a0137f76a3291c888a21239b3a0db (diff)
downloadvyos-1x-187d34b82f80c9c251c81cf9b96aa8d52e9f21e2.tar.gz
vyos-1x-187d34b82f80c9c251c81cf9b96aa8d52e9f21e2.zip
vrrp: T1884: Keep transition-script native behaviour and implement transaction-script 'stop'
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vrrp.xml.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/vrrp.xml.in b/interface-definitions/vrrp.xml.in
index 2884ef613..89d22f79f 100644
--- a/interface-definitions/vrrp.xml.in
+++ b/interface-definitions/vrrp.xml.in
@@ -197,6 +197,14 @@
</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>
</children>
</node>
<leafNode name="virtual-address">