diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-16 11:06:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 11:06:27 +0100 |
commit | db8b115301d5476151e7d0910ba674a683683122 (patch) | |
tree | 8181127e90e5a8ca6e19a6b1af624acf56482eb4 /interface-definitions | |
parent | cefa21ae6425355cf22fbe5123b720c5881d9174 (diff) | |
parent | 42e83b8b2cca6ba73c2663629cf92b3b2b225898 (diff) | |
download | vyos-1x-db8b115301d5476151e7d0910ba674a683683122.tar.gz vyos-1x-db8b115301d5476151e7d0910ba674a683683122.zip |
Merge pull request #3017 from vyos/mergify/bp/sagitta/pr-3016
T6001: add option to disable next-hop-tracking resolve-via-default (backport #3016)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/system-ip-nht.xml.i | 15 | ||||
-rw-r--r-- | interface-definitions/system_ip.xml.in | 1 | ||||
-rw-r--r-- | interface-definitions/system_ipv6.xml.in | 1 | ||||
-rw-r--r-- | interface-definitions/vrf.xml.in | 2 |
4 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/include/system-ip-nht.xml.i b/interface-definitions/include/system-ip-nht.xml.i new file mode 100644 index 000000000..4074043cd --- /dev/null +++ b/interface-definitions/include/system-ip-nht.xml.i @@ -0,0 +1,15 @@ +<!-- include start from syslog-facility.xml.i --> +<node name="nht"> + <properties> + <help>Filter Next Hop tracking route resolution</help> + </properties> + <children> + <leafNode name="no-resolve-via-default"> + <properties> + <help>Do not resolve via default route</help> + <valueless/> + </properties> + </leafNode> + </children> +</node> +<!-- include end --> diff --git a/interface-definitions/system_ip.xml.in b/interface-definitions/system_ip.xml.in index 6e3b7d5d0..015eb270f 100644 --- a/interface-definitions/system_ip.xml.in +++ b/interface-definitions/system_ip.xml.in @@ -48,6 +48,7 @@ </leafNode> </children> </node> + #include <include/system-ip-nht.xml.i> <node name="tcp"> <properties> <help>IPv4 TCP parameters</help> diff --git a/interface-definitions/system_ipv6.xml.in b/interface-definitions/system_ipv6.xml.in index 8957cb6a7..dda00af38 100644 --- a/interface-definitions/system_ipv6.xml.in +++ b/interface-definitions/system_ipv6.xml.in @@ -36,6 +36,7 @@ #include <include/arp-ndp-table-size.xml.i> </children> </node> + #include <include/system-ip-nht.xml.i> #include <include/system-ipv6-protocol.xml.i> <leafNode name="strict-dad"> <properties> diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in index e5ec539d3..25f26d0cc 100644 --- a/interface-definitions/vrf.xml.in +++ b/interface-definitions/vrf.xml.in @@ -34,6 +34,7 @@ </properties> <children> #include <include/interface/disable-forwarding.xml.i> + #include <include/system-ip-nht.xml.i> #include <include/system-ip-protocol.xml.i> </children> </node> @@ -43,6 +44,7 @@ </properties> <children> #include <include/interface/disable-forwarding.xml.i> + #include <include/system-ip-nht.xml.i> #include <include/system-ipv6-protocol.xml.i> </children> </node> |