5.1

Table Of Contents
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.
Machines outside of this organization vDC have no connectivity to machines within the organization.
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 173.
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 173.
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 173.
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 140. 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>
<IsInherited>false</IsInherited>
<Gateway>192.168.0.1</Gateway>
<Netmask>255.255.255.0</Netmask>
<Dns1>10.147.115.1</Dns1>
<DnsSuffix>example.com</DnsSuffix>
<IpRanges>
<IpRange>
<StartAddress>192.168.0.100</StartAddress>
<EndAddress>192.168.0.199</EndAddress>
</IpRange>
</IpRanges>
</IpScope>
Chapter 6 Creating and Managing Organizations
VMware, Inc. 173