5.5

Table Of Contents
</Features>
</Configuration>
</NetworkConfig>
</NetworkConfigSection>
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... operation="Updating Virtual Application Linux FTP server (7)" ...>
...
</Task>
IMPORTANT Whenever you modify a vApp network, as we do in this example, you must be sure that the
modifications are consistent with the network connection requirements of the virtual machines in the vApp.
The vApp in this example contains a single virtual machine. Its NetworkConnection element, shown in
“Example: Configuration Links in a Vm Element,” on page 120, specifies an IP address that will not be
available after the vApp network is reconfigured as shown here. “Example: Update a
NetworkConnectionSection,” on page 135 corrects this problem. This example uses the IpScope element to
restrict the IP addresses available on a vApp network. It is usually more practical to use a wide range of
addresses available on a vApp network and apply any firewall-related IP address restrictions by modifying
the NetworkConnectionSection of the Vm to which the FirewallRules apply, as shown in “Example: Update a
NetworkConnectionSection,” on page 135. A wider range of IP addresses allows you to modify this vApp
to include additional virtual machines, and the IP address restriction applied in “Example: Update a
NetworkConnectionSection,” on page 135 allows the FirewallRules in this example to remain valid.
Network Services in vApp Networks
The Features element of a vApp NetworkConfigSection defines the network services available to virtual
machines in the vApp.
A vApp network can be configured to provide many of the same kinds of services available in an
organization VDC network. Configuration parameters for these services are similar to those of their
counterparts on an Edge Gateway, but scoped to the needs of a vApp network.
For more information about vCloud Director networks, see “About vCloud Director Networks,”
on page 169. For more information about network services for organization VDC networks, see “Configure
Edge Gateway Services,” on page 177
DHCP Service
A DhcpService element defines an IP address range and lease policies for a DHCP service that can be used
by to virtual machines in the vApp. Unlike a DHCP service in an Edge Gateway, it can support only a single
IP address range, as shown in this example.
<DhcpService>
<IsEnabled>true</IsEnabled>
<DefaultLeaseTime>3600</DefaultLeaseTime>
<MaxLeaseTime>7200</MaxLeaseTime>
<IpRange>
<StartAddress>192.168.3.2</StartAddress>
<EndAddress>192.168.3.99</EndAddress>
</IpRange>
</DhcpService>
Chapter 5 Deploying and Operating vApps
VMware, Inc. 131