Commit graph

668 commits

Author SHA1 Message Date
Maximilian Wilhelm
aada42795c DHCP: Rename options to dhcp-*
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-11-30 22:36:28 +01:00
Ariadne Conill
6730db5468
Merge pull request #127 from ifupdown-ng/bugfix/multicall-getopt
multicall: fix inappropriate use of getopt in the multicall stub
2020-11-19 03:33:19 -07:00
Ariadne Conill
7911944633 tests: add getopt regression test for multicall stub 2020-11-19 03:28:51 -07:00
Ariadne Conill
46bb0565fa multicall: do not call getopt_long() inside the stub applet 2020-11-19 03:18:23 -07:00
Maximilian Wilhelm
9715b41c28
Merge pull request #125 from ifupdown-ng/feature/ifparse
YAML output support
2020-11-14 19:10:55 +01:00
Ariadne Conill
89b96a5108 doc: ifparse: chase --yaml-raw -> -F yaml-raw change 2020-11-13 21:53:41 -07:00
Ariadne Conill
545c3870ab ifparse: use -F to select output format instead of individual output options 2020-11-13 21:53:36 -07:00
Ariadne Conill
d2a75c7bb4 yaml-writer: constify 2020-11-13 21:35:12 -07:00
Ariadne Conill
dd8064142c yaml-writer: add ability to enable/disable type annotations 2020-11-13 21:31:48 -07:00
Ariadne Conill
3bf406bf92 doc: add ifparse manual page 2020-11-12 02:28:02 -07:00
Ariadne Conill
c5520f95dd ifparse: fix usage example 2020-11-12 02:22:25 -07:00
Ariadne Conill
7ca5305063 makefile: enabling YAML costs 2KB 2020-11-11 03:25:54 -07:00
Ariadne Conill
8097d5015f ifparse: if interface marked as auto, add "auto: !!bool true" to YAML output 2020-11-11 03:13:32 -07:00
Ariadne Conill
dbfebbff87 YAML: add support for booleans 2020-11-11 03:11:48 -07:00
Ariadne Conill
5010dce3d5 ifparse: rename --yaml to --yaml-raw 2020-11-11 03:10:50 -07:00
Ariadne Conill
95f0ea4895 yaml writer: implement type hinting 2020-11-11 02:51:24 -07:00
Ariadne Conill
2ec3a39c89 ifparse: add --yaml flag 2020-11-11 02:50:29 -07:00
Ariadne Conill
cfb43e9573 add really basic yaml document graph building and writing functionality 2020-11-11 02:46:28 -07:00
Ariadne Conill
fe1664d311 list: fix LIF_LIST_FOREACH_SAFE() iteration on empty lists 2020-11-11 02:18:04 -07:00
Ariadne Conill
ec6077f26f build: add CONFIG_YAML 2020-11-10 20:08:35 -07:00
Ariadne Conill
2a9ca329ff ifparse: add skeleton 2020-11-10 20:02:07 -07:00
Ariadne Conill
f6ad65d99e cmd: split out /e/n/i pretty printer from ifquery.c 2020-11-10 19:42:09 -07:00
Ariadne Conill
d250ab213c
Merge pull request #122 from ifupdown-ng/feature/configure-auto-executor-selection
Feature/configure auto executor selection
2020-11-04 21:53:42 -07:00
Ariadne Conill
f5fc3a3c1a ADMIN-GUIDE: document auto_executor_selection 2020-11-04 21:52:27 -07:00
Maximilian Wilhelm
748a226786
Merge pull request #124 from ifupdown-ng/feature/ifquery-virtual
Feature/ifquery virtual
2020-11-04 20:40:56 +01:00
Ariadne Conill
c8dad76fe1 tests: ifquery: add testcases for ifquery -U 2020-11-04 12:23:14 -07:00
Ariadne Conill
c7eeef27a4 ifquery.8: document -U/--allow-undefined 2020-11-04 11:59:19 -07:00
Ariadne Conill
52f739c943 ifquery: implement support for -U/--allow-undefined 2020-11-04 11:55:36 -07:00
Ariadne Conill
71d832cceb
Merge pull request #123 from ifupdown-ng/chore/narrow-dhcp-hostname-configuration
interface: learn hostname from uname(2) only if an interface requests…
2020-11-04 11:47:24 -07:00
Ariadne Conill
632af7b716 interface: learn hostname from uname(2) only if an interface requests the dhcp executor
Closes #74.
2020-11-04 11:46:18 -07:00
Ariadne Conill
af25cedf33 interfaces: note automatic executor selection algorithm here too (closes #117) 2020-11-04 11:31:08 -07:00
Ariadne Conill
c292297396 interfaces: s/option/executor/ 2020-11-04 11:27:41 -07:00
Ariadne Conill
5667b6adec ifupdown-ng.5: document auto_executor_selection and selection algorithm 2020-11-04 11:24:20 -07:00
Ariadne Conill
2d2e73b8ac example config: document auto_executor_selection setting 2020-11-04 11:21:42 -07:00
Ariadne Conill
068f464e4c interface-file: if auto_executor_selection is disabled, don't guess what executors should be used 2020-11-04 11:18:40 -07:00
Ariadne Conill
0050995b64 config-file: add support for auto_executor_selection setting 2020-11-04 11:16:47 -07:00
Ariadne Conill
20d9e3fe91 executors: drop set -e, closes #121 2020-11-02 08:53:30 -07:00
Maximilian Wilhelm
b76981e832
Merge pull request #120 from ifupdown-ng/chore/document-ifstate
docs: document ifstate
2020-10-26 16:31:50 +01:00
Ariadne Conill
8cae485ca7 docs: document ifstate 2020-10-24 09:00:26 -06:00
Ariadne Conill
6cadc44183 CI: install scdoc 2020-10-24 08:43:51 -06:00
Ariadne Conill
da751ce14d CI: enable CI tests for documentation 2020-10-24 08:42:26 -06:00
Ariadne Conill
dcbb3be15b doc: ifupdown-ng.conf.scd: escape the asterisk in compat_* 2020-10-24 08:40:49 -06:00
Ariadne Conill
19a5a671eb
Merge pull request #111 from ifupdown-ng/feature/deprecate-brctl
vlan aware bridging
2020-10-22 13:42:00 -08:00
Ariadne Conill
90453f1412
Merge pull request #119 from ifupdown-ng/feature/explicit-guard
guard auto and explicitly configured interfaces from inappropriate deconfiguration
2020-10-21 07:15:03 -08:00
Ariadne Conill
b4f87cbd1e state: explicitly check for explicit keyword when loading from the ifstate file 2020-10-21 09:13:34 -06:00
Ariadne Conill
2a8a72eee7 ifupdown: upgrade dependent interfaces to explicit interfaces if explicitly requested 2020-10-21 08:46:47 -06:00
Ariadne Conill
eb9bebebc6 ifupdown: record explicitly configured interfaces as explicit in ifstate 2020-10-21 08:42:47 -06:00
Ariadne Conill
61097b1db2 ifquery: when querying state, denote presence of the explicit flag 2020-10-21 08:32:29 -06:00
Ariadne Conill
b09d622cfc state: synchronize is_explicit from state records to parsed interface collections 2020-10-21 08:30:35 -06:00
Ariadne Conill
dae7d59864 state: write and restore explicit flag from ifstate 2020-10-21 08:29:54 -06:00