Commit graph

91 commits

Author SHA1 Message Date
Maximilian Wilhelm
e52e94fe5e static executor: Use vrf-member when setting gateway if present.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-08-26 22:29:59 +02:00
Ariadne Conill
d21d83fb26
Merge pull request #44 from ifupdown-ng/feature/link-hwaddress
link executor: add support for hwaddress option
2020-08-26 03:36:06 -06:00
Ariadne Conill
14914f1251 executors: use set -e consistently 2020-08-26 03:35:18 -06:00
Ariadne Conill
68415ce71d link executor: add support for hwaddress option 2020-08-26 02:22:30 -06:00
Ariadne Conill
6c7c3f570d link executor: switch back to up/down phase 2020-08-25 08:17:58 -06:00
Ariadne Conill
0ff263a02a bridge: don't generate dependencies for bridge-ports none 2020-08-25 08:09:31 -06:00
Ariadne Conill
b378305286 link executor: don't try to modprobe in mock mode 2020-08-24 11:07:40 -06:00
Ariadne Conill
80cdfc7f96 link executor: use slightly different strategy for taking vlans down 2020-08-24 10:56:56 -06:00
Ariadne Conill
dc52642d73 static executor: default to metric=1 if not specified
this is needed to override learned routes if a gateway is configured
2020-08-24 10:52:10 -06:00
Ariadne Conill
8fe264a120 link executor: switch to pre-up/post-down 2020-08-24 10:47:16 -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
d31f8614a3 gre executor: fix dependency learning 2020-08-20 02:33:38 -06:00
Ariadne Conill
8f057286d3 add gre executor 2020-08-20 02:30:12 -06:00
Ariadne Conill
cd1b0d5833 tunnel: improve validation of options 2020-08-20 02:09:31 -06:00
Ariadne Conill
5fb1b4b26c tunnel executor: support mocking 2020-08-19 06:19:41 -06:00
Ariadne Conill
9cc74b58c4 interface-file: remap legacy ifupdown & ifupdown2 tunnel parameters 2020-08-19 06:18:40 -06:00
Ariadne Conill
e18ab114e0 ppp: add support for ifupdown2 ppp-physdev for dependency learning 2020-08-19 06:16:37 -06:00
Ariadne Conill
472319b847 add ppp executor 2020-08-19 06:12:27 -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
ba2ad348ff executor scripts: add vrf executor 2020-08-18 16:16:46 -06:00
Ariadne Conill
962ef0d415 link: support mtu parameter (like debian) 2020-08-18 15:57:01 -06:00
Ariadne Conill
5bf6c84464 add some helper stubs for split ifupdown1-addon setups 2020-08-04 13:18:36 -06:00
Ariadne Conill
5b9ade9db8 executors: port @ncopa's bridge scripts to run as a native executor 2020-07-28 08:34:20 -06:00
Ariadne Conill
8ef2815ef3 link executor: fix pre-up/post-down bug 2020-07-26 07:41:27 -06:00
Ariadne Conill
8fb2a0571d make sure VERBOSE is respected in executors 2020-07-26 04:18:57 -06:00
Ariadne Conill
326e27cdb4 executors: static: bring down routes before addresses 2020-07-26 04:13:25 -06:00
Ariadne Conill
d35a3e3b38 tests: add tests for ipv6-ra executor 2020-07-26 03:54:06 -06:00
Ariadne Conill
83ccb4f81d add link executor 2020-07-26 03:36:31 -06:00
Ariadne Conill
05e8f9bbb5 make all executor scripts testable/mockable 2020-07-26 03:26:11 -06:00
Ariadne Conill
43c147c6cf build: allow for non-linux executors 2020-07-26 03:16:52 -06:00
Ariadne Conill
e29e552cc2 port iproute2 configuration from C to shell 2020-07-26 03:05:46 -06:00
Ariadne Conill
f06ee76d41 implement ipv6-ra executor for controlling ipv6 RA setting on a per-NIC basis 2020-07-26 01:24:06 -06:00
Ariadne Conill
38af1ce2d2 dhcp: failing to find a supported impl should be a fatal error 2020-07-25 03:09:41 -06:00
Ariadne Conill
00c1d0f58c dhcp: react to $PHASE not legacy $MODE 2020-07-25 03:08:32 -06:00
Ariadne Conill
96392f0dd1 dhcp: add dhclient support 2020-07-25 03:06:47 -06:00
Ariadne Conill
201e00bbac dhcp: add support for dhcpcd 2020-07-25 03:04:02 -06:00
Ariadne Conill
c51c9f7103 build: install executor scripts 2020-07-25 02:55:09 -06:00