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.

You can create only an IPv4 isolated organization VDC network.

This operation requires the rights included in the predefined Organization Administrator role or an equivalent set of rights.

1

Create an OrgNetwork element.

Specify a value of isolated in the FenceMode element of the network Configuration. See the request portion of Example: Create an Isolated Organization VDC Network.

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.

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.

This example adds an isolated network to the organization VDC created in Add a VDC to an Organization. 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>
      </IpScopes>
      <FenceMode>isolated</FenceMode>
   </Configuration>
   <ServiceConfig>
      <DhcpService>
         <IsEnabled>false</IsEnabled>
         <DefaultLeaseTime>3600</DefaultLeaseTime>
         <MaxLeaseTime>7200</MaxLeaseTime>
         <IpRange>
            <StartAddress>192.168.0.2</StartAddress>
            <EndAddress>192.168.0.99</EndAddress>
         </IpRange>
      </DhcpService>
   </ServiceConfig>
</OrgVdcNetwork>

Response:

201 Created
Content-Type: application/vnd.vmware.vcloud.orgVdcNetwork+xml
...
<OrgVdcNetwork
   xmlns="http://www.vmware.com/vcloud/v1.5"
   name="Isolated"
   type="application/vnd.vmware.vcloud.orgVdcNetwork+xml"
   href="https://vcloud.example.com/api/admin/network/60"...>
   <Link
      rel="edit"
      type="application/vnd.vmware.vcloud.orgVdcNetwork+xml"
      href="https://vcloud.example.com/api/admin/network/60" />
   <Link
      rel="remove"
      href="https://vcloud.example.com/api/admin/network/60" />
   <Link
      rel="up"
      type="application/vnd.vmware.admin.vdc+xml"
      href="https://vcloud.example.com/api/admin/vdc/44" />
   <Link
      rel="down"
      type="application/vnd.vmware.vcloud.metadata+xml"
      href="https://vcloud.example.com/api/admin/network/60/metadata" />
   <Link
      rel="down"
      type="application/vnd.vmware.vcloud.allocatedNetworkAddress+xml"
      href="https://vcloud.example.com/api/admin/network/60/allocatedAddresses/" />
   <Description>Isolated Organization Vdc Network</Description>
   <Tasks>
      <Task
         name="task"
         status="running"
         operation="Creating Network Isolated(60)"
         ...
      </Task>
   </Tasks>
   <Configuration>
      ...
   </Configuration>
   <ServiceConfig>
      <DhcpService>
         <IsEnabled>false</IsEnabled>
         <DefaultLeaseTime>3600</DefaultLeaseTime>
         <MaxLeaseTime>7200</MaxLeaseTime>
         <IpRange>
            <StartAddress>192.168.0.2</StartAddress>
            <EndAddress>192.168.0.99</EndAddress>
         </IpRange>
      </DhcpService>
   </ServiceConfig>
</OrgVdcNetwork>