/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-ipv4-psk-ikev2
002 "westnet-eastnet-ipv4-psk-ikev2": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 # east should have restarted and re-established the tunnel
east #
 ipsec whack --trafficstatus
006 #4: "westnet-eastnet-ipv4-psk-ikev2", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, id='@west'
east #
 # can be seen on east logs
east #
 hostname | grep west > /dev/null || grep "IKEv2 liveness:" /tmp/pluto.log
east #
 
