Commit graph

368 commits

Author SHA1 Message Date
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
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
184526401b
Merge pull request #33 from ifupdown-ng/feature/gre-executor
gre executor
2020-08-20 02:43:53 -06:00
Ariadne Conill
c86952ce71 tests: add gre executor tests 2020-08-20 02:40:27 -06:00
Ariadne Conill
6d2ae938d1 tests: add ifquery test for gre dependency learning 2020-08-20 02:33:51 -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