summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_failover.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-16 17:08:40 +0200
committerGitHub <noreply@github.com>2024-04-16 17:08:40 +0200
commit6825873bd1e835836259094a5a7d666be8f0be6e (patch)
tree4b800e3c8de3a2242416a128e19355462e2214a9 /interface-definitions/protocols_failover.xml.in
parentc0eec365e2e35afe8162304d065f944ff0c42575 (diff)
parentbb832acb97881d747a57da2728eab3ad138b8129 (diff)
downloadvyos-1x-6825873bd1e835836259094a5a7d666be8f0be6e.tar.gz
vyos-1x-6825873bd1e835836259094a5a7d666be8f0be6e.zip
Merge pull request #3313 from sever-sever/T5722
T5722: Failover route add option onlink
Diffstat (limited to 'interface-definitions/protocols_failover.xml.in')
-rw-r--r--interface-definitions/protocols_failover.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/protocols_failover.xml.in b/interface-definitions/protocols_failover.xml.in
index c0caec68e..f70975949 100644
--- a/interface-definitions/protocols_failover.xml.in
+++ b/interface-definitions/protocols_failover.xml.in
@@ -124,6 +124,12 @@
</properties>
<defaultValue>1</defaultValue>
</leafNode>
+ <leafNode name="onlink">
+ <properties>
+ <help>The next hop is directly connected to the interface, even if it does not match interface prefix</help>
+ <valueless/>
+ </properties>
+ </leafNode>
</children>
</tagNode>
</children>