Commit graph

13 commits

Author SHA1 Message Date
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
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
4aa2749737 add a config option to disable automatically setting the dhcp hostname 2020-10-14 05:21:15 -06:00
Ariadne Conill
ef3be06b38 openrc: add networking.confd describing the config options 2020-10-14 02:52:59 -06:00
Ariadne Conill
1668d17c6b openrc: use -S to consistently define the state database location 2020-10-14 02:48:51 -06:00
Ariadne Conill
fcea23dbcd openrc: use ifquery -r to determine which interfaces to stop 2020-10-14 02:47:52 -06:00
Ariadne Conill
89d84ec475 openrc: use ifquery -L for find_ifaces() 2020-10-14 02:38:05 -06:00
Ariadne Conill
3b7181cf28 import networking.initd from alpine 2020-10-14 02:32:05 -06:00
Maximilian Wilhelm
98ba7f46cf dist: Point out valid values and defaults in example config.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-14 00:12:47 +02:00
Maximilian Wilhelm
bd8ad91de6 Add files required for Debian packaging
* Systemd unit file for networking.service
 * Small wrapper script called by networking.service
 * Defaults file for networking.service

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-02 00:55:34 +02:00
Ariadne Conill
60d0ed34b8 interface: make interface-to-template conversion a config option (defaulting to enabled) 2020-09-23 19:07:52 -06:00
Ariadne Conill
5c5c316ebf interface: add config setting to restrict inheritance to template interfaces 2020-09-23 11:34:35 -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