Commit graph

97 commits

Author SHA1 Message Date
A. Wilcox
05e0ac139b
ifctrstat: Initial structure for new applet 2020-08-14 11:27:43 -05:00
Ariadne Conill
b30e0223d0 multicall: only enable applets actually compiled in 2020-08-12 16:57:40 -06:00
Ariadne Conill
f7d21d4b46 ifupdown: port to use option groups 2020-08-11 23:14:55 -06:00
Ariadne Conill
fda7bfae57 ifquery: use generic_usage() instead of ifquery_usage() 2020-08-11 23:10:35 -06:00
Ariadne Conill
f6d9f65248 ifquery: port to use option groups 2020-08-11 23:03:55 -06:00
Ariadne Conill
fdfe8ac080 multicall: migrate execution options to common code 2020-08-11 22:52:15 -06:00
Ariadne Conill
52509c508c multicall: migrate match options to shared collection 2020-08-11 22:37:36 -06:00
Ariadne Conill
f871002ecc multicall: add self_applet 2020-08-11 22:37:10 -06:00
Ariadne Conill
2be5add47b multicall: split option handling routines out to multicall-options.c 2020-08-11 22:15:52 -06:00
Ariadne Conill
b817bdb999 multicall: move match_options to a common include 2020-08-11 22:12:37 -06:00
Ariadne Conill
b481db6c20 multicall: add support for unified option handling 2020-08-11 22:07:32 -06:00
Ariadne Conill
ebd04cafda commands: refactor applet_usage functions to take a status code (ref #16) 2020-08-11 20:44:04 -06:00
Ariadne Conill
072c1ea148 ifquery: build full dependency tree when in dot mode 2020-08-04 12:36:38 -06:00
Ariadne Conill
58bc969bbb ifupdown: only show granular locking errors in verbose mode 2020-07-29 03:18:12 -06:00
Ariadne Conill
ef3bdd79da clean up locking-related errors further 2020-07-29 03:17:12 -06:00
Ariadne Conill
c71c01862d ifupdown: make the locking errors more useful 2020-07-29 03:13:34 -06:00
Ariadne Conill
0ca8e42ee6 refactoring locking, make it per-interface to avoid deadlocks 2020-07-29 03:10:55 -06:00
Ariadne Conill
91115edeee ifupdown: use fcntl advisory locks to serialize state changes (closes #8) 2020-07-29 03:01:49 -06:00
Ariadne Conill
fb5ff4eac2 lifecycle: add support for learning dependents from executors (ref #5) 2020-07-28 13:46:25 -06:00
Ariadne Conill
e1918f3fd5 ifupdown: add --force for compatibility with busybox ifupdown 2020-07-28 08:23:58 -06:00
Ariadne Conill
9e4e17707f lifecycle: expose INTERFACES_FILE env var to executors 2020-07-26 02:50:01 -06:00
Ariadne Conill
052156ac09 ifquery: add --property (ref #4) 2020-07-26 02:28:29 -06:00
Ariadne Conill
4e452c5fec multicall: mark multicall_usage() as noreturn
this is needed to shut up coverity
2020-07-25 08:47:21 -06:00
Ariadne Conill
dca34ebba7 ifupdown: allow for the executor path to be changed 2020-07-25 02:22:27 -06:00
Ariadne Conill
96112d5dc9 libifupdown: execute: add lif_maybe_try_executor() 2020-07-25 02:17:27 -06:00
Ariadne Conill
16af3755e0 use "use loopback" hint instead of "inet loopback", same with dhcp 2020-07-24 05:00:49 -06:00
Ariadne Conill
8714dab11d multicall: expose argv0, use in applets 2020-07-24 04:52:15 -06:00
Ariadne Conill
e0a7444640 state: add ability to sync a state to if_collection cache 2020-07-24 04:48:50 -06:00
Ariadne Conill
8138ca8485 ifquery: add --dot to visualize a calculated solution 2020-07-24 04:25:06 -06:00
Ariadne Conill
f0050e9a72 cmd/ifupdown: clean up tracing messages 2020-07-24 03:57:52 -06:00
Ariadne Conill
38537339ab lifecycle: implement requires keyword 2020-07-24 03:42:34 -06:00
Ariadne Conill
bc88e3fcd2 multicall: add stub applet like busybox has 2020-07-24 03:23:41 -06:00
Ariadne Conill
1a9fd7a0cc convert to multicall binary 2020-07-24 03:07:29 -06:00
Ariadne Conill
0624052339 ifupdown: handle state translation for ifdown aliases 2020-07-24 00:15:26 -06:00
Ariadne Conill
de94c2a5a4 ifupdown: update ifstate 2020-07-23 11:01:05 -06:00
Ariadne Conill
5e99e689a8 ifupdown: make --auto work 2020-07-23 10:57:46 -06:00
Ariadne Conill
6e262ab3ed add ifupdown skeleton 2020-07-23 10:44:45 -06:00
Ariadne Conill
09057aa977 fix up tests 2020-07-20 08:24:31 -06:00
Ariadne Conill
aa1cc0815c add a bunch more of the state stuff 2020-07-20 08:19:23 -06:00
Ariadne Conill
6904e2ef37 ifquery: usage(): use stderr 2020-07-19 00:05:12 -06:00
Ariadne Conill
1a650a126e ifquery: add --pretty-print 2020-07-18 19:35:02 -06:00
Ariadne Conill
cd2d35c6a2 ifquery: implement --include and --exclude 2020-07-18 19:31:44 -06:00
Ariadne Conill
9eea60986a ifquery: implement --list 2020-07-18 19:26:20 -06:00
Ariadne Conill
c189467707 add ifquery --version 2020-07-18 19:09:08 -06:00
Ariadne Conill
32560de5ca add stub lif_interface_file_parse() 2020-07-18 18:02:25 -06:00
Ariadne Conill
7c068e493d ifquery: expand a bit 2020-07-18 17:44:58 -06:00
Ariadne Conill
817963b586 cmd: start work on an ifquery command 2020-07-18 04:49:22 -06:00