tests: add some tunnel configuration fixtures

This commit is contained in:
Ariadne Conill 2020-08-19 03:00:17 -06:00
parent 36271e8657
commit a4f147b5d0
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,10 @@
auto tun0
iface tun0
tunnel-local 203.0.113.2
tunnel-endpoint 203.0.113.1
tunnel-physdev eth0
address 203.0.113.10/30
gateway 203.0.113.9
iface eth0
address 203.0.113.2/30

10
tests/fixtures/tunnel-legacy.interfaces vendored Normal file
View file

@ -0,0 +1,10 @@
auto tun0
iface tun0
local 203.0.113.2
endpoint 203.0.113.1
tunnel-dev eth0
address 203.0.113.10/30
gateway 203.0.113.9
iface eth0
address 203.0.113.2/30

10
tests/fixtures/tunnel.interfaces vendored Normal file
View file

@ -0,0 +1,10 @@
auto tun0
iface tun0
tunnel-local 203.0.113.2
tunnel-remote 203.0.113.1
tunnel-dev eth0
address 203.0.113.10/30
gateway 203.0.113.9
iface eth0
address 203.0.113.2/30