1.5

Table Of Contents
rel="edit"
type="application/vnd.vmware.admin.networkPool+xml"
href="https://vcloud.example.com/api/admin/extension/networkPool/70" />
<vcloud:Link
rel="remove"
href="https://vcloud.example.com/api/admin/extension/networkPool/70" />
<vcloud:Description>Example isolation-backed network pool</vcloud:Description>
<vcloud:Tasks>
<vcloud:Task
status="running"
...
operation="Creating Network Pool 70 ..."
...
</vcloud:Task>
</vcloud:Tasks>
...
</vmext:VMWNetworkPool>
Create a Portgroup-Backed Network Pool
To create a portgroup-backed network pool, you create a VMWNetworkPool element whose type attribute has the
value PortGroupPoolType, and POST the element to your cloud's add link for networkPools.
Prerequisites
n
Verify that you are logged in as a system administrator.
n
Verify that you know your cloud's add URL for networkPools. See “Create a Network Pool,” on
page 183.
n
Verify that at least one vCenter server attached to your cloud has network resources available. See
“Retrieve a List of Network Resources from a vCenter Server,” on page 170
Procedure
1 Choose a vCenter server to provide a portgroup for the network pool.
2 Create a VMWNetworkPool element that specifies the properties of the network pool.
See the request portion of “Example: Create a Portgroup-Backed Network Pool,” on page 187.
3 POST the VMWNetworkPool element you created in Step 2 to your cloud's add URL for networkPools. See
“Create a Network Pool,” on page 183.
See the request portion of “Example: Create a Portgroup-Backed Network Pool,” on page 187.
Example: Create a Portgroup-Backed Network Pool
Request:
POST https://vcloud.example.com/api/admin/extension/networkPools
Content-Type: application/vnd.vmware.admin.networkPool+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<vmext:VMWNetworkPool
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="vmext:PortGroupPoolType"
name="example-portgroup-pool"
Chapter 7 Using vCloud API Extensions to Provision and Manage a Cloud
VMware, Inc. 187