testing: added swanctl scenarios net2net-pubkey, rw-pubkey-keyid and rw-dnssec
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
moon::iptables-restore < /etc/iptables.rules
|
||||
carol::iptables-restore < /etc/iptables.rules
|
||||
dave::iptables-restore < /etc/iptables.rules
|
||||
moon::cd /etc/swanctl; rm x509/* x509ca/*
|
||||
carol::cd /etc/swanctl; rm x509/* x509ca/*
|
||||
dave::cd /etc/swanctl; rm x509/* x509ca/*
|
||||
moon::service charon start 2> /dev/null
|
||||
carol::service charon start 2> /dev/null
|
||||
dave::service charon start 2> /dev/null
|
||||
moon::expect-connection rw-carol
|
||||
carol::expect-connection home
|
||||
carol::swanctl --initiate --child home 2> /dev/null
|
||||
dave::expect-connection home
|
||||
dave::swanctl --initiate --child home 2> /dev/null
|
||||
Reference in New Issue
Block a user