Yu Watanabe
3a956d388a
test-network: add a tiny test for IPv6Token=
2019-05-12 07:34:13 +09:00
Zbigniew Jędrzejewski-Szmek
d1c377da0d
Merge pull request #12489 from ssahani/vxlan
...
networkd: VXLAN rename Id to VNI
2019-05-08 12:02:54 +02:00
Susant Sahani
6f213e4a34
networkd: VXLAN rename Id to VNI
...
It makes more sense to call VXLAN ID as
1. the VXLAN Network Identifier (VNI) (or VXLAN Segment ID)
2. test-network: rename VXLAN Id to VNI
3. fuzzer: Add VXLAN VNI directive to fuzzer
2019-05-07 20:52:11 +05:30
Yu Watanabe
117a55c755
test-network: add one more test for LinkLocalAddressing=fallback
2019-05-07 17:12:09 +02:00
Yu Watanabe
63c598ede3
test-network: add a test for LinkLocalAddressing=fallback
2019-05-04 16:46:03 +02:00
Yu Watanabe
1c862fe05a
test-network: add tests for BridgeFDB.Destination=
2019-05-03 06:12:04 +02:00
Ben Boeckel
5238e95759
codespell: fix spelling errors
2019-04-29 16:47:18 +02:00
Yu Watanabe
06895a1dda
test-network: fix invalid assertions
2019-04-25 00:29:20 +02:00
Yu Watanabe
02849d8b4f
test-network: add tests for MACsec
2019-04-12 10:12:42 +09:00
Yu Watanabe
9e5d79e7a1
test-network: add tests for WireGuardPeer.PresharedKey= and PresharedKeyFile=
2019-04-09 15:50:23 +09:00
Yu Watanabe
cb31e7c861
network: make reading PrivateKeyFile= failure always fatal
...
This also refactor wireguard_read_key_file().
2019-04-09 15:50:22 +09:00
Yu Watanabe
dd09a9ec0f
Merge pull request #12160 from yuwata/wait-online-allow-configuring
...
wait-online: add --any option
2019-04-02 06:10:36 +09:00
Yu Watanabe
03db80b2d1
test-network: add tests for --any option of wait-online
2019-04-02 03:38:22 +09:00
Yu Watanabe
c7f070bd4a
test-network: fix timeout argument for wait_online()
2019-04-02 03:38:22 +09:00
Yu Watanabe
4b6a6d1e37
test-network: add tests for FooOverUDP tunnels
2019-04-02 03:29:46 +09:00
Yu Watanabe
38f4bb4428
test-network: add more tests for SerializeTunneledPackets=, Key=, and friends
2019-04-02 03:07:08 +09:00
Yu Watanabe
753e0a2446
test-network: add test for NetDev.Name= conflict
2019-04-01 10:30:31 +09:00
Yu Watanabe
5a0bd90b82
test-network: add test for drop-in [WireGuardPeer] section
...
This also merges the two wireguard tests, and use wait_online()
to speed up the test.
2019-04-01 10:30:30 +09:00
Yu Watanabe
b07b19dff8
Merge pull request #12147 from yuwata/network-gre-key-12144
...
network: make GRE and GRETAP support Key= or friends
2019-03-31 22:12:34 +09:00
Yu Watanabe
6730a1f343
test-network: test stacked erspan tunnels
2019-03-30 21:17:53 +09:00
Yu Watanabe
0ef830cf54
test-network: merge tests for [Route] section
2019-03-30 02:27:22 +09:00
Yu Watanabe
a15ff207df
test-network: use wait_online() in test_sysctl_disable_ipv6()
2019-03-30 02:27:22 +09:00
Yu Watanabe
ba1e0d0612
test-network: use wait_online() in test_sysctl()
...
This also disables IPv6AcceptRA= to speed up the test.
2019-03-30 02:27:22 +09:00
Yu Watanabe
2dcfcc08d9
test-network: use wait_online() in test_link_local_addressing()
...
This also disables IPv6AcceptRA= to speed up the test.
2019-03-30 02:27:22 +09:00
Yu Watanabe
d06f30fc73
test-network: fix addr_gen_mode
...
If stable_secret is set, then networkd sets addr_gen_mode 2.
2019-03-30 02:27:22 +09:00
Yu Watanabe
c2990ec39a
test-network: move tests related to bonding
2019-03-30 02:27:22 +09:00
Yu Watanabe
b810272594
test-network: merge tests about static addresses
...
And use wait_online()
2019-03-30 02:27:22 +09:00
Yu Watanabe
5aa58329d8
test-network: add wait_online() helper function
2019-03-30 02:27:16 +09:00
Yu Watanabe
6a97a86489
test-network: add more tests for tunneling devices
2019-03-22 03:31:50 +09:00
Yu Watanabe
cff83db917
test-network: add tests for L2TP
2019-03-14 11:12:32 +09:00
Tobias Jungel
7f15b71460
networkd: Add bridge port capabilities
...
This PR adds the configuration switches for multicast flooding, neighbor
suppression and learning of a bridge port.
2019-03-13 16:27:22 +01:00
Lennart Poettering
96c45cc697
Merge pull request #11861 from yuwata/network-verify-2
...
network: config parser updates and wireguard refactoring
2019-03-13 10:15:27 +01:00
Yu Watanabe
c9cc038343
network: introduce 'degraded-carrier' operstate to order all states
...
Previously, 'degraded' state is ambiguous for bonding or bridge master:
1. one or more slave interfaces does not have carrier,
2. no link local address is assigned to the master,
3. combination of the above two.
This makes the above case 1 and 3 are in the new 'degraded-carrier'
state, and makes 'degraded' state as all slaves are active but no
link local address on master.
2019-03-13 14:29:00 +09:00
Yu Watanabe
4ddbf08cfd
test-network: wait more and fix wrong operational state
...
Closes #11977 .
2019-03-13 14:27:39 +09:00
Yu Watanabe
39bcff3bca
test-network: add test for WireGuard.PrivateKeyFile=
2019-03-13 12:02:08 +09:00
Yu Watanabe
bbb5aebe3e
test-network: add tests for invalid Address sections
2019-03-13 11:59:18 +09:00
Yu Watanabe
7f45d738a6
test-network: add tests for issue #11921
2019-03-11 15:29:19 +01:00
Yu Watanabe
26bf9c302d
test-network: add tests for address pool
2019-03-01 16:34:55 +09:00
Yu Watanabe
af3b1498c6
test-network: add testcase for #1850
2019-02-28 10:34:27 +09:00
Yu Watanabe
9cb8c55934
network: rename GatewayOnlink= to GatewayOnLink=
...
But still GatewayOnlink= is supported for backward compatibility.
2019-02-28 10:00:22 +09:00
Lennart Poettering
dc16327c48
Merge pull request #11795 from yuwata/fix-network-routing-policy-11280
...
network: fix routing policy rule issue #11280
2019-02-27 18:43:56 +01:00
Yu Watanabe
b677774d69
test-network: add testcase for issue #11280
2019-02-27 19:24:13 +09:00
Yu Watanabe
703bc7a2a6
test-network: drop relevant ip routing policy rules before testing
2019-02-27 19:23:46 +09:00
Yu Watanabe
72b7f1b976
test-network: add test for MTUBytes= in vlan or macvlan devices
2019-02-27 10:05:02 +09:00
Yu Watanabe
6609924c32
test-network: add more tests for IgnoreCarrierLoss=
...
Suggested by @amishmm in #9262 .
2019-02-25 09:34:14 +09:00
Yu Watanabe
2be6c5d2ec
test-network: add more tests for Bridge=
2019-02-25 09:34:14 +09:00
Yu Watanabe
cc3e488c7d
test-network: testing with two bond slaves
2019-02-23 19:43:25 +09:00
Yu Watanabe
4da3315452
test-network: add testcases for handling disable_ipv6 sysctl property
2019-02-21 11:08:07 +09:00
Yu Watanabe
ecdd039246
test-network: update cosmetic workaround
...
Almost all tests call copy_unit_to_networkd_unit_path() at first.
So, let's move the line break there.
2019-02-21 10:55:46 +09:00
Yu Watanabe
2dcaf38020
Merge pull request #11764 from yuwata/network-verify
...
network: introduce network_verify() and drop incompatible settings
2019-02-20 06:13:53 +09:00