diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2022-08-20 19:57:06 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-29 07:23:17 +0200 |
commit | a4640bed744015f8788355cbf0a0c03980ff77cb (patch) | |
tree | 89e46ea2e667aed6cb63a80e69bacbfe25577595 /test/test-network/conf | |
parent | network: NetLabel integration (diff) | |
download | systemd-a4640bed744015f8788355cbf0a0c03980ff77cb.tar.xz systemd-a4640bed744015f8788355cbf0a0c03980ff77cb.zip |
test: testing for networkd NetLabel feature
Diffstat (limited to 'test/test-network/conf')
4 files changed, 11 insertions, 0 deletions
diff --git a/test/test-network/conf/25-address-static.network b/test/test-network/conf/25-address-static.network index 2a4c1a6039..6d2baa3972 100644 --- a/test/test-network/conf/25-address-static.network +++ b/test/test-network/conf/25-address-static.network @@ -361,3 +361,8 @@ Address=10.3.3.251/16 Address=10.3.3.252/16 Address=10.3.3.253/16 Address=10.3.3.254/16 + +[Address] +Address=10.4.3.2/24 +# just a random label which should exist +NetLabel=system_u:object_r:root_t:s0 diff --git a/test/test-network/conf/25-dhcp-client-ipv4-only.network b/test/test-network/conf/25-dhcp-client-ipv4-only.network index 23c6f047ce..bd8843b177 100644 --- a/test/test-network/conf/25-dhcp-client-ipv4-only.network +++ b/test/test-network/conf/25-dhcp-client-ipv4-only.network @@ -26,6 +26,8 @@ SendDecline=yes # DenyList= will be ignored AllowList=192.168.5.0/24 192.168.6.0/24 DenyList=192.168.5.0/24 +# just a random label which should exist +NetLabel=system_u:object_r:root_t:s0 [Route] Destination=192.168.5.0/24 diff --git a/test/test-network/conf/25-dhcp-pd-downstream-dummy98.network b/test/test-network/conf/25-dhcp-pd-downstream-dummy98.network index f7e3cbfee4..2babc43203 100644 --- a/test/test-network/conf/25-dhcp-pd-downstream-dummy98.network +++ b/test/test-network/conf/25-dhcp-pd-downstream-dummy98.network @@ -14,3 +14,5 @@ SubnetId=0 Announce=no Token=eui64 Token=::1a:2b:3c:4d +# just a random label which should exist +NetLabel=system_u:object_r:root_t:s0 diff --git a/test/test-network/conf/25-ipv6-prefix-veth.network b/test/test-network/conf/25-ipv6-prefix-veth.network index b6724eaf5e..905e2fd2c8 100644 --- a/test/test-network/conf/25-ipv6-prefix-veth.network +++ b/test/test-network/conf/25-ipv6-prefix-veth.network @@ -7,3 +7,5 @@ IPv6AcceptRA=true [IPv6AcceptRA] UseDomains=yes +# just a random label which should exist +NetLabel=system_u:object_r:root_t:s0 |