Commit graph

43 commits

Author SHA1 Message Date
Ariadne Conill
aee2d45e18 static: use ip addr|route flush instead of manually deleting matching routes
This ensures we wind up with a clean slate for the interface or VRF when taking
interfaces/VRFs down.

Closes #149.
2021-04-22 01:43:12 -06:00
Maximilian Wilhelm
667943f46c Add support for MPLS on Linux
Closes #135

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-30 23:29:52 +02:00
Maximilian Wilhelm
bec5fcefce tunnel executor: Add support for ip6gretap tunnels
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-25 21:17:05 +01:00
Maximilian Wilhelm
cea9840651 Add tests for bond executor
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-24 15:06:22 +01:00
Maximilian Wilhelm
2cec4ed05c tunnel executor: Make sure mode/type is 1st parameter
Closes #143

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-18 20:20:01 +01:00
Ariadne Conill
ffcf1976b8 tests: add tests for forward executor 2020-12-16 06:23:38 -07:00
Maximilian Wilhelm
ff8e5d392c dhcp: Fix test
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-11-30 22:38:55 +01:00
Maximilian Wilhelm
4a8230f916 tests: Update static executor test to reflect latest change.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:49:46 +02:00
Maximilian Wilhelm
6dc43a2bb4 Let's use "point-to-point" and map "pointopoint" to it.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:03:27 +02:00
Maximilian Wilhelm
67163c6561 static executor: Add support for IPv4 'pointopoint' addresses.
Closes #96

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-03 20:38:40 +02:00
Ariadne Conill
cc06712611
Merge pull request #94 from ifupdown-ng/bugfix/hetzner-ipv6-default-route-is-link-local
static: always associate default routes with $IFACE
2020-10-02 15:46:03 -06:00
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
Maximilian Wilhelm
ee582ac9b0 vxlan: Add tests
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-02 02:25:55 +02:00
Maximilian Wilhelm
0a0252d218 ethtool: Fix tests
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-23 01:43:25 +02:00
Ariadne Conill
566732321d tests: ethtool: add tests for coalesce settings 2020-09-21 10:21:43 -06:00
Ariadne Conill
a69c81b6be tests: ethtool: add dma ring tests 2020-09-21 09:38:39 -06:00
Ariadne Conill
c19def3764 tests: ethtool: add offload tests 2020-09-21 09:18:08 -06:00
Ariadne Conill
e8a2aab7e1 tests: ethtool: add tests for pause parameters 2020-09-21 09:10:40 -06:00
Ariadne Conill
0a58383ed8 tests: ethtool: add tests for basic link settings, wol and autoneg 2020-09-21 08:55:20 -06:00
Ariadne Conill
b4b0889c7a tests: add test for hostname subshell 2020-09-11 02:43:32 -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
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
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
ce07e1ff1f static: add support for the metric property 2020-08-20 04:40:38 -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
cd1b0d5833 tunnel: improve validation of options 2020-08-20 02:09:31 -06:00
Ariadne Conill
0238051052 tests: add tunnel executor tests 2020-08-19 06:19:55 -06:00
Ariadne Conill
c2465344d5 tests: add ppp executor tests 2020-08-19 06:15:00 -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
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
Ariadne Conill
d35a3e3b38 tests: add tests for ipv6-ra executor 2020-07-26 03:54:06 -06:00
Ariadne Conill
5f078537bf tests: add tests for link executor 2020-07-26 03:48:37 -06:00