summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-04-06 12:24:52 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-04-07 11:07:11 +0000
commit1a402dd93974840e1039972276e8dbf1cf8694fe (patch)
treecf6f5bfb671115a8ae76dab465bdae1564ea8143 /interface-definitions
parent5f94bde6d6024b753765d28d2fdb69806f1968b5 (diff)
downloadvyos-1x-1a402dd93974840e1039972276e8dbf1cf8694fe.tar.gz
vyos-1x-1a402dd93974840e1039972276e8dbf1cf8694fe.zip
T1237: Failover route add checks for multiple targets
There is only one target for checking ICMP/ARP Extend it for checking multiple targets set protocols failover route 192.0.2.55/32 next-hop 192.168.122.1 check target '203.0.113.1' set protocols failover route 192.0.2.55/32 next-hop 192.168.122.1 check target '203.0.113.11' The route will be installed only if all targets are 'alive'
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/protocols-failover.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/protocols-failover.xml.in b/interface-definitions/protocols-failover.xml.in
index 900c76eab..a8c5c717f 100644
--- a/interface-definitions/protocols-failover.xml.in
+++ b/interface-definitions/protocols-failover.xml.in
@@ -48,6 +48,7 @@
<constraint>
<validator name="ipv4-address"/>
</constraint>
+ <multi/>
</properties>
</leafNode>
<leafNode name="timeout">