Yu Watanabe
fc79e6ff5e
test-network: suppress logs in status command
2020-01-07 22:20:43 +09:00
Lennart Poettering
ff963ea6ba
test: use symlinks for Makefiles
...
for some reason the newer tests used file copyies instead of symlinks.
let's fix that.
2020-01-03 21:36:58 +01:00
Lennart Poettering
dc5737470e
Merge pull request #14194 from yuwata/network-multipath-routing-12541
...
network: introduce multipath routing
2020-01-03 15:38:03 +01:00
Lennart Poettering
49d418d4ab
Merge pull request #14444 from yuwata/network-codel-more
...
network: more CoDel settings
2020-01-02 14:51:55 +01:00
Lennart Poettering
cb68406c6a
Merge pull request #14441 from GothAck/gothack_type.d_dropin_test_master
...
Fix type.d drop-in ordering for #14439 - duplicate against master
2020-01-02 13:41:16 +01:00
Yu Watanabe
a3d3565451
test-network: add a test case for CoDel
2019-12-28 22:25:49 +09:00
Yu Watanabe
b078e52855
network: add more settings for CoDel
2019-12-28 22:25:12 +09:00
Susant Sahani
c695dcf929
network: Add support to configure DHCPv4 route MTU
...
This is useful for transitioning systems from small frames to jumbo frames.
Closes #14302
2019-12-28 21:37:26 +09:00
Susant Sahani
a9a5d632da
network: tc introduce codel
...
Please see http://man7.org/linux/man-pages/man8/tc-codel.8.html
2019-12-28 21:35:39 +09:00
Greg "GothAck" Miell
f5dd6e50a7
Add failing test to show service.d global drop-in does not get overridden by more specific dropins
2019-12-27 14:53:32 +00:00
Yu Watanabe
0fd8b71809
test-network: add a test case for DHCPv4.SendDecline=
2019-12-21 00:26:44 +09:00
Susant Sahani
0f3ff4eae2
network: DHCP4 introduce send decline
2019-12-21 00:26:44 +09:00
Anita Zhang
b6657e2c53
test: add test case for PrivateDevices=y and Group=daemon
...
For root, group enforcement needs to come after PrivateDevices=y set up
according to 096424d123
. Add a test to
verify this is the case.
2019-12-18 11:09:30 -08:00
Anita Zhang
e5f10cafe0
core: create inaccessible nodes for users when making runtime dirs
...
To support ProtectHome=y in a user namespace (which mounts the inaccessible
nodes), the nodes need to be accessible by the user. Create these paths and
devices in the user runtime directory so they can be used later if needed.
2019-12-18 11:09:30 -08:00
Filipe Brandenburger
a49ad4c482
core: add test case for PrivateUsers=true in user manager
...
The test exercises that PrivateTmp=yes and ProtectHome={read-only,tmpfs}
directives work as expected when PrivateUsers=yes in a user manager.
Some code is also added to test-functions to help set up test cases that
exercise the user manager.
2019-12-18 11:09:30 -08:00
Yu Watanabe
de697db05b
network: introduce AddPrefixRoute= and deprecate PrefixRoute=
...
PrefixRoute= was added by e63be0847c
,
but unfortunately, the meaning of PrefixRoute= is inverted; when true
IFA_F_NOPREFIXROUTE flag is added. This introduces AddPrefixRoute=
setting.
2019-12-18 16:32:31 +01:00
Yu Watanabe
a0ce990e71
test-network: add test case for multipath routing
2019-12-18 22:12:57 +09:00
Yu Watanabe
6ff5cc6b7a
network: introduce multipath route
...
Closes #12541 .
2019-12-18 22:12:57 +09:00
Topi Miettinen
7a670b1dd9
shared/dropin: fix assert for invalid drop-in
...
Don't try to show top level drop-in for non-existent units or when trying to
instantiate non-instantiated units:
$ systemctl cat nonexistent@.service
Assertion 'name' failed at src/shared/dropin.c:143, function unit_file_find_dirs(). Aborting.
$ systemctl cat systemd-journald@.service
Assertion 'name' failed at src/shared/dropin.c:143, function unit_file_find_dirs(). Aborting.
2019-12-18 08:43:40 +01:00
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
Anita Zhang
1209ef94bd
[import] fix stdin/stdout pipe behavior in import/export tar/raw
...
The code existed in machinectl to use stdin/stdout if the path for
import/export tar/raw was empty or dash (-) but a check to
`fd_verify_regular` in importd prevented it from working.
Update the check instead to explicitly check for regular file or
pipe/fifo.
Fixes #14346
2019-12-17 23:14:53 +09:00
Yu Watanabe
ef1d2c07f9
udev: introduce AlternativeNamesPolicy= setting
2019-12-17 15:44:43 +09:00
Lennart Poettering
3b5cd25f4d
Merge pull request #14196 from keszybz/gpt-auto-generator-debugging
...
gpt-auto-generator debugging
2019-12-16 09:24:02 +01: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
a5053a158b
udev: support AlternativeName= setting in .link file
2019-12-16 10:52:22 +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
e83562e51e
network: tc: add more settings for FQ
2019-12-13 23:36:17 +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
f7c79f0911
Merge pull request #14320 from yuwata/network-tc-fq_codel-more
...
network: tc: introduce more FQ-CoDel settings
2019-12-13 11:09:36 +09:00
Christian Ehrhardt
eae1ef076d
test: increase qemu timeout for TEST-08 and TEST-09
...
These tests two have shown to be flaky in Ubuntu test infrastructure,
but got more reliable with increased timeouts of 300 seconds each.
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2019-12-12 19:42:04 +01:00
Shengjing Zhu
679ecd3616
nspawn: allow combination of private-network and network-namespace-path
...
Fixes : #14289
2019-12-12 19:26:32 +01:00
Lennart Poettering
3e761fe2c9
Merge pull request #14321 from yuwata/network-generator-14319
...
network-generator: allow empty hostname
2019-12-12 17:52:09 +01: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
ac810b75c1
network: tc: support more attributes for FQ-CoDel
2019-12-12 23:36:48 +09:00
Yu Watanabe
dd1e09971b
test: add a test case for network-generator
2019-12-12 19:02:25 +09:00
Yu Watanabe
0baddbd5ee
test-network: add a test case for FQ
2019-12-12 17:26:31 +09:00
Susant Sahani
7234b91596
network tc: inroduce FQ - Fair Queue traffic policing
...
Please see http://man7.org/linux/man-pages/man8/tc-fq.8.html
2019-12-12 17:26:20 +09:00
Yu Watanabe
40821c2ac3
test-network: add a test case for fq-codel
2019-12-11 00:06:31 +09:00
Susant Sahani
4e5ef14919
network tc: Add support to conkfigure CoDel - Controlled-Delay Active Queue Management algorithm
...
```
$ tc qdisc show dev dummy99
qdisc fq_codel 8005: dev dummy99 root refcnt 2 limit 1000p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
$ network cat dumm99.network
[Match]
Name=dummy99
[TrafficControlQueueingDiscipline]
Parent=root
FairQueuingControlledDelayPacketLimit=1000
```
2019-12-11 00:06:31 +09:00
Yu Watanabe
bfb68540d5
Merge pull request #14280 from yuwata/network-tbf-more
...
network: tc: add more options for TBF
2019-12-11 00:02:43 +09:00
Yu Watanabe
886e07a9cf
test-network: add tests for new TBF settings
2019-12-10 01:28:38 +09:00
Yu Watanabe
dcfc23ae77
network: tc: add more options for TBF
2019-12-10 01:28:38 +09:00
Yu Watanabe
0810e6d787
test-network: add a test case for SendOption=
2019-12-10 01:28:09 +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