Yu Watanabe
6e5df4036f
Merge pull request #14337 from yuwata/network-tc-fq-more
...
network: tc: introduce more FQ settings
2019-12-17 23:30:10 +09:00
Yu Watanabe
7a2f6fb6f1
test-network: pass environment variables to networkctl
2019-12-16 10:56:02 +09:00
Yu Watanabe
6934ace05d
test-network: add a test case for netdev altname
2019-12-16 10:56:02 +09:00
Yu Watanabe
4ef289250f
test-network: add a test case for new FQ settings
2019-12-14 12:33:37 +09:00
Yu Watanabe
2e048b14eb
Merge pull request #13915 from ddstreet/ipv6_mtu
...
Set ipv6 mtu after link-up or device mtu change
2019-12-13 18:33:04 +09:00
Yu Watanabe
9401e48855
test-network: add a test case for the new settings of FQ-CoDel
2019-12-12 23:37:03 +09:00
Yu Watanabe
0baddbd5ee
test-network: add a test case for FQ
2019-12-12 17:26:31 +09:00
Yu Watanabe
40821c2ac3
test-network: add a test case for fq-codel
2019-12-11 00:06:31 +09:00
Yu Watanabe
886e07a9cf
test-network: add tests for new TBF settings
2019-12-10 01:28:38 +09:00
Yu Watanabe
bc942f69aa
test-network: make test_bind_carrier more stable
2019-12-08 19:52:01 +00:00
Yu Watanabe
debda5a4e5
Merge pull request #14273 from ssahani/ifb
...
network: introduce IFB
2019-12-08 05:13:08 +09:00
Yu Watanabe
b076d5d76d
test-network: add test case for IFB
2019-12-08 00:03:29 +09:00
Yu Watanabe
dc7d3c5fd4
test-network: add test case for IPv4 DAD
2019-12-06 23:29:28 +09:00
Dan Streetman
7db0544705
test-network: add tests to verify IPv6MTUBytes
2019-12-05 17:53:10 -05:00
Dan Streetman
3e82152543
test-network: disable restart limiting for networkd
...
Some of the tests restart networkd rapidly, so restart limiting
must be disabled to avoid start ratelimiting from causing test
failures.
2019-12-05 17:53:10 -05:00
Dan Streetman
fd372b1a68
test-network: in wait_online() allow a few seconds to reach setup_state
2019-12-05 17:53:03 -05:00
Dan Streetman
befd4b8b60
test-network: read link attribute at any depth
2019-12-05 17:50:15 -05:00
Dan Streetman
9dfc1a9339
test-network: allow specifying only individual drop-in files
2019-12-05 17:50:10 -05:00
Yu Watanabe
0ab9279132
test-network: add a test case for SFQ
2019-12-04 20:58:33 +09:00
Yu Watanabe
1b628c4f64
test-network: add test case for TBF
2019-12-04 20:57:48 +09:00
Dan Streetman
426654d728
test-network: Remove/replace non-capturing group regex
...
The systemd-networkd-tests.py has some regex that uses non-capturing
groups, but there is no need to use that with assertRegex; the
groups aren't referenced so it doesn't matter if it's capturing or
non-capturing. However, there are a few places where optional groups
should have been used instead, so this changes that.
Specifically, groups like this:
(?:whatever |)
should actually be:
(whatever )?
Additionally, this is specifically needed for these tests to run on
Debian systems, because this assertRegex:
'Link File: (?:/usr)/lib/systemd/network/99-default.link'
needs to be:
'Link File: (/usr)?/lib/systemd/network/99-default.link'
2019-11-01 12:32:49 -04:00
Dan Streetman
7471bcb06e
test: check /usr/lib and /lib for systemd binaries
...
Fedora uses /usr/lib while Debian uses /lib; find the right location
2019-11-01 12:00:57 -04:00
Dan Streetman
856423f14d
test/test-network/systemd-networkd-tests.py: suppress stderr for functionality checks
2019-11-01 12:00:53 -04:00
Yu Watanabe
ef3c8a92b7
test-network: add tests for qdisc
2019-10-30 09:33:51 +09:00
Yu Watanabe
dcd9f07ccf
network: add tests for "networkctl reconfigure"
2019-10-24 14:23:17 +09:00
Yu Watanabe
66de86712c
test-network: add tests for "networkctl reload"
2019-10-24 14:20:48 +09:00
Yu Watanabe
086bcf5dca
test-network: add a test case for nexthop
2019-10-14 21:55:57 +09:00
Zbigniew Jędrzejewski-Szmek
5afe558cfd
Merge pull request #12818 from yuwata/network-issue-8726
...
network: disable kernel creating prefix route when RouteTable= is set
2019-10-03 15:21:35 +02:00
Susant Sahani
98f0e10429
test-network: Drop start dnsmasq
2019-09-20 08:09:25 +00:00
Yu Watanabe
edfbf051e1
Merge pull request #13559 from ssahani/ipv6ra-route
...
network: make networkd able to advertise IPv6 routes on links
2019-09-18 00:13:08 +09:00
Susant Sahani
9633f977ea
Add test for IPv6 Route advertisement
2019-09-17 12:10:19 +02:00
Yu Watanabe
7b3770a75f
test-network: add one more test case for LinkLocalAddressing=
2019-09-17 09:45:22 +09:00
Yu Watanabe
2aa7d367ec
network: do not create default route for ipv4 link local addressing
...
When nspawn container with private network starts, networkd creates
the default route for the interface. The route may cause problem on
the host side, and it can be created with DefaultRouteOnDevice= now.
Hence, this makes networkd not create the route implicitly any more.
Closes #13418 .
2019-09-15 22:33:11 +09:00
Zbigniew Jędrzejewski-Szmek
57ad760746
network: drop all checks of ipv6_disabled sysctl
...
*We* control the sysctl setting. If the user configured IPv6, then we apply the
settings, and just make sure that at some point during the configuration the
sysctl is disabled (i.e. ipv6 enabled) if we have IPv6 configured.
Replaces #13283 .
2019-08-27 15:31:48 +02:00
Zbigniew Jędrzejewski-Szmek
4eaa2486b8
Merge pull request #13235 from yuwata/network-routing-policy-rule-family-13233
...
network: add RoutingPolicyRule.Family= setting
2019-08-19 10:08:23 +02:00
Yu Watanabe
e4783b548a
test-network: update test for PreferredLifetime=0
2019-08-19 00:06:50 +09:00
Yu Watanabe
65c24cd087
test-network: add tests for RoutingPolicyRule.Family=ipv6 and both
2019-08-16 22:02:17 +09:00
William A. Kennington III
d1bdafd214
networkd: Keep track of static neighbors
...
We need to keep track of the static neighbors that are configured on the
interface so that we can delete stale entries that were removed.
2019-08-12 20:28:19 +09:00
William A. Kennington III
0b1cd3e25a
networkd: Routes should take the gateway into account
...
Otherwise, changing the default gateway doesn't purge old gateway routes
left on the system during daemon restart. This also fixes removing other
foreign gateway routes that don't match the expected configuration.
Tested:
Changed gateway addresses prior to the patch and they lingered on
the system during each reconfiguration. Applied this patch and
reconfigured gateways and other routes multiple times and it removed
the foreign routes that had gateways that didn't match.
Signed-off-by: William A. Kennington III <william@wkennington.com>
2019-08-07 20:32:36 +09:00
Yu Watanabe
36bc2ffbc1
test-network: add tests for new entries in "networkctl status"
2019-07-30 00:02:14 +09:00
Yu Watanabe
72e04ea31c
test-network: use [DHCPv4] and [DHCPv6] sections instead of deprecated [DHCP] section
2019-07-25 12:38:57 +09:00
Yu Watanabe
c904709288
test-network: add test for Bridge.IGMPVersion=
2019-07-25 10:05:17 +09:00
Yu Watanabe
e3cbaeab86
test-network: add tests for issue #6088
2019-07-23 22:08:58 +09:00
Yu Watanabe
dd9b10c84f
network: add fallback logic for old kernels
...
It seems that old kernels do not support prefix routes with
non-default route tables. This adds a fallback logic when adding route
fails. In that case, prefix route is created by kernel and the default
route table is used.
2019-07-22 11:36:11 +09:00
Yu Watanabe
156ddf8df7
network: disable kernel creating prefix route when RouteTable= is set
...
Closes #8726 .
2019-07-22 11:34:22 +09:00
Zbigniew Jędrzejewski-Szmek
f7e7bb6546
Merge pull request #13070 from yuwata/network-set-route-to-dhcp-dns
2019-07-19 09:35:22 +02:00
Yu Watanabe
fb2ba3305b
test-network: add test for neighbor with ipv6 lladdr
2019-07-19 07:14:58 +09:00
Yu Watanabe
195a18c17d
test-network: add tests for routes to DNS servers provided by DHCPv4
2019-07-19 01:56:14 +09:00
Yu Watanabe
693283cd58
Revert "test-network: extend sleep time"
...
This reverts commit 7d7bb5c861
.
Still the CIs are flaky and the commit just slow down them.
2019-07-17 23:13:40 +09:00
Yu Watanabe
217246a990
test-network: drop warn_about_firewalld() as it is not necessary any more
2019-07-17 06:59:12 +09:00