Ariadne Conill
9467f85067
multicall: fix handling of -X options, closes #155
2021-06-01 10:31:06 -06:00
Erik Kooistra
e4fa275067
command: Added mandatory permissions for O_CREAT
2020-12-21 15:58:24 -07:00
Ariadne Conill
31bc5c3b10
multicall: remove bug report link from multicall help text
2020-12-04 01:02:28 -07:00
Ariadne Conill
f34ad12751
multicall: a little bit of polishing
2020-12-04 00:55:04 -07:00
Ariadne Conill
27c10c57d1
ifctrstat: lowercase the applet description
2020-12-04 00:51:35 -07:00
Ariadne Conill
d1286e57f9
multicall: print applet descriptions
2020-12-04 00:50:19 -07:00
Ariadne Conill
65aa268e9d
ifquery: use single printf call for graphviz header, saves 16 bytes
2020-12-04 00:37:02 -07:00
Ariadne Conill
46bb0565fa
multicall: do not call getopt_long() inside the stub applet
2020-11-19 03:18:23 -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
dd8064142c
yaml-writer: add ability to enable/disable type annotations
2020-11-13 21:31:48 -07:00
Ariadne Conill
c5520f95dd
ifparse: fix usage example
2020-11-12 02:22:25 -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
5010dce3d5
ifparse: rename --yaml to --yaml-raw
2020-11-11 03:10:50 -07:00
Ariadne Conill
2ec3a39c89
ifparse: add --yaml flag
2020-11-11 02:50:29 -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
52f739c943
ifquery: implement support for -U/--allow-undefined
2020-11-04 11:55:36 -07: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
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
Maximilian Wilhelm
56beefdd28
ifquery: Apply compatibility glue, too.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 04:57:24 +02:00
Maximilian Wilhelm
d96f579d7f
Introduce an compatibility layer which is empty for now.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 03:26:40 +02:00
Ariadne Conill
dcb6ef97ef
cmd: use lif_interface_file_parse_state structure as needed
2020-10-14 03:50:58 -06:00
Ariadne Conill
e300867d26
ifquery: add ifquery --running
...
this is like ifquery --state except it dumps only the running interface names
2020-10-14 02:44:00 -06:00
Maximilian Wilhelm
02324bebd5
Move handling of address/netmask pairs from ifquery into library.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-14 01:24:33 +02:00
Ariadne Conill
4c354ebf35
ifquery: implement more robust loop breaking strategy
2020-10-08 02:17:13 -06:00
Ariadne Conill
5615c30fd0
ifquery: don't build the dependency tree when querying for an interface's properties
2020-09-25 08:43:26 -06:00
Maximilian Wilhelm
a3d11ded43
ifupdown: Be consistent in error messages.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-25 02:26:21 +02:00
Maximilian Wilhelm
8dc2295006
ifupdown: Don't configure errornous interfaces.
...
Do not configure interfaces which have a configuration know to be broken.
Currently this only happens when using "inherit" to an non-existing iface
or to an iface and not a template, and having allow_any_iface_as_template
set to 0.
In those cases broken ifaces will not be configured unless ifup/ifdown is
invoked with --force.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-25 02:15:16 +02:00
Ariadne Conill
243a9b92ce
ifupdown: skip over template interfaces at warning time instead of letting lif_lifecycle_run() fail
2020-09-23 11:52:22 -06:00
Ariadne Conill
f9683c2242
ifupdown: complain to the user if they try to bring up or tear down a template interface
2020-09-23 11:42:09 -06:00
Ariadne Conill
41a71173d1
ifquery: display template interfaces as templates, not as iface
2020-09-23 11:35:27 -06:00
Ariadne Conill
b4e35c442e
multicall: load config file data as early as possible
2020-09-14 17:20:20 -06:00
Ariadne Conill
ceb82f4fd2
ifupdown: only display skip messages in verbose mode
2020-09-09 19:38:29 -06:00
Ariadne Conill
258e2e8a52
lifecycle: return the maximum tree depth for the dependency tree when counting depth
2020-09-09 18:12:13 -06:00
Ariadne Conill
2569503afa
lifecycle: add lif_lifecycle_count_rdepends(), which calculates reverse dependency depth
2020-09-09 17:39:26 -06:00
Ariadne Conill
a5eebda391
ifquery: include reverse dependency count in dot output
2020-09-09 17:14:58 -06:00
Ariadne Conill
885126174d
ifupdown: consistently update the state file when exiting
2020-09-09 14:18:16 -06:00
Ariadne Conill
b514d31c26
ifupdown: implement --force
2020-09-08 19:17:00 -06:00
Ariadne Conill
efe9b60e37
ifupdown: skip interface config/deconfig based on refcounts
2020-09-08 19:10:20 -06:00
Ariadne Conill
8e4eb5d00c
state: migrate to lif_state_record from a bare dictionary containing the mapped ifs
2020-09-08 14:59:58 -06:00
Ariadne Conill
3b10494b40
change lif_interface.is_up to lif_interface.refcount
2020-09-08 14:41:25 -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
72ad50213f
cmd: fix regression with ifdown -f handling
...
Alpine #11887
2020-08-24 02:19:01 -06:00
Ariadne Conill
df9c0284b1
interface-file: let commands initialize the interface collection themselves
2020-08-20 03:45:56 -06:00
Ariadne Conill
eeb40fc689
libifupdown: move ARRAY_SIZE() declaration from multicall
2020-08-19 01:58:41 -06:00
Ariadne Conill
b9efc841a3
Merge branch 'feature/refactor-opts' into master
2020-08-18 14:40:50 -06:00
Ariadne Conill
b084f1c99c
ifctrstat: add manpage xref
2020-08-18 14:36:35 -06:00
Ariadne Conill
0a3f1e33a8
ifctrstat: lower-case help text for program-specific options
2020-08-18 14:36:15 -06:00