summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-27 17:03:24 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-28 11:28:56 +0100
commit09a0cecf02972fa9019fcfd900c50b27797f40e2 (patch)
treed58db577283626a93c2680ec9e3aa7b9cfea0e25 /interface-definitions/include
parentadc09e4ecaf91bc93b3994eac4f2f2ac2786a1c7 (diff)
downloadvyos-1x-09a0cecf02972fa9019fcfd900c50b27797f40e2.tar.gz
vyos-1x-09a0cecf02972fa9019fcfd900c50b27797f40e2.zip
ipv6: T1831: migrate autoconf node
Autoconfigure addresses using Prefix Information in Router Advertisements.
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/ipv6-address.xml.i10
-rw-r--r--interface-definitions/include/vif.xml.i1
2 files changed, 11 insertions, 0 deletions
diff --git a/interface-definitions/include/ipv6-address.xml.i b/interface-definitions/include/ipv6-address.xml.i
new file mode 100644
index 000000000..31629830e
--- /dev/null
+++ b/interface-definitions/include/ipv6-address.xml.i
@@ -0,0 +1,10 @@
+<node name="address">
+ <children>
+ <leafNode name="autoconf">
+ <properties>
+ <help>Enable acquisition of IPv6 address using stateless autoconfig (SLAAC)</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+</node>
diff --git a/interface-definitions/include/vif.xml.i b/interface-definitions/include/vif.xml.i
index 3316dd784..819534dc1 100644
--- a/interface-definitions/include/vif.xml.i
+++ b/interface-definitions/include/vif.xml.i
@@ -53,6 +53,7 @@
</node>
<node name="ipv6">
<children>
+ #include <include/ipv6-address.xml.i>
#include <include/ipv6-disable-forwarding.xml.i>
#include <include/ipv6-dup-addr-detect-transmits.xml.i>
</children>