/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add addconn
"addconn": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--leftupdown=
"addconn--leftupdown=": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--leftupdown=quotes
"addconn--leftupdown=quotes": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--leftupdown=%disabled
"addconn--leftupdown=%disabled": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--leftupdown=my-updown
conn 'addconn--leftupdown=my-updown': not found (tried aliases)
west #
 ipsec add addconn--leftupdown=left
"addconn--leftupdown=left": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--rightupdown=right
"addconn--rightupdown=right": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--type=passthrough
"addconn--type=passthrough": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--type=passthrough--leftupdown=left
"addconn--type=passthrough--leftupdown=left": warning: leftupdown=left ignored when never negotiate
"addconn--type=passthrough--leftupdown=left": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack                                      --host 1.2.3.4 --to --host 5.6.7.8
"whack": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--updown=from  --updown=from          --host 1.2.3.4 --to --host 5.6.7.8
"whack--updown=from": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--pass               --pass                --host 1.2.3.4 --to --host 5.6.7.8
"whack--pass": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--pass--updown=from  --pass --updown=from  --host 1.2.3.4 --to --host 5.6.7.8
"whack--pass--updown=from": warning: leftupdown=from ignored when never negotiate
"whack--pass--updown=from": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec connectionstatus | sed -n -e '/: .*updown=/ s/  */ /gp' | sort
"addconn--leftupdown=%disabled": leftupdown=<disabled>; rightupdown=ipsec _updown;
"addconn": leftupdown=ipsec _updown; rightupdown=ipsec _updown;
"addconn--leftupdown=left": leftupdown=left; rightupdown=ipsec _updown;
"addconn--leftupdown=": leftupdown=<disabled>; rightupdown=ipsec _updown;
"addconn--leftupdown=quotes": leftupdown=<disabled>; rightupdown=ipsec _updown;
"addconn--rightupdown=right": leftupdown=ipsec _updown; rightupdown=right;
"addconn--type=passthrough": leftupdown=<disabled>; rightupdown=<disabled>;
"addconn--type=passthrough--leftupdown=left": leftupdown=<disabled>; rightupdown=<disabled>;
"whack": leftupdown=ipsec _updown; rightupdown=ipsec _updown;
"whack--pass": leftupdown=<disabled>; rightupdown=<disabled>;
"whack--pass--updown=from": leftupdown=<disabled>; rightupdown=<disabled>;
"whack--updown=from": leftupdown=from; rightupdown=ipsec _updown;
west #
 
