Commit graph

286 commits

Author SHA1 Message Date
Ariadne Conill
6d15f21073 interface: handle is_bridge and is_bond hacks in a single place 2020-08-20 04:07:51 -06:00
Ariadne Conill
aba140a977 interface-file: use bsearch to find parser functions 2020-08-20 04:04:34 -06:00
Ariadne Conill
4a11d4fdd8 interface-file: break out source keyword handling 2020-08-20 03:46:31 -06:00
Ariadne Conill
df9c0284b1 interface-file: let commands initialize the interface collection themselves 2020-08-20 03:45:56 -06:00
Ariadne Conill
b57aba1a97 interface-file: split out auto keyword handling 2020-08-20 03:41:07 -06:00
Ariadne Conill
d36a522470 interface-file: add and use report_error() 2020-08-20 03:34:59 -06:00
Ariadne Conill
a7dc005b8d
Merge pull request #34 from ifupdown-ng/feature/vrf-static-route
vrf static route support
2020-08-20 03:21:44 -06:00
Ariadne Conill
4fdd91beee test: add test for vrf static route support 2020-08-20 03:20:26 -06:00
Ariadne Conill
0928f07af5 interface-file: imply static executor use if gateway is specified 2020-08-20 03:20:07 -06:00
Ariadne Conill
e5c592f2c1 remove lif_interface.is_dhcp too 2020-08-20 03:14:57 -06:00
Ariadne Conill
846df3272f remove lif_interface.is_static, no longer used 2020-08-20 03:10:26 -06:00
Ariadne Conill
d463d455da simplify executor use statements 2020-08-20 03:08:29 -06:00
Ariadne Conill
9caffc01c2 static executor: if vrf-table is set, apply the static route to a specific table 2020-08-20 02:59:43 -06:00
Ariadne Conill
184526401b
Merge pull request #33 from ifupdown-ng/feature/gre-executor
gre executor
2020-08-20 02:43:53 -06:00
Ariadne Conill
c86952ce71 tests: add gre executor tests 2020-08-20 02:40:27 -06:00
Ariadne Conill
6d2ae938d1 tests: add ifquery test for gre dependency learning 2020-08-20 02:33:51 -06:00
Ariadne Conill
d31f8614a3 gre executor: fix dependency learning 2020-08-20 02:33:38 -06:00
Ariadne Conill
8f057286d3 add gre executor 2020-08-20 02:30:12 -06:00
Ariadne Conill
b08b52939f
Merge pull request #32 from ifupdown-ng/feature/tunnel-generic
tunnel: improve validation of options
2020-08-20 02:10:16 -06:00
Ariadne Conill
cd1b0d5833 tunnel: improve validation of options 2020-08-20 02:09:31 -06:00
Ariadne Conill
59ba50ba4e
Merge pull request #30 from ifupdown-ng/feature/tunnel-generic
generic tunnel executor
2020-08-19 06:25:26 -06:00
Ariadne Conill
93116920da tests: verify ttl is remapped to tunnel-ttl 2020-08-19 06:20:16 -06:00
Ariadne Conill
075352b631 interface-file: remap ttl to tunnel-ttl 2020-08-19 06:20:15 -06:00
Ariadne Conill
0238051052 tests: add tunnel executor tests 2020-08-19 06:19:55 -06:00
Ariadne Conill
5fb1b4b26c tunnel executor: support mocking 2020-08-19 06:19:41 -06:00
Ariadne Conill
953666f1fb tests: add tests for managing the tunnel executor 2020-08-19 06:19:39 -06:00
Ariadne Conill
c24143982f interface-file: map 'mode' to tunnel-mode 2020-08-19 06:19:05 -06:00
Ariadne Conill
a4f147b5d0 tests: add some tunnel configuration fixtures 2020-08-19 06:18:44 -06:00
Ariadne Conill
36271e8657 build: install tunnel executor by default 2020-08-19 06:18:44 -06:00
Ariadne Conill
9cc74b58c4 interface-file: remap legacy ifupdown & ifupdown2 tunnel parameters 2020-08-19 06:18:40 -06:00
Ariadne Conill
ac56a85074
Merge pull request #31 from ifupdown-ng/feature/ppp
ppp executor
2020-08-19 06:17:44 -06:00
Ariadne Conill
e18ab114e0 ppp: add support for ifupdown2 ppp-physdev for dependency learning 2020-08-19 06:16:37 -06:00
Ariadne Conill
c2465344d5 tests: add ppp executor tests 2020-08-19 06:15:00 -06:00
Ariadne Conill
472319b847 add ppp executor 2020-08-19 06:12:27 -06:00
Ariadne Conill
0dd8dc1b0e tests: add ifquery tests for ppp 2020-08-19 06:09:05 -06:00
Ariadne Conill
dd02502461 tests: add ppp fixtures 2020-08-19 06:05:29 -06:00
Ariadne Conill
823544aace interface-file: map ppp-provider 2020-08-19 06:03:48 -06:00
Maximilian Wilhelm
aa11601893
Merge pull request #29 from ifupdown-ng/feature/ifupdown2-keyword-rewrite
add compatibility with problematic ifupdown2 terms
2020-08-19 10:21:56 +02:00
Ariadne Conill
71290da711 tests: add ifupdown2 vrf configuration fixture, and some tests against it 2020-08-19 02:14:08 -06:00
Ariadne Conill
cb03eb1ee9 interface-file: remap problematic ifupdown2 tokens to our equivalents 2020-08-19 02:10:54 -06:00
Ariadne Conill
eeb40fc689 libifupdown: move ARRAY_SIZE() declaration from multicall 2020-08-19 01:58:41 -06:00
Ariadne Conill
56323828a9
Merge pull request #28 from ifupdown-ng/feature/vrf-executor
VRF executor implementation
2020-08-18 20:35:54 -06:00
Ariadne Conill
3e427a1327
Merge pull request #24 from ifupdown-ng/feature/admin-guide
Feature/admin guide
2020-08-18 20:35:17 -06:00
Ariadne Conill
a08df1249b admin guide: formatting fixes, discuss executors 2020-08-18 20:33:44 -06:00
Ariadne Conill
2c37b22d70 tests: add fixture & test for VRF topology learning 2020-08-18 16:52:11 -06:00
Ariadne Conill
ba98705c8f tests: add tests for VRF executor 2020-08-18 16:28:34 -06:00
Ariadne Conill
ba2ad348ff executor scripts: add vrf executor 2020-08-18 16:16:46 -06:00
Ariadne Conill
a2a532c8ba
Merge pull request #27 from ifupdown-ng/feature/link-mtu
link: support `mtu` parameter (like debian)
2020-08-18 16:01:06 -06:00
Ariadne Conill
962ef0d415 link: support mtu parameter (like debian) 2020-08-18 15:57:01 -06:00
Ariadne Conill
d6c7bdb299 README: link to admin guide 2020-08-18 15:26:14 -06:00