5.5

Table Of Contents
name="theEdge"
href="https://vcloud.example.com/api/admin/edgeGateway/2000" />
<IsShared>true</IsShared>
</OrgVdcNetwork>
NOTE When the Task completes, the new network is represented in the EdgeGateway by a GatewayInterface
whose InterfaceType is Internal. Unlike the Uplink interface that you create when you create an
EdgeGateway, an internal interface cannot be created explicitly. It is created only as a side-effect of creating a
routed organization VDC network.
Create an Isolated Organization VDC Network
An isolated organization VDC network provides an isolated, private network that machines in the
organization VDC can connect to. This network provides no connectivity to machines outside this
organization VDC.
Prerequisites
n
Verify that you are logged in to the vCloud API as an organization administrator or system
administrator.
Procedure
1 Create an OrgNetwork element.
See the request portion of “Example: Create an Isolated Organization VDC Network,” on page 194.
2 POST the OrgNetwork element you created in Step 1 to the URL for adding networks to the organization
VDC
See the request portion of “Example: Create an Isolated Organization VDC Network,” on page 194.
The server takes the requested action and returns an XML representation of the partially-created object. This
representation includes an href attribute, properties specified in the creation request, and an embedded
Task element that tracks the creation of the object. When the task completes, the object has been created, and
you can use the value of the href attribute with a GET request to retrieve the XML representation of the
object.
See the response portion of “Example: Create an Isolated Organization VDC Network,” on page 194.
Example: Create an Isolated Organization VDC Network
This example adds an isolated network to the organization VDC created in “Add a VDC to an
Organization,” on page 161. It includes a ServiceConfig element that configures a DHCP service for the
network. This type of DHCP service is identical to the DHCP service supported for a vApp network, and
can specify only a single IP address range. No other network services can be created in an isolated
organization VDC network.
Request:
POST https://vcloud.example.com/api/admin/vdc/44/networks
Content-Type: application/vnd.vmware.vcloud.orgVdcNetwork+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<OrgVdcNetwork
name="Isolated"
xmlns="http://www.vmware.com/vcloud/v1.5">
<Description>Isolated Organization VDC Network</Description>
<Configuration>
<IpScopes>
<IpScope>
vCloud API Programming Guide
194 VMware, Inc.