diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-15 22:54:58 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-16 08:37:43 +0000 |
commit | 64c8318b94d91b37ddc60632aa1203f37e65ccd7 (patch) | |
tree | 1b984783b63559030cdf2d26094a2277cd2ce650 /interface-definitions | |
parent | a681ddef742367dd0fc59df15c857f2190059fcc (diff) | |
download | vyos-1x-64c8318b94d91b37ddc60632aa1203f37e65ccd7.tar.gz vyos-1x-64c8318b94d91b37ddc60632aa1203f37e65ccd7.zip |
T6001: add option to disable next-hop-tracking resolve-via-default
* set system ip nht no-resolve-via-default
* set system ipv6 nht no-resolve-via-default
(cherry picked from commit ece0e768f36e52f8964823d891264d7c187204ec)
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 |
3 files changed, 17 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> |