/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 # connections are loaded and initiated via auto=start
east #
 echo "initdone"
initdone
east #
 # one IPsec SA should be up and one ISAKMP SA should be there
east #
 # on west no other states should be there, but on east there
east #
 # should be an attempt for the deleted IPsec SA to be restarted
east #
 ipsec whack --trafficstatus
006 #2: "west-east-auto2", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@west'
east #
 ipsec showstates | grep west-east
000 #5: "west-east-auto":500 STATE_MAIN_I4 (IKE SA established); REPLACE in XXs; newest; lastdpd=-1s(seq in:0 out:0); idle;
000 #6: "west-east-auto":500 STATE_QUICK_I1 (sent Quick Mode request); RETRANSMIT in XXs; lastdpd=-1s(seq in:0 out:0); idle;
000 #2: "west-east-auto2":500 STATE_QUICK_I2 (IPsec SA established); REPLACE in XXs; newest; eroute owner; ISAKMP SA #1; idle;
000 #2: "west-east-auto2" esp.ESPSPIi@192.1.2.45 esp.ESPSPIi@192.1.2.23 tun.0@192.1.2.45 tun.0@192.1.2.23 Traffic: ESPin=0B ESPout=0B ESPmax=2^63B 
east #
 
