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
Ariadne Conill
4f7063ba0f
state: add lif_state_record::is_explicit
2020-10-21 08:15:52 -06:00
Ariadne Conill
817262fa33
lifecycle: skip parent interfaces marked as explicitly configured when going down
...
these interfaces will be taken down by ifdown itself when appropriate
2020-10-21 08:11:45 -06:00
Ariadne Conill
b201f351ec
interface: auto interfaces are always explicit
2020-10-21 08:09:21 -06:00
Ariadne Conill
9bcf914250
interface: add lif_interface::is_explicit
2020-10-21 08:06:59 -06:00
Maximilian Wilhelm
c810cd5817
doc: Add ifupdown-ng.conf(5) man page on global options.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 23:43:17 +02:00
Maximilian Wilhelm
e5d9ee25fc
doc: Update bridge man page on vlan-aware options.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 23:25:42 +02:00
Maximilian Wilhelm
02a74985ab
bridge: Rework vlan handling
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 21:29:50 +02:00
Maximilian Wilhelm
fb1d3181fe
bridge: STP option for iproute2 has to be 0 or 1.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 21:28:10 +02:00
Maximilian Wilhelm
ab7b1f5d24
compat: Fix build failure.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 05:36:45 +02:00
Maximilian Wilhelm
480fc5eecb
compat: Only create interface when configured to do so.
...
Add config option <compat_create_interfaces>:
Denotes where or not to create interfaces when compat_* settings are
active and it would be necessary to create an interface to be fully
compliant. This could happen when inheriting bridge VLAN settings to
an interface within a bridges bridge-ports setting but no interface
stanza is found. Valid values are 0 and 1, the default is 1.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 05:14:03 +02:00
Maximilian Wilhelm
d86297f29c
compat: Add glue for ifupdown2 bridge port VLAN inheritance.
...
Add config options <compat_ifupdown2_bridge_ports_inherit_vlans>.
In ifupdown2 <bridge-vids> as well as the <bridge-pvid> set on a bridge
interface will be inherited by all member ports if not set explicitly.
When set to 1 ifupdown-ng behaves the same way and will internally copy
both options from the bridge member ports if they are not set on the
member port. Valid values are 0 and 1, the default is 1.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 04:58:23 +02: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
a5761afd70
bridge: Remove fall back to IF_REQUIRES
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-18 03:28:20 +02:00
Ariadne Conill
05a3b1539b
bridge: add support for bridge-vids (with inheritance), bridge-access and bridge-pvid
2020-10-18 03:28:20 +02:00
Ariadne Conill
03528b01ad
bridge: remove hack for alpine vlan scripts (not relevant to us)
2020-10-18 03:28:20 +02:00
Ariadne Conill
3d743f512f
bridge: add support for bridge-vlan-aware in iproute2 mode
2020-10-18 03:28:20 +02:00
Ariadne Conill
6c5d856ac4
bridge: remove support for gcint (noop in modern kernels), use iproute2 commands for all bridge configuration if present
2020-10-18 03:28:20 +02:00
Ariadne Conill
36eb6e3377
bridge: check if iproute2 is available and use it to configure bridge options
2020-10-18 03:28:20 +02:00
Ariadne Conill
e7ee26ac19
bridge: use iproute commands to create and assign bridge ports
2020-10-18 03:28:20 +02:00
Maximilian Wilhelm
80a590ca33
Merge pull request #114 from BarbarossaTM/feature/compatiblity-layer
...
Introduce compatibility layer framework
2020-10-18 03:27:46 +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
509b75bc73
openrc: use --auto selector when determining which interfaces to start ( closes #112 )
2020-10-17 05:20:10 -06:00
Ariadne Conill
3e6129907c
ifupdown-ng 0.10.0.
2020-10-15 16:03:44 -06:00
Ariadne Conill
e6de8465de
Merge pull request #110 from ifupdown-ng/feature/normalize-dhcp-hostname
...
dhcp hostname normalization
2020-10-14 12:50:29 -06:00
Ariadne Conill
47f74997a7
admin guide: document use_hostname_for_dhcp
.
2020-10-14 05:23:22 -06:00
Ariadne Conill
4aa2749737
add a config option to disable automatically setting the dhcp hostname
2020-10-14 05:21:15 -06:00
Ariadne Conill
a210cf6a66
interface: set a default hostname property
2020-10-14 05:11:12 -06:00
Ariadne Conill
aec7dad1c1
interface-file: add special handler for hostname keyword
2020-10-14 05:04:06 -06:00
Ariadne Conill
086eca2b4e
Merge pull request #109 from ifupdown-ng/feature/include-loop-detection
...
refactor config file management
2020-10-14 04:54:47 -06:00
Ariadne Conill
f6fe06298f
doc: interfaces: document source and source-directory options
2020-10-14 04:29:25 -06:00
Ariadne Conill
ee5e8b5702
interface-file: implement source-directory
2020-10-14 04:26:26 -06:00