Commit graph

50 commits

Author SHA1 Message Date
Ariadne Conill
af25cedf33 interfaces: note automatic executor selection algorithm here too (closes #117) 2020-11-04 11:31:08 -07:00
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
8cae485ca7 docs: document ifstate 2020-10-24 09:00:26 -06:00
Ariadne Conill
dcbb3be15b doc: ifupdown-ng.conf.scd: escape the asterisk in compat_* 2020-10-24 08:40:49 -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
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
Ariadne Conill
47f74997a7 admin guide: document use_hostname_for_dhcp. 2020-10-14 05:23:22 -06:00
Ariadne Conill
f6fe06298f doc: interfaces: document source and source-directory options 2020-10-14 04:29:25 -06:00
Ariadne Conill
311ad74792 doc: document ifquery -r 2020-10-14 02:45:16 -06:00
Maximilian Wilhelm
68c51a79e7 doc: Add /etc/network/ifupdown-ng.conf to admin guide.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-14 00:12:47 +02:00
Maximilian Wilhelm
5db2f29891 docs: Fix format of VXLAN examples.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 21:00:14 +02:00
Ariadne Conill
6f588a01d5
Merge pull request #92 from BarbarossaTM/doc/manpage-update
Man pages for B.A.T.M.A.N. adv., bridges, ethtool, VRFs
2020-10-05 22:06:43 -04:00
Ariadne Conill
df6835bd62
Merge pull request #98 from BarbarossaTM/feature/pointopoint
static executor: Add support for IPv4 'pointopoint' addresses.
2020-10-05 22:04:58 -04:00
Maximilian Wilhelm
6dc43a2bb4 Let's use "point-to-point" and map "pointopoint" to it.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:03:27 +02:00
Maximilian Wilhelm
63a5503185 doc: Add a man page for PPP dial-up interfaces
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:01:52 +02:00
Maximilian Wilhelm
87fa1760be doc: Add a man page for Wireguard VPN tunnel interfaces
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:01:43 +02:00
Maximilian Wilhelm
596dd8165b doc: Reference CLI tool man pages in interfaces(5)
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 03:56:20 +02:00
Maximilian Wilhelm
05711db6ce doc: Add a man page for bridge interfaces
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 03:56:09 +02:00
Maximilian Wilhelm
adf0f9dd46 doc: Add a man page for B.A.T.M.A.N. adv. interfaces
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 03:55:55 +02:00
Maximilian Wilhelm
3d1d384a6b doc: Add man page for VRF related parameters
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 03:55:09 +02:00
Ariadne Conill
37299e312f
Merge pull request #87 from BarbarossaTM/feature/veth
Add support for veth interface pairs
2020-10-05 14:34:39 -06:00
Maximilian Wilhelm
9ee3a874d4 Add support for bonding / LAGs.
* Add a bond executor
  * Add mappings from ifupdown1/2
  * Add a detailed man page
  * Remove legacy compatiblity glue for setups with 'requires' only

  The current implementation has to work around the fact that member interfaces
  will be already up then the bond is created. This is simply done by downing
  them, adding them to the bundle and upping them again. This can possible be
  done in a nicer way after revisiting the ordering of plugin execution (#12).

  Closes #91

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-04 01:35:41 +02:00
Maximilian Wilhelm
67163c6561 static executor: Add support for IPv4 'pointopoint' addresses.
Closes #96

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-03 20:38:40 +02:00
Maximilian Wilhelm
7cf353dd22 doc: Polish VXLAN related documentation.
Thanks-to: Blake W.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-02 22:29:01 +02:00
Maximilian Wilhelm
704b2feecb doc: Move VXLAN documentation into own man page.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-02 21:24:21 +02:00
Maximilian Wilhelm
1f1d4f5bad man: Add documentation for VXLAN parameters.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-02 03:05:30 +02:00
Maximilian Wilhelm
f708bb1465 link executor: Add support for veth interfaces
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-25 22:04:53 +02:00
Ariadne Conill
a55ef85776 doc: interfaces: describe template inheritance 2020-09-24 15:19:53 -06:00
Ariadne Conill
f35242e5c7 admin guide: s/multi-homing/multiple addresses/ 2020-09-19 09:14:06 -06:00
Ariadne Conill
ce6954d628 ifupdown-executor man page: add create/destroy phases 2020-09-09 14:39:40 -06:00
Maximilian Wilhelm
6805262a9b link executor: Add support for interface aliases.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-04 09:14:45 +02:00
Maximilian Wilhelm
e51ce613e6 link executor: Add support for dummy interfaces.
closes #49

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-08-26 23:05:28 +02:00
Ariadne Conill
a08df1249b admin guide: formatting fixes, discuss executors 2020-08-18 20:33:44 -06:00
Ariadne Conill
fb38e22cd1 admin guide: expand on dependency relationships 2020-08-18 15:26:02 -06:00
Ariadne Conill
06e2d3b035 add admin guide 2020-08-18 15:13:53 -06:00
Ariadne Conill
9928beef68 doc: add ifctrstat(8) manpage 2020-08-18 14:32:07 -06:00
Ariadne Conill
8b00727370 interfaces.5: note that we are compatible with legacy ifupdown1 syntax 2020-08-04 12:09:57 -06:00
Ariadne Conill
369f3ff3c2 interfaces.5: document inherit option 2020-08-04 12:08:58 -06:00
Ariadne Conill
91115edeee ifupdown: use fcntl advisory locks to serialize state changes (closes #8) 2020-07-29 03:01:49 -06:00
Ariadne Conill
37b5c372f3 doc: add ifupdown-executor(7) manpage (closes #9) 2020-07-29 02:10:31 -06:00
Ariadne Conill
e1918f3fd5 ifupdown: add --force for compatibility with busybox ifupdown 2020-07-28 08:23:58 -06:00
Ariadne Conill
052156ac09 ifquery: add --property (ref #4) 2020-07-26 02:28:29 -06:00
Ariadne Conill
dca34ebba7 ifupdown: allow for the executor path to be changed 2020-07-25 02:22:27 -06:00
Ariadne Conill
475aeb2992 add docs for ifdown/ifup/interfaces too 2020-07-24 08:28:29 -06:00
Ariadne Conill
cebe24e1ec docs: properly format see also section 2020-07-24 07:55:29 -06:00
Ariadne Conill
bc48534814 add ifquery manpage 2020-07-24 07:48:14 -06:00
Ariadne Conill
85cab33148 clean up README a bit 2020-07-24 06:07:36 -06:00