mirror of https://github.com/apache/cloudstack.git
[4.7] FIX Site2SiteVPN on redundant VPCThis PR: - fixes the inability to setup more than one Site2Site VPN connection from a VPC - fixes starting of Site2Site VPN on redundant VPC - fixes Site2Site VPN state checking on redundant VPC - improves the vpc_vpn test to allow multple hypervisors - adds an integration test for Site2Site VPN on redundant VPC Tested it on 4.7 single Xen server zone: command: ``` nosetests --with-marvin --marvin-config=/data/shared/marvin/mct-zone1-xen1.cfg -a tags=advanced,required_hardware=true /tmp/test_vpc_vpn.py ``` results: ``` Test Site 2 Site VPN Across redundant VPCs ... === TestName: test_01_redundant_vpc_site2site_vpn | Status : SUCCESS === ok Test Remote Access VPN in VPC ... === TestName: test_01_vpc_remote_access_vpn | Status : SUCCESS === ok Test Site 2 Site VPN Across VPCs ... === TestName: test_01_vpc_site2site_vpn | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 3 tests in 1490.076s OK ``` also performed numerous manual inspections of state of VPN connections and connectivity between VPC's * pr/1276: Fix unable to setup more than one Site2Site VPN Connection FIX S2S VPN rVPC: Check only redundant routers in state MASTER PEP8 of integration/smoke/test_vpc_vpn Add S2S VPN test for Redundant VPC Make integration/smoke/test_vpc_vpn Hypervisor independant FIX VPN: non-working ipsec commands Signed-off-by: Remi Bergsma <github@remi.nl> |
||
|---|---|---|
| .. | ||
| cs | ||
| baremetal-vr.py | ||
| baremetal_snat.sh | ||
| bumpup_priority.sh | ||
| checkbatchs2svpn.sh | ||
| checkrouter.sh | ||
| checks2svpn.sh | ||
| cloud-nic.sh | ||
| configure.py | ||
| cs_cmdline.py | ||
| cs_dhcp.py | ||
| cs_firewallrules.py | ||
| cs_forwardingrules.py | ||
| cs_guestnetwork.py | ||
| cs_ip.py | ||
| cs_loadbalancer.py | ||
| cs_monitorservice.py | ||
| cs_network_acl.py | ||
| cs_remoteaccessvpn.py | ||
| cs_site2sitevpn.py | ||
| cs_staticroutes.py | ||
| cs_vmdata.py | ||
| cs_vmp.py | ||
| cs_vpnusers.py | ||
| dnsmasq.sh | ||
| edithosts.sh | ||
| get_template_version.sh | ||
| ilb.sh | ||
| ipassoc.sh | ||
| ipsectunnel.sh | ||
| line_edit.py | ||
| loadbalancer.sh | ||
| master.py | ||
| merge.py | ||
| monitor_service.sh | ||
| netusage.sh | ||
| passwd_server | ||
| passwd_server_ip | ||
| passwd_server_ip.py | ||
| patchsystemvm.sh | ||
| prepare_pxe.sh | ||
| savepassword.sh | ||
| set_redundant.py | ||
| test.sh | ||
| update_config.py | ||
| vmdata.py | ||
| vpc_func.sh | ||
| vpc_netusage.sh | ||
| vpc_passwd_server | ||
| vpc_snat.sh | ||
| vpc_staticroute.sh | ||
| vr_cfg.sh | ||