Guest User

Untitled

a guest
Sep 13th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3.    <Description>VDC Template with Gateway</Description>
  4.    <vmext:TenantName>VDCTemplate</vmext:TenantName>
  5.    <vmext:TenantDescription>VdcTemplate</vmext:TenantDescription>
  6.    <vmext:ProviderVdcReference
  7.      href="https://example.com/api/admin/extension/providervdc/111" name="Silver Cluster" type="application/vnd.vmware.admin.providervdc+xml"/>
  8.       <vmext:VdcTemplateSpecification xsi:type="vmext:VMWAllocationVappVdcTemplateSpecificationType">
  9.          <NicQuota>100</NicQuota>
  10.          <VmQuota>50</VmQuota>
  11.          <ProvisionedNetworkQuota>100</ProvisionedNetworkQuota>
  12.          <GatewayConfiguration>
  13.             <Gateway name="theEdge">
  14.                <Description>Edge Gateway defined by VDC template</Description>
  15.                <EdgeGatewayType>NSXV_BACKED</EdgeGatewayType>
  16.                <Configuration>
  17.                   <GatewayBackingConfig>compact</GatewayBackingConfig>
  18.                   <GatewayInterfaces>
  19.                      <GatewayInterface>
  20.                         <Name>uplink1</Name>
  21.                         <DisplayName>Uplink interface defined by VDC template</DisplayName>
  22.                         <Network href="https://example.com/api/admin/extension/externalnet/222"/>
  23.                         <InterfaceType>uplink</InterfaceType>
  24.                         <Connected>true</Connected>
  25.                         <QuickAddAllocatedIpCount>1</QuickAddAllocatedIpCount>
  26.                      </GatewayInterface>
  27.                   </GatewayInterfaces>
  28.             <HaEnabled>false</HaEnabled>
  29.             <UseDefaultRouteForDnsRelay>false</UseDefaultRouteForDnsRelay>
  30.             <AdvancedNetworkingEnabled>true</AdvancedNetworkingEnabled>
  31.          </Configuration>
  32.       </Gateway>
  33.       <Network name="RoutedOVDCNet">
  34.          <Description>Routed through an Edge Gateway</Description>
  35.          <Configuration>
  36.             <IpScopes>
  37.                <IpScope>
  38.                   <IsInherited>false</IsInherited>
  39.                   <Gateway>192.168.0.1</Gateway>
  40.                   <Netmask>255.255.255.0</Netmask>
  41.                   <IsEnabled>true</IsEnabled>
  42.                   <IpRanges>
  43.                      <IpRange>
  44.                         <StartAddress>192.168.0.100</StartAddress>
  45.                         <EndAddress>192.168.0.199</EndAddress>
  46.                      </IpRange>
  47.                   </IpRanges>
  48.                </IpScope>
  49.             </IpScopes>
  50.             <FenceMode>natRouted</FenceMode>
  51.             <Connected>true</Connected>
  52.          </Configuration>
  53.          <ProviderInfo>Default Provider Info</ProviderInfo>
  54.          <VimPortGroupRef>
  55.             <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">
  56.             </VimServerRef>
  57.             <MoRef>dvportgroup-1551</MoRef>
  58.             <VimObjectType>DV_PORTGROUP</VimObjectType>
  59.          </VimPortGroupRef>
  60.       </Network>
  61.    </GatewayConfiguration>
  62.    <StorageProfile name="Base vSSD">
  63.       <Enabled>true</Enabled>
  64.       <Units>MB</Units>
  65.       <Limit>20972</Limit>
  66.       <Default>true</Default>
  67.    </StorageProfile>
  68.    <vmext:ThinProvision>true</vmext:ThinProvision>
  69.    <vmext:FastProvisioningEnabled>false</vmext:FastProvisioningEnabled>
  70.    <vmext:NetworkPoolReference
  71.      href="https://example.com/api/admin/extension/networkPool/444"/>
  72.       <CpuAllocationMhz>2048</CpuAllocationMhz>
  73.       <CpuLimitMhzPerVcpu>1000</CpuLimitMhzPerVcpu>
  74.       <MemoryAllocationMB>2048</MemoryAllocationMB>
  75.       <CpuGuaranteedPercentage>1</CpuGuaranteedPercentage>
  76.       <MemoryGuaranteedPercentage>1</MemoryGuaranteedPercentage>
  77.    </vmext:VdcTemplateSpecification>
  78. </vmext:VMWVdcTemplate>
Add Comment
Please, Sign In to add comment