DhcpServiceType

Element:
DhcpService
Type:
DhcpServiceType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Represents a DHCP network service.
Since:
Schema:
network.xsd
Media type(s):
None
Extends:
NetworkServiceType
XML Representation:
<DhcpService xmlns="http://www.vmware.com/vcloud/v1.5">
    <IsEnabled> xs:boolean </IsEnabled>
    <DefaultLeaseTime> xs:int </DefaultLeaseTime>
    <MaxLeaseTime> xs:int </MaxLeaseTime>
    <IpRange>
        <StartAddress> IpAddressType </StartAddress>
        <EndAddress> IpAddressType </EndAddress>
    </IpRange>
    <RouterIp> IpAddressType </RouterIp>
    <SubMask> IpAddressType </SubMask>
    <PrimaryNameServer> xs:string </PrimaryNameServer>
    <SecondaryNameServer> xs:string </SecondaryNameServer>
    <DomainName> xs:string </DomainName>
</DhcpService>

Elements

Element Type Required Modifiable Since Deprecated Description
DefaultLeaseTime int No always Default lease in seconds for DHCP addresses.
DomainName string No always 5.1 The domain name.
IpRange IpRangeType Yes always IP range for DHCP addresses.
IsEnabled boolean No always Enable or disable the service using this flag
MaxLeaseTime int Yes always Max lease in seconds for DHCP addresses.
PrimaryNameServer string No always 5.1 The primary name server.
RouterIp IpAddressType No always 5.1 Router IP.
SecondaryNameServer string No always 5.1 The secondary name server.
SubMask IpAddressType No always 5.1 The subnet mask.
VCloudExtension VCloudExtensionType No always An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.