VMware Cloud Director API - SubnetParticipationType

VMware Cloud Director API - SubnetParticipationType

SubnetParticipationType

Type:
SubnetParticipationType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Allows to chose which subnets a gateway can be part of
Since:
5.1
Schema:
network.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<SubnetParticipationType xmlns="http://www.vmware.com/vcloud/v1.5">
    <Gateway> IpAddressType </Gateway>
    <Netmask> IpAddressType </Netmask>
    <SubnetPrefixLength> xs:int </SubnetPrefixLength>
    <IpAddress> IpAddressType </IpAddress>
    <IpRanges>
        <IpRange>
            <StartAddress> IpAddressType </StartAddress>
            <EndAddress> IpAddressType </EndAddress>
        </IpRange>
    </IpRanges>
    <UseForDefaultRoute> xs:boolean </UseForDefaultRoute>
    <TotalIpCount> xs:int </TotalIpCount>
    <AutoAllocateIpRanges> xs:boolean </AutoAllocateIpRanges>
</SubnetParticipationType>

Elements

Element Type Required Modifiable Since Deprecated Description
AutoAllocateIpRanges boolean No always 33.0 Used for create and update api calls. If set to true, IP Ranges are automatically generated based on totalIpCount.
Gateway IpAddressType Yes always 5.1 Gateway for subnet
IpAddress IpAddressType No always 5.1 IP Address to be assigned. Keep empty or omit element for auto assignment
IpRanges IpRangesType No always 5.1 Range of IP addresses available for external interfaces.
Netmask IpAddressType Yes always 5.1 Nestmask for the subnet
SubnetPrefixLength int No always 31.0 Subnet prefix length for IPv6
TotalIpCount int No always 33.0 Total count of IP addresses in IP ranges for the subnet. Can be used to auto set IP ranges for subnet if AutoAllocateIpRanges set to true.
UseForDefaultRoute boolean No always 14.0 True if this subnet is default route for the gateway. Defaults to True if this is the only subnet for this gateway. Otherwise defaults to False if omitted or empty.
VCloudExtension VCloudExtensionType No always 5.1 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.