Yu Watanabe
4862fb693d
test-network: use dnsmasq for testing DHCP4-6RD
2021-12-18 10:09:07 +09:00
Yu Watanabe
42592d0ad4
test-network: support the case that the default config files are not installed yet
2021-12-07 20:33:20 +09:00
Yu Watanabe
84cc85f983
test-network: add test for 6rd
2021-12-07 20:33:20 +09:00
Yu Watanabe
a27588d4e7
network: dhcp-pd: rename [DHCPv6PrefixDelegation] -> [DHCPPrefixDelegation]
...
This just changes the names of settings, variables, functions, files, and so on.
No functionality is changed.
Preparation for supporting 6rd.
2021-12-07 20:30:30 +09:00
Yu Watanabe
6016f1cfbb
test-network: re-arrange DHCP6-PD subnet IDs to test searching free subnet ID
2021-12-01 20:35:03 +09:00
Yu Watanabe
6c8d6bdd40
test-network: add testcases for uplink interface detection for RADV with DHCPv6-PD
2021-12-01 20:35:03 +09:00
Yu Watanabe
6387cac3f3
test-network: add tests for creating routes to wireguard's AllowedIPs=
2021-12-01 04:00:16 +09:00
Yu Watanabe
3e3b0d2a40
test-network: make udevd also generate debugging logs
2021-11-17 08:32:45 +09:00
Yu Watanabe
7a2e124b08
test-network: add testcases for Token=prefixstable with UUID
2021-11-14 13:29:44 +09:00
Yu Watanabe
0b251e8bf9
test-network: add testcases for CAKE settings
2021-11-09 10:58:44 +09:00
Yu Watanabe
ab7b261663
Merge pull request #21210 from yuwata/network-dhcp-server-introduce-router-setting
...
network: dhcp-server: introduce Router= setting to specify router address
2021-11-03 12:41:34 +09:00
Yu Watanabe
32d97330df
test-network: add a testcase for Router= setting
2021-11-03 03:15:05 +09:00
Yu Watanabe
0874be35c3
test-network: add test case for MTUBytes= for veth
2021-11-02 12:35:07 +09:00
Yu Watanabe
1ac845ffbe
test-network: add more tests for [Address] section
2021-10-28 02:12:34 +09:00
Yu Watanabe
8edcd775e8
test-network: add tests for invalid [IPv6AddressLabel] section
2021-10-28 01:40:19 +09:00
Yu Watanabe
3dfa7311e2
test-network: add tests for invalid IPv6 token
2021-10-28 01:17:14 +09:00
Yu Watanabe
caad88a22b
test-network: add test cases for DHCPv6 prefix delegation
2021-10-26 20:43:10 +09:00
Zbigniew Jędrzejewski-Szmek
22d3cfe54c
tests: add spdx license header to test unit/link/network/conf files
...
Those are all consumed by our parser, so they all support comments.
I was considering whether they should have a license header at all,
but in the end I decided to add it because those files are often created
by copying parts of real unit files. And if the real ones have a license,
then those might as well. It's easier to add it than to make an exception.
2021-10-18 09:04:45 +02:00
Yu Watanabe
308d01f3c4
network: do not request RAPID_COMMIT option
...
The option must not be included in OPTION_REQUEST option.
See the "Client ORO" field in
https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#dhcpv6-parameters-2
This deprecates RapidCommit= setting. Note that sd-dhcp6-client always
sets the RAPID_COMMIT option in the solicit message.
2021-10-13 02:46:24 +09:00
Yu Watanabe
fe2a8b3d3f
test-network: add tests for Token= in [IPv6Prefix]
2021-10-07 01:24:50 +09:00
Yu Watanabe
b48b6bd3b9
test-network: replace deprecated settings
2021-10-07 01:24:50 +09:00
Yu Watanabe
40971657ce
test-network: add tests for duplicated address setting
...
Also, add more tests for PreferredLifetime=0
C.f. #20891 .
2021-10-04 18:26:35 +09:00
Yu Watanabe
b06469a66c
test-network: add tests for KeepMaster=
2021-09-04 08:15:30 +09:00
Yu Watanabe
ab47f96041
test-network: add more testcases for *Allow/DenyList=
2021-08-23 20:37:36 +09:00
Yu Watanabe
180c5116b3
test-network: add testcases that gateway address is IPv6 link local
2021-08-22 15:35:22 +09:00
Maxime de Roucy
d419ef0243
network: add address label on dhcpv4
...
Fixes : #13967
2021-08-17 02:40:18 +09:00
Yu Watanabe
af0d4e6ef5
test-network: test static lease outside of pool
2021-08-11 16:43:26 +09:00
Luca Boccassi
32a2ee2bb4
Merge pull request #20375 from yuwata/network-bridge-vlan-issue-20373
...
network: fix bridge and openvswitch issues
2021-08-05 11:18:03 +01:00
Yu Watanabe
801cf85935
Merge pull request #20377 from yuwata/network-bridge-fdb-20305
...
network: always append new bridge FDB entries
2021-08-05 02:44:24 +09:00
Yu Watanabe
988b0660aa
test-network: add a test case for issue #20373
2021-08-04 23:22:20 +09:00
Yu Watanabe
4a906586f8
test-network: add a testcase for UplinkInterface= in [IPv6SendRA]
2021-08-04 22:21:00 +09:00
Yu Watanabe
cca07d910a
test-network: add a testcase for vxlan with IPv6 local address
2021-08-04 18:33:23 +09:00
Yu Watanabe
1d26d4cd14
test-network: add a testcase for ManageForeignRoutes=no
2021-07-12 20:59:42 +09:00
Yu Watanabe
4492443124
test-network: update tests for ipv4acd
2021-07-01 00:49:03 +09:00
Dan Streetman
61764fe4e2
test: add test to verify RequiredForOnline= setting with ActivationPolicy=
...
Add test to verify that the RequiredForOnline= value is correct based on
the configuration of ActivationPolicy=
2021-06-24 08:33:29 -04:00
Hristo Venev
2e8a32afbc
networkd: Permit all-zero RoutingPolicyRule prefixes
...
For example this `From` address range is no longer ignored:
[RoutingPolicyRule]
From=0.0.0.0/8
2021-06-22 20:19:12 +09:00
Luca Boccassi
2fbb5df8e9
Merge pull request #19898 from yuwata/network-multipath-route-without-interface-name
...
network: set link ifindex when multi-path routes specified without interface name
2021-06-14 14:27:50 +01:00
Yu Watanabe
740b638267
test-network: disable dynamic addressing protocols when ConfigureWithoutCarrier= is enabled
2021-06-12 08:51:16 +09:00
Yu Watanabe
7a0fef8688
test-network: add a testcase for MultiPathRoute= without interface name
2021-06-12 05:37:57 +09:00
Yu Watanabe
4681ab5547
test-network: add a test case for IPv6StableSecretAddress=
2021-06-09 04:56:52 +09:00
Yu Watanabe
9373f5a812
test-network: fix setting name
...
This fixes an issue introduced by 72ffb9133d
.
2021-06-08 06:33:27 +09:00
Yu Watanabe
4e0006cc4b
test-network: add a testcase for UplinkInterface= for DHCP server
2021-06-08 06:33:27 +09:00
borna-blazevic
ffaece68bc
test-network: add a testcase for DHCP static lease
2021-05-27 15:57:33 +09:00
Yu Watanabe
06043c7821
test-network: refuse RA if not necessary
2021-05-26 21:22:13 +09:00
Yu Watanabe
9c8f90d0f9
test-network: add a test case for nexthop Group= setting
2021-05-22 04:59:45 +09:00
Yu Watanabe
db5486b450
test-network: add a testcase for OutgoingInterface= in [BridgeFDB]
2021-05-20 18:23:15 +09:00
Yu Watanabe
72ffb9133d
test-network: add testcases for ServerAddress=
2021-05-18 20:20:24 +09:00
Jörg Deckert
dd568427fb
networkd: correct batman-adv setting name (GatewayBandwidth) ( #19539 )
...
Co-authored-by: Jörg Deckert <jdeckert@unitas-network.de>
2021-05-08 14:39:32 +02:00
Yegor Alexeyev
11c38d3e51
rfc3046 implementation
2021-05-08 15:59:29 +09:00
Yu Watanabe
4bd7e99232
test-network: set DNS= and NTP= for DHCP server
...
Now, RoutesToDNS= and RoutesToNTP= are enabled by default on DHCPv4
client. So, if DHCP server picks up DNS or NTP servers from uplink,
then the routes may break CI environment.
Hopefully fixes #19463 .
2021-04-30 10:57:17 +02:00