testing: Migrated ha/both-active scenario to vici

This commit is contained in:
Andreas Steffen
2021-03-30 18:57:49 +02:00
parent 5c22e94f0f
commit 511b860916
18 changed files with 140 additions and 113 deletions
+8 -6
View File
@@ -9,12 +9,14 @@ moon::iptables-restore < /etc/iptables.rules
alice::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
dave::iptables-restore < /etc/iptables.rules
moon::ipsec start
alice::ipsec start
moon::cd /etc/swanctl; rm rsa/moonKey.pem x509/moonCert.pem
alice::cd /etc/swanctl; rm rsa/aliceKey.pem x509/aliceCert.pem
moon::systemctl start strongswan
alice::systemctl start strongswan
alice::sleep 1
carol::ipsec start
dave::ipsec start
carol::systemctl start strongswan
dave::systemctl start strongswan
carol::expect-connection home
dave::expect-connection home
carol::ipsec up home
dave::ipsec up home
carol::swanctl --initiate --child home
dave::swanctl --initiate --child home