Maximilian Wilhelm
b75e509f3d
vxlan: Add support for PTMP setups and rename options to vxlan-peer-{ip,group}
...
This commit adds support for configuring static PTMP overlays with VXLAN by
allowing to specify multiple IPs for »vxlan-peer-ips«. If more than one IP
is given ifupdown-ng will set up additional FDB entries for all peer IPs and
the Linux Kernel will do ingres / head-end replication for BUM traffic.
For a cleaner naming schema and simliar names to commercial vendor CLIs the
options to specify unicast or multicast peers have been renamed and aliases
added for compatibility to previous versions of ifupdown-ng:
* »vxlan-remote-ip« now is named »vxlan-peer-ips«
* »vxlan-remote-group« now is called »vxlan-peer-group«
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-10-16 15:27:30 +02:00
Ariadne Conill
aee2d45e18
static: use ip addr|route flush instead of manually deleting matching routes
...
This ensures we wind up with a clean slate for the interface or VRF when taking
interfaces/VRFs down.
Closes #149 .
2021-04-22 01:43:12 -06:00
Ariadne Conill
0755f7c32d
tests: add regression test for #148
2021-04-07 09:38:31 -06:00
Maximilian Wilhelm
667943f46c
Add support for MPLS on Linux
...
Closes #135
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-30 23:29:52 +02:00
Maximilian Wilhelm
bec5fcefce
tunnel executor: Add support for ip6gretap tunnels
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-25 21:17:05 +01:00
Maximilian Wilhelm
cea9840651
Add tests for bond executor
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-24 15:06:22 +01:00
Maximilian Wilhelm
2cec4ed05c
tunnel executor: Make sure mode/type is 1st parameter
...
Closes #143
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2021-03-18 20:20:01 +01:00
Ariadne Conill
ffcf1976b8
tests: add tests for forward executor
2020-12-16 06:23:38 -07:00
Ariadne Conill
cef4fafdb9
Merge pull request #129 from BarbarossaTM/feature/dhcp-config
...
Rename dhcp related interface options to dhcp-* and allow interface specific config file
2020-12-02 11:57:19 -07:00
Ariadne Conill
b10094eae7
tests: ifquery: add tests to verify stanza merging works as expected
2020-12-02 11:42:45 -07:00
Ariadne Conill
0dd7756df2
tests: add fixture illustrating how smart stanza merging should work
2020-12-02 11:17:41 -07:00
Ariadne Conill
e1fb4c6087
tests: ifquery: add tests for checking the default netmasks
2020-12-02 10:59:40 -07:00
Maximilian Wilhelm
ff8e5d392c
dhcp: Fix test
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-11-30 22:38:55 +01:00
Ariadne Conill
7911944633
tests: add getopt regression test for multicall stub
2020-11-19 03:28:51 -07:00
Ariadne Conill
c8dad76fe1
tests: ifquery: add testcases for ifquery -U
2020-11-04 12:23:14 -07:00
Ariadne Conill
959617df88
tests: add dependency loop breaking test for ifdown
2020-10-08 02:09:30 -06:00
Ariadne Conill
0cade539f8
tests: ifup: add dependency loop breaking test
2020-10-08 02:05:43 -06:00
Ariadne Conill
b2e657cdf0
tests: add dependency loop fixture
2020-10-08 02:00:18 -06:00
Maximilian Wilhelm
4a8230f916
tests: Update static executor test to reflect latest change.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 04:49:46 +02: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
48c87e34c1
tests: Use tabs not spaces.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-06 03:35:42 +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
Ariadne Conill
cc06712611
Merge pull request #94 from ifupdown-ng/bugfix/hetzner-ipv6-default-route-is-link-local
...
static: always associate default routes with $IFACE
2020-10-02 15:46:03 -06:00
Ariadne Conill
74b6f9487c
static: always associate default routes with $IFACE
...
Hetzner uses link-local addressing for their default IPv6 route,
accordingly we should specify the device a route is associated with
so that it will use the correct interface.
Thanks to Devin Brown for reporting this issue.
2020-10-02 15:44:46 -06:00
Maximilian Wilhelm
ee582ac9b0
vxlan: Add tests
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-02 02:25:55 +02:00
Maximilian Wilhelm
0a0252d218
ethtool: Fix tests
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-23 01:43:25 +02:00
Ariadne Conill
566732321d
tests: ethtool: add tests for coalesce settings
2020-09-21 10:21:43 -06:00
Ariadne Conill
a69c81b6be
tests: ethtool: add dma ring tests
2020-09-21 09:38:39 -06:00
Ariadne Conill
c19def3764
tests: ethtool: add offload tests
2020-09-21 09:18:08 -06:00
Ariadne Conill
e8a2aab7e1
tests: ethtool: add tests for pause parameters
2020-09-21 09:10:40 -06:00
Ariadne Conill
0a58383ed8
tests: ethtool: add tests for basic link settings, wol and autoneg
2020-09-21 08:55:20 -06:00
Ariadne Conill
b4b0889c7a
tests: add test for hostname subshell
2020-09-11 02:43:32 -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
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
Ariadne Conill
910985cd22
tests: supply --force where appropriate
2020-09-08 19:25:50 -06:00
Ariadne Conill
8de83fdd9a
tests: add tests for deferred interface teardown (refcounting)
2020-09-08 16:02:24 -06:00
Maximilian Wilhelm
32b7dda832
tests: Add test for dummy link creation.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-05 00:28:12 +02:00
Maximilian Wilhelm
4a05010539
tests: Fix vlan_explicit_depend_body.
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-05 00:24:40 +02:00
Maximilian Wilhelm
58f010fe91
tests: Reflect latest link executor changes
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-09-04 23:54:40 +02:00
Ariadne Conill
acb555b75a
tests: add wireguard tests
2020-09-04 13:10:57 -06:00
Ariadne Conill
7edb29778b
tests: add udhcp-opts related tests
2020-09-03 16:11:41 -06:00
Ariadne Conill
68415ce71d
link executor: add support for hwaddress option
2020-08-26 02:22:30 -06:00
Ariadne Conill
cca3608ad7
link tests: switch back to up/down from pre-up/post-down
2020-08-25 08:17:58 -06:00
Ariadne Conill
db5d2b8afd
link tests: fix phasing
2020-08-24 11:08:42 -06:00
Ariadne Conill
050ab77bd3
tests: add vlan-complex.interface and ifquery test for it
2020-08-24 10:06:06 -06:00
Ariadne Conill
14e2fecc20
tests: add vlan-named.interfaces fixture
2020-08-24 03:33:57 -06:00
Ariadne Conill
1384b38c78
interface: use link executor on vlans too
2020-08-24 03:06:32 -06:00
Ariadne Conill
8e7c935cdf
link executor tests: test vlan dependency learning
2020-08-24 03:01:38 -06:00
Ariadne Conill
badcccaa5b
link executor: integrate physical vlan configuration
2020-08-24 02:58:39 -06:00