Commit graph

85 commits

Author SHA1 Message Date
Ariadne Conill
713d5071d5 state: don't consider missing state file to be a fatal error 2020-07-24 07:13:04 -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
e0a7444640 state: add ability to sync a state to if_collection cache 2020-07-24 04:48:50 -06:00
Ariadne Conill
a3c138b9b2 interface-file: add some backwards compatibility hacks with use (ref #3) 2020-07-24 04:39:41 -06:00
Ariadne Conill
5c75cdcab0 libifupdown: inline the tokenization functions 2020-07-24 04:12:42 -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
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
89f2110254 lifecycle: fix taking default routes down 2020-07-24 00:11:37 -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
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
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
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
c189467707 add ifquery --version 2020-07-18 19:09:08 -06:00
Ariadne Conill
86a83d9e95 implement /e/n/i parsing 2020-07-18 18:48:49 -06:00
Ariadne Conill
26106dff75 add fgetline(3) implementation 2020-07-18 18:13:54 -06:00
Ariadne Conill
32560de5ca add stub lif_interface_file_parse() 2020-07-18 18:02:25 -06:00
Ariadne Conill
817963b586 cmd: start work on an ifquery command 2020-07-18 04:49:22 -06:00
Ariadne Conill
84a01ffdc4 libifupdown: add initial interface management code 2020-07-18 04:24:53 -06:00
Ariadne Conill
3f618d2a3b libifupdown: add a simple key-value dictionary based on linked lists 2020-07-18 03:11:43 -06:00
Ariadne Conill
803f51efe8 list: fix LIF_LIST_FOREACH_SAFE 2020-07-18 03:01:15 -06:00
Ariadne Conill
a43f8b988d list: remove #if 0 part 2020-07-18 01:59:33 -06:00
Ariadne Conill
e8d87d3d37 add linked list code 2020-07-18 01:58:24 -06:00