testing: Use renamed systemd unit
While the alias is available after enabling the unit, we don't actually do that in our testing environment (adding a symlink manually would work too, then again, why not just use the proper name?).
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
moon::swanctl --terminate --ike gw-gw
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
sun::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
sun::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
sun::iptables-restore < /etc/iptables.flush
|
||||
moon::ip tunnel del gre-moon
|
||||
|
||||
@@ -10,8 +10,8 @@ sun::ip link set gre-sun up
|
||||
sun::ip route add 10.1.0.0/16 dev gre-sun
|
||||
sun::iptables -A FORWARD -i gre-sun -j ACCEPT
|
||||
sun::iptables -A FORWARD -o gre-sun -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
sun::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
sun::systemctl start strongswan
|
||||
moon::expect-connection gw-gw
|
||||
sun::expect-connection gw-gw
|
||||
moon::swanctl --initiate --child gre
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
moon::swanctl --terminate --ike gw-gw
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
sun::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
sun::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
sun::iptables-restore < /etc/iptables.flush
|
||||
moon::ip tunnel del vti-moon
|
||||
|
||||
@@ -12,8 +12,8 @@ sun::ip link set vti-sun up
|
||||
sun::ip route add 10.1.0.0/16 dev vti-sun
|
||||
sun::iptables -A FORWARD -i vti-sun -j ACCEPT
|
||||
sun::iptables -A FORWARD -o vti-sun -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
sun::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
sun::systemctl start strongswan
|
||||
moon::expect-connection gw-gw
|
||||
sun::expect-connection gw-gw
|
||||
moon::swanctl --initiate --child net-net
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
moon::swanctl --terminate --ike gw-gw
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
sun::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
sun::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
sun::iptables-restore < /etc/iptables.flush
|
||||
moon::ip -s link show xfrm-moon-out
|
||||
|
||||
@@ -7,8 +7,8 @@ moon::ip link set xfrm-moon-in up
|
||||
moon::ip route add 10.2.0.0/16 dev xfrm-moon-out
|
||||
moon::iptables -A FORWARD -o xfrm-moon-out -j ACCEPT
|
||||
moon::iptables -A FORWARD -i xfrm-moon-in -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
sun::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
sun::systemctl start strongswan
|
||||
moon::expect-connection gw-gw
|
||||
sun::expect-connection gw-gw
|
||||
moon::swanctl --initiate --child alice-net
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
moon::swanctl --terminate --ike gw-gw
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
sun::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
sun::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
sun::iptables-restore < /etc/iptables.flush
|
||||
moon::ip -s link show xfrm-moon
|
||||
|
||||
@@ -5,8 +5,8 @@ moon::ip link set xfrm-moon up
|
||||
moon::ip route add 10.2.0.0/16 dev xfrm-moon
|
||||
moon::iptables -A FORWARD -i xfrm-moon -j ACCEPT
|
||||
moon::iptables -A FORWARD -o xfrm-moon -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
sun::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
sun::systemctl start strongswan
|
||||
moon::expect-connection gw-gw
|
||||
sun::expect-connection gw-gw
|
||||
moon::swanctl --initiate --child net-net
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
moon::swanctl --terminate --ike gw-gw
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
sun::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
sun::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
sun::iptables-restore < /etc/iptables.flush
|
||||
moon::ip -s link show xfrm-moon-out
|
||||
|
||||
@@ -7,8 +7,8 @@ moon::ip link set xfrm-moon-in up
|
||||
moon::ip route add 10.2.0.0/16 dev xfrm-moon-out
|
||||
moon::iptables -A FORWARD -o xfrm-moon-out -j ACCEPT
|
||||
moon::iptables -A FORWARD -i xfrm-moon-in -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
sun::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
sun::systemctl start strongswan
|
||||
moon::expect-connection gw-gw
|
||||
sun::expect-connection gw-gw
|
||||
moon::swanctl --initiate --child net-net
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
carol::swanctl --terminate --ike home
|
||||
dave::swanctl --terminate --ike home
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
carol::systemctl stop strongswan-swanctl
|
||||
dave::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
carol::systemctl stop strongswan
|
||||
dave::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
carol::iptables-restore < /etc/iptables.flush
|
||||
dave::iptables-restore < /etc/iptables.flush
|
||||
|
||||
@@ -11,9 +11,9 @@ moon::ip link set vti0 up
|
||||
moon::"ip route add fec3:\:/16 dev vti0"
|
||||
moon::ip6tables -A FORWARD -i vti0 -j ACCEPT
|
||||
moon::ip6tables -A FORWARD -o vti0 -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
carol::systemctl start strongswan-swanctl
|
||||
dave::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
carol::systemctl start strongswan
|
||||
dave::systemctl start strongswan
|
||||
moon::expect-connection rw
|
||||
carol::expect-connection home
|
||||
carol::swanctl --initiate --child home
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
carol::swanctl --terminate --ike home
|
||||
dave::swanctl --terminate --ike home
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
carol::systemctl stop strongswan-swanctl
|
||||
dave::systemctl stop strongswan-swanctl
|
||||
moon::systemctl stop strongswan
|
||||
carol::systemctl stop strongswan
|
||||
dave::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
carol::iptables-restore < /etc/iptables.flush
|
||||
dave::iptables-restore < /etc/iptables.flush
|
||||
|
||||
@@ -7,9 +7,9 @@ moon::ip link set vti0 up
|
||||
moon::ip route add 10.3.0.0/28 dev vti0
|
||||
moon::iptables -A FORWARD -i vti0 -j ACCEPT
|
||||
moon::iptables -A FORWARD -o vti0 -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
carol::systemctl start strongswan-swanctl
|
||||
dave::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
carol::systemctl start strongswan
|
||||
dave::systemctl start strongswan
|
||||
moon::expect-connection rw
|
||||
carol::expect-connection home
|
||||
carol::swanctl --initiate --child home
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
carol::swanctl --terminate --ike home
|
||||
dave::swanctl --terminate --ike home
|
||||
moon::systemctl stop strongswan-swanctl
|
||||
carol::systemctl stop strongswan-swanctl
|
||||
dave::systemctl stop strongswan-swanctl
|
||||
carol::systemctl stop strongswan
|
||||
dave::systemctl stop strongswan
|
||||
moon::systemctl stop strongswan
|
||||
moon::iptables-restore < /etc/iptables.flush
|
||||
carol::iptables-restore < /etc/iptables.flush
|
||||
dave::iptables-restore < /etc/iptables.flush
|
||||
|
||||
@@ -6,9 +6,9 @@ moon::ip link set xfrm-moon up
|
||||
moon::ip route add 10.3.0.0/28 dev xfrm-moon
|
||||
moon::iptables -A FORWARD -i xfrm-moon -j ACCEPT
|
||||
moon::iptables -A FORWARD -o xfrm-moon -j ACCEPT
|
||||
moon::systemctl start strongswan-swanctl
|
||||
carol::systemctl start strongswan-swanctl
|
||||
dave::systemctl start strongswan-swanctl
|
||||
moon::systemctl start strongswan
|
||||
carol::systemctl start strongswan
|
||||
dave::systemctl start strongswan
|
||||
moon::expect-connection rw
|
||||
carol::expect-connection home
|
||||
carol::swanctl --initiate --child home
|
||||
|
||||
Reference in New Issue
Block a user