Commit graph

474 commits

Author SHA1 Message Date
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
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
90ba72efe2 makefile: add missing optional executors 2020-08-20 04:46:06 -06:00
Ariadne Conill
05df95964e ifupdown-ng 0.8.0. 2020-08-20 04:42:48 -06:00
Ariadne Conill
885778a412
Merge pull request #36 from ifupdown-ng/feature/static-metric
static: add support for the metric property
2020-08-20 04:41:51 -06:00
Ariadne Conill
ce07e1ff1f static: add support for the metric property 2020-08-20 04:40:38 -06:00
Ariadne Conill
6d15f21073 interface: handle is_bridge and is_bond hacks in a single place 2020-08-20 04:07:51 -06:00
Ariadne Conill
aba140a977 interface-file: use bsearch to find parser functions 2020-08-20 04:04:34 -06:00
Ariadne Conill
4a11d4fdd8 interface-file: break out source keyword handling 2020-08-20 03:46:31 -06:00
Ariadne Conill
df9c0284b1 interface-file: let commands initialize the interface collection themselves 2020-08-20 03:45:56 -06:00
Ariadne Conill
b57aba1a97 interface-file: split out auto keyword handling 2020-08-20 03:41:07 -06:00
Ariadne Conill
d36a522470 interface-file: add and use report_error() 2020-08-20 03:34:59 -06:00
Ariadne Conill
a7dc005b8d
Merge pull request #34 from ifupdown-ng/feature/vrf-static-route
vrf static route support
2020-08-20 03:21:44 -06:00
Ariadne Conill
4fdd91beee test: add test for vrf static route support 2020-08-20 03:20:26 -06:00
Ariadne Conill
0928f07af5 interface-file: imply static executor use if gateway is specified 2020-08-20 03:20:07 -06:00
Ariadne Conill
e5c592f2c1 remove lif_interface.is_dhcp too 2020-08-20 03:14:57 -06:00
Ariadne Conill
846df3272f remove lif_interface.is_static, no longer used 2020-08-20 03:10:26 -06:00
Ariadne Conill
d463d455da simplify executor use statements 2020-08-20 03:08:29 -06:00