diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-11 22:25:53 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-08-11 23:01:21 +0200 |
commit | 073961a5c833ca820a197c3635138b14e2b16cd7 (patch) | |
tree | 43949641142fe6b21dc47f43055a2cbcf4247882 /interface-definitions | |
parent | 63a8d17b89597e990e44f5b0111419778917e689 (diff) | |
download | vyos-1x-073961a5c833ca820a197c3635138b14e2b16cd7.tar.gz vyos-1x-073961a5c833ca820a197c3635138b14e2b16cd7.zip |
ipv6: T5464: add support for per-interface dad (duplicate address detection) setting
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/interface/ipv6-accept-dad.xml.i | 20 | ||||
-rw-r--r-- | interface-definitions/include/interface/ipv6-options.xml.i | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/ipv6-accept-dad.xml.i b/interface-definitions/include/interface/ipv6-accept-dad.xml.i new file mode 100644 index 000000000..7554b270a --- /dev/null +++ b/interface-definitions/include/interface/ipv6-accept-dad.xml.i @@ -0,0 +1,20 @@ +<!-- include start from interface/ipv6-accept-dad.xml.i --> +<leafNode name="accept-dad"> + <properties> + <help>Accept Duplicate Address Detection</help> + <valueHelp> + <format>0</format> + <description>Disable DAD</description> + </valueHelp> + <valueHelp> + <format>1</format> + <description>Enable DAD</description> + </valueHelp> + <valueHelp> + <format>2</format> + <description>Enable DAD - disable IPv6 if MAC-based duplicate link-local address found</description> + </valueHelp> + </properties> + <defaultValue>1</defaultValue> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/include/interface/ipv6-options.xml.i b/interface-definitions/include/interface/ipv6-options.xml.i index f740ce0c2..d2e47de91 100644 --- a/interface-definitions/include/interface/ipv6-options.xml.i +++ b/interface-definitions/include/interface/ipv6-options.xml.i @@ -6,6 +6,7 @@ <children> #include <include/interface/adjust-mss.xml.i> #include <include/interface/disable-forwarding.xml.i> + #include <include/interface/ipv6-accept-dad.xml.i> #include <include/interface/ipv6-address.xml.i> #include <include/interface/ipv6-dup-addr-detect-transmits.xml.i> </children> |