GitHub user wilderrodrigues opened a pull request: https://github.com/apache/cloudstack/pull/1151
[4.6] CLOUDSTACK-9075 - As a Developer I want the Private GW feature fixed on single VPCs This PR fixes the issue we faced with Private Gateways on single VPC when using ACS 4.6.0 and onwards. The root cause: during the VR refactor, the static routes configuration was left unimplemented. This PR also improves the existing Replace ACL test and adds a new test, that cover the Private Gateway in a more complete way. The new test does the following: 1. Create 2 VPCs 2. Create 2 Tiers - 1 per VPC 3. Deploy 2 VMs - 1 per Tier 4. Acquire 2 pub IPs - 1 per VPC 5. Create 2 PF rules - 1 per pub IP 6. Create 2 ACLs + rules - 1 per VPC 7. Assign new ACLs to Tiers 8. Create 2 Private GWs - 1 per VPC 9. Replace the Pvt GWs ACLs 10. Create 2 Static routes - 1 per Pvt GW 11. SSH into VM1 (VPC1) and from there ping VM2 (VPC2) There is also a test for Private Gateways on Redundant VPCs. But I found out that the feature is broken in when used with rVPCs. It will be addressed in a separate Issue/PR. I'm running the tests. Will post results as soon as they are ready. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ekholabs/cloudstack fix/private_gw_rVPC-CLOUDSTACK-9075 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1151.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1151 ---- commit 4ea4e7e687527cc8c06489d4deaedf4ed1c3c91c Author: Wilder Rodrigues <wrodrig...@schubergphilis.com> Date: 2015-11-19T11:03:32Z CLOUDSTACK-9075 - Add method to get list of Physical Networks per zone commit 3e02b8999bb7f1f79d99b32955c842fbda4d29a9 Author: Wilder Rodrigues <wrodrig...@schubergphilis.com> Date: 2015-11-19T11:04:01Z CLOUDSTACK-9075 - Covers Private GW ACL with Redundant VPCs commit a17fa48de1cfa4f0f4425f90b0f435d6cf8e6540 Author: Wilder Rodrigues <wrodrig...@schubergphilis.com> Date: 2015-11-19T11:28:32Z CLOUDSTACK-9075 - Adds VPC static routes test - Adds redundant VPC tests - Adds support to Static Routes on VPC private gatways - Removes the route configuration in case static route is deleted. commit 6d9a3d82f9b617d40d0ee1472bef87cb630595d6 Author: Wilder Rodrigues <wrodrig...@schubergphilis.com> Date: 2015-12-02T06:30:06Z CLOUDSTACK-9075 - Uses the same vlan since it should have been already released - After the first test is done, the clean up will delete the whole VPC, also releasing the VLAN that was in use. ---- --- 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. ---