1.5

Table Of Contents
The response is a Task element. When the task is complete, the network is updated.
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ...
operation="Updating Network RoutedOrgNetwork (59)" ... >
...
</Task>
Create an Isolated Organization Network
An isolated organization network is accessible only by the organization for which it is created. Only virtual
machines in this organization can connect to and see traffic on the isolated network.
Prerequisites
n
Verify that you are logged in as a system administrator.
n
Retrieve the list of network pools. See “External Networks and Network Pools,” on page 121 for
information about how to retrieve these lists.
Procedure
1 Choose a network pool on which to base the internal (inside the firewall) part of the new network.
2 Create an OrgNetwork element.
Specify the name and href of the network pool you chose in Step 1 in the NetworkPool element of this
OrgNetwork. See the request portion of “Example: Create an Isolated Organization Network,” on
page 136.
3 POST the OrgNetwork element you created in Step 2 to the URL for adding networks to the organization.
See the request portion of “Example: Create an Isolated Organization Network,” on page 136.
The server creates the new organization network, and returns an OrgNetwork element that includes the contents
you POSTed, along with a set of Link elements that you can use to access, remove, or modify it. Users can
reference this network using the URL specified in the href attribute of the Link where rel="alternate". The
new network is added to the list of Networks shown in the AdminOrg element that represents the organization.
See the response portion of “Example: Create an Isolated Organization Network,” on page 136.
Example: Create an Isolated Organization Network
This example adds an isolated network with a DHCP service to the organization created in “Example: Create
an Organization,” on page 113. The Configuration does not need a ParentNetwork element. All the resources
needed by the network come from the specified NetworkPool. Set the FenceMode to isolated.
Request:
POST https://vcloud.example.com/api/admin/org/26/networks
Content-Type: application/vnd.vmware.admin.orgNetwork+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<OrgNetwork
name="IsolatedOrgNet"
xmlns="http://www.vmware.com/vcloud/v1.5">
<Description>Isolated Organization Network</Description>
<Configuration>
<FenceMode>isolated</FenceMode>
vCloud API Programming Guide
136 VMware, Inc.