5.5

Table Of Contents
2 Choose an external network to use for the Edge Gateway's initial uplink interface.
This external network must be one of the networks listed in the AvailableNetworks element of the
Provider VDC that backs the organization VDC in which you are creating the Edge Gateway. Follow
these steps to find a suitable external network.
a Retrieve the XML representation of the organization VDC in which you are creating the Edge
Gateway.
Use a request like this one:
GET https://vcloud.example.com/api/admin/vdc/44
The ProviderVdcReference element in the response contains a reference to the Provider VDC that
backs this organization VDC.
<AdminVdc ...>
...
<ProviderVdcReference
type="application/vnd.vmware.admin.providervdc+xml"
name="PVDC-Example"
href="https://vcloud.example.com/api/admin/extension/providervdc/35"
...
</AdminVdc>
b Retrieve the the XML representation of the Provider VDC.
Use a request like this one:
GET https://vcloud.example.com/api/admin/extension/providervdc/35
The AvailableNetworks element in the response lists the external networks that are available to that
Provider VDC, and to all the organization VDCs that it supports.
<vmext:VMWProviderVdc ... >
...
<vcloud:AvailableNetworks>
<vcloud:Network
type="application/vnd.vmware.admin.network+xml"
name="VC1-VLAN48"
href="https://vcloud.example.com/api/admin/network/297" />
<vcloud:Network ... />
<vcloud:Network ... />
</vcloud:AvailableNetworks>
...
</vmext:VMWProviderVdc>
Choose an available external network to provide the initial interface for the new Edge Gateway.
See “Example: Create an Edge Gateway,” on page 174 for more information about criteria for
choosing an external network.
3 Create an EdgeGateway element.
In the GatewayInterfaces element, create a GatewayInterface element that defines an uplink interface.
n
Specify uplink for the InterfaceType.
n
Include the external network reference you retrieved in Step 2 in the Network element.
n
If you plan to create a NAT service or load balancer service in the Edge Gateway, you must create
an IP sub-allocation for the uplink by including a SubnetParticipation element in the
GatewayInterface element. IP addresses in the range you specify in this element are reserved for
use by this Edge Gateway.
Chapter 6 Creating and Managing Organizations
VMware, Inc. 173