1.5

Table Of Contents
name="netpool_vc1"
href="https://vcloud.example.com/api/admin/extension/networkPool/313" />
<AllowedExternalIpAddresses />
</OrgNetwork>
Modify the OrgNetwork response to create a new request body. Modifications shown here include the following:
n
Link elements, href attributes, and other content that the server adds to a response but ignores in a request
have been removed.
n
The reference to the NetworkPool and ParentNetwork have been removed. These references cannot be
changed after the network is created. If you include them in a request, they are ignored.
n
Aan IpsecVpnService element has been inserted into the network's Features.
n
The Description has been adjusted.
To update the network with these modifications, PUT the modified OrgNetwork to the network's edit URL
Request:
PUT https://vcloud.example.com/api/admin/network/59
Content-Type: application/vnd.vmware.admin.orgNetwork+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<OrgNetwork
xmlns="http://www.vmware.com/vcloud/v1.5"
name="RoutedOrgNetwork" >
<Description>NAT-routed organization network with VPN</Description>
<Configuration>
<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>
<FenceMode>natRouted</FenceMode>
<Features>
<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>
<FirewallService>
<IsEnabled>true</IsEnabled>
<DefaultAction>allow</DefaultAction>
<LogDefaultAction>false</LogDefaultAction>
<FirewallRule>
vCloud API Programming Guide
134 VMware, Inc.