Commit graph

223 commits

Author SHA1 Message Date
Ariadne Conill
8138ca8485 ifquery: add --dot to visualize a calculated solution 2020-07-24 04:25:06 -06:00
Ariadne Conill
5c75cdcab0 libifupdown: inline the tokenization functions 2020-07-24 04:12:42 -06:00
Ariadne Conill
8bc39aea7c tests: add ifup test for bonded-bridge relationships 2020-07-24 04:00:24 -06:00
Ariadne Conill
f0050e9a72 cmd/ifupdown: clean up tracing messages 2020-07-24 03:57:52 -06:00
Ariadne Conill
101db509c1 lifecycle: note transient state changes when executing in verbose mode 2020-07-24 03:51:31 -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
b9f1ae8254 lifecycle: rewrite bond-xmit-hash-policy as IF_BOND_XMIT_HASH_POLICY when building env 2020-07-24 01:03:44 -06:00
Ariadne Conill
75bb913e82 ifupdown-ng 0.1.2. 2020-07-24 00:18:48 -06:00
Ariadne Conill
87b031973b tests: align ifup alias tests with state fixtures 2020-07-24 00:16:19 -06:00
Ariadne Conill
03b71ab114 tests: fix up ifdown alias tests 2020-07-24 00:15:43 -06:00
Ariadne Conill
0624052339 ifupdown: handle state translation for ifdown aliases 2020-07-24 00:15:26 -06:00
Ariadne Conill
89f2110254 lifecycle: fix taking default routes down 2020-07-24 00:11:37 -06:00
Ariadne Conill
9931279589 tests: add ifdown tests 2020-07-24 00:10:54 -06:00
Ariadne Conill
c8fcef7efd tests: add ifup tests 2020-07-23 23:58:46 -06:00
Ariadne Conill
5772a914d9 ifupdown-ng 0.1.1. 2020-07-23 12:02:55 -06:00
Ariadne Conill
aa02e81a9f build: use CPPFLAGS correctly 2020-07-23 11:56:36 -06:00
Ariadne Conill
1824d05bd5 lifecycle: implement support for IF_ env vars based on triples 2020-07-23 11:56:20 -06:00
Ariadne Conill
a19a8e2ccc ifupdown-ng 0.1. 2020-07-23 11:28:54 -06:00
Ariadne Conill
a880654204 build: add 'make install' rule 2020-07-23 11:28:18 -06:00
Ariadne Conill
546e6a5f3a lifecycle: support gateway 2020-07-23 11:15:44 -06:00
Ariadne Conill
95d26df34c lifecycle: refactor address handling a little 2020-07-23 11:08:35 -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
16dffed37a build: clean: rm ${CMDS} too 2020-07-23 10:46:22 -06:00
Ariadne Conill
6e262ab3ed add ifupdown skeleton 2020-07-23 10:44:45 -06:00
Ariadne Conill
933332a6cb lifecycle: add pre-down/post-up to match debian ifupdown 2020-07-23 10:43:14 -06:00
Ariadne Conill
5013dcf6c9 lifecycle: kill dhcp client when called from ifdown 2020-07-23 09:45:52 -06:00
Ariadne Conill
2c556d8655 environment: fix up memory accesses when building envp 2020-07-23 09:43:09 -06:00
Ariadne Conill
a2f3169716 lifecycle: use /bin/run-parts instead of run-parts 2020-07-23 08:57:52 -06:00
Ariadne Conill
bc9dc32a38 lifecycle: support dhcp 2020-07-23 08:55:46 -06:00
Ariadne Conill
4542c8c32f lifecycle: note dependency resolution todo 2020-07-23 08:52:18 -06:00
Ariadne Conill
da37e87290 add lifecycle management 2020-07-23 08:51:22 -06:00
Ariadne Conill
4006b38ffa execute: add lif_execute_opts structure 2020-07-23 08:22:26 -06:00
Ariadne Conill
a567d5d0f5 libifupdown: add lif_execute_fmt() 2020-07-23 06:12:56 -06:00
Ariadne Conill
7f8f93a29b libifupdown: add environment management routines 2020-07-23 05:30:25 -06:00
Ariadne Conill
c94c66b25c tests: add ifquery state tests 2020-07-20 08:29:14 -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
6fe4630f52 state: add interface alias support 2020-07-20 07:45:39 -06:00
Ariadne Conill
d4e1997486 add core state management 2020-07-20 07:42:16 -06:00
Ariadne Conill
6606432600 build: also clean ifquery objects 2020-07-20 07:37:43 -06:00
Ariadne Conill
7360042d51 tests: fix broken test when no /e/n/i file exists 2020-07-19 06:23:12 -06:00
Ariadne Conill
6c0a74eb07 gitignore: add ifquery, ifup and ifdown executables to gitignore 2020-07-19 06:20:43 -06:00
Ariadne Conill
c6ef6d1c03 implement a CI attempt 2020-07-19 06:03:08 -06:00
Ariadne Conill
0c3e4c71cf tests: add some ifquery tests 2020-07-19 04:50:30 -06:00
Ariadne Conill
f8242f6ce5 tests: verify ifquery lo always works 2020-07-19 00:17:42 -06:00
Ariadne Conill
757db993da tests: add initial skeleton for ifquery tests 2020-07-19 00:05:24 -06:00
Ariadne Conill
6904e2ef37 ifquery: usage(): use stderr 2020-07-19 00:05:12 -06:00