Maximilian Wilhelm
|
3035627c93
|
link executor: Add dependency between veth pairs
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-25 22:07:10 +02:00 |
|
Maximilian Wilhelm
|
f708bb1465
|
link executor: Add support for veth interfaces
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-25 22:04:53 +02:00 |
|
Maximilian Wilhelm
|
2e81234df1
|
ethtool: Call 'env' instead of 'set' to get environment
'set' will output environment variables with ' around them which will
confuse ethtool.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-23 01:24:56 +02:00 |
|
Ariadne Conill
|
3cb635b443
|
ethtool: set coalesce settings from ethtool-coalesce- term namespace
|
2020-09-21 10:06:58 -06:00 |
|
Ariadne Conill
|
a69c81b6be
|
tests: ethtool: add dma ring tests
|
2020-09-21 09:38:39 -06:00 |
|
Ariadne Conill
|
3e7125aca0
|
ethtool: add support for the ethtool-dma namespace
|
2020-09-21 09:32:37 -06:00 |
|
Ariadne Conill
|
6ae3414329
|
ethtool: fix up gather_params() calls a bit
|
2020-09-21 09:08:17 -06:00 |
|
Ariadne Conill
|
4e78d7e5d5
|
ethtool: pause parameters are IF_ETHTOOL_PAUSE_FOO, not IF_ETHTOOL_ETHERNET_PAUSE_FOO.
|
2020-09-21 08:59:13 -06:00 |
|
Ariadne Conill
|
e4b4d8b70a
|
ethtool: add pause and offload settings support
|
2020-09-21 08:39:25 -06:00 |
|
Ariadne Conill
|
72277e51e2
|
ethtool: add support for basic ethernet link settings
|
2020-09-21 08:31:20 -06:00 |
|
Ariadne Conill
|
b0480a3343
|
ethtool: add pre-up settings to the executor
|
2020-09-21 08:20:43 -06:00 |
|
Ariadne Conill
|
63ec8d4b3b
|
begin ethtool executor-script (as part of EXECUTOR_SCRIPTS_OPT).
|
2020-09-21 08:04:10 -06:00 |
|
Ariadne Conill
|
67da195f9f
|
Merge pull request #62 from BarbarossaTM/batman
WIP: Add executor for managing B.A.T.M.A.N. adv. interfaces
|
2020-09-11 02:45:11 -06:00 |
|
Ariadne Conill
|
5d4e3699b2
|
dhcp: evaluate IF_HOSTNAME for shell fragments
|
2020-09-11 02:33:54 -06:00 |
|
Ariadne Conill
|
a7e27ffa2c
|
dhcp: support IF_HOSTNAME, IF_SCRIPT and IF_CLIENT for udhcpc
|
2020-09-11 02:31:22 -06:00 |
|
Maximilian Wilhelm
|
0674a70c35
|
batman executor: Fix typo
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:50:24 +02:00 |
|
Maximilian Wilhelm
|
e02e495257
|
bridge executor: Add depend phase
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:49:32 +02:00 |
|
Maximilian Wilhelm
|
af94d760d0
|
Update executors to reflect new create/destroy phase.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:48:47 +02:00 |
|
Maximilian Wilhelm
|
35e03475e4
|
batman executor: Use create/destroy phases
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:40:57 +02:00 |
|
Maximilian Wilhelm
|
017a12760c
|
batman executor: Only create/delete iface if (not) present.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-05 01:52:43 +02:00 |
|
Maximilian Wilhelm
|
be6ce3c319
|
Add executor for managing B.A.T.M.A.N. adv. interfaces
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-05 00:35:04 +02:00 |
|
Maximilian Wilhelm
|
aa3e94acf8
|
link executor: Make link deletion MOCKable again.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-05 00:18:43 +02:00 |
|
Maximilian Wilhelm
|
d24b4ab3e6
|
link executor: Make dummy creation MOCKable, too
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-05 00:15:26 +02:00 |
|
Maximilian Wilhelm
|
37a7d8f097
|
link executor: Make vlan disposal MOCKable again
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-05 00:15:01 +02:00 |
|
Maximilian Wilhelm
|
2e6b3ca1ff
|
link executor: Better error message on conflicting link types.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-04 23:33:27 +02:00 |
|
Maximilian Wilhelm
|
a6b95d495c
|
link executor: Only gather and set IFACE_OPTIONS on up.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-04 23:32:51 +02:00 |
|
Maximilian Wilhelm
|
0e5ec5b260
|
link executor: Refactor VLAN iface management
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-04 23:21:21 +02:00 |
|
Ariadne Conill
|
f32481deb9
|
add wireguard executor script
|
2020-09-04 12:57:41 -06:00 |
|
Maximilian Wilhelm
|
6805262a9b
|
link executor: Add support for interface aliases.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-04 09:14:45 +02:00 |
|
Ariadne Conill
|
2d7668bc01
|
dhcp executor: add support for udhcpc-opts property
|
2020-09-03 16:07:27 -06:00 |
|
Maximilian Wilhelm
|
e854819e8f
|
link executor: Delete dummy interface in post-down.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-08-30 22:38:58 +02:00 |
|
Maximilian Wilhelm
|
7d81ceb898
|
link executor: Only create dummy interface when not present.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-08-30 22:38:38 +02:00 |
|
Maximilian Wilhelm
|
1f21d2bb45
|
Merge pull request #50 from BarbarossaTM/link-type
Add support for dummy interfaces
|
2020-08-27 00:49:47 +02:00 |
|
Maximilian Wilhelm
|
8f3e1f06f1
|
link executor: Fix indentation.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-08-27 00:47:51 +02:00 |
|
Maximilian Wilhelm
|
e51ce613e6
|
link executor: Add support for dummy interfaces.
closes #49
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-08-26 23:05:28 +02:00 |
|
Maximilian Wilhelm
|
36fe61d8e7
|
link executor: Unify code paths.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-08-26 22:41:32 +02:00 |
|
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
|
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
|
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 |
|