Commit graph

76 commits

Author SHA1 Message Date
Ariadne Conill
74b6f9487c static: always associate default routes with $IFACE
Hetzner uses link-local addressing for their default IPv6 route,
accordingly we should specify the device a route is associated with
so that it will use the correct interface.

Thanks to Devin Brown for reporting this issue.
2020-10-02 15:44:46 -06:00
Ariadne Conill
b4b0889c7a tests: add test for hostname subshell 2020-09-11 02:43:32 -06:00
Maximilian Wilhelm
e15f3ffbaa
Merge pull request #72 from ifupdown-ng/feature/depgraph-rdepends
dependency graph: reverse-dependency coloring
2020-09-10 18:06:29 +02:00
Ariadne Conill
e754e836af tests: add tests for auto interface skipping 2020-09-09 20:46:50 -06:00
Maximilian Wilhelm
d9e78e14fb tests: Update tests to reflect create/destroy phase.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-10 00:49:04 +02:00
Ariadne Conill
910985cd22 tests: supply --force where appropriate 2020-09-08 19:25:50 -06:00
Ariadne Conill
8de83fdd9a tests: add tests for deferred interface teardown (refcounting) 2020-09-08 16:02:24 -06:00
Maximilian Wilhelm
32b7dda832 tests: Add test for dummy link creation.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-05 00:28:12 +02:00
Maximilian Wilhelm
4a05010539 tests: Fix vlan_explicit_depend_body.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-05 00:24:40 +02:00
Maximilian Wilhelm
58f010fe91 tests: Reflect latest link executor changes
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-04 23:54:40 +02:00
Ariadne Conill
acb555b75a tests: add wireguard tests 2020-09-04 13:10:57 -06:00
Ariadne Conill
7edb29778b tests: add udhcp-opts related tests 2020-09-03 16:11:41 -06:00
Ariadne Conill
68415ce71d link executor: add support for hwaddress option 2020-08-26 02:22:30 -06:00
Ariadne Conill
cca3608ad7 link tests: switch back to up/down from pre-up/post-down 2020-08-25 08:17:58 -06:00
Ariadne Conill
db5d2b8afd link tests: fix phasing 2020-08-24 11:08:42 -06:00
Ariadne Conill
050ab77bd3 tests: add vlan-complex.interface and ifquery test for it 2020-08-24 10:06:06 -06:00
Ariadne Conill
14e2fecc20 tests: add vlan-named.interfaces fixture 2020-08-24 03:33:57 -06:00
Ariadne Conill
1384b38c78 interface: use link executor on vlans too 2020-08-24 03:06:32 -06:00
Ariadne Conill
8e7c935cdf link executor tests: test vlan dependency learning 2020-08-24 03:01:38 -06:00
Ariadne Conill
badcccaa5b link executor: integrate physical vlan configuration 2020-08-24 02:58:39 -06:00
Ariadne Conill
72ad50213f cmd: fix regression with ifdown -f handling
Alpine #11887
2020-08-24 02:19:01 -06:00
Ariadne Conill
ce07e1ff1f static: add support for the metric property 2020-08-20 04:40:38 -06:00
Ariadne Conill
4fdd91beee test: add test for vrf static route support 2020-08-20 03:20:26 -06:00
Ariadne Conill
9caffc01c2 static executor: if vrf-table is set, apply the static route to a specific table 2020-08-20 02:59:43 -06:00
Ariadne Conill
c86952ce71 tests: add gre executor tests 2020-08-20 02:40:27 -06:00
Ariadne Conill
6d2ae938d1 tests: add ifquery test for gre dependency learning 2020-08-20 02:33:51 -06:00
Ariadne Conill
cd1b0d5833 tunnel: improve validation of options 2020-08-20 02:09:31 -06:00
Ariadne Conill
93116920da tests: verify ttl is remapped to tunnel-ttl 2020-08-19 06:20:16 -06:00
Ariadne Conill
0238051052 tests: add tunnel executor tests 2020-08-19 06:19:55 -06:00
Ariadne Conill
953666f1fb tests: add tests for managing the tunnel executor 2020-08-19 06:19:39 -06:00
Ariadne Conill
a4f147b5d0 tests: add some tunnel configuration fixtures 2020-08-19 06:18:44 -06:00
Ariadne Conill
c2465344d5 tests: add ppp executor tests 2020-08-19 06:15:00 -06:00
Ariadne Conill
0dd8dc1b0e tests: add ifquery tests for ppp 2020-08-19 06:09:05 -06:00
Ariadne Conill
dd02502461 tests: add ppp fixtures 2020-08-19 06:05:29 -06:00
Ariadne Conill
71290da711 tests: add ifupdown2 vrf configuration fixture, and some tests against it 2020-08-19 02:14:08 -06:00
Ariadne Conill
2c37b22d70 tests: add fixture & test for VRF topology learning 2020-08-18 16:52:11 -06:00
Ariadne Conill
ba98705c8f tests: add tests for VRF executor 2020-08-18 16:28:34 -06:00
Ariadne Conill
962ef0d415 link: support mtu parameter (like debian) 2020-08-18 15:57:01 -06:00
Ariadne Conill
0de4a3f6f9 tests: add ifup/ifdown/ifquery tests for vlans 2020-08-04 13:08:30 -06:00
Ariadne Conill
b27caaedf6 tests: add mock vlan executor and vlan fixture 2020-08-04 12:38:05 -06:00
Ariadne Conill
49dd8942f2 tests: add inheritance tests
we only need to test ifquery, as this is just a merge
operation.
2020-08-04 12:06:39 -06:00
Ariadne Conill
2fecbfc7e9 tests: add tests for learned executors 2020-07-29 02:37:14 -06:00
Ariadne Conill
2be1fa5b0b tests: add a set of more complicated dependency learning tests 2020-07-29 02:33:00 -06:00
Ariadne Conill
e4c3c4e06e mock dependency generator: add support for mock-depends property 2020-07-29 02:14:42 -06:00
Ariadne Conill
cf59f6af4c tests: add ifup/ifdown tests for learned dependencies (close #5) 2020-07-28 14:04:27 -06:00
Ariadne Conill
c97594b89b tests: add test for mock dependency generator 2020-07-28 13:49:08 -06:00
Ariadne Conill
fb5ff4eac2 lifecycle: add support for learning dependents from executors (ref #5) 2020-07-28 13:46:25 -06:00
Ariadne Conill
3302089d4b tests: add mock-dependency-generator (ref #5) 2020-07-28 12:07:09 -06:00
Ariadne Conill
83440e3f88 tests: add static executor tests 2020-07-26 04:11:17 -06:00
Ariadne Conill
e3a6e08e40 tests: add dhcp executor tests 2020-07-26 04:00:56 -06:00