Hi to all,
here are requirements:
cloud implementation with vSphere, vCloud Director and Orchestrator
one customer = one organization = one vDC = one or more vApps (every vApp contains only one VM)
organizations, vDCs and VApps should be provisioned from Orchestrator
Isolation should be enabled between customers.
VPSs should be accessible using public IP address from Internet.
VPSs in same vDC should be accessible using private addresses.
Idea is to use VLAN isolation and to deploy Edge gateway in every vDC.
Organizational network will use static IP pool.
SNAT and DNAT rules (one to one IP address) will be implemented for every VPS.
How to automate Edge Gateway deploy and allocation of public addresses? To create NAT rules, public IP address range should be sub-allocated among gateways.
So, when vDC is created and Egde deployed, one public IP address should be assigned to it.
After that, public IP pool should be sub-allocated on that gateway and another IP address should be picked up and be assigned to NAT rules which will be used for first VPS in that vDC.
Provisioning of every other VPS in that vDC should sub-allocate public IP pool and take next available address and create NAT rules.
Any advice is welcome.
Jojz