summaryrefslogtreecommitdiff
path: root/test/test-network/conf
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-12-12 13:58:13 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-25 15:32:06 +0900
commit49ad8da7798248f2b604e937afb2727aa3c89454 (patch)
tree0d40051b95a24d5c477a0de653e10b79130733cc /test/test-network/conf
parentb886649c95f6aac257e57268facc0fda6362581b (diff)
downloadsystemd-49ad8da7798248f2b604e937afb2727aa3c89454.tar.gz
test-network: add testcase for vxlan local address auto selection
Diffstat (limited to 'test/test-network/conf')
-rw-r--r--test/test-network/conf/25-vxlan-local-slaac.netdev8
-rw-r--r--test/test-network/conf/25-vxlan-local-slaac.network7
-rw-r--r--test/test-network/conf/25-vxlan-veth99.network10
3 files changed, 25 insertions, 0 deletions
diff --git a/test/test-network/conf/25-vxlan-local-slaac.netdev b/test/test-network/conf/25-vxlan-local-slaac.netdev
new file mode 100644
index 0000000000..43f5934d2a
--- /dev/null
+++ b/test/test-network/conf/25-vxlan-local-slaac.netdev
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[NetDev]
+Name=vxlan-slaac
+Kind=vxlan
+
+[VXLAN]
+VNI=4831584
+Local=slaac
diff --git a/test/test-network/conf/25-vxlan-local-slaac.network b/test/test-network/conf/25-vxlan-local-slaac.network
new file mode 100644
index 0000000000..4ea1eae875
--- /dev/null
+++ b/test/test-network/conf/25-vxlan-local-slaac.network
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Match]
+Name=vxlan-slaac
+
+[Network]
+IPv6AcceptRA=no
+LinkLocalAddressing=yes
diff --git a/test/test-network/conf/25-vxlan-veth99.network b/test/test-network/conf/25-vxlan-veth99.network
new file mode 100644
index 0000000000..b67b746624
--- /dev/null
+++ b/test/test-network/conf/25-vxlan-veth99.network
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Match]
+Name=veth99
+
+[Network]
+IPv6AcceptRA=yes
+VXLAN=vxlan-slaac
+
+[IPv6AcceptRA]
+PrefixAllowList=2002:da8:1::/64