testing: Converted tnc scenarios to swanctl
This commit is contained in:
@@ -7,11 +7,13 @@ carol::cat /etc/tnc_config
|
||||
dave::cat /etc/tnc_config
|
||||
carol::echo 0 > /proc/sys/net/ipv4/ip_forward
|
||||
dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id
|
||||
alice::ipsec start
|
||||
moon::ipsec start
|
||||
carol::ipsec start
|
||||
dave::ipsec start
|
||||
alice::rm /etc/swanctl/rsa/aliceKey.pem
|
||||
alice::rm /etc/swanctl/x509/aliceCert.pem
|
||||
alice::service charon start
|
||||
moon::service charon start
|
||||
carol::service charon start
|
||||
dave::service charon start
|
||||
carol::expect-connection home
|
||||
carol::ipsec up home
|
||||
carol::swanctl --initiate --child home 2> /dev/null
|
||||
dave::expect-connection home
|
||||
dave::ipsec up home
|
||||
dave::swanctl --initiate --child home 2> /dev/null
|
||||
|
||||
Reference in New Issue
Block a user