ruby_vcloud_sdk 0.4.8 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +296 -0
  3. data/lib/ruby_vcloud_sdk.rb +0 -4
  4. data/lib/ruby_vcloud_sdk/catalog.rb +377 -0
  5. data/lib/ruby_vcloud_sdk/catalog_item.rb +26 -0
  6. data/lib/ruby_vcloud_sdk/client.rb +25 -882
  7. data/lib/ruby_vcloud_sdk/config.rb +1 -7
  8. data/lib/ruby_vcloud_sdk/connection/connection.rb +114 -54
  9. data/lib/ruby_vcloud_sdk/cpu.rb +11 -0
  10. data/lib/ruby_vcloud_sdk/disk.rb +55 -0
  11. data/lib/ruby_vcloud_sdk/edge_gateway.rb +32 -0
  12. data/lib/ruby_vcloud_sdk/infrastructure.rb +135 -0
  13. data/lib/ruby_vcloud_sdk/ip_ranges.rb +95 -0
  14. data/lib/ruby_vcloud_sdk/memory.rb +11 -0
  15. data/lib/ruby_vcloud_sdk/network.rb +32 -0
  16. data/lib/ruby_vcloud_sdk/powerable.rb +78 -0
  17. data/lib/ruby_vcloud_sdk/resources.rb +13 -0
  18. data/lib/ruby_vcloud_sdk/session.rb +46 -0
  19. data/lib/ruby_vcloud_sdk/vapp.rb +122 -0
  20. data/lib/ruby_vcloud_sdk/vdc.rb +210 -0
  21. data/lib/ruby_vcloud_sdk/vdc_storage_profile.rb +23 -0
  22. data/lib/ruby_vcloud_sdk/version.rb +1 -1
  23. data/lib/ruby_vcloud_sdk/vm.rb +132 -0
  24. data/lib/ruby_vcloud_sdk/xml/constants.rb +6 -4
  25. data/lib/ruby_vcloud_sdk/xml/wrapper.rb +109 -30
  26. data/lib/ruby_vcloud_sdk/xml/wrapper_classes.rb +45 -2
  27. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/admin_catalog.rb +13 -4
  28. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/allocated_ip_addresses.rb +9 -0
  29. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/catalog_item.rb +6 -14
  30. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk.rb +24 -14
  31. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_attach_or_detach_params.rb +0 -2
  32. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_create_params.rb +1 -3
  33. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/edge_gateway.rb +13 -0
  34. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.rb +22 -0
  35. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/hard_disk_item_wrapper.rb +4 -4
  36. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_address.rb +10 -0
  37. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_range.rb +13 -0
  38. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_ranges.rb +9 -0
  39. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb +6 -32
  40. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/item.rb +1 -7
  41. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/link.rb +14 -0
  42. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media.rb +4 -20
  43. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media_insert_or_eject_params.rb +1 -3
  44. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network_connection_section.rb +0 -4
  45. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/nic_item_wrapper.rb +0 -2
  46. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org.rb +44 -0
  47. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org_vdc_network.rb +11 -3
  48. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/query_result_records.rb +14 -0
  49. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/recompose_vapp_params.rb +42 -0
  50. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/session.rb +5 -5
  51. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/supported_versions.rb +19 -0
  52. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb +1 -1
  53. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/upload_vapp_template_params.rb +2 -4
  54. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb +13 -22
  55. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp_template.rb +0 -2
  56. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vcloud.rb +5 -3
  57. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vdc.rb +72 -15
  58. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/virtual_hardware_section.rb +8 -6
  59. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vm.rb +29 -25
  60. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vms.rb +12 -0
  61. data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalog.xml +6 -1
  62. data/lib/ruby_vcloud_sdk/xml/xml_templates/RecomposeVAppParams.xml +16 -1
  63. metadata +116 -233
  64. data/README +0 -1
  65. data/Rakefile +0 -50
  66. data/lib/ruby_vcloud_sdk/util.rb +0 -21
  67. data/spec/assets/admin_org_response.xml +0 -75
  68. data/spec/assets/catalog_add_item_response.xml +0 -8
  69. data/spec/assets/catalog_add_vapp_request.xml +0 -5
  70. data/spec/assets/catalog_item_added_response.xml +0 -19
  71. data/spec/assets/catalog_response.xml +0 -19
  72. data/spec/assets/existing_media_busy_response.xml +0 -19
  73. data/spec/assets/existing_media_catalog_item.xml +0 -8
  74. data/spec/assets/existing_media_delete_task_done.xml +0 -6
  75. data/spec/assets/existing_media_done_response.xml +0 -11
  76. data/spec/assets/existing_vapp_resolver_response.xml +0 -3
  77. data/spec/assets/existing_vapp_template_catalog_resolver_response.xml +0 -3
  78. data/spec/assets/existing_vapp_template_instantiate_response.xml +0 -20
  79. data/spec/assets/existing_vapp_template_instantiate_task_error_response.xml +0 -7
  80. data/spec/assets/existing_vapp_template_instantiate_task_start_response.xml +0 -7
  81. data/spec/assets/existing_vapp_template_instantiate_task_success_response.xml +0 -7
  82. data/spec/assets/existing_vapp_template_item_response.xml +0 -8
  83. data/spec/assets/existing_vapp_template_ready_response.xml +0 -79
  84. data/spec/assets/finalize_upload_task_done_response.xml +0 -7
  85. data/spec/assets/finalize_upload_task_response.xml +0 -7
  86. data/spec/assets/indy_disk_attach_request.xml +0 -3
  87. data/spec/assets/indy_disk_attach_task.xml +0 -6
  88. data/spec/assets/indy_disk_attach_task_error.xml +0 -6
  89. data/spec/assets/indy_disk_create_error.xml +0 -1
  90. data/spec/assets/indy_disk_create_request.xml +0 -4
  91. data/spec/assets/indy_disk_create_response.xml +0 -19
  92. data/spec/assets/indy_disk_delete_task.xml +0 -6
  93. data/spec/assets/indy_disk_detach_request.xml +0 -3
  94. data/spec/assets/indy_disk_detach_task.xml +0 -6
  95. data/spec/assets/indy_disk_response.xml +0 -11
  96. data/spec/assets/instantiated_suspended_vapp_response.xml +0 -209
  97. data/spec/assets/instantiated_vapp_delelete_done_task.xml +0 -5
  98. data/spec/assets/instantiated_vapp_delelete_running_task.xml +0 -6
  99. data/spec/assets/instantiated_vapp_network_config_add_network_request.xml +0 -36
  100. data/spec/assets/instantiated_vapp_network_config_modify_network_task_success.xml +0 -6
  101. data/spec/assets/instantiated_vapp_network_config_remove_network_request.xml +0 -6
  102. data/spec/assets/instantiated_vapp_network_config_section_response.xml +0 -17
  103. data/spec/assets/instantiated_vapp_off_response.xml +0 -206
  104. data/spec/assets/instantiated_vapp_on_response.xml +0 -205
  105. data/spec/assets/instantiated_vapp_power_task_running.xml +0 -6
  106. data/spec/assets/instantiated_vapp_power_task_success.xml +0 -6
  107. data/spec/assets/instantiated_vapp_response.xml +0 -205
  108. data/spec/assets/instantiated_vm_change_task_running.xml +0 -6
  109. data/spec/assets/instantiated_vm_change_task_success.xml +0 -6
  110. data/spec/assets/instantiated_vm_cpu_response.xml +0 -11
  111. data/spec/assets/instantiated_vm_insert_media_task_done.xml +0 -6
  112. data/spec/assets/instantiated_vm_memory_response.xml +0 -11
  113. data/spec/assets/instantiated_vm_modify_task_running.xml +0 -6
  114. data/spec/assets/instantiated_vm_modify_task_success.xml +0 -5
  115. data/spec/assets/instantiated_vm_network_section_response.xml +0 -11
  116. data/spec/assets/instantiated_vm_response.xml +0 -149
  117. data/spec/assets/media_add_to_catalog_request.xml +0 -5
  118. data/spec/assets/media_add_to_catalog_response.xml +0 -8
  119. data/spec/assets/media_delete_task_done.xml +0 -6
  120. data/spec/assets/media_upload_pending_response.xml +0 -13
  121. data/spec/assets/media_upload_request.xml +0 -2
  122. data/spec/assets/metadata_set_request.xml +0 -3
  123. data/spec/assets/metadata_set_task_done.xml +0 -6
  124. data/spec/assets/org_network_response.xml +0 -22
  125. data/spec/assets/reconfigure_vm_request.xml +0 -133
  126. data/spec/assets/reconfigure_vm_task.xml +0 -8
  127. data/spec/assets/session.xml +0 -7
  128. data/spec/assets/test-config.yml +0 -38
  129. data/spec/assets/undeploy_params.xml +0 -1
  130. data/spec/assets/vapp_template_catalog_resolver_response.xml +0 -3
  131. data/spec/assets/vapp_template_delelete_done_task.xml +0 -5
  132. data/spec/assets/vapp_template_delelete_running_task.xml +0 -6
  133. data/spec/assets/vapp_template_instantiate_request.xml +0 -8
  134. data/spec/assets/vapp_template_instantiate_with_locality_request.xml +0 -14
  135. data/spec/assets/vapp_template_no_disk_response.xml +0 -27
  136. data/spec/assets/vapp_template_ready_response.xml +0 -79
  137. data/spec/assets/vapp_template_upload_complete.xml +0 -28
  138. data/spec/assets/vapp_template_upload_failed.xml +0 -28
  139. data/spec/assets/vapp_template_upload_request.xml +0 -4
  140. data/spec/assets/vapp_template_upload_response.xml +0 -25
  141. data/spec/assets/vcloud_response.xml +0 -56
  142. data/spec/assets/vdc_response.xml +0 -57
  143. data/spec/spec_helper.rb +0 -107
  144. data/spec/unit/client_response.rb +0 -700
  145. data/spec/unit/client_spec.rb +0 -1152
@@ -1,205 +0,0 @@
1
- <VApp xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" deployed="false" status="4" name="test_vapp15_1" id="urn:vcloud:vapp:%s" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_VirtualSystemSettingData.xsd http://schemas.dmtf.org/ovf/envelope/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd http://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_ResourceAllocationSettingData.xsd">
2
- <Link rel="power:powerOff" href="%s"/>
3
- <Link rel="power:reboot" href="%s"/>
4
- <Link rel="undeploy" type="application/vnd.vmware.vcloud.undeployVAppParams+xml" href="%s"/>
5
- <Link rel="down" type="application/vnd.vmware.vcloud.controlAccess+xml" href="%s/api/vApp/vapp-%s/controlAccess/"/>
6
- <Link rel="controlAccess" type="application/vnd.vmware.vcloud.controlAccess+xml" href="%s/api/vApp/vapp-%s/action/controlAccess"/>
7
- <Link rel="recompose" type="application/vnd.vmware.vcloud.recomposeVAppParams+xml" href="%s/api/vApp/vapp-%s/action/recomposeVApp"/>
8
- <Link rel="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/a974dae0-d10c-4f7c-9f4f-4bdaf7826a3a"/>
9
- <Link rel="edit" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s"/>
10
- <Link rel="remove" href="%s/api/vApp/vapp-%s"/>
11
- <Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/vApp/vapp-%s/owner"/>
12
- <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vApp/vapp-%s/metadata"/>
13
- <Description>test</Description>
14
- <LeaseSettingsSection type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vApp/vapp-%s/leaseSettingsSection/" ovf:required="false">
15
- <ovf:Info>Lease settings section</ovf:Info>
16
- <Link rel="edit" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vApp/vapp-%s/leaseSettingsSection/"/>
17
- <DeploymentLeaseInSeconds>604800</DeploymentLeaseInSeconds>
18
- <StorageLeaseInSeconds>2592000</StorageLeaseInSeconds>
19
- <StorageLeaseExpiration>2011-09-28T11:21:35.767-07:00</StorageLeaseExpiration>
20
- </LeaseSettingsSection>
21
- <ovf:StartupSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vApp/vapp-%s/startupSection/" vcloud:type="application/vnd.vmware.vcloud.startupSection+xml">
22
- <ovf:Info>VApp startup section</ovf:Info>
23
- <ovf:Item ovf:stopDelay="120" ovf:stopAction="powerOff" ovf:startDelay="120" ovf:startAction="powerOn" ovf:order="1" ovf:id="vm1"/>
24
- <ovf:Item ovf:stopDelay="120" ovf:stopAction="powerOff" ovf:startDelay="120" ovf:startAction="powerOn" ovf:order="2" ovf:id="vm2"/>
25
- <Link rel="edit" type="application/vnd.vmware.vcloud.startupSection+xml" href="%s/api/vApp/vapp-%s/startupSection/"/>
26
- </ovf:StartupSection>
27
- <ovf:NetworkSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vApp/vapp-%s/networkSection/" vcloud:type="application/vnd.vmware.vcloud.networkSection+xml">
28
- <ovf:Info>The list of logical networks</ovf:Info>
29
- <ovf:Network ovf:name="none">
30
- <ovf:Description>This is a special place-holder used for disconnected network interfaces.</ovf:Description>
31
- </ovf:Network>
32
- </ovf:NetworkSection>
33
- <NetworkConfigSection type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="%s" ovf:required="false">
34
- <ovf:Info>The configuration parameters for logical networks</ovf:Info>
35
- <Link rel="edit" type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="%s"/>
36
- <NetworkConfig networkName="none">
37
- <Description>This is a special place-holder used for disconnected network interfaces.</Description>
38
- <Configuration>
39
- <IpScope>
40
- <IsInherited>false</IsInherited>
41
- <Gateway>196.254.254.254</Gateway>
42
- <Netmask>255.255.0.0</Netmask>
43
- <Dns1>196.254.254.254</Dns1>
44
- </IpScope>
45
- <FenceMode>isolated</FenceMode>
46
- </Configuration>
47
- <IsDeployed>false</IsDeployed>
48
- </NetworkConfig>
49
- </NetworkConfigSection>
50
- <Owner type="application/vnd.vmware.vcloud.owner+xml">
51
- <User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
52
- </Owner>
53
- <InMaintenanceMode>false</InMaintenanceMode>
54
- <Children>
55
- <Vm needsCustomization="true" deployed="false" status="8" name="vm1" id="urn:vcloud:vm:%s" type="application/vnd.vmware.vcloud.vm+xml" href="%s">
56
- <Link rel="power:powerOn" href="%s/api/vApp/vm-%s/power/action/powerOn"/>
57
- <Link rel="deploy" type="application/vnd.vmware.vcloud.deployVAppParams+xml" href="%s/api/vApp/vm-%s/action/deploy"/>
58
- <Link rel="edit" type="application/vnd.vmware.vcloud.vm+xml" href="%s/api/vApp/vm-%s"/>
59
- <Link rel="remove" href="%s/api/vApp/vm-%s"/>
60
- <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vApp/vm-%s/metadata"/>
61
- <Link rel="screen:thumbnail" href="%s/api/vApp/vm-%s/screen"/>
62
- <Link rel="media:insertMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="%s"/>
63
- <Link rel="media:ejectMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="%s/api/vApp/vm-%s/media/action/ejectMedia"/>
64
- <Link rel="disk:attach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="%s"/>
65
- <Link rel="disk:detach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="%s"/>
66
- <Link rel="upgrade" href="%s/api/vApp/vm-%s/action/upgradeHardwareVersion"/>
67
- <Link rel="up" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s"/>
68
- <Description>A virtual machine</Description>
69
- <ovf:VirtualHardwareSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" ovf:transport="" vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/" vcloud:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
70
- <ovf:Info>Virtual hardware requirements</ovf:Info>
71
- <ovf:System>
72
- <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
73
- <vssd:InstanceID>0</vssd:InstanceID>
74
- <vssd:VirtualSystemIdentifier>vm1</vssd:VirtualSystemIdentifier>
75
- <vssd:VirtualSystemType>vmx-04</vssd:VirtualSystemType>
76
- </ovf:System>
77
- <ovf:Item>
78
- <rasd:Address>00:50:56:02:01:56</rasd:Address>
79
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
80
- <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
81
- <rasd:Connection vcloud:primaryNetworkConnection="true" vcloud:ipAddressingMode="NONE">none</rasd:Connection>
82
- <rasd:Description>VMXNET3 ethernet adapter</rasd:Description>
83
- <rasd:ElementName>Network adapter 0</rasd:ElementName>
84
- <rasd:InstanceID>1</rasd:InstanceID>
85
- <rasd:ResourceSubType>VMXNET3</rasd:ResourceSubType>
86
- <rasd:ResourceType>10</rasd:ResourceType>
87
- </ovf:Item>
88
- <ovf:Item>
89
- <rasd:Address>0</rasd:Address>
90
- <rasd:Description>SCSI Controller</rasd:Description>
91
- <rasd:ElementName>SCSI Controller 0</rasd:ElementName>
92
- <rasd:InstanceID>%s</rasd:InstanceID>
93
- <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
94
- <rasd:ResourceType>6</rasd:ResourceType>
95
- </ovf:Item>
96
- <ovf:Item>
97
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
98
- <rasd:Description>Hard disk</rasd:Description>
99
- <rasd:ElementName>Hard disk 1</rasd:ElementName>
100
- <rasd:HostResource vcloud:capacity="200" vcloud:busSubType="lsilogic" vcloud:busType="6"/>
101
- <rasd:InstanceID>2000</rasd:InstanceID>
102
- <rasd:Parent>2</rasd:Parent>
103
- <rasd:ResourceType>17</rasd:ResourceType>
104
- </ovf:Item>
105
- <ovf:Item>
106
- <rasd:Address>0</rasd:Address>
107
- <rasd:Description>IDE Controller</rasd:Description>
108
- <rasd:ElementName>IDE Controller 0</rasd:ElementName>
109
- <rasd:InstanceID>3</rasd:InstanceID>
110
- <rasd:ResourceType>5</rasd:ResourceType>
111
- </ovf:Item>
112
- <ovf:Item>
113
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
114
- <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
115
- <rasd:Description>CD/DVD Drive</rasd:Description>
116
- <rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>
117
- <rasd:HostResource/>
118
- <rasd:InstanceID>3000</rasd:InstanceID>
119
- <rasd:Parent>3</rasd:Parent>
120
- <rasd:ResourceType>15</rasd:ResourceType>
121
- </ovf:Item>
122
- <ovf:Item>
123
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
124
- <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
125
- <rasd:Description>Floppy Drive</rasd:Description>
126
- <rasd:ElementName>Floppy Drive 1</rasd:ElementName>
127
- <rasd:HostResource/>
128
- <rasd:InstanceID>8000</rasd:InstanceID>
129
- <rasd:ResourceType>14</rasd:ResourceType>
130
- </ovf:Item>
131
- <ovf:Item vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu" vcloud:type="application/vnd.vmware.vcloud.rasdItem+xml">
132
- <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
133
- <rasd:Description>Number of Virtual CPUs</rasd:Description>
134
- <rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
135
- <rasd:InstanceID>4</rasd:InstanceID>
136
- <rasd:Reservation>0</rasd:Reservation>
137
- <rasd:ResourceType>3</rasd:ResourceType>
138
- <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
139
- <rasd:Weight>0</rasd:Weight>
140
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
141
- </ovf:Item>
142
- <ovf:Item vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/memory" vcloud:type="application/vnd.vmware.vcloud.rasdItem+xml">
143
- <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
144
- <rasd:Description>Memory Size</rasd:Description>
145
- <rasd:ElementName>32 MB of memory</rasd:ElementName>
146
- <rasd:InstanceID>5</rasd:InstanceID>
147
- <rasd:Reservation>0</rasd:Reservation>
148
- <rasd:ResourceType>4</rasd:ResourceType>
149
- <rasd:VirtualQuantity>32</rasd:VirtualQuantity>
150
- <rasd:Weight>0</rasd:Weight>
151
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
152
- </ovf:Item>
153
- <Link rel="edit" type="application/vnd.vmware.vcloud.virtualHardwareSection+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/"/>
154
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
155
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
156
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
157
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
158
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/disks"/>
159
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/disks"/>
160
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/media"/>
161
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/networkCards"/>
162
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/networkCards"/>
163
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/serialPorts"/>
164
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/serialPorts"/>
165
- </ovf:VirtualHardwareSection>
166
- <ovf:OperatingSystemSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" xmlns:vmw="http://www.vmware.com/schema/ovf" ovf:id="93" vcloud:href="%s/api/vApp/vm-%s/operatingSystemSection/" vcloud:type="application/vnd.vmware.vcloud.operatingSystemSection+xml" vmw:osType="ubuntuGuest">
167
- <ovf:Info>Specifies the operating system installed</ovf:Info>
168
- <ovf:Description>Ubuntu Linux (32-bit)</ovf:Description>
169
- <Link rel="edit" type="application/vnd.vmware.vcloud.operatingSystemSection+xml" href="%s/api/vApp/vm-%s/operatingSystemSection/"/>
170
- </ovf:OperatingSystemSection>
171
- <NetworkConnectionSection type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="%s" ovf:required="false">
172
- <ovf:Info>Specifies the available VM network connections</ovf:Info>
173
- <PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
174
- <NetworkConnection network="none" needsCustomization="true">
175
- <NetworkConnectionIndex>0</NetworkConnectionIndex>
176
- <IsConnected>false</IsConnected>
177
- <MACAddress>00:50:56:02:01:56</MACAddress>
178
- <IpAddressAllocationMode>NONE</IpAddressAllocationMode>
179
- </NetworkConnection>
180
- <Link rel="edit" type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="%s"/>
181
- </NetworkConnectionSection>
182
- <GuestCustomizationSection type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="%s/api/vApp/vm-%s/guestCustomizationSection/" ovf:required="false">
183
- <ovf:Info>Specifies Guest OS Customization Settings</ovf:Info>
184
- <Enabled>false</Enabled>
185
- <ChangeSid>false</ChangeSid>
186
- <VirtualMachineId>%s</VirtualMachineId>
187
- <JoinDomainEnabled>false</JoinDomainEnabled>
188
- <UseOrgSettings>false</UseOrgSettings>
189
- <AdminPasswordEnabled>true</AdminPasswordEnabled>
190
- <AdminPasswordAuto>true</AdminPasswordAuto>
191
- <ResetPasswordRequired>false</ResetPasswordRequired>
192
- <ComputerName>vm1-001</ComputerName>
193
- <Link rel="edit" type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="%s/api/vApp/vm-%s/guestCustomizationSection/"/>
194
- </GuestCustomizationSection>
195
- <ovf:ProductSection ovf:instance="" ovf:class="" ovf:required="true">
196
- <ovf:Info>Information about the installed software</ovf:Info>
197
- <ovf:Product>UnOS</ovf:Product>
198
- </ovf:ProductSection>
199
- <RuntimeInfoSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vApp/vm-%s/runtimeInfoSection" vcloud:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
200
- <ovf:Info>Specifies Runtime info</ovf:Info>
201
- </RuntimeInfoSection>
202
- <VAppScopedLocalId>vm1</VAppScopedLocalId>
203
- </Vm>
204
- </Children>
205
- </VApp>
@@ -1,6 +0,0 @@
1
- <Task xmlns="http://www.vmware.com/vcloud/v1.5" status="running" startTime="2011-09-12T08:47:40.356-07:00" operationName="vappDeploy" operation="Starting Virtual Application test17_3_8(2b685484-ed2f-48c3-9396-5ad29cb282f4)" expiryTime="2011-12-11T08:47:40.356-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd">
2
- <Link rel="task:cancel" href="%s/api/task/%s/action/cancel"/>
3
- <Owner type="application/vnd.vmware.vcloud.vApp+xml" name="%s" href="%s/api/vApp/vapp-2b685484-ed2f-48c3-9396-5ad29cb282f4"/>
4
- <User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
5
- <Organization type="application/vnd.vmware.vcloud.org+xml" name="%s" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
6
- </Task>
@@ -1,6 +0,0 @@
1
- <Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-09-12T08:47:40.356-07:00" operationName="vappDeploy" operation="Starting Virtual Application test17_3_8(2b685484-ed2f-48c3-9396-5ad29cb282f4)" expiryTime="2011-12-11T08:47:40.356-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd">
2
- <Link rel="task:cancel" href="%s/api/task/%s/action/cancel"/>
3
- <Owner type="application/vnd.vmware.vcloud.vApp+xml" name="%s" href="%s/api/vApp/vapp-2b685484-ed2f-48c3-9396-5ad29cb282f4"/>
4
- <User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
5
- <Organization type="application/vnd.vmware.vcloud.org+xml" name="%s" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
6
- </Task>
@@ -1,205 +0,0 @@
1
- <VApp xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" deployed="false" status="8" name="test_vapp15_1" id="urn:vcloud:vapp:%s" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_VirtualSystemSettingData.xsd http://schemas.dmtf.org/ovf/envelope/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd http://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_ResourceAllocationSettingData.xsd">
2
- <Link rel="power:powerOn" href="%s"/>
3
- <Link rel="deploy" type="application/vnd.vmware.vcloud.deployVAppParams+xml" href="%s/api/vApp/vapp-%s/action/deploy"/>
4
- <Link rel="down" type="application/vnd.vmware.vcloud.controlAccess+xml" href="%s/api/vApp/vapp-%s/controlAccess/"/>
5
- <Link rel="controlAccess" type="application/vnd.vmware.vcloud.controlAccess+xml" href="%s/api/vApp/vapp-%s/action/controlAccess"/>
6
- <Link rel="recompose" type="application/vnd.vmware.vcloud.recomposeVAppParams+xml" href="%s/api/vApp/vapp-%s/action/recomposeVApp"/>
7
- <Link rel="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/a974dae0-d10c-4f7c-9f4f-4bdaf7826a3a"/>
8
- <Link rel="edit" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s"/>
9
- <Link rel="remove" href="%s/api/vApp/vapp-%s"/>
10
- <Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/vApp/vapp-%s/owner"/>
11
- <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vApp/vapp-%s/metadata"/>
12
- <Description>test</Description>
13
- <LeaseSettingsSection type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vApp/vapp-%s/leaseSettingsSection/" ovf:required="false">
14
- <ovf:Info>Lease settings section</ovf:Info>
15
- <Link rel="edit" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vApp/vapp-%s/leaseSettingsSection/"/>
16
- <DeploymentLeaseInSeconds>604800</DeploymentLeaseInSeconds>
17
- <StorageLeaseInSeconds>2592000</StorageLeaseInSeconds>
18
- <StorageLeaseExpiration>2011-09-28T11:21:35.767-07:00</StorageLeaseExpiration>
19
- </LeaseSettingsSection>
20
- <ovf:StartupSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vApp/vapp-%s/startupSection/" vcloud:type="application/vnd.vmware.vcloud.startupSection+xml">
21
- <ovf:Info>VApp startup section</ovf:Info>
22
- <ovf:Item ovf:stopDelay="120" ovf:stopAction="powerOff" ovf:startDelay="120" ovf:startAction="powerOn" ovf:order="1" ovf:id="vm1"/>
23
- <ovf:Item ovf:stopDelay="120" ovf:stopAction="powerOff" ovf:startDelay="120" ovf:startAction="powerOn" ovf:order="2" ovf:id="vm2"/>
24
- <Link rel="edit" type="application/vnd.vmware.vcloud.startupSection+xml" href="%s/api/vApp/vapp-%s/startupSection/"/>
25
- </ovf:StartupSection>
26
- <ovf:NetworkSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vApp/vapp-%s/networkSection/" vcloud:type="application/vnd.vmware.vcloud.networkSection+xml">
27
- <ovf:Info>The list of logical networks</ovf:Info>
28
- <ovf:Network ovf:name="none">
29
- <ovf:Description>This is a special place-holder used for disconnected network interfaces.</ovf:Description>
30
- </ovf:Network>
31
- </ovf:NetworkSection>
32
- <NetworkConfigSection type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="%s" ovf:required="false">
33
- <ovf:Info>The configuration parameters for logical networks</ovf:Info>
34
- <Link rel="edit" type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="%s"/>
35
- <NetworkConfig networkName="none">
36
- <Description>This is a special place-holder used for disconnected network interfaces.</Description>
37
- <Configuration>
38
- <IpScope>
39
- <IsInherited>false</IsInherited>
40
- <Gateway>196.254.254.254</Gateway>
41
- <Netmask>255.255.0.0</Netmask>
42
- <Dns1>196.254.254.254</Dns1>
43
- </IpScope>
44
- <FenceMode>isolated</FenceMode>
45
- </Configuration>
46
- <IsDeployed>false</IsDeployed>
47
- </NetworkConfig>
48
- </NetworkConfigSection>
49
- <Owner type="application/vnd.vmware.vcloud.owner+xml">
50
- <User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
51
- </Owner>
52
- <InMaintenanceMode>false</InMaintenanceMode>
53
- <Children>
54
- <Vm needsCustomization="true" deployed="false" status="8" name="vm1" id="urn:vcloud:vm:%s" type="application/vnd.vmware.vcloud.vm+xml" href="%s">
55
- <Link rel="power:powerOn" href="%s/api/vApp/vm-%s/power/action/powerOn"/>
56
- <Link rel="deploy" type="application/vnd.vmware.vcloud.deployVAppParams+xml" href="%s/api/vApp/vm-%s/action/deploy"/>
57
- <Link rel="edit" type="application/vnd.vmware.vcloud.vm+xml" href="%s/api/vApp/vm-%s"/>
58
- <Link rel="reconfigureVm" type="application/vnd.vmware.vcloud.vm+xml" name="vm1" href="%s/api/vApp/vm-%s/reconfigureVm"/>
59
- <Link rel="remove" href="%s/api/vApp/vm-%s"/>
60
- <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vApp/vm-%s/metadata"/>
61
- <Link rel="screen:thumbnail" href="%s/api/vApp/vm-%s/screen"/>
62
- <Link rel="media:insertMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="%s"/>
63
- <Link rel="media:ejectMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="%s/api/vApp/vm-%s/media/action/ejectMedia"/>
64
- <Link rel="disk:attach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="%s"/>
65
- <Link rel="disk:detach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="%s"/>
66
- <Link rel="upgrade" href="%s/api/vApp/vm-%s/action/upgradeHardwareVersion"/>
67
- <Link rel="up" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s"/>
68
- <Description>A virtual machine</Description>
69
- <ovf:VirtualHardwareSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" ovf:transport="" vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/" vcloud:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
70
- <ovf:Info>Virtual hardware requirements</ovf:Info>
71
- <ovf:System>
72
- <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
73
- <vssd:InstanceID>0</vssd:InstanceID>
74
- <vssd:VirtualSystemIdentifier>vm1</vssd:VirtualSystemIdentifier>
75
- <vssd:VirtualSystemType>vmx-04</vssd:VirtualSystemType>
76
- </ovf:System>
77
- <ovf:Item>
78
- <rasd:Address>00:50:56:02:01:56</rasd:Address>
79
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
80
- <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
81
- <rasd:Connection vcloud:primaryNetworkConnection="true" vcloud:ipAddressingMode="NONE">none</rasd:Connection>
82
- <rasd:Description>VMXNET3 ethernet adapter</rasd:Description>
83
- <rasd:ElementName>Network adapter 0</rasd:ElementName>
84
- <rasd:InstanceID>1</rasd:InstanceID>
85
- <rasd:ResourceSubType>VMXNET3</rasd:ResourceSubType>
86
- <rasd:ResourceType>10</rasd:ResourceType>
87
- </ovf:Item>
88
- <ovf:Item>
89
- <rasd:Address>0</rasd:Address>
90
- <rasd:Description>SCSI Controller</rasd:Description>
91
- <rasd:ElementName>SCSI Controller 0</rasd:ElementName>
92
- <rasd:InstanceID>%s</rasd:InstanceID>
93
- <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
94
- <rasd:ResourceType>6</rasd:ResourceType>
95
- </ovf:Item>
96
- <ovf:Item>
97
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
98
- <rasd:Description>Hard disk</rasd:Description>
99
- <rasd:ElementName>Hard disk 1</rasd:ElementName>
100
- <rasd:HostResource vcloud:capacity="200" vcloud:busSubType="lsilogic" vcloud:busType="6"/>
101
- <rasd:InstanceID>2000</rasd:InstanceID>
102
- <rasd:Parent>2</rasd:Parent>
103
- <rasd:ResourceType>17</rasd:ResourceType>
104
- </ovf:Item>
105
- <ovf:Item>
106
- <rasd:Address>0</rasd:Address>
107
- <rasd:Description>IDE Controller</rasd:Description>
108
- <rasd:ElementName>IDE Controller 0</rasd:ElementName>
109
- <rasd:InstanceID>3</rasd:InstanceID>
110
- <rasd:ResourceType>5</rasd:ResourceType>
111
- </ovf:Item>
112
- <ovf:Item>
113
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
114
- <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
115
- <rasd:Description>CD/DVD Drive</rasd:Description>
116
- <rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>
117
- <rasd:HostResource/>
118
- <rasd:InstanceID>3000</rasd:InstanceID>
119
- <rasd:Parent>3</rasd:Parent>
120
- <rasd:ResourceType>15</rasd:ResourceType>
121
- </ovf:Item>
122
- <ovf:Item>
123
- <rasd:AddressOnParent>0</rasd:AddressOnParent>
124
- <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
125
- <rasd:Description>Floppy Drive</rasd:Description>
126
- <rasd:ElementName>Floppy Drive 1</rasd:ElementName>
127
- <rasd:HostResource/>
128
- <rasd:InstanceID>8000</rasd:InstanceID>
129
- <rasd:ResourceType>14</rasd:ResourceType>
130
- </ovf:Item>
131
- <ovf:Item vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu" vcloud:type="application/vnd.vmware.vcloud.rasdItem+xml">
132
- <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
133
- <rasd:Description>Number of Virtual CPUs</rasd:Description>
134
- <rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
135
- <rasd:InstanceID>4</rasd:InstanceID>
136
- <rasd:Reservation>0</rasd:Reservation>
137
- <rasd:ResourceType>3</rasd:ResourceType>
138
- <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
139
- <rasd:Weight>0</rasd:Weight>
140
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
141
- </ovf:Item>
142
- <ovf:Item vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/memory" vcloud:type="application/vnd.vmware.vcloud.rasdItem+xml">
143
- <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
144
- <rasd:Description>Memory Size</rasd:Description>
145
- <rasd:ElementName>32 MB of memory</rasd:ElementName>
146
- <rasd:InstanceID>5</rasd:InstanceID>
147
- <rasd:Reservation>0</rasd:Reservation>
148
- <rasd:ResourceType>4</rasd:ResourceType>
149
- <rasd:VirtualQuantity>32</rasd:VirtualQuantity>
150
- <rasd:Weight>0</rasd:Weight>
151
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
152
- </ovf:Item>
153
- <Link rel="edit" type="application/vnd.vmware.vcloud.virtualHardwareSection+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/"/>
154
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
155
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
156
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
157
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
158
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/disks"/>
159
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/disks"/>
160
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/media"/>
161
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/networkCards"/>
162
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/networkCards"/>
163
- <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/serialPorts"/>
164
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/serialPorts"/>
165
- </ovf:VirtualHardwareSection>
166
- <ovf:OperatingSystemSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" xmlns:vmw="http://www.vmware.com/schema/ovf" ovf:id="93" vcloud:href="%s/api/vApp/vm-%s/operatingSystemSection/" vcloud:type="application/vnd.vmware.vcloud.operatingSystemSection+xml" vmw:osType="ubuntuGuest">
167
- <ovf:Info>Specifies the operating system installed</ovf:Info>
168
- <ovf:Description>Ubuntu Linux (32-bit)</ovf:Description>
169
- <Link rel="edit" type="application/vnd.vmware.vcloud.operatingSystemSection+xml" href="%s/api/vApp/vm-%s/operatingSystemSection/"/>
170
- </ovf:OperatingSystemSection>
171
- <NetworkConnectionSection type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="%s" ovf:required="false">
172
- <ovf:Info>Specifies the available VM network connections</ovf:Info>
173
- <PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
174
- <NetworkConnection network="none" needsCustomization="true">
175
- <NetworkConnectionIndex>0</NetworkConnectionIndex>
176
- <IsConnected>false</IsConnected>
177
- <MACAddress>00:50:56:02:01:56</MACAddress>
178
- <IpAddressAllocationMode>NONE</IpAddressAllocationMode>
179
- </NetworkConnection>
180
- <Link rel="edit" type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="%s"/>
181
- </NetworkConnectionSection>
182
- <GuestCustomizationSection type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="%s/api/vApp/vm-%s/guestCustomizationSection/" ovf:required="false">
183
- <ovf:Info>Specifies Guest OS Customization Settings</ovf:Info>
184
- <Enabled>false</Enabled>
185
- <ChangeSid>false</ChangeSid>
186
- <VirtualMachineId>%s</VirtualMachineId>
187
- <JoinDomainEnabled>false</JoinDomainEnabled>
188
- <UseOrgSettings>false</UseOrgSettings>
189
- <AdminPasswordEnabled>true</AdminPasswordEnabled>
190
- <AdminPasswordAuto>true</AdminPasswordAuto>
191
- <ResetPasswordRequired>false</ResetPasswordRequired>
192
- <ComputerName>vm1-001</ComputerName>
193
- <Link rel="edit" type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="%s/api/vApp/vm-%s/guestCustomizationSection/"/>
194
- </GuestCustomizationSection>
195
- <ovf:ProductSection ovf:instance="" ovf:class="" ovf:required="true">
196
- <ovf:Info>Information about the installed software</ovf:Info>
197
- <ovf:Product>UnOS</ovf:Product>
198
- </ovf:ProductSection>
199
- <RuntimeInfoSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vApp/vm-%s/runtimeInfoSection" vcloud:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
200
- <ovf:Info>Specifies Runtime info</ovf:Info>
201
- </RuntimeInfoSection>
202
- <VAppScopedLocalId>vm1</VAppScopedLocalId>
203
- </Vm>
204
- </Children>
205
- </VApp>
@@ -1,6 +0,0 @@
1
- <Task xmlns="http://www.vmware.com/vcloud/v1.5" status="running" startTime="2011-09-08T10:08:22.903-07:00" operationName="vappUpdateVm" operation="Updating Virtual Machine (%s)" expiryTime="2011-12-07T10:08:22.903-08:00" name="task" id="urn:vcloud:task:2eea2897-d189-4cf7-9739-758dbfd225d6" type="application/vnd.vmware.vcloud.task+xml" href="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd">
2
- <Link rel="task:cancel" href="%s/api/task/2eea2897-d189-4cf7-9739-758dbfd225d6/action/cancel"/>
3
- <Owner type="application/vnd.vmware.vcloud.vm+xml" name="" href="%s/api/vApp/vm-619151db-274e-44e9-bcbe-b69bba4ec8c4"/>
4
- <User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
5
- <Organization type="application/vnd.vmware.vcloud.org+xml" name="vcap" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
6
- </Task>
@@ -1,6 +0,0 @@
1
- <Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-09-08T10:08:22.903-07:00" operationName="vappUpdateVm" operation="Updating Virtual Machine (%s)" expiryTime="2011-12-07T10:08:22.903-08:00" name="task" id="urn:vcloud:task:2eea2897-d189-4cf7-9739-758dbfd225d6" type="application/vnd.vmware.vcloud.task+xml" href="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd">
2
- <Link rel="task:cancel" href="%s/api/task/2eea2897-d189-4cf7-9739-758dbfd225d6/action/cancel"/>
3
- <Owner type="application/vnd.vmware.vcloud.vm+xml" name="" href="%s/api/vApp/vm-619151db-274e-44e9-bcbe-b69bba4ec8c4"/>
4
- <User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
5
- <Organization type="application/vnd.vmware.vcloud.org+xml" name="vcap" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
6
- </Task>
@@ -1,11 +0,0 @@
1
- <Item xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu" vcloud:type="application/vnd.vmware.vcloud.rasdItem+xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_ResourceAllocationSettingData.xsd">
2
- <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
3
- <rasd:Description>Number of Virtual CPUs</rasd:Description>
4
- <rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
5
- <rasd:InstanceID>4</rasd:InstanceID>
6
- <rasd:Reservation>0</rasd:Reservation>
7
- <rasd:ResourceType>3</rasd:ResourceType>
8
- <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
9
- <rasd:Weight>0</rasd:Weight>
10
- <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
11
- </Item>