/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 # east is within the last 60s of IPsec SA lifetime
west #
 sleep 5
west #
 ipsec auto --down west-east-auto
"west-east-auto": terminating SAs using this connection
"west-east-auto" #2: deleting IPsec SA (QUICK_R2) and sending notification
"west-east-auto" #2: ESP traffic information: in=0B out=0B
"west-east-auto" #1: deleting ISAKMP SA (MAIN_R3) and sending notification
west #
 sleep 5
west #
 # east should have brought up tunnel again
west #
 ipsec trafficstatus
#4: "west-east-auto", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
west #
 # confirm traffic flow over proper IPsec SA
west #
 ../../guestbin/ping-once.sh --up -I 192.1.2.45 192.1.2.23
PING 192.1.2.23 (192.1.2.23) from 192.1.2.45 : 56(84) bytes of data.
--- 192.1.2.23 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time XXXX
rtt min/avg/max/mdev = 0.XXX/0.XXX/0.XXX/0.XXX ms
west #
