From 1a402dd93974840e1039972276e8dbf1cf8694fe Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko <v.gletenko@vyos.io> Date: Thu, 6 Apr 2023 12:24:52 +0000 Subject: 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' --- interface-definitions/protocols-failover.xml.in | 1 + 1 file changed, 1 insertion(+) (limited to 'interface-definitions') 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"> -- cgit v1.2.3