Ariadne Conill
|
f10faf953c
|
Merge pull request #78 from ifupdown-ng/feature/preferences
config file support
|
2020-09-19 07:16:38 -06:00 |
|
Ariadne Conill
|
d814aa754f
|
config parser: explicitly skip over comments
|
2020-09-15 05:48:54 -06:00 |
|
Ariadne Conill
|
27a383cfa7
|
tokenizer: split out equals-as-delimiter tokenizer to its own function
|
2020-09-14 17:34:44 -06:00 |
|
Ariadne Conill
|
4b30dc4573
|
lifecycle: if lif_config.allow_addon_scripts is disabled, don't run addon scripts
|
2020-09-14 17:26:45 -06:00 |
|
Ariadne Conill
|
c1c9115e5d
|
tokenize: fix tokenization of equals
|
2020-09-14 17:24:44 -06:00 |
|
Ariadne Conill
|
b4e35c442e
|
multicall: load config file data as early as possible
|
2020-09-14 17:20:20 -06:00 |
|
Ariadne Conill
|
5b27d8408c
|
config file: don't print warning if config file cannot be opened
|
2020-09-14 17:17:03 -06:00 |
|
Ariadne Conill
|
02d044c391
|
libifupdown: add config file loader
|
2020-09-14 17:15:18 -06:00 |
|
Ariadne Conill
|
fafa5ed7f9
|
libifupdown: add abstract config parser implementation
|
2020-09-14 17:11:59 -06:00 |
|
Ariadne Conill
|
537a56414a
|
tokenize: consider = to be equivalent to whitespace
|
2020-09-14 16:50:31 -06:00 |
|
Ariadne Conill
|
f9d0fbb4c3
|
ifupdown-ng 0.9.0.
|
2020-09-11 02:46:55 -06:00 |
|
Ariadne Conill
|
67da195f9f
|
Merge pull request #62 from BarbarossaTM/batman
WIP: Add executor for managing B.A.T.M.A.N. adv. interfaces
|
2020-09-11 02:45:11 -06:00 |
|
Ariadne Conill
|
aba546cf8e
|
Merge branch 'feature/udhcpc-hostname-script-client' into master
|
2020-09-11 02:43:58 -06:00 |
|
Ariadne Conill
|
b4b0889c7a
|
tests: add test for hostname subshell
|
2020-09-11 02:43:32 -06:00 |
|
Ariadne Conill
|
6048d65d87
|
Merge pull request #73 from ifupdown-ng/feature/udhcpc-hostname-script-client
dhcp: fixes for udhcpc
|
2020-09-11 02:40:29 -06:00 |
|
Ariadne Conill
|
5d4e3699b2
|
dhcp: evaluate IF_HOSTNAME for shell fragments
|
2020-09-11 02:33:54 -06:00 |
|
Ariadne Conill
|
a7e27ffa2c
|
dhcp: support IF_HOSTNAME, IF_SCRIPT and IF_CLIENT for udhcpc
|
2020-09-11 02:31:22 -06:00 |
|
Maximilian Wilhelm
|
e15f3ffbaa
|
Merge pull request #72 from ifupdown-ng/feature/depgraph-rdepends
dependency graph: reverse-dependency coloring
|
2020-09-10 18:06:29 +02:00 |
|
Ariadne Conill
|
e754e836af
|
tests: add tests for auto interface skipping
|
2020-09-09 20:46:50 -06:00 |
|
Ariadne Conill
|
ceb82f4fd2
|
ifupdown: only display skip messages in verbose mode
|
2020-09-09 19:38:29 -06:00 |
|
Ariadne Conill
|
a6e022ad99
|
lifecycle: re-sort the interface collection by hand
|
2020-09-09 19:21:41 -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
|
8c8727e30f
|
lifecycle: drop redundant lif_lifecycle_query_dependents().
since we now precompile the full dependency tree, including depths,
we no longer need to re-query each leaf for dependency information.
|
2020-09-09 17:40:57 -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
|
67dce280d7
|
interface: add lif_interface.rdepends_count
|
2020-09-09 17:13:11 -06:00 |
|
Ariadne Conill
|
04a65c5c38
|
Merge pull request #69 from BarbarossaTM/feature/create-destroy
WIP: Update executors to implement create/destroy phase
|
2020-09-09 16:53:20 -06:00 |
|
Maximilian Wilhelm
|
0674a70c35
|
batman executor: Fix typo
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:50:24 +02:00 |
|
Maximilian Wilhelm
|
e02e495257
|
bridge executor: Add depend phase
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:49:32 +02:00 |
|
Maximilian Wilhelm
|
d9e78e14fb
|
tests: Update tests to reflect create/destroy phase.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:49:04 +02:00 |
|
Maximilian Wilhelm
|
af94d760d0
|
Update executors to reflect new create/destroy phase.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:48:47 +02:00 |
|
Maximilian Wilhelm
|
35e03475e4
|
batman executor: Use create/destroy phases
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
|
2020-09-10 00:40:57 +02:00 |
|
Ariadne Conill
|
e6c6f49143
|
lifecycle: remove redundant lif_state_upsert() call
this will be handled by lif_state_ref_if(), which also updates the
refcounting.
|
2020-09-09 16:01:04 -06:00 |
|
Ariadne Conill
|
be9857f66f
|
Merge pull request #70 from ifupdown-ng/feature/iface-executor-tracing
libifupdown: add interface being run for each executor
|
2020-09-09 15:52:06 -06:00 |
|
Ariadne Conill
|
5a0b53cd73
|
libifupdown: add interface being run for each executor
|
2020-09-09 15:50:16 -06:00 |
|
Ariadne Conill
|
bdc66bcba9
|
Merge pull request #67 from ifupdown-ng/feature/create-destroy
create/destroy phases for interfaces
|
2020-09-09 14:41:52 -06:00 |
|
Ariadne Conill
|
ce6954d628
|
ifupdown-executor man page: add create/destroy phases
|
2020-09-09 14:39:40 -06:00 |
|
Ariadne Conill
|
00da19a381
|
lifecycle: add create/destroy phases
|
2020-09-09 14:36:07 -06:00 |
|
Ariadne Conill
|
277ecaf78a
|
Merge pull request #66 from ifupdown-ng/feature/refcounting
refcounting
|
2020-09-09 14:27:18 -06:00 |
|
Ariadne Conill
|
885126174d
|
ifupdown: consistently update the state file when exiting
|
2020-09-09 14:18:16 -06:00 |
|
Ariadne Conill
|
6999a125c8
|
state: include limits.h
|
2020-09-09 13:27:34 -06:00 |
|
Ariadne Conill
|
c021b9420f
|
state: ensure rc is set to 1 if strtoul() fails
|
2020-09-09 11:56:19 -06:00 |
|
Ariadne Conill
|
910985cd22
|
tests: supply --force where appropriate
|
2020-09-08 19:25:50 -06:00 |
|
Ariadne Conill
|
3b178131bd
|
state: sync refcounts using mapped interface name, not physical interface name
|
2020-09-08 19:25:00 -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
|
8de83fdd9a
|
tests: add tests for deferred interface teardown (refcounting)
|
2020-09-08 16:02:24 -06:00 |
|
Ariadne Conill
|
f139bc2416
|
lifecycle: consider an interface eligible for takedown if it has only one dependent (itself)
|
2020-09-08 15:50:32 -06:00 |
|
Ariadne Conill
|
ca07082ff4
|
state: fix parsing interface names in ifstate files
|
2020-09-08 15:37:35 -06:00 |
|
Ariadne Conill
|
6603ff1000
|
lifecycle: use refcounting to defer interface teardown
|
2020-09-08 15:28:36 -06:00 |
|