1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 Copyright 2016-2019 VMware Inc.
4 This file is part of ETSI OSM
7 Licensed under the Apache License, Version 2.0 (the "License"); you may
8 not use this file except in compliance with the License. You may obtain
9 a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16 License for the specific language governing permissions and limitations
19 For those usages not covered by the Apache License, Version 2.0 please
20 contact: osslegalrouting@vmware.com
22 <InstantiateVAppTemplateParams xmlns=
"http://www.vmware.com/vcloud/v1.5" xmlns:
ovf=
"http://schemas.dmtf.org/ovf/envelope/1" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" name=
"{}" deploy=
"false" powerOn=
"false">
23 <Description>Vapp instantiation
</Description>
25 <NetworkConfigSection>
26 <ovf:Info>Configuration parameters for logical networks
</ovf:Info>
27 <NetworkConfig networkName=
"{}">
29 <ParentNetwork href=
"{}" />
30 <FenceMode>bridged
</FenceMode>
33 </NetworkConfigSection>
34 <LeaseSettingsSection type=
"application/vnd.vmware.vcloud.leaseSettingsSection+xml">
35 <ovf:Info>Lease Settings
</ovf:Info>
36 <StorageLeaseInSeconds>172800</StorageLeaseInSeconds>
37 <StorageLeaseExpiration>2014-
04-
25T08:
08:
16.438-
07:
00</StorageLeaseExpiration>
38 </LeaseSettingsSection>
39 </InstantiationParams>
42 <Source href=
"{}" id=
"{}" name=
"{}" type=
"application/vnd.vmware.vcloud.vm+xml" />
44 <NeedsCustomization>false
</NeedsCustomization>
47 <NetworkConnectionSection>
48 <ovf:Info>Specifies the available VM network connections
</ovf:Info>
49 <NetworkConnection network=
"{}">
50 <NetworkConnectionIndex>0</NetworkConnectionIndex>
51 <IsConnected>true
</IsConnected>
52 <IpAddressAllocationMode>DHCP
</IpAddressAllocationMode>
54 </NetworkConnectionSection>
55 <ovf:VirtualHardwareSection>
56 <ovf:Info>Virtual hardware requirements
</ovf:Info>
57 <ovf:Item xmlns:
rasd=
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:
vmw=
"http://www.vmware.com/schema/ovf">
58 <rasd:AllocationUnits>hertz *
10^
6</rasd:AllocationUnits>
59 <rasd:Description>Number of Virtual CPUs
</rasd:Description>
60 <rasd:ElementName xmlns:
py=
"http://codespeak.net/lxml/objectify/pytype" py:
pytype=
"str">{cpu} virtual CPU(s)
</rasd:ElementName>
61 <rasd:InstanceID>4</rasd:InstanceID>
62 <rasd:Reservation>0</rasd:Reservation>
63 <rasd:ResourceType>3</rasd:ResourceType>
64 <rasd:VirtualQuantity xmlns:
py=
"http://codespeak.net/lxml/objectify/pytype" py:
pytype=
"int">{cpu}
</rasd:VirtualQuantity>
65 <rasd:Weight>0</rasd:Weight>
66 <vmw:CoresPerSocket ovf:
required=
"false">{core}
</vmw:CoresPerSocket>
68 <ovf:Item xmlns:
rasd=
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">
69 <rasd:AllocationUnits>byte *
2^
20</rasd:AllocationUnits>
70 <rasd:Description>Memory Size
</rasd:Description>
71 <rasd:ElementName xmlns:
py=
"http://codespeak.net/lxml/objectify/pytype" py:
pytype=
"str">{memory} MB of memory
</rasd:ElementName>
72 <rasd:InstanceID>5</rasd:InstanceID>
73 <rasd:Reservation>0</rasd:Reservation>
74 <rasd:ResourceType>4</rasd:ResourceType>
75 <rasd:VirtualQuantity xmlns:
py=
"http://codespeak.net/lxml/objectify/pytype" py:
pytype=
"int">{memory}
</rasd:VirtualQuantity>
76 <rasd:Weight>0</rasd:Weight>
78 </ovf:VirtualHardwareSection>
79 </InstantiationParams>
81 <AllEULAsAccepted>false
</AllEULAsAccepted>
82 </InstantiateVAppTemplateParams>