Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <vmext:VMWVdcTemplate xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="TemplateDHCP">
- <Description>VDC Template with Gateway</Description>
- <vmext:TenantName>VDCTemplate</vmext:TenantName>
- <vmext:TenantDescription>VdcTemplate</vmext:TenantDescription>
- <vmext:ProviderVdcReference
- href="https://example.com/api/admin/extension/providervdc/111" name="Silver Cluster" type="application/vnd.vmware.admin.providervdc+xml"/>
- <vmext:VdcTemplateSpecification xsi:type="vmext:VMWAllocationVappVdcTemplateSpecificationType">
- <NicQuota>100</NicQuota>
- <VmQuota>50</VmQuota>
- <ProvisionedNetworkQuota>100</ProvisionedNetworkQuota>
- <GatewayConfiguration>
- <Gateway name="theEdge">
- <Description>Edge Gateway defined by VDC template</Description>
- <EdgeGatewayType>NSXV_BACKED</EdgeGatewayType>
- <Configuration>
- <GatewayBackingConfig>compact</GatewayBackingConfig>
- <GatewayInterfaces>
- <GatewayInterface>
- <Name>uplink1</Name>
- <DisplayName>Uplink interface defined by VDC template</DisplayName>
- <Network href="https://example.com/api/admin/extension/externalnet/222"/>
- <InterfaceType>uplink</InterfaceType>
- <Connected>true</Connected>
- <QuickAddAllocatedIpCount>1</QuickAddAllocatedIpCount>
- </GatewayInterface>
- </GatewayInterfaces>
- <HaEnabled>false</HaEnabled>
- <UseDefaultRouteForDnsRelay>false</UseDefaultRouteForDnsRelay>
- <AdvancedNetworkingEnabled>true</AdvancedNetworkingEnabled>
- </Configuration>
- </Gateway>
- <Network name="RoutedOVDCNet">
- <Description>Routed through an Edge Gateway</Description>
- <Configuration>
- <IpScopes>
- <IpScope>
- <IsInherited>false</IsInherited>
- <Gateway>192.168.0.1</Gateway>
- <Netmask>255.255.255.0</Netmask>
- <IsEnabled>true</IsEnabled>
- <IpRanges>
- <IpRange>
- <StartAddress>192.168.0.100</StartAddress>
- <EndAddress>192.168.0.199</EndAddress>
- </IpRange>
- </IpRanges>
- </IpScope>
- </IpScopes>
- <FenceMode>natRouted</FenceMode>
- <Connected>true</Connected>
- </Configuration>
- <ProviderInfo>Default Provider Info</ProviderInfo>
- <VimPortGroupRef>
- <VimServerRef href="https://example.com/api/admin/extension/vimServer/333" id="urn:vcloud:vimserver:333" name="SD-VC" type="application/vnd.vmware.admin.vmwvirtualcenter+xml">
- </VimServerRef>
- <MoRef>dvportgroup-1551</MoRef>
- <VimObjectType>DV_PORTGROUP</VimObjectType>
- </VimPortGroupRef>
- </Network>
- </GatewayConfiguration>
- <StorageProfile name="Base vSSD">
- <Enabled>true</Enabled>
- <Units>MB</Units>
- <Limit>20972</Limit>
- <Default>true</Default>
- </StorageProfile>
- <vmext:ThinProvision>true</vmext:ThinProvision>
- <vmext:FastProvisioningEnabled>false</vmext:FastProvisioningEnabled>
- <vmext:NetworkPoolReference
- href="https://example.com/api/admin/extension/networkPool/444"/>
- <CpuAllocationMhz>2048</CpuAllocationMhz>
- <CpuLimitMhzPerVcpu>1000</CpuLimitMhzPerVcpu>
- <MemoryAllocationMB>2048</MemoryAllocationMB>
- <CpuGuaranteedPercentage>1</CpuGuaranteedPercentage>
- <MemoryGuaranteedPercentage>1</MemoryGuaranteedPercentage>
- </vmext:VdcTemplateSpecification>
- </vmext:VMWVdcTemplate>
Add Comment
Please, Sign In to add comment