Commit graph

692 commits

Author SHA1 Message Date
Ariadne Conill
f32481deb9 add wireguard executor script 2020-09-04 12:57:41 -06:00
Maximilian Wilhelm
471549db4b
Merge pull request #56 from BarbarossaTM/alias
link executor: Add support for interface aliases.
2020-09-04 09:20:15 +02: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
2311316bfe
Merge pull request #55 from ifupdown-ng/feature/udhcpc-opts
add support for udhcpc-opts
2020-09-03 15:15:31 -07:00
Ariadne Conill
7edb29778b tests: add udhcp-opts related tests 2020-09-03 16:11:41 -06:00
Ariadne Conill
2d7668bc01 dhcp executor: add support for udhcpc-opts property 2020-09-03 16:07:27 -06:00
Ariadne Conill
4b32a0787d
Merge pull request #51 from BarbarossaTM/whitespaces
Remove leading whitespaces around interface attribute values.
2020-08-30 15:39:01 -06:00
Ariadne Conill
ab7ff2b206
Merge pull request #54 from BarbarossaTM/dummy
Only create dummy interface when missing and remove them on post-down
2020-08-30 15:38:32 -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
64b24b02ed Remove leading whitespaces before interface attribute values.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-08-30 22:18:07 +02:00
Ariadne Conill
375b5d46cb
Merge pull request #52 from BarbarossaTM/scripts
lifecycle: Check if script dir exists before executing run-parts.
2020-08-29 08:38:16 -06:00
Maximilian Wilhelm
570679c5bf lifecycle: Make sure to return true when script dir doesn't exist.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-08-27 12:10:12 +02:00
Maximilian Wilhelm
61ed18db2c lifecycle: Check if script dir exist before executing run-parts.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-08-27 01:15:51 +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
Ariadne Conill
583ff684df
Merge pull request #48 from BarbarossaTM/vrf-fix
static executor: Use vrf-member when setting gateway if present.
2020-08-26 15:50:29 -06: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
e7ef2d1e83
Merge pull request #43 from ifupdown-ng/feature/phase-exec-messages
execute: note the phase each executor is being invoked in
2020-08-26 02:12:57 -06:00
Ariadne Conill
4d64176ea3 execute: note the phase each executor is being invoked in 2020-08-26 02:06:36 -06:00
Ariadne Conill
b30f84fdbd
Merge pull request #41 from ifupdown-ng/bugfix/link-back-to-up-down
Bugfix/link back to up down
2020-08-25 08:19:13 -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
6c7c3f570d link executor: switch back to up/down phase 2020-08-25 08:17:58 -06:00
Ariadne Conill
b311293c6b
Merge pull request #40 from ifupdown-ng/bugfix/bridge-ports-none
bridge: don't generate dependencies for bridge-ports none
2020-08-25 08:10:26 -06:00
Ariadne Conill
0ff263a02a bridge: don't generate dependencies for bridge-ports none 2020-08-25 08:09:31 -06:00
Ariadne Conill
24d092ee46
Merge pull request #39 from ifupdown-ng/bugfix/skipping-interface-message-verbose
lifecycle: only print skipping interface message if verbose
2020-08-24 11:34:38 -06:00
Ariadne Conill
aefaaa7457 lifecycle: only print skipping interface message if verbose 2020-08-24 11:33:56 -06:00
Ariadne Conill
3997b6a952
Merge pull request #38 from ifupdown-ng/bugfix/vlan-complex
vlan and assorted fixes
2020-08-24 11:14:45 -06:00
Ariadne Conill
db5d2b8afd link tests: fix phasing 2020-08-24 11:08:42 -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
de20e5f8a9 lifecycle: handle executors in reverse order when taking an interface down 2020-08-24 11:04:48 -06:00
Ariadne Conill
dfb979d00d list: add LIF_LIST_FOREACH_REVERSE() 2020-08-24 11:03:18 -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
aba4b18862 lifecycle: add some helpful debug 2020-08-24 10:36:17 -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
68021bc652
Merge pull request #35 from ifupdown-ng/feature/bsearch-parsing
interface config parser rewrite
2020-08-24 04:41:06 -06:00
Ariadne Conill
f17fa09944 ifupdown-ng 0.8.1. 2020-08-24 04:00:31 -06:00
Ariadne Conill
7da13ddf83
Merge pull request #37 from ifupdown-ng/feature/unify-link-and-vlan-executors
unify link and vlan executors
2020-08-24 03:59:14 -06:00
Ariadne Conill
536612d02b build: ensure we exit 1 after running kyua report 2020-08-24 03:36:26 -06:00
Ariadne Conill
14e2fecc20 tests: add vlan-named.interfaces fixture 2020-08-24 03:33:57 -06:00
Ariadne Conill
3abe6b1bd5 github: add kyua debug 2020-08-24 03:32:56 -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