tests: add some tunnel configuration fixtures
This commit is contained in:
parent
36271e8657
commit
a4f147b5d0
3 changed files with 30 additions and 0 deletions
10
tests/fixtures/tunnel-ifupdown2.interfaces
vendored
Normal file
10
tests/fixtures/tunnel-ifupdown2.interfaces
vendored
Normal 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
10
tests/fixtures/tunnel-legacy.interfaces
vendored
Normal 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
10
tests/fixtures/tunnel.interfaces
vendored
Normal 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
|
Loading…
Reference in a new issue