summaryrefslogtreecommitdiff
path: root/test/test-network/systemd-networkd-tests.py
Commit message (Collapse)AuthorAgeFilesLines
* network: add tests for "networkctl reconfigure"Yu Watanabe2019-10-241-0/+27
|
* test-network: add tests for "networkctl reload"Yu Watanabe2019-10-241-0/+26
|
* test-network: add a test case for nexthopYu Watanabe2019-10-141-1/+25
|
* Merge pull request #12818 from yuwata/network-issue-8726Zbigniew Jędrzejewski-Szmek2019-10-031-2/+6
|\ | | | | network: disable kernel creating prefix route when RouteTable= is set
| * network: add fallback logic for old kernelsYu Watanabe2019-07-221-2/+5
| | | | | | | | | | | | | | 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.
| * network: disable kernel creating prefix route when RouteTable= is setYu Watanabe2019-07-221-2/+3
| | | | | | | | Closes #8726.
* | test-network: Drop start dnsmasqSusant Sahani2019-09-201-2/+0
| |
* | Merge pull request #13559 from ssahani/ipv6ra-routeYu Watanabe2019-09-181-0/+31
|\ \ | | | | | | network: make networkd able to advertise IPv6 routes on links
| * | Add test for IPv6 Route advertisementSusant Sahani2019-09-171-0/+31
| | |
* | | test-network: add one more test case for LinkLocalAddressing=Yu Watanabe2019-09-171-0/+18
|/ /
* | network: do not create default route for ipv4 link local addressingYu Watanabe2019-09-151-1/+0
| | | | | | | | | | | | | | | | | | 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.
* | network: drop all checks of ipv6_disabled sysctlZbigniew Jędrzejewski-Szmek2019-08-271-2/+3
| | | | | | | | | | | | | | | | *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.
* | Merge pull request #13235 from yuwata/network-routing-policy-rule-family-13233Zbigniew Jędrzejewski-Szmek2019-08-191-3/+24
|\ \ | | | | | | network: add RoutingPolicyRule.Family= setting
| * | test-network: add tests for RoutingPolicyRule.Family=ipv6 and bothYu Watanabe2019-08-161-3/+24
| | |
* | | test-network: update test for PreferredLifetime=0Yu Watanabe2019-08-191-4/+7
|/ /
* | networkd: Keep track of static neighborsWilliam A. Kennington III2019-08-121-0/+24
| | | | | | | | | | 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.
* | networkd: Routes should take the gateway into accountWilliam A. Kennington III2019-08-071-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | test-network: add tests for new entries in "networkctl status"Yu Watanabe2019-07-301-0/+12
| |
* | test-network: use [DHCPv4] and [DHCPv6] sections instead of deprecated ↵Yu Watanabe2019-07-251-4/+0
| | | | | | | | [DHCP] section
* | test-network: add test for Bridge.IGMPVersion=Yu Watanabe2019-07-251-6/+7
| |
* | test-network: add tests for issue #6088Yu Watanabe2019-07-231-0/+11
|/
* Merge pull request #13070 from yuwata/network-set-route-to-dhcp-dnsZbigniew Jędrzejewski-Szmek2019-07-191-1/+35
|\
| * test-network: add tests for routes to DNS servers provided by DHCPv4Yu Watanabe2019-07-191-1/+35
| |
* | test-network: add test for neighbor with ipv6 lladdrYu Watanabe2019-07-191-3/+10
|/
* Revert "test-network: extend sleep time"Yu Watanabe2019-07-171-4/+4
| | | | | | This reverts commit 7d7bb5c8613b774bf77c531f46d31ee20d7a1b1e. Still the CIs are flaky and the commit just slow down them.
* test-network: drop warn_about_firewalld() as it is not necessary any moreYu Watanabe2019-07-171-9/+0
|
* test-network: stop firewalld in setUpModule()Yu Watanabe2019-07-171-7/+14
|
* test-network: add tests for link state file vs resolvectl or timedatectlYu Watanabe2019-07-171-0/+92
|
* test-network: extend sleep timeYu Watanabe2019-07-171-4/+4
| | | | | | Even if addresses provided by DHCP is assigned, the state file may not be written yet, or resolved may not receive the state change signal yet, or resolved may not process the signal yet...
* test-network: make wait_online() check setup stateYu Watanabe2019-07-161-149/+162
| | | | | | Previously, event if link's setup state is in failed, tests may pass, as systemd-networkd-wait-online success if the state is in failed state. This makes tests be checked more strictly.
* test-network: add tests for DHCPv4.UseDomains=Yu Watanabe2019-07-151-0/+19
|
* test-network: add tests for route with type local, multicast, anycast, or ↵Yu Watanabe2019-07-121-0/+17
| | | | broadcast
* test-network: test more bridge propertiesYu Watanabe2019-07-121-5/+11
| | | | Imported from networkd-test.py
* Merge pull request #12971 from yuwata/network-reassign-static-routesYu Watanabe2019-07-121-2/+38
|\ | | | | network: reassign static routes and process reply address messages
| * test-network: add test for route reassignmentYu Watanabe2019-07-111-2/+38
| |
* | test-network: add testcase that Neighbor.LinkLayerAddress= is IP addressYu Watanabe2019-07-111-1/+16
| |
* | test-network: use Neighbor.LinkLayerAddress= instead of deprecated ↵Yu Watanabe2019-07-111-1/+1
|/ | | | Neighbor.MACAddress=
* Merge pull request #13018 from yuwata/network-tunnel-follow-up-13016Lennart Poettering2019-07-111-10/+44
|\ | | | | network: drop assertions about Tunnel.family
| * test-network: add testcases Tunnel.Remote=any and Local=anyYu Watanabe2019-07-111-10/+44
| |
* | test-network: drop test_udev_driver as it is unstableYu Watanabe2019-07-111-34/+0
| | | | | | | | | | The test unexpectedly succeeds on KVM with sanitizer CI. At least tentatively, let's drop the test.
* | Merge pull request #13006 from yuwata/network-split-dhcp-12917Lennart Poettering2019-07-111-3/+129
|\ \ | |/ |/| networkd: DHCPv6 - separate DHCPv6 options from DHCPv4 options
| * test-network: add tests for UseDNS= in [DHCP] sectionYu Watanabe2019-07-101-0/+76
| |
| * test-network: enable systemd-resolved.serviceYu Watanabe2019-07-101-3/+53
| |
* | test-network: add test for Xfrm netdevYu Watanabe2019-07-111-3/+32
| |
* | test-network: add test for AssignToLoopback= settingYu Watanabe2019-07-111-0/+7
|/
* Merge pull request #12970 from ddstreet/gh12969Yu Watanabe2019-07-081-0/+21
|\ | | | | src/network/networkd-dhcp4.c: set prefsrc for classless or static routes
| * test-network: add testcase for DHCP client with static addressYu Watanabe2019-07-061-0/+21
| | | | | | | | Testcase for #12969.
* | test-network: add tests for DHCP.UseRoutes=no with custom route settingsYu Watanabe2019-07-061-0/+33
|/ | | | | | This adds test for b5799eeb0787deacb30d5984f6ac78f88f23b97e. Closes #12951.
* test-network: add tests for BridgeVLANYu Watanabe2019-07-051-0/+22
|
* test-network: show debug logs of networkdYu Watanabe2019-07-051-12/+45
|