Commit graph

  • f9683c2242 ifupdown: complain to the user if they try to bring up or tear down a template interface Ariadne Conill 2020-09-23 11:42:09 -0600
  • 580f054d7e lifecycle: do not allow lif_lifecycle_run() on a template Ariadne Conill 2020-09-23 11:39:45 -0600
  • 94f00b2fdc interface-file: do not allow templates to be set as automatic Ariadne Conill 2020-09-23 11:38:29 -0600
  • 41a71173d1 ifquery: display template interfaces as templates, not as iface Ariadne Conill 2020-09-23 11:35:27 -0600
  • 5c5c316ebf interface: add config setting to restrict inheritance to template interfaces Ariadne Conill 2020-09-23 11:34:35 -0600
  • a3987b46c8 interface-file: mark interface as template if template keyword is used Ariadne Conill 2020-09-23 11:29:01 -0600
  • eb70e48ece interface-file: add interface and template keywords as alias for iface Ariadne Conill 2020-09-23 11:26:28 -0600
  • 850b20d5a8
    Merge pull request #81 from ifupdown-ng/feature/ethtool Maximilian Wilhelm 2020-09-23 01:48:17 +0200
  • 0a0252d218 ethtool: Fix tests Maximilian Wilhelm 2020-09-23 01:43:25 +0200
  • 2e81234df1 ethtool: Call 'env' instead of 'set' to get environment Maximilian Wilhelm 2020-09-23 01:24:56 +0200
  • abc3b13fd7 Merge remote-tracking branch 'origin/master' into feature/ethtool Ariadne Conill 2020-09-21 10:23:04 -0600
  • 566732321d tests: ethtool: add tests for coalesce settings Ariadne Conill 2020-09-21 10:21:43 -0600
  • 3cb635b443 ethtool: set coalesce settings from ethtool-coalesce- term namespace Ariadne Conill 2020-09-21 10:06:58 -0600
  • f96cb273a0 interface-file: remap hardware-irq-coalesce- namespace to ethtool-coalesce- namespace Ariadne Conill 2020-09-21 09:56:48 -0600
  • a69c81b6be tests: ethtool: add dma ring tests Ariadne Conill 2020-09-21 09:38:39 -0600
  • 3e7125aca0 ethtool: add support for the ethtool-dma namespace Ariadne Conill 2020-09-21 09:32:37 -0600
  • 2078f63e62 interface-file: remap debian hardware DMA ring terms to ethtool-dma namespace Ariadne Conill 2020-09-21 09:30:12 -0600
  • c19def3764 tests: ethtool: add offload tests Ariadne Conill 2020-09-21 09:18:08 -0600
  • e8a2aab7e1 tests: ethtool: add tests for pause parameters Ariadne Conill 2020-09-21 09:10:01 -0600
  • 6ae3414329 ethtool: fix up gather_params() calls a bit Ariadne Conill 2020-09-21 09:08:17 -0600
  • 4e78d7e5d5 ethtool: pause parameters are IF_ETHTOOL_PAUSE_FOO, not IF_ETHTOOL_ETHERNET_PAUSE_FOO. Ariadne Conill 2020-09-21 08:59:13 -0600
  • 0a58383ed8 tests: ethtool: add tests for basic link settings, wol and autoneg Ariadne Conill 2020-09-21 08:55:20 -0600
  • e4b4d8b70a ethtool: add pause and offload settings support Ariadne Conill 2020-09-21 08:36:34 -0600
  • 72277e51e2 ethtool: add support for basic ethernet link settings Ariadne Conill 2020-09-21 08:31:20 -0600
  • b0480a3343 ethtool: add pre-up settings to the executor Ariadne Conill 2020-09-21 08:20:43 -0600
  • f7e7b4be85
    Merge pull request #80 from ifupdown-ng/chore/batman-executor-scripts-opt Ariadne Conill 2020-09-21 08:06:48 -0600
  • eac42c104b build: add batman executor to EXECUTOR_SCRIPTS_OPT Ariadne Conill 2020-09-21 08:05:18 -0600
  • 63ec8d4b3b begin ethtool executor-script (as part of EXECUTOR_SCRIPTS_OPT). Ariadne Conill 2020-09-21 08:04:10 -0600
  • a8fcf5502f add a missing translation Ariadne Conill 2020-09-19 08:07:32 -0600
  • 27e11adac6 interface-file: remap properties used by both debian and ifupdown2 ethtool addons to the ethtool- namespace Ariadne Conill 2020-09-19 07:58:51 -0600
  • 7bacb2a0f7
    Merge pull request #79 from ifupdown-ng/chore/docs-no-multihoming Ariadne Conill 2020-09-19 09:19:02 -0600
  • f35242e5c7 admin guide: s/multi-homing/multiple addresses/ Ariadne Conill 2020-09-19 09:14:06 -0600
  • f10faf953c
    Merge pull request #78 from ifupdown-ng/feature/preferences Ariadne Conill 2020-09-19 07:16:38 -0600
  • d814aa754f config parser: explicitly skip over comments Ariadne Conill 2020-09-15 05:48:54 -0600
  • 27a383cfa7 tokenizer: split out equals-as-delimiter tokenizer to its own function Ariadne Conill 2020-09-14 17:34:44 -0600
  • 4b30dc4573 lifecycle: if lif_config.allow_addon_scripts is disabled, don't run addon scripts Ariadne Conill 2020-09-14 17:26:45 -0600
  • c1c9115e5d tokenize: fix tokenization of equals Ariadne Conill 2020-09-14 17:24:44 -0600
  • b4e35c442e multicall: load config file data as early as possible Ariadne Conill 2020-09-14 17:18:45 -0600
  • 5b27d8408c config file: don't print warning if config file cannot be opened Ariadne Conill 2020-09-14 17:17:03 -0600
  • 02d044c391 libifupdown: add config file loader Ariadne Conill 2020-09-14 17:15:18 -0600
  • fafa5ed7f9 libifupdown: add abstract config parser implementation Ariadne Conill 2020-09-14 17:01:42 -0600
  • 537a56414a tokenize: consider = to be equivalent to whitespace Ariadne Conill 2020-09-14 16:50:31 -0600
  • f9d0fbb4c3 ifupdown-ng 0.9.0. ifupdown-ng-0.9.0 Ariadne Conill 2020-09-11 02:46:28 -0600
  • 67da195f9f
    Merge pull request #62 from BarbarossaTM/batman Ariadne Conill 2020-09-11 02:45:11 -0600
  • aba546cf8e Merge branch 'feature/udhcpc-hostname-script-client' into master Ariadne Conill 2020-09-11 02:43:58 -0600
  • b4b0889c7a tests: add test for hostname subshell Ariadne Conill 2020-09-11 02:43:32 -0600
  • 6048d65d87
    Merge pull request #73 from ifupdown-ng/feature/udhcpc-hostname-script-client Ariadne Conill 2020-09-11 02:40:29 -0600
  • 5d4e3699b2 dhcp: evaluate IF_HOSTNAME for shell fragments Ariadne Conill 2020-09-11 02:33:54 -0600
  • a7e27ffa2c dhcp: support IF_HOSTNAME, IF_SCRIPT and IF_CLIENT for udhcpc Ariadne Conill 2020-09-11 02:31:22 -0600
  • e15f3ffbaa
    Merge pull request #72 from ifupdown-ng/feature/depgraph-rdepends Maximilian Wilhelm 2020-09-10 18:06:29 +0200
  • e754e836af tests: add tests for auto interface skipping Ariadne Conill 2020-09-09 20:46:50 -0600
  • ceb82f4fd2 ifupdown: only display skip messages in verbose mode Ariadne Conill 2020-09-09 19:38:29 -0600
  • a6e022ad99 lifecycle: re-sort the interface collection by hand Ariadne Conill 2020-09-09 19:21:41 -0600
  • 258e2e8a52 lifecycle: return the maximum tree depth for the dependency tree when counting depth Ariadne Conill 2020-09-09 18:11:10 -0600
  • 8c8727e30f lifecycle: drop redundant lif_lifecycle_query_dependents(). Ariadne Conill 2020-09-09 17:40:57 -0600
  • 2569503afa lifecycle: add lif_lifecycle_count_rdepends(), which calculates reverse dependency depth Ariadne Conill 2020-09-09 17:39:26 -0600
  • a5eebda391 ifquery: include reverse dependency count in dot output Ariadne Conill 2020-09-09 17:14:58 -0600
  • 67dce280d7 interface: add lif_interface.rdepends_count Ariadne Conill 2020-09-09 17:13:11 -0600
  • 04a65c5c38
    Merge pull request #69 from BarbarossaTM/feature/create-destroy Ariadne Conill 2020-09-09 16:53:20 -0600
  • 0674a70c35 batman executor: Fix typo Maximilian Wilhelm 2020-09-10 00:42:35 +0200
  • e02e495257 bridge executor: Add depend phase Maximilian Wilhelm 2020-09-10 00:05:32 +0200
  • d9e78e14fb tests: Update tests to reflect create/destroy phase. Maximilian Wilhelm 2020-09-09 23:36:11 +0200
  • af94d760d0 Update executors to reflect new create/destroy phase. Maximilian Wilhelm 2020-09-10 00:48:35 +0200
  • 35e03475e4 batman executor: Use create/destroy phases Maximilian Wilhelm 2020-09-10 00:40:57 +0200
  • e6c6f49143 lifecycle: remove redundant lif_state_upsert() call Ariadne Conill 2020-09-09 16:00:53 -0600
  • be9857f66f
    Merge pull request #70 from ifupdown-ng/feature/iface-executor-tracing Ariadne Conill 2020-09-09 15:52:06 -0600
  • 5a0b53cd73 libifupdown: add interface being run for each executor Ariadne Conill 2020-09-09 15:50:16 -0600
  • bdc66bcba9
    Merge pull request #67 from ifupdown-ng/feature/create-destroy Ariadne Conill 2020-09-09 14:41:52 -0600
  • ce6954d628 ifupdown-executor man page: add create/destroy phases Ariadne Conill 2020-09-09 14:39:40 -0600
  • 00da19a381 lifecycle: add create/destroy phases Ariadne Conill 2020-09-09 14:36:07 -0600
  • 277ecaf78a
    Merge pull request #66 from ifupdown-ng/feature/refcounting Ariadne Conill 2020-09-09 14:27:18 -0600
  • 885126174d ifupdown: consistently update the state file when exiting Ariadne Conill 2020-09-09 14:18:16 -0600
  • 6999a125c8 state: include limits.h Ariadne Conill 2020-09-09 13:27:34 -0600
  • c021b9420f state: ensure rc is set to 1 if strtoul() fails Ariadne Conill 2020-09-09 11:56:19 -0600
  • 910985cd22 tests: supply --force where appropriate Ariadne Conill 2020-09-08 19:25:50 -0600
  • 3b178131bd state: sync refcounts using mapped interface name, not physical interface name Ariadne Conill 2020-09-08 19:25:00 -0600
  • b514d31c26 ifupdown: implement --force Ariadne Conill 2020-09-08 19:17:00 -0600
  • efe9b60e37 ifupdown: skip interface config/deconfig based on refcounts Ariadne Conill 2020-09-08 19:10:20 -0600
  • 8de83fdd9a tests: add tests for deferred interface teardown (refcounting) Ariadne Conill 2020-09-08 16:02:24 -0600
  • f139bc2416 lifecycle: consider an interface eligible for takedown if it has only one dependent (itself) Ariadne Conill 2020-09-08 15:50:32 -0600
  • ca07082ff4 state: fix parsing interface names in ifstate files Ariadne Conill 2020-09-08 15:37:35 -0600
  • 6603ff1000 lifecycle: use refcounting to defer interface teardown Ariadne Conill 2020-09-08 15:28:36 -0600
  • 288976f015 libifupdown: introduce lif_state_ref_if() and lif_state_unref_if(). Ariadne Conill 2020-09-08 15:05:02 -0600
  • 865bf7cac6 state: plug memory leak when upserting Ariadne Conill 2020-09-08 15:02:39 -0600
  • 8e4eb5d00c state: migrate to lif_state_record from a bare dictionary containing the mapped ifs Ariadne Conill 2020-09-08 14:59:58 -0600
  • 923b96fab8 state: use lif_next_token() when parsing ifstate files Ariadne Conill 2020-09-08 14:46:07 -0600
  • 3b10494b40 change lif_interface.is_up to lif_interface.refcount Ariadne Conill 2020-09-08 14:41:25 -0600
  • 30fa4c4a2e
    Merge pull request #65 from ifupdown-ng/chore/constify Ariadne Conill 2020-09-07 13:42:50 -0600
  • ae1dc41c88 lifecycle: constify lif_interface access in several functions Ariadne Conill 2020-09-07 13:41:11 -0600
  • 017a12760c batman executor: Only create/delete iface if (not) present. Maximilian Wilhelm 2020-09-05 01:52:43 +0200
  • be6ce3c319 Add executor for managing B.A.T.M.A.N. adv. interfaces Maximilian Wilhelm 2020-09-05 00:35:04 +0200
  • 9784392a68
    Merge pull request #61 from BarbarossaTM/link Maximilian Wilhelm 2020-09-05 00:29:31 +0200
  • 32b7dda832 tests: Add test for dummy link creation. Maximilian Wilhelm 2020-09-05 00:28:12 +0200
  • 4a05010539 tests: Fix vlan_explicit_depend_body. Maximilian Wilhelm 2020-09-05 00:24:40 +0200
  • aa3e94acf8 link executor: Make link deletion MOCKable again. Maximilian Wilhelm 2020-09-05 00:18:43 +0200
  • d24b4ab3e6 link executor: Make dummy creation MOCKable, too Maximilian Wilhelm 2020-09-05 00:15:26 +0200
  • 37a7d8f097 link executor: Make vlan disposal MOCKable again Maximilian Wilhelm 2020-09-05 00:15:01 +0200
  • 58f010fe91 tests: Reflect latest link executor changes Maximilian Wilhelm 2020-09-04 23:45:49 +0200
  • 2e6b3ca1ff link executor: Better error message on conflicting link types. Maximilian Wilhelm 2020-09-04 23:33:27 +0200
  • a6b95d495c link executor: Only gather and set IFACE_OPTIONS on up. Maximilian Wilhelm 2020-09-04 23:32:51 +0200