/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add east
"east": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 # road came up, east should now have an interface
east #
 ip link show dev ipsec1
X: ipsec1@eth1: <NOARP,UP,LOWER_UP> mtu 1500 state UNKNOWN
east #
 ipsec trafficstatus
#2: "east", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@road'
east #
 # check the interface is gone now that road is gone - apparently not?
east #
 ip link show dev ipsec1
X: ipsec1@eth1: <NOARP,UP,LOWER_UP> mtu 1500 state UNKNOWN
east #
 # check with connection removed
east #
 ipsec auto --delete east
"east": terminating SAs using this connection
"east": delete ipsec-interface=ipsec1 if_id=1 added by pluto
east #
 ip link show dev ipsec1
Device "ipsec1" does not exist.
east #
 
