Github user jayapalu commented on the pull request: https://github.com/apache/cloudstack/pull/872#issuecomment-167932695 @remibergsma @kishankavala @terbolous @bhaisaab Added all the required tests below. Please review the PR. nosetests-2.7 --with-marvin --marvin-config=/Users/jayapalreddy/advanced-acs.cfg /Users/jayapalreddy/dev/ccp/internal-cloudstack/test/integration/smoke/test_vpc_vpn.py: -a tags=advanced --zone=zone1 --hypervisor=xenserver ==== Marvin Init Started ==== === Marvin Parse Config Successful === === Marvin Setting TestData Successful=== ==== Log Folder Path: /tmp//MarvinLogs//Dec_29_2015_17_38_50_UWQR0C. All logs will be available here ==== === Marvin Init Logging Successful=== ==== Marvin Init Successful ==== Downloading Template: tiny-xen from: http://10.147.28.7/templates/macchinina-xen.vhd.bz2 Retrieving default VPC offering VPC 34f02162-2a74-4cfd-abe9-4c49963448bd created Network 390e967e-76a6-4295-bfe3-f7e5979f941d created in VPC 34f02162-2a74-4cfd-abe9-4c49963448bd Deployed virtual machine: OK Acquired public ip address: OK Created Remote Access VPN: OK Created VPN User: OK Deleted the Remote Access VPN: OK 309.452 Cleaning up resources Downloading Template: tiny-xen from: http://10.147.28.7/templates/macchinina-xen.vhd.bz2 VPC1 4069f201-9b8c-4f88-be3a-854f950b116a created VPC2 27d2d1f4-b259-4054-b86c-42b523697bdd created Network 6ea68fd2-00e6-466a-98fe-4afc3ef9388f created in VPC 4069f201-9b8c-4f88-be3a-854f950b116a Network 52080ba5-141a-447f-bdef-6743ab7fa28b created in VPC 27d2d1f4-b259-4054-b86c-42b523697bdd VM 70b15111-c747-4ace-8f77-6dc4eb4c4d7d deployed in VPC 4069f201-9b8c-4f88-be3a-854f950b116a VPN gateway for VPC 4069f201-9b8c-4f88-be3a-854f950b116a enabled VPN gateway for VPC 27d2d1f4-b259-4054-b86c-42b523697bdd enabled {'account': u'test-TestVpcSite2SiteVpn-test_vpc_remote_access_vpn-2065YX', 'domainid': u'a18845c6-a7c2-11e5-92c7-4d467782273c', 'name': u'Peer VPC1', 'cidrlist': u'10.1.0.0/16', 'ikepolicy': u'3des-md5;modp1536', 'esplifetime': 3600, 'id': u'b53267c1-f983-4743-b2c0-772ad18347d4', 'dpd': False, 'domain': u'ROOT', 'ikelifetime': 86400, 'ipsecpsk': u'ipsecpsk', 'esppolicy': u'3des-md5;modp1536', 'gateway': u'10.147.52.174'} {'account': u'test-TestVpcSite2SiteVpn-test_vpc_remote_access_vpn-2065YX', 'domainid': u'a18845c6-a7c2-11e5-92c7-4d467782273c', 'name': u'Peer VPC2', 'cidrlist': u'10.2.0.0/16', 'ikepolicy': u'3des-md5;modp1536', 'esplifetime': 3600, 'id': u'8c617821-08b6-438c-a4ca-77dc75a07498', 'dpd': False, 'domain': u'ROOT', 'ikelifetime': 86400, 'ipsecpsk': u'ipsecpsk', 'esppolicy': u'3des-md5;modp1536', 'gateway': u'10.147.52.176'} Creating NAT rule in network for vm with public IP Adding NetworkACL rules to make NAT rule accessible ====Trying SSH Connection: Host:10.147.52.177 User:root Port:22 RetryCnt:10=== ===SSH to Host 10.147.52.177 port : 22 SUCCESSFUL=== {Cmd: /bin/ping -c 3 -t 10 10.1.1.68 |grep packet|cut -d ' ' -f 7| cut -f1 -d'%' via Host: 10.147.52.177} {returns: [u'0']} ===final results are now copied to: /tmp//MarvinLogs/test_vpc_vpn_BFUI7X=== cat /tmp//MarvinLogs/test_vpc_vpn_BFUI7X/results.txt Test Remote Access VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS === ok Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 2 tests in 849.926s OK
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---