fog-vcloud-director 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +11 -0
  3. data/.gitignore +17 -0
  4. data/.hound.yml +2 -0
  5. data/.rubocop.yml +240 -0
  6. data/.ruby-gemset +1 -0
  7. data/.travis.yml +15 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.md +20 -0
  10. data/README.md +962 -0
  11. data/Rakefile +19 -0
  12. data/fog-vcloud-director.gemspec +31 -0
  13. data/lib/fog/vcloud_director.rb +1 -0
  14. data/lib/fog/vcloud_director/compute.rb +916 -0
  15. data/lib/fog/vcloud_director/core.rb +69 -0
  16. data/lib/fog/vcloud_director/generators/compute/compose_common.rb +122 -0
  17. data/lib/fog/vcloud_director/generators/compute/compose_vapp.rb +25 -0
  18. data/lib/fog/vcloud_director/generators/compute/create_snapshot.rb +25 -0
  19. data/lib/fog/vcloud_director/generators/compute/customization.rb +105 -0
  20. data/lib/fog/vcloud_director/generators/compute/disks.rb +186 -0
  21. data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +243 -0
  22. data/lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb +30 -0
  23. data/lib/fog/vcloud_director/generators/compute/metadata.rb +104 -0
  24. data/lib/fog/vcloud_director/generators/compute/org_vdc_network.rb +88 -0
  25. data/lib/fog/vcloud_director/generators/compute/recompose_vapp.rb +34 -0
  26. data/lib/fog/vcloud_director/generators/compute/vapp.rb +28 -0
  27. data/lib/fog/vcloud_director/generators/compute/vm.rb +32 -0
  28. data/lib/fog/vcloud_director/generators/compute/vm_network.rb +119 -0
  29. data/lib/fog/vcloud_director/models/compute/catalog.rb +22 -0
  30. data/lib/fog/vcloud_director/models/compute/catalog_item.rb +30 -0
  31. data/lib/fog/vcloud_director/models/compute/catalog_items.rb +33 -0
  32. data/lib/fog/vcloud_director/models/compute/catalogs.rb +30 -0
  33. data/lib/fog/vcloud_director/models/compute/custom_field.rb +18 -0
  34. data/lib/fog/vcloud_director/models/compute/custom_fields.rb +67 -0
  35. data/lib/fog/vcloud_director/models/compute/disk.rb +53 -0
  36. data/lib/fog/vcloud_director/models/compute/disks.rb +44 -0
  37. data/lib/fog/vcloud_director/models/compute/media.rb +26 -0
  38. data/lib/fog/vcloud_director/models/compute/medias.rb +75 -0
  39. data/lib/fog/vcloud_director/models/compute/network.rb +25 -0
  40. data/lib/fog/vcloud_director/models/compute/networks.rb +62 -0
  41. data/lib/fog/vcloud_director/models/compute/organization.rb +37 -0
  42. data/lib/fog/vcloud_director/models/compute/organizations.rb +28 -0
  43. data/lib/fog/vcloud_director/models/compute/tag.rb +31 -0
  44. data/lib/fog/vcloud_director/models/compute/tags.rb +41 -0
  45. data/lib/fog/vcloud_director/models/compute/task.rb +55 -0
  46. data/lib/fog/vcloud_director/models/compute/tasks.rb +36 -0
  47. data/lib/fog/vcloud_director/models/compute/template_vm.rb +52 -0
  48. data/lib/fog/vcloud_director/models/compute/template_vms.rb +41 -0
  49. data/lib/fog/vcloud_director/models/compute/vapp.rb +144 -0
  50. data/lib/fog/vcloud_director/models/compute/vapp_template.rb +26 -0
  51. data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +40 -0
  52. data/lib/fog/vcloud_director/models/compute/vapps.rb +40 -0
  53. data/lib/fog/vcloud_director/models/compute/vdc.rb +45 -0
  54. data/lib/fog/vcloud_director/models/compute/vdcs.rb +37 -0
  55. data/lib/fog/vcloud_director/models/compute/vm.rb +197 -0
  56. data/lib/fog/vcloud_director/models/compute/vm_customization.rb +40 -0
  57. data/lib/fog/vcloud_director/models/compute/vm_customizations.rb +29 -0
  58. data/lib/fog/vcloud_director/models/compute/vm_network.rb +27 -0
  59. data/lib/fog/vcloud_director/models/compute/vm_networks.rb +19 -0
  60. data/lib/fog/vcloud_director/models/compute/vms.rb +46 -0
  61. data/lib/fog/vcloud_director/parsers/compute/disks.rb +53 -0
  62. data/lib/fog/vcloud_director/parsers/compute/metadata.rb +61 -0
  63. data/lib/fog/vcloud_director/parsers/compute/network.rb +104 -0
  64. data/lib/fog/vcloud_director/parsers/compute/vm.rb +86 -0
  65. data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +55 -0
  66. data/lib/fog/vcloud_director/parsers/compute/vm_network.rb +107 -0
  67. data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +62 -0
  68. data/lib/fog/vcloud_director/parsers/compute/vms.rb +68 -0
  69. data/lib/fog/vcloud_director/parsers/compute/vms_by_metadata.rb +37 -0
  70. data/lib/fog/vcloud_director/query.rb +59 -0
  71. data/lib/fog/vcloud_director/requests/compute/delete_catalog_item.rb +22 -0
  72. data/lib/fog/vcloud_director/requests/compute/delete_catalog_item_metadata_item_metadata.rb +25 -0
  73. data/lib/fog/vcloud_director/requests/compute/delete_disk.rb +60 -0
  74. data/lib/fog/vcloud_director/requests/compute/delete_disk_metadata_item_metadata.rb +25 -0
  75. data/lib/fog/vcloud_director/requests/compute/delete_logout.rb +18 -0
  76. data/lib/fog/vcloud_director/requests/compute/delete_media.rb +122 -0
  77. data/lib/fog/vcloud_director/requests/compute/delete_media_metadata_item_metadata.rb +25 -0
  78. data/lib/fog/vcloud_director/requests/compute/delete_network.rb +62 -0
  79. data/lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb +30 -0
  80. data/lib/fog/vcloud_director/requests/compute/delete_vapp.rb +59 -0
  81. data/lib/fog/vcloud_director/requests/compute/delete_vapp_metadata_item_metadata.rb +30 -0
  82. data/lib/fog/vcloud_director/requests/compute/delete_vapp_template.rb +27 -0
  83. data/lib/fog/vcloud_director/requests/compute/delete_vapp_template_metadata_item_metadata.rb +26 -0
  84. data/lib/fog/vcloud_director/requests/compute/get_allocated_ip_addresses.rb +25 -0
  85. data/lib/fog/vcloud_director/requests/compute/get_catalog.rb +63 -0
  86. data/lib/fog/vcloud_director/requests/compute/get_catalog_item.rb +48 -0
  87. data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata.rb +25 -0
  88. data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata_item_metadata.rb +26 -0
  89. data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata.rb +25 -0
  90. data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata_item_metadata.rb +26 -0
  91. data/lib/fog/vcloud_director/requests/compute/get_catalogs_from_query.rb +94 -0
  92. data/lib/fog/vcloud_director/requests/compute/get_control_access_params_catalog.rb +26 -0
  93. data/lib/fog/vcloud_director/requests/compute/get_control_access_params_vapp.rb +25 -0
  94. data/lib/fog/vcloud_director/requests/compute/get_cpu_rasd_item.rb +65 -0
  95. data/lib/fog/vcloud_director/requests/compute/get_current_session.rb +83 -0
  96. data/lib/fog/vcloud_director/requests/compute/get_disk.rb +123 -0
  97. data/lib/fog/vcloud_director/requests/compute/get_disk_metadata.rb +25 -0
  98. data/lib/fog/vcloud_director/requests/compute/get_disk_metadata_item_metadata.rb +26 -0
  99. data/lib/fog/vcloud_director/requests/compute/get_disk_owner.rb +70 -0
  100. data/lib/fog/vcloud_director/requests/compute/get_disks_from_query.rb +94 -0
  101. data/lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb +90 -0
  102. data/lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb +109 -0
  103. data/lib/fog/vcloud_director/requests/compute/get_entity.rb +38 -0
  104. data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +736 -0
  105. data/lib/fog/vcloud_director/requests/compute/get_groups_from_query.rb +95 -0
  106. data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp.rb +69 -0
  107. data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp_template.rb +25 -0
  108. data/lib/fog/vcloud_director/requests/compute/get_href.rb +21 -0
  109. data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb +59 -0
  110. data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp_template.rb +25 -0
  111. data/lib/fog/vcloud_director/requests/compute/get_media.rb +111 -0
  112. data/lib/fog/vcloud_director/requests/compute/get_media_drives_rasd_items_list.rb +92 -0
  113. data/lib/fog/vcloud_director/requests/compute/get_media_metadata.rb +25 -0
  114. data/lib/fog/vcloud_director/requests/compute/get_media_metadata_item_metadata.rb +26 -0
  115. data/lib/fog/vcloud_director/requests/compute/get_media_owner.rb +70 -0
  116. data/lib/fog/vcloud_director/requests/compute/get_medias_from_query.rb +94 -0
  117. data/lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb +64 -0
  118. data/lib/fog/vcloud_director/requests/compute/get_metadata.rb +41 -0
  119. data/lib/fog/vcloud_director/requests/compute/get_network.rb +67 -0
  120. data/lib/fog/vcloud_director/requests/compute/get_network_cards_items_list.rb +70 -0
  121. data/lib/fog/vcloud_director/requests/compute/get_network_complete.rb +78 -0
  122. data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp.rb +61 -0
  123. data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp_template.rb +25 -0
  124. data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp.rb +68 -0
  125. data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp_template.rb +25 -0
  126. data/lib/fog/vcloud_director/requests/compute/get_network_metadata.rb +25 -0
  127. data/lib/fog/vcloud_director/requests/compute/get_network_metadata_item_metadata.rb +26 -0
  128. data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp.rb +25 -0
  129. data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp_template.rb +25 -0
  130. data/lib/fog/vcloud_director/requests/compute/get_operating_system_section.rb +59 -0
  131. data/lib/fog/vcloud_director/requests/compute/get_org_settings.rb +38 -0
  132. data/lib/fog/vcloud_director/requests/compute/get_org_vdc_gateways.rb +83 -0
  133. data/lib/fog/vcloud_director/requests/compute/get_organization.rb +100 -0
  134. data/lib/fog/vcloud_director/requests/compute/get_organization_metadata.rb +25 -0
  135. data/lib/fog/vcloud_director/requests/compute/get_organization_metadata_item_metadata.rb +28 -0
  136. data/lib/fog/vcloud_director/requests/compute/get_organizations.rb +52 -0
  137. data/lib/fog/vcloud_director/requests/compute/get_organizations_from_query.rb +95 -0
  138. data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp.rb +25 -0
  139. data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp_template.rb +26 -0
  140. data/lib/fog/vcloud_director/requests/compute/get_request.rb +19 -0
  141. data/lib/fog/vcloud_director/requests/compute/get_runtime_info_section_type.rb +57 -0
  142. data/lib/fog/vcloud_director/requests/compute/get_serial_ports_items_list.rb +25 -0
  143. data/lib/fog/vcloud_director/requests/compute/get_shadow_vm.rb +24 -0
  144. data/lib/fog/vcloud_director/requests/compute/get_snapshot_section.rb +55 -0
  145. data/lib/fog/vcloud_director/requests/compute/get_startup_section.rb +64 -0
  146. data/lib/fog/vcloud_director/requests/compute/get_supported_systems_info.rb +239 -0
  147. data/lib/fog/vcloud_director/requests/compute/get_supported_versions.rb +1159 -0
  148. data/lib/fog/vcloud_director/requests/compute/get_task.rb +168 -0
  149. data/lib/fog/vcloud_director/requests/compute/get_task_list.rb +130 -0
  150. data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +74 -0
  151. data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +41 -0
  152. data/lib/fog/vcloud_director/requests/compute/get_thumbnail.rb +28 -0
  153. data/lib/fog/vcloud_director/requests/compute/get_users_from_query.rb +95 -0
  154. data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +176 -0
  155. data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata.rb +84 -0
  156. data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata_item_metadata.rb +26 -0
  157. data/lib/fog/vcloud_director/requests/compute/get_vapp_ovf_descriptor.rb +24 -0
  158. data/lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb +58 -0
  159. data/lib/fog/vcloud_director/requests/compute/get_vapp_template.rb +25 -0
  160. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_customization_system_section.rb +25 -0
  161. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata.rb +25 -0
  162. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata_item_metadata.rb +27 -0
  163. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_ovf_descriptor.rb +24 -0
  164. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_owner.rb +25 -0
  165. data/lib/fog/vcloud_director/requests/compute/get_vapp_templates_from_query.rb +95 -0
  166. data/lib/fog/vcloud_director/requests/compute/get_vapps_in_lease_from_query.rb +94 -0
  167. data/lib/fog/vcloud_director/requests/compute/get_vcloud.rb +76 -0
  168. data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +174 -0
  169. data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata.rb +25 -0
  170. data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata_item_metadata.rb +28 -0
  171. data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class.rb +83 -0
  172. data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata.rb +27 -0
  173. data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata_item_metadata.rb +25 -0
  174. data/lib/fog/vcloud_director/requests/compute/get_vdcs_from_query.rb +94 -0
  175. data/lib/fog/vcloud_director/requests/compute/get_virtual_hardware_section.rb +29 -0
  176. data/lib/fog/vcloud_director/requests/compute/get_vm.rb +74 -0
  177. data/lib/fog/vcloud_director/requests/compute/get_vm_capabilities.rb +61 -0
  178. data/lib/fog/vcloud_director/requests/compute/get_vm_compliance_results.rb +24 -0
  179. data/lib/fog/vcloud_director/requests/compute/get_vm_customization.rb +31 -0
  180. data/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb +51 -0
  181. data/lib/fog/vcloud_director/requests/compute/get_vm_network.rb +56 -0
  182. data/lib/fog/vcloud_director/requests/compute/get_vm_pending_question.rb +34 -0
  183. data/lib/fog/vcloud_director/requests/compute/get_vms.rb +41 -0
  184. data/lib/fog/vcloud_director/requests/compute/get_vms_by_metadata.rb +20 -0
  185. data/lib/fog/vcloud_director/requests/compute/get_vms_disk_attached_to.rb +39 -0
  186. data/lib/fog/vcloud_director/requests/compute/get_vms_in_lease_from_query.rb +150 -0
  187. data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +173 -0
  188. data/lib/fog/vcloud_director/requests/compute/post_acquire_ticket.rb +27 -0
  189. data/lib/fog/vcloud_director/requests/compute/post_answer_vm_pending_question.rb +36 -0
  190. data/lib/fog/vcloud_director/requests/compute/post_attach_disk.rb +51 -0
  191. data/lib/fog/vcloud_director/requests/compute/post_cancel_task.rb +43 -0
  192. data/lib/fog/vcloud_director/requests/compute/post_capture_vapp.rb +70 -0
  193. data/lib/fog/vcloud_director/requests/compute/post_check_vm_compliance.rb +28 -0
  194. data/lib/fog/vcloud_director/requests/compute/post_clone_media.rb +102 -0
  195. data/lib/fog/vcloud_director/requests/compute/post_clone_vapp.rb +62 -0
  196. data/lib/fog/vcloud_director/requests/compute/post_clone_vapp_template.rb +52 -0
  197. data/lib/fog/vcloud_director/requests/compute/post_compose_vapp.rb +45 -0
  198. data/lib/fog/vcloud_director/requests/compute/post_configure_edge_gateway_services.rb +73 -0
  199. data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp.rb +27 -0
  200. data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp_template.rb +27 -0
  201. data/lib/fog/vcloud_director/requests/compute/post_create_catalog_item.rb +56 -0
  202. data/lib/fog/vcloud_director/requests/compute/post_create_org_vdc_network.rb +171 -0
  203. data/lib/fog/vcloud_director/requests/compute/post_create_snapshot.rb +21 -0
  204. data/lib/fog/vcloud_director/requests/compute/post_deploy_vapp.rb +51 -0
  205. data/lib/fog/vcloud_director/requests/compute/post_detach_disk.rb +39 -0
  206. data/lib/fog/vcloud_director/requests/compute/post_disable_nested_hv.rb +27 -0
  207. data/lib/fog/vcloud_director/requests/compute/post_disable_vapp_template_download.rb +24 -0
  208. data/lib/fog/vcloud_director/requests/compute/post_discard_vapp_state.rb +30 -0
  209. data/lib/fog/vcloud_director/requests/compute/post_eject_cd_rom.rb +39 -0
  210. data/lib/fog/vcloud_director/requests/compute/post_enable_nested_hv.rb +27 -0
  211. data/lib/fog/vcloud_director/requests/compute/post_enable_vapp_template_download.rb +24 -0
  212. data/lib/fog/vcloud_director/requests/compute/post_enter_maintenance_mode.rb +26 -0
  213. data/lib/fog/vcloud_director/requests/compute/post_exit_maintenance_mode.rb +22 -0
  214. data/lib/fog/vcloud_director/requests/compute/post_insert_cd_rom.rb +39 -0
  215. data/lib/fog/vcloud_director/requests/compute/post_install_vmware_tools.rb +27 -0
  216. data/lib/fog/vcloud_director/requests/compute/post_instantiate_vapp_template.rb +196 -0
  217. data/lib/fog/vcloud_director/requests/compute/post_login_session.rb +39 -0
  218. data/lib/fog/vcloud_director/requests/compute/post_power_off_vapp.rb +36 -0
  219. data/lib/fog/vcloud_director/requests/compute/post_power_on_vapp.rb +71 -0
  220. data/lib/fog/vcloud_director/requests/compute/post_reboot_vapp.rb +33 -0
  221. data/lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb +21 -0
  222. data/lib/fog/vcloud_director/requests/compute/post_reconfigure_vm.rb +118 -0
  223. data/lib/fog/vcloud_director/requests/compute/post_remove_all_snapshots.rb +27 -0
  224. data/lib/fog/vcloud_director/requests/compute/post_reset_vapp.rb +33 -0
  225. data/lib/fog/vcloud_director/requests/compute/post_revert_snapshot.rb +27 -0
  226. data/lib/fog/vcloud_director/requests/compute/post_shutdown_vapp.rb +33 -0
  227. data/lib/fog/vcloud_director/requests/compute/post_suspend_vapp.rb +33 -0
  228. data/lib/fog/vcloud_director/requests/compute/post_undeploy_vapp.rb +66 -0
  229. data/lib/fog/vcloud_director/requests/compute/post_update_catalog_item_metadata.rb +52 -0
  230. data/lib/fog/vcloud_director/requests/compute/post_update_disk_metadata.rb +52 -0
  231. data/lib/fog/vcloud_director/requests/compute/post_update_media_metadata.rb +52 -0
  232. data/lib/fog/vcloud_director/requests/compute/post_update_vapp_metadata.rb +86 -0
  233. data/lib/fog/vcloud_director/requests/compute/post_update_vapp_template_metadata.rb +52 -0
  234. data/lib/fog/vcloud_director/requests/compute/post_upgrade_hw_version.rb +28 -0
  235. data/lib/fog/vcloud_director/requests/compute/post_upload_disk.rb +133 -0
  236. data/lib/fog/vcloud_director/requests/compute/post_upload_media.rb +120 -0
  237. data/lib/fog/vcloud_director/requests/compute/post_upload_vapp_template.rb +46 -0
  238. data/lib/fog/vcloud_director/requests/compute/put_catalog_item_metadata_item_metadata.rb +50 -0
  239. data/lib/fog/vcloud_director/requests/compute/put_cpu.rb +88 -0
  240. data/lib/fog/vcloud_director/requests/compute/put_disk_metadata_item_metadata.rb +46 -0
  241. data/lib/fog/vcloud_director/requests/compute/put_disks.rb +39 -0
  242. data/lib/fog/vcloud_director/requests/compute/put_guest_customization_section_vapp.rb +141 -0
  243. data/lib/fog/vcloud_director/requests/compute/put_media_metadata_item_metadata.rb +50 -0
  244. data/lib/fog/vcloud_director/requests/compute/put_memory.rb +89 -0
  245. data/lib/fog/vcloud_director/requests/compute/put_metadata_value.rb +26 -0
  246. data/lib/fog/vcloud_director/requests/compute/put_network.rb +162 -0
  247. data/lib/fog/vcloud_director/requests/compute/put_network_connection_system_section_vapp.rb +152 -0
  248. data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +46 -0
  249. data/lib/fog/vcloud_director/requests/compute/put_vapp_metadata_item_metadata.rb +85 -0
  250. data/lib/fog/vcloud_director/requests/compute/put_vapp_name_and_description.rb +36 -0
  251. data/lib/fog/vcloud_director/requests/compute/put_vapp_template_metadata_item_metadata.rb +50 -0
  252. data/lib/fog/vcloud_director/requests/compute/put_vm.rb +72 -0
  253. data/lib/fog/vcloud_director/requests/compute/put_vm_capabilities.rb +44 -0
  254. data/lib/fog/vcloud_director/version.rb +5 -0
  255. data/spec/spec_helper.rb +15 -0
  256. data/spec/vcloud_director/generators/compute/instantiate_vapp_template_params_spec.rb +68 -0
  257. data/spec/vcloud_director/requests/compute/instantiate_vapp_template_spec.rb +78 -0
  258. data/spec/vcloud_director/spec_helper.rb +11 -0
  259. data/tasks/bundler.rake +3 -0
  260. data/tasks/console.rake +12 -0
  261. data/tasks/lint.rake +3 -0
  262. data/tasks/test.rake +13 -0
  263. data/tests/helper.rb +32 -0
  264. data/tests/helpers/collection_helper.rb +97 -0
  265. data/tests/helpers/compute/flavors_helper.rb +32 -0
  266. data/tests/helpers/compute/server_helper.rb +25 -0
  267. data/tests/helpers/compute/servers_helper.rb +10 -0
  268. data/tests/helpers/formats_helper.rb +98 -0
  269. data/tests/helpers/formats_helper_tests.rb +110 -0
  270. data/tests/helpers/mock_helper.rb +95 -0
  271. data/tests/helpers/model_helper.rb +31 -0
  272. data/tests/helpers/responds_to_helper.rb +11 -0
  273. data/tests/helpers/schema_validator_tests.rb +107 -0
  274. data/tests/helpers/succeeds_helper.rb +9 -0
  275. data/tests/lorem.txt +1 -0
  276. data/tests/vcloud_director/ensure_list_tests.rb +84 -0
  277. data/tests/vcloud_director/fixtures/test.iso +1 -0
  278. data/tests/vcloud_director/fixtures/vapp.xml +532 -0
  279. data/tests/vcloud_director/fixtures/vm.xml +213 -0
  280. data/tests/vcloud_director/generators/compute/compose_vapp_tests.rb +108 -0
  281. data/tests/vcloud_director/models/compute/catalog_items_tests.rb +42 -0
  282. data/tests/vcloud_director/models/compute/catalogs_tests.rb +40 -0
  283. data/tests/vcloud_director/models/compute/helper.rb +60 -0
  284. data/tests/vcloud_director/models/compute/media_tests.rb +58 -0
  285. data/tests/vcloud_director/models/compute/network_tests.rb +108 -0
  286. data/tests/vcloud_director/models/compute/organizations_tests.rb +18 -0
  287. data/tests/vcloud_director/models/compute/tasks_tests.rb +56 -0
  288. data/tests/vcloud_director/models/compute/vapp_life_cycle_tests.rb +93 -0
  289. data/tests/vcloud_director/models/compute/vapp_template_tests.rb +29 -0
  290. data/tests/vcloud_director/models/compute/vapp_tests.rb +61 -0
  291. data/tests/vcloud_director/models/compute/vdcs_tests.rb +54 -0
  292. data/tests/vcloud_director/models/compute/vms_tests.rb +101 -0
  293. data/tests/vcloud_director/requests/compute/admin_tests.rb +16 -0
  294. data/tests/vcloud_director/requests/compute/catalog_tests.rb +42 -0
  295. data/tests/vcloud_director/requests/compute/disk_tests.rb +178 -0
  296. data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +217 -0
  297. data/tests/vcloud_director/requests/compute/groups_tests.rb +18 -0
  298. data/tests/vcloud_director/requests/compute/helper.rb +32 -0
  299. data/tests/vcloud_director/requests/compute/media_tests.rb +195 -0
  300. data/tests/vcloud_director/requests/compute/network_tests.rb +186 -0
  301. data/tests/vcloud_director/requests/compute/organization_tests.rb +37 -0
  302. data/tests/vcloud_director/requests/compute/ovf_descriptor_tests.rb +36 -0
  303. data/tests/vcloud_director/requests/compute/query_tests.rb +99 -0
  304. data/tests/vcloud_director/requests/compute/schema_helper.rb +663 -0
  305. data/tests/vcloud_director/requests/compute/session_tests.rb +14 -0
  306. data/tests/vcloud_director/requests/compute/supported_systems_tests.rb +11 -0
  307. data/tests/vcloud_director/requests/compute/task_tests.rb +35 -0
  308. data/tests/vcloud_director/requests/compute/users_tests.rb +18 -0
  309. data/tests/vcloud_director/requests/compute/vapp_tests.rb +123 -0
  310. data/tests/vcloud_director/requests/compute/vdc_storage_profile_tests.rb +27 -0
  311. data/tests/vcloud_director/requests/compute/vdc_tests.rb +36 -0
  312. data/tests/vcloud_director/requests/compute/versions_tests.rb +13 -0
  313. data/tests/vcloud_director/requests/compute/vm_tests.rb +185 -0
  314. data/tests/watchr.rb +22 -0
  315. metadata +461 -0
@@ -0,0 +1,95 @@
1
+ # Use so you can run in mock mode from the command line
2
+ #
3
+ # FOG_MOCK=true fog
4
+
5
+ if ENV["FOG_MOCK"] == "true"
6
+ Fog.mock!
7
+ end
8
+
9
+ # if in mocked mode, fill in some fake credentials for us
10
+ if Fog.mock?
11
+ Fog.credentials = {
12
+ :aws_access_key_id => 'aws_access_key_id',
13
+ :aws_secret_access_key => 'aws_secret_access_key',
14
+ :ia_access_key_id => 'aws_access_key_id',
15
+ :ia_secret_access_key => 'aws_secret_access_key',
16
+ :bluebox_api_key => 'bluebox_api_key',
17
+ :bluebox_customer_id => 'bluebox_customer_id',
18
+ :brightbox_client_id => 'brightbox_client_id',
19
+ :brightbox_secret => 'brightbox_secret',
20
+ :cloudstack_disk_offering_id => '',
21
+ :cloudstack_host => 'http://cloudstack.example.org',
22
+ :cloudstack_network_ids => '',
23
+ :cloudstack_service_offering_id => '4437ac6c-9fe3-477a-57ec-60a5a45896a4',
24
+ :cloudstack_template_id => '8a31cf9c-f248-0588-256e-9dbf58785216',
25
+ :cloudstack_zone_id => 'c554c592-e09c-9df5-7688-4a32754a4305',
26
+ :cloudstack_project_id => 'f1f1f1f1-f1f1-f1f1-f1f1-f1f1f1f1f1f1',
27
+ :clodo_api_key => 'clodo_api_key',
28
+ :clodo_username => 'clodo_username',
29
+ :digitalocean_api_key => 'digitalocean_api_key',
30
+ :digitalocean_client_id => 'digitalocean_client_id',
31
+ :digitalocean_token => 'digitalocean_token',
32
+ :dnsimple_email => 'dnsimple_email',
33
+ :dnsimple_password => 'dnsimple_password',
34
+ :dnsmadeeasy_api_key => 'dnsmadeeasy_api_key',
35
+ :dnsmadeeasy_secret_key => 'dnsmadeeasy_secret_key',
36
+ :glesys_username => 'glesys_username',
37
+ :glesys_api_key => 'glesys_api_key',
38
+ :go_grid_api_key => 'go_grid_api_key',
39
+ :go_grid_shared_secret => 'go_grid_shared_secret',
40
+ :hp_access_key => 'hp_access_key',
41
+ :hp_secret_key => 'hp_secret_key',
42
+ :hp_tenant_id => 'hp_tenant_id',
43
+ :hp_avl_zone => 'hp_avl_zone',
44
+ :hp_auth_uri => 'http://hp/v2.0/tokens',
45
+ :os_account_meta_temp_url_key => 'os_account_meta_temp_url_key',
46
+ :ibm_username => 'ibm_username',
47
+ :ibm_password => 'ibm_password',
48
+ :joyent_username => "joyentuser",
49
+ :joyent_password => "joyentpass",
50
+ :linode_api_key => 'linode_api_key',
51
+ :local_root => '~/.fog',
52
+ :bare_metal_cloud_password => 'bare_metal_cloud_password',
53
+ :bare_metal_cloud_username => 'bare_metal_cloud_username',
54
+ :ninefold_compute_key => 'ninefold_compute_key',
55
+ :ninefold_compute_secret => 'ninefold_compute_secret',
56
+ :ninefold_storage_secret => 'ninefold_storage_secret',
57
+ :ninefold_storage_token => 'ninefold_storage_token',
58
+ # :public_key_path => '~/.ssh/id_rsa.pub',
59
+ # :private_key_path => '~/.ssh/id_rsa',
60
+ :opennebula_endpoint => 'http://opennebula:2633/RPC2',
61
+ :opennebula_username => 'oneadmin',
62
+ :opennebula_password => 'oneadmin',
63
+ :openstack_api_key => 'openstack_api_key',
64
+ :openstack_username => 'openstack_username',
65
+ :openstack_tenant => 'openstack_tenant',
66
+ :openstack_auth_url => 'http://openstack:35357/v2.0/tokens',
67
+ :ovirt_url => 'http://ovirt:8080/api',
68
+ :ovirt_username => 'admin@internal',
69
+ :ovirt_password => '123123',
70
+ :profitbricks_username => 'profitbricks_username',
71
+ :profitbricks_password => 'profitbricks_password',
72
+ :rackspace_api_key => 'rackspace_api_key',
73
+ :rackspace_region => 'dfw',
74
+ :rackspace_username => 'rackspace_username',
75
+ :sakuracloud_api_token => 'sakuracloud_api_token',
76
+ :sakuracloud_api_token_secret => 'sakuracloud_api_token_secret',
77
+ :vcloud_host => 'vcloud_host',
78
+ :vcloud_password => 'vcloud_password',
79
+ :vcloud_username => 'vcloud_username',
80
+ :vcloud_director_host => 'vcloud-director-host',
81
+ :vcloud_director_password => 'vcloud_director_password',
82
+ :vcloud_director_username => 'vcd_user@vcd_org_name',
83
+ :zerigo_email => 'zerigo_email',
84
+ :zerigo_token => 'zerigo_token',
85
+ :dynect_customer => 'dynect_customer',
86
+ :dynect_username => 'dynect_username',
87
+ :dynect_password => 'dynect_password',
88
+ :cloudsigma_username => 'csuname',
89
+ :cloudsigma_password => 'cspass',
90
+ :docker_username => 'docker-fan',
91
+ :docker_password => 'i<3docker',
92
+ :docker_email => 'dockerfan@gmail.com',
93
+ :docker_url => 'unix://var/run/docker.sock'
94
+ }.merge(Fog.credentials)
95
+ end
@@ -0,0 +1,31 @@
1
+ def model_tests(collection, params = {}, mocks_implemented = true)
2
+ tests('success') do
3
+
4
+ @instance = collection.new(params)
5
+
6
+ tests("#save").succeeds do
7
+ pending if Fog.mocking? && !mocks_implemented
8
+ @instance.save
9
+ end
10
+
11
+ if block_given?
12
+ yield(@instance)
13
+ end
14
+
15
+ tests("#destroy").succeeds do
16
+ pending if Fog.mocking? && !mocks_implemented
17
+ @instance.destroy
18
+ end
19
+
20
+ end
21
+ end
22
+
23
+ # Generates a unique identifier with a random differentiator.
24
+ # Useful when rapidly re-running tests, so we don't have to wait
25
+ # serveral minutes for deleted objects to disappear from the API
26
+ # E.g. 'fog-test-1234'
27
+ def uniq_id(base_name = 'fog-test')
28
+ # random_differentiator
29
+ suffix = rand(65536).to_s(16).rjust(4, '0')
30
+ [base_name, suffix] * '-'
31
+ end
@@ -0,0 +1,11 @@
1
+ module Shindo
2
+ class Tests
3
+ def responds_to(method_names)
4
+ for method_name in [*method_names]
5
+ tests("#respond_to?(:#{method_name})").returns(true) do
6
+ @instance.respond_to?(method_name)
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,107 @@
1
+ Shindo.tests('Fog::Schema::DataValidator', 'meta') do
2
+
3
+ validator = Fog::Schema::DataValidator.new
4
+
5
+ tests('#validate') do
6
+
7
+ tests('returns true') do
8
+
9
+ returns(true, 'when value matches schema expectation') do
10
+ validator.validate({"key" => "Value"}, {"key" => String})
11
+ end
12
+
13
+ returns(true, 'when values within an array all match schema expectation') do
14
+ validator.validate({"key" => [1, 2]}, {"key" => [Integer]})
15
+ end
16
+
17
+ returns(true, 'when nested values match schema expectation') do
18
+ validator.validate({"key" => {:nested_key => "Value"}}, {"key" => {:nested_key => String}})
19
+ end
20
+
21
+ returns(true, 'when collection of values all match schema expectation') do
22
+ validator.validate([{"key" => "Value"}, {"key" => "Value"}], [{"key" => String}])
23
+ end
24
+
25
+ returns(true, 'when collection is empty although schema covers optional members') do
26
+ validator.validate([], [{"key" => String}])
27
+ end
28
+
29
+ returns(true, 'when additional keys are passed and not strict') do
30
+ validator.validate({"key" => "Value", :extra => "Bonus"}, {"key" => String}, {:allow_extra_keys => true})
31
+ end
32
+
33
+ returns(true, 'when value is nil and schema expects NilClass') do
34
+ validator.validate({"key" => nil}, {"key" => NilClass})
35
+ end
36
+
37
+ returns(true, 'when value and schema match as hashes') do
38
+ validator.validate({}, {})
39
+ end
40
+
41
+ returns(true, 'when value and schema match as arrays') do
42
+ validator.validate([], [])
43
+ end
44
+
45
+ returns(true, 'when value is a Time') do
46
+ validator.validate({"time" => Time.now}, {"time" => Time})
47
+ end
48
+
49
+ returns(true, 'when key is missing but value should be NilClass (#1477)') do
50
+ validator.validate({}, {"key" => NilClass}, {:allow_optional_rules => true})
51
+ end
52
+
53
+ returns(true, 'when key is missing but value is nullable (#1477)') do
54
+ validator.validate({}, {"key" => Fog::Nullable::String}, {:allow_optional_rules => true})
55
+ end
56
+
57
+ end
58
+
59
+ tests('returns false') do
60
+
61
+ returns(false, 'when value does not match schema expectation') do
62
+ validator.validate({"key" => nil}, {"key" => String})
63
+ end
64
+
65
+ returns(false, 'when key formats do not match') do
66
+ validator.validate({"key" => "Value"}, {:key => String})
67
+ end
68
+
69
+ returns(false, 'when additional keys are passed and strict') do
70
+ validator.validate({"key" => "Missing"}, {})
71
+ end
72
+
73
+ returns(false, 'when some keys do not appear') do
74
+ validator.validate({}, {"key" => String})
75
+ end
76
+
77
+ returns(false, 'when collection contains a member that does not match schema') do
78
+ validator.validate([{"key" => "Value"}, {"key" => 5}], [{"key" => String}])
79
+ end
80
+
81
+ returns(false, 'when collection has multiple schema patterns') do
82
+ validator.validate([{"key" => "Value"}], [{"key" => Integer}, {"key" => String}])
83
+ end
84
+
85
+ returns(false, 'when hash and array are compared') do
86
+ validator.validate({}, [])
87
+ end
88
+
89
+ returns(false, 'when array and hash are compared') do
90
+ validator.validate([], {})
91
+ end
92
+
93
+ returns(false, 'when a hash is expected but another data type is found') do
94
+ validator.validate({"key" => {:nested_key => []}}, {"key" => {:nested_key => {}}})
95
+ end
96
+
97
+ returns(false, 'when key is missing but value should be NilClass (#1477)') do
98
+ validator.validate({}, {"key" => NilClass}, {:allow_optional_rules => false})
99
+ end
100
+
101
+ returns(false, 'when key is missing but value is nullable (#1477)') do
102
+ validator.validate({}, {"key" => Fog::Nullable::String}, {:allow_optional_rules => false})
103
+ end
104
+
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,9 @@
1
+ module Shindo
2
+ class Tests
3
+ def succeeds
4
+ test('succeeds') do
5
+ !!instance_eval(&Proc.new)
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1 @@
1
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
@@ -0,0 +1,84 @@
1
+ Shindo.tests('Compute::VcloudDirector | ensure_list!', ['vclouddirector']) do
2
+
3
+ # ensure list is not available in mocking mode
4
+ unless Fog.mocking?
5
+
6
+ @service = Fog::Compute::VcloudDirector.new
7
+
8
+ tests('#ensure_list! for single key ensures our key has an array as a value') do
9
+ tests('for key with a hash').returns(Array) do
10
+ testdata = {:k => {:A => '1'}}
11
+ @service.ensure_list!(testdata, :k)
12
+ testdata[:k].class
13
+ end
14
+
15
+ tests('for key with empty array').returns(Array) do
16
+ testdata = {:k => []}
17
+ @service.ensure_list!(testdata, :k)
18
+ testdata[:k].class
19
+ end
20
+
21
+ tests('for key with nothing').returns(Array) do
22
+ testdata = {}
23
+ @service.ensure_list!(testdata, :k)
24
+ testdata[:k].class
25
+ end
26
+
27
+ tests('for key with non-empty array').returns(Array) do
28
+ testdata = {:k => ['one', 'two']}
29
+ @service.ensure_list!(testdata, :k)
30
+ testdata[:k].class
31
+ end
32
+ end
33
+
34
+ tests('#ensure_list! for nested keys ensures that the child key has an array as a value') do
35
+ tests('with no key').returns(Array) do
36
+ testdata = {}
37
+ @service.ensure_list!(testdata, :keys, :key)
38
+ testdata[:keys][:key].class
39
+ end
40
+
41
+ tests('with empty string').returns(Array) do
42
+ testdata = {:keys => ''}
43
+ @service.ensure_list!(testdata, :keys, :key)
44
+ testdata[:keys][:key].class
45
+ end
46
+
47
+ tests('with nested hashes').returns(Array) do
48
+ testdata = {:keys => {:key => {:a => '1'}}}
49
+ @service.ensure_list!(testdata, :keys, :key)
50
+ testdata[:keys][:key].class
51
+ end
52
+ end
53
+
54
+ tests('#ensure_list! with parent and child keys does not effect existing data') do
55
+ tests('for existing array').returns([:one, :two]) do
56
+ testdata = {:keys => {:key => [:one, :two]}}
57
+ @service.ensure_list!(testdata, :keys, :key)
58
+ testdata[:keys][:key]
59
+ end
60
+
61
+ tests('for existing hash').returns([{:one => :two}]) do
62
+ testdata = {:keys => {:key => {:one => :two}}}
63
+ @service.ensure_list!(testdata, :keys, :key)
64
+ testdata[:keys][:key]
65
+ end
66
+ end
67
+
68
+ tests('#ensure_list! with single key does not effect existing data') do
69
+ tests('for existing array').returns([:one, :two]) do
70
+ testdata = {:k => [:one, :two]}
71
+ @service.ensure_list!(testdata, :k)
72
+ testdata[:k]
73
+ end
74
+
75
+ tests('for existing hash').returns([{:one => 'two'}]) do
76
+ testdata = {:k => {:one => 'two'}}
77
+ @service.ensure_list!(testdata, :k)
78
+ testdata[:k]
79
+ end
80
+ end
81
+
82
+ end
83
+
84
+ end
@@ -0,0 +1 @@
1
+ NOT A REAL ISO
@@ -0,0 +1,532 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <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" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" deployed="true" status="4" name="vimes.test.com" id="urn:vcloud:vapp:887e71bc-5934-4a4a-aa4c-8038aa19dfd5" type="application/vnd.vmware.vcloud.vApp+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5" 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://www.vmware.com/schema/ovf http://www.vmware.com/schema/ovf http://schemas.dmtf.org/ovf/envelope/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd http://schemas.dmtf.org/ovf/environment/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8027_1.1.0.xsd http://www.vmware.com/vcloud/v1.5 http://server.test.com/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">
3
+ <Link rel="power:powerOff" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/power/action/powerOff"/>
4
+ <Link rel="power:reboot" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/power/action/reboot"/>
5
+ <Link rel="power:reset" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/power/action/reset"/>
6
+ <Link rel="power:shutdown" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/power/action/shutdown"/>
7
+ <Link rel="power:suspend" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/power/action/suspend"/>
8
+ <Link rel="deploy" type="application/vnd.vmware.vcloud.deployVAppParams+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/action/deploy"/>
9
+ <Link rel="undeploy" type="application/vnd.vmware.vcloud.undeployVAppParams+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/action/undeploy"/>
10
+ <Link rel="down" type="application/vnd.vmware.vcloud.vAppNetwork+xml" name="Non-DMZNetwork" href="https://server.test.com/api/network/234145e8-951d-4ee5-892a-10abd2d22fa1"/>
11
+ <Link rel="down" type="application/vnd.vmware.vcloud.vAppNetwork+xml" name="nfs-net-01" href="https://server.test.com/api/network/66d621f2-cd78-4931-8918-2d4c3a97e155"/>
12
+ <Link rel="down" type="application/vnd.vmware.vcloud.controlAccess+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/controlAccess/"/>
13
+ <Link rel="controlAccess" type="application/vnd.vmware.vcloud.controlAccess+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/action/controlAccess"/>
14
+ <Link rel="up" type="application/vnd.vmware.vcloud.vdc+xml" href="https://server.test.com/api/vdc/a204b462-80ec-4830-9a84-ac958ce5be23"/>
15
+ <Link rel="edit" type="application/vnd.vmware.vcloud.vApp+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5"/>
16
+ <Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/owner"/>
17
+ <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/metadata"/>
18
+ <Link rel="ovf" type="text/xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/ovf"/>
19
+ <Link rel="down" type="application/vnd.vmware.vcloud.productSections+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/productSections/"/>
20
+ <Link rel="snapshot:create" type="application/vnd.vmware.vcloud.createSnapshotParams+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/action/createSnapshot"/>
21
+ <Description/>
22
+ <LeaseSettingsSection type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/leaseSettingsSection/" ovf:required="false">
23
+ <ovf:Info>Lease settings section</ovf:Info>
24
+ <Link rel="edit" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/leaseSettingsSection/"/>
25
+ <DeploymentLeaseInSeconds>0</DeploymentLeaseInSeconds>
26
+ <StorageLeaseInSeconds>0</StorageLeaseInSeconds>
27
+ </LeaseSettingsSection>
28
+ <ovf:StartupSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ns12:href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/startupSection/" ns12:type="application/vnd.vmware.vcloud.startupSection+xml">
29
+ <ovf:Info>VApp startup section</ovf:Info>
30
+ <ovf:Item ovf:stopDelay="0" ovf:stopAction="powerOff" ovf:startDelay="0" ovf:startAction="powerOn" ovf:order="0" ovf:id="summoning-dark"/>
31
+ <ovf:Item ovf:stopDelay="0" ovf:stopAction="powerOff" ovf:startDelay="0" ovf:startAction="powerOn" ovf:order="0" ovf:id="sam-vimes"/>
32
+ <Link rel="edit" type="application/vnd.vmware.vcloud.startupSection+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/startupSection/"/>
33
+ </ovf:StartupSection>
34
+ <ovf:NetworkSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ns12:href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/networkSection/" ns12:type="application/vnd.vmware.vcloud.networkSection+xml">
35
+ <ovf:Info>The list of logical networks</ovf:Info>
36
+ <ovf:Network ovf:name="Non-DMZNetwork">
37
+ <ovf:Description/>
38
+ </ovf:Network>
39
+ <ovf:Network ovf:name="nfs-net-01">
40
+ <ovf:Description/>
41
+ </ovf:Network>
42
+ </ovf:NetworkSection>
43
+ <NetworkConfigSection type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/networkConfigSection/" ovf:required="false">
44
+ <ovf:Info>The configuration parameters for logical networks</ovf:Info>
45
+ <Link rel="edit" type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/networkConfigSection/"/>
46
+ <NetworkConfig networkName="Non-DMZNetwork">
47
+ <Link rel="repair" href="https://server.test.com/api/admin/network/234145e8-951d-4ee5-892a-10abd2d22fa1/action/reset"/>
48
+ <Description/>
49
+ <Configuration>
50
+ <IpScopes>
51
+ <IpScope>
52
+ <IsInherited>true</IsInherited>
53
+ <Gateway>192.168.96.1</Gateway>
54
+ <Netmask>255.255.255.0</Netmask>
55
+ <Dns1>192.168.33.71</Dns1>
56
+ <Dns2>192.168.33.72</Dns2>
57
+ <DnsSuffix>test.com</DnsSuffix>
58
+ <IsEnabled>true</IsEnabled>
59
+ <IpRanges>
60
+ <IpRange>
61
+ <StartAddress>192.168.96.2</StartAddress>
62
+ <EndAddress>192.168.96.128</EndAddress>
63
+ </IpRange>
64
+ </IpRanges>
65
+ </IpScope>
66
+ </IpScopes>
67
+ <ParentNetwork name="Non-DMZNetwork" id="8d7b44c0-b811-43ce-bf3b-fba334e8b5dd" href="https://server.test.com/api/admin/network/8d7b44c0-b811-43ce-bf3b-fba334e8b5dd"/>
68
+ <FenceMode>bridged</FenceMode>
69
+ <RetainNetInfoAcrossDeployments>false</RetainNetInfoAcrossDeployments>
70
+ </Configuration>
71
+ <IsDeployed>true</IsDeployed>
72
+ </NetworkConfig>
73
+ <NetworkConfig networkName="nfs-net-01">
74
+ <Link rel="repair" href="https://server.test.com/api/admin/network/66d621f2-cd78-4931-8918-2d4c3a97e155/action/reset"/>
75
+ <Description/>
76
+ <Configuration>
77
+ <IpScopes>
78
+ <IpScope>
79
+ <IsInherited>true</IsInherited>
80
+ <Gateway>10.81.196.1</Gateway>
81
+ <Netmask>255.255.255.0</Netmask>
82
+ <IsEnabled>true</IsEnabled>
83
+ <IpRanges>
84
+ <IpRange>
85
+ <StartAddress>10.81.196.201</StartAddress>
86
+ <EndAddress>10.81.196.240</EndAddress>
87
+ </IpRange>
88
+ </IpRanges>
89
+ </IpScope>
90
+ </IpScopes>
91
+ <ParentNetwork name="nfs-net-01" id="3f31514e-3ecb-48cc-b32f-ad4c2017ba0b" href="https://server.test.com/api/admin/network/3f31514e-3ecb-48cc-b32f-ad4c2017ba0b"/>
92
+ <FenceMode>bridged</FenceMode>
93
+ <RetainNetInfoAcrossDeployments>false</RetainNetInfoAcrossDeployments>
94
+ </Configuration>
95
+ <IsDeployed>true</IsDeployed>
96
+ </NetworkConfig>
97
+ </NetworkConfigSection>
98
+ <SnapshotSection type="application/vnd.vmware.vcloud.snapshotSection+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5/snapshotSection" ovf:required="false">
99
+ <ovf:Info>Snapshot information section</ovf:Info>
100
+ </SnapshotSection>
101
+ <DateCreated>2014-07-08T23:33:21.817-04:00</DateCreated>
102
+ <Owner type="application/vnd.vmware.vcloud.owner+xml">
103
+ <User type="application/vnd.vmware.admin.user+xml" name="api" href="https://server.test.com/api/admin/user/f9cf918e-e171-4bc2-b3ac-9e65ca667f2c"/>
104
+ </Owner>
105
+ <InMaintenanceMode>false</InMaintenanceMode>
106
+ <Children>
107
+ <Vm needsCustomization="false" deployed="true" status="4" name="summoning-dark" id="urn:vcloud:vm:f09c53c0-d0b3-4a31-9c8d-19de2c676e1e" type="application/vnd.vmware.vcloud.vm+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e">
108
+ <Link rel="power:powerOff" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/power/action/powerOff"/>
109
+ <Link rel="power:reboot" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/power/action/reboot"/>
110
+ <Link rel="power:reset" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/power/action/reset"/>
111
+ <Link rel="power:shutdown" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/power/action/shutdown"/>
112
+ <Link rel="power:suspend" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/power/action/suspend"/>
113
+ <Link rel="undeploy" type="application/vnd.vmware.vcloud.undeployVAppParams+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/action/undeploy"/>
114
+ <Link rel="edit" type="application/vnd.vmware.vcloud.vm+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e"/>
115
+ <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/metadata"/>
116
+ <Link rel="down" type="application/vnd.vmware.vcloud.productSections+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/productSections/"/>
117
+ <Link rel="screen:thumbnail" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/screen"/>
118
+ <Link rel="screen:acquireTicket" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/screen/action/acquireTicket"/>
119
+ <Link rel="media:insertMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/media/action/insertMedia"/>
120
+ <Link rel="media:ejectMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/media/action/ejectMedia"/>
121
+ <Link rel="disk:attach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/disk/action/attach"/>
122
+ <Link rel="disk:detach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/disk/action/detach"/>
123
+ <Link rel="installVmwareTools" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/action/installVMwareTools"/>
124
+ <Link rel="snapshot:create" type="application/vnd.vmware.vcloud.createSnapshotParams+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/action/createSnapshot"/>
125
+ <Link rel="reconfigureVm" type="application/vnd.vmware.vcloud.vm+xml" name="summoning-dark" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/action/reconfigureVm"/>
126
+ <Link rel="up" type="application/vnd.vmware.vcloud.vApp+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5"/>
127
+ <ovf:VirtualHardwareSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ovf:transport="" ns12:href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/" ns12:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
128
+ <ovf:Info>Virtual hardware requirements</ovf:Info>
129
+ <ovf:System>
130
+ <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
131
+ <vssd:InstanceID>0</vssd:InstanceID>
132
+ <vssd:VirtualSystemIdentifier>summoning-dark</vssd:VirtualSystemIdentifier>
133
+ <vssd:VirtualSystemType>vmx-08</vssd:VirtualSystemType>
134
+ </ovf:System>
135
+ <ovf:Item>
136
+ <rasd:Address>00:50:56:29:0c:a0</rasd:Address>
137
+ <rasd:AddressOnParent>1</rasd:AddressOnParent>
138
+ <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
139
+ <rasd:Connection ns12:ipAddress="10.81.196.205" ns12:primaryNetworkConnection="false" ns12:ipAddressingMode="POOL">nfs-net-01</rasd:Connection>
140
+ <rasd:Description>E1000 ethernet adapter on "nfs-net-01"</rasd:Description>
141
+ <rasd:ElementName>Network adapter 1</rasd:ElementName>
142
+ <rasd:InstanceID>1</rasd:InstanceID>
143
+ <rasd:ResourceSubType>E1000</rasd:ResourceSubType>
144
+ <rasd:ResourceType>10</rasd:ResourceType>
145
+ </ovf:Item>
146
+ <ovf:Item>
147
+ <rasd:Address>00:50:56:29:0c:9f</rasd:Address>
148
+ <rasd:AddressOnParent>0</rasd:AddressOnParent>
149
+ <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
150
+ <rasd:Connection ns12:ipAddress="192.168.96.4" ns12:primaryNetworkConnection="true" ns12:ipAddressingMode="POOL">Non-DMZNetwork</rasd:Connection>
151
+ <rasd:Description>E1000 ethernet adapter on "Non-DMZNetwork"</rasd:Description>
152
+ <rasd:ElementName>Network adapter 0</rasd:ElementName>
153
+ <rasd:InstanceID>2</rasd:InstanceID>
154
+ <rasd:ResourceSubType>E1000</rasd:ResourceSubType>
155
+ <rasd:ResourceType>10</rasd:ResourceType>
156
+ </ovf:Item>
157
+ <ovf:Item>
158
+ <rasd:Address>0</rasd:Address>
159
+ <rasd:Description>SCSI Controller</rasd:Description>
160
+ <rasd:ElementName>SCSI Controller 0</rasd:ElementName>
161
+ <rasd:InstanceID>3</rasd:InstanceID>
162
+ <rasd:ResourceSubType>lsilogicsas</rasd:ResourceSubType>
163
+ <rasd:ResourceType>6</rasd:ResourceType>
164
+ </ovf:Item>
165
+ <ovf:Item>
166
+ <rasd:AddressOnParent>0</rasd:AddressOnParent>
167
+ <rasd:Description>Hard disk</rasd:Description>
168
+ <rasd:ElementName>Hard disk 1</rasd:ElementName>
169
+ <rasd:HostResource ns12:capacity="61440" ns12:busSubType="lsilogicsas" ns12:busType="6"/>
170
+ <rasd:InstanceID>2000</rasd:InstanceID>
171
+ <rasd:Parent>3</rasd:Parent>
172
+ <rasd:ResourceType>17</rasd:ResourceType>
173
+ </ovf:Item>
174
+ <ovf:Item>
175
+ <rasd:Address>0</rasd:Address>
176
+ <rasd:Description>IDE Controller</rasd:Description>
177
+ <rasd:ElementName>IDE Controller 0</rasd:ElementName>
178
+ <rasd:InstanceID>4</rasd:InstanceID>
179
+ <rasd:ResourceType>5</rasd:ResourceType>
180
+ </ovf:Item>
181
+ <ovf:Item>
182
+ <rasd:AddressOnParent>1</rasd:AddressOnParent>
183
+ <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
184
+ <rasd:Description>CD/DVD Drive</rasd:Description>
185
+ <rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>
186
+ <rasd:HostResource/>
187
+ <rasd:InstanceID>3002</rasd:InstanceID>
188
+ <rasd:Parent>4</rasd:Parent>
189
+ <rasd:ResourceType>15</rasd:ResourceType>
190
+ </ovf:Item>
191
+ <ovf:Item ns12:href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/cpu" ns12:type="application/vnd.vmware.vcloud.rasdItem+xml">
192
+ <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
193
+ <rasd:Description>Number of Virtual CPUs</rasd:Description>
194
+ <rasd:ElementName>2 virtual CPU(s)</rasd:ElementName>
195
+ <rasd:InstanceID>5</rasd:InstanceID>
196
+ <rasd:Reservation>0</rasd:Reservation>
197
+ <rasd:ResourceType>3</rasd:ResourceType>
198
+ <rasd:VirtualQuantity>2</rasd:VirtualQuantity>
199
+ <rasd:Weight>0</rasd:Weight>
200
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/cpu"/>
201
+ </ovf:Item>
202
+ <ovf:Item ns12:href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/memory" ns12:type="application/vnd.vmware.vcloud.rasdItem+xml">
203
+ <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
204
+ <rasd:Description>Memory Size</rasd:Description>
205
+ <rasd:ElementName>2048 MB of memory</rasd:ElementName>
206
+ <rasd:InstanceID>6</rasd:InstanceID>
207
+ <rasd:Reservation>0</rasd:Reservation>
208
+ <rasd:ResourceType>4</rasd:ResourceType>
209
+ <rasd:VirtualQuantity>2048</rasd:VirtualQuantity>
210
+ <rasd:Weight>0</rasd:Weight>
211
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/memory"/>
212
+ </ovf:Item>
213
+ <Link rel="edit" type="application/vnd.vmware.vcloud.virtualHardwareSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/"/>
214
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/cpu"/>
215
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/cpu"/>
216
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/memory"/>
217
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/memory"/>
218
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/disks"/>
219
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/disks"/>
220
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/media"/>
221
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/networkCards"/>
222
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/networkCards"/>
223
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/serialPorts"/>
224
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/virtualHardwareSection/serialPorts"/>
225
+ </ovf:VirtualHardwareSection>
226
+ <ovf:OperatingSystemSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ovf:id="102" ns12:href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/operatingSystemSection/" ns12:type="application/vnd.vmware.vcloud.operatingSystemSection+xml" vmw:osType="windows7Server64Guest">
227
+ <ovf:Info>Specifies the operating system installed</ovf:Info>
228
+ <ovf:Description>Microsoft Windows Server 2008 R2 (64-bit)</ovf:Description>
229
+ <Link rel="edit" type="application/vnd.vmware.vcloud.operatingSystemSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/operatingSystemSection/"/>
230
+ </ovf:OperatingSystemSection>
231
+ <NetworkConnectionSection type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/networkConnectionSection/" ovf:required="false">
232
+ <ovf:Info>Specifies the available VM network connections</ovf:Info>
233
+ <PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
234
+ <NetworkConnection network="nfs-net-01" needsCustomization="false">
235
+ <NetworkConnectionIndex>1</NetworkConnectionIndex>
236
+ <IpAddress>10.81.196.205</IpAddress>
237
+ <IsConnected>true</IsConnected>
238
+ <MACAddress>00:50:56:29:0c:a0</MACAddress>
239
+ <IpAddressAllocationMode>POOL</IpAddressAllocationMode>
240
+ </NetworkConnection>
241
+ <NetworkConnection network="Non-DMZNetwork" needsCustomization="false">
242
+ <NetworkConnectionIndex>0</NetworkConnectionIndex>
243
+ <IpAddress>192.168.96.4</IpAddress>
244
+ <IsConnected>true</IsConnected>
245
+ <MACAddress>00:50:56:29:0c:9f</MACAddress>
246
+ <IpAddressAllocationMode>POOL</IpAddressAllocationMode>
247
+ </NetworkConnection>
248
+ <Link rel="edit" type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/networkConnectionSection/"/>
249
+ </NetworkConnectionSection>
250
+ <GuestCustomizationSection type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/guestCustomizationSection/" ovf:required="false">
251
+ <ovf:Info>Specifies Guest OS Customization Settings</ovf:Info>
252
+ <Enabled>true</Enabled>
253
+ <ChangeSid>false</ChangeSid>
254
+ <VirtualMachineId>f09c53c0-d0b3-4a31-9c8d-19de2c676e1e</VirtualMachineId>
255
+ <JoinDomainEnabled>false</JoinDomainEnabled>
256
+ <UseOrgSettings>false</UseOrgSettings>
257
+ <AdminPasswordEnabled>false</AdminPasswordEnabled>
258
+ <AdminPasswordAuto>true</AdminPasswordAuto>
259
+ <ResetPasswordRequired>false</ResetPasswordRequired>
260
+ <ComputerName>summoning-dark</ComputerName>
261
+ <Link rel="edit" type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/guestCustomizationSection/"/>
262
+ </GuestCustomizationSection>
263
+ <RuntimeInfoSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ns12:href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/runtimeInfoSection" ns12:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
264
+ <ovf:Info>Specifies Runtime info</ovf:Info>
265
+ <VMWareTools version="9409"/>
266
+ </RuntimeInfoSection>
267
+ <SnapshotSection type="application/vnd.vmware.vcloud.snapshotSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/snapshotSection" ovf:required="false">
268
+ <ovf:Info>Snapshot information section</ovf:Info>
269
+ </SnapshotSection>
270
+ <DateCreated>2014-07-08T23:33:24.510-04:00</DateCreated>
271
+ <VAppScopedLocalId>a395377e-8f69-4ba4-8b09-f5ea93f7367e</VAppScopedLocalId>
272
+ <ovfenv:Environment xmlns:ns12="http://www.vmware.com/schema/ovfenv" ovfenv:id="" ns12:vCenterId="vm-3988">
273
+ <ovfenv:PlatformSection>
274
+ <ovfenv:Kind>VMware ESXi</ovfenv:Kind>
275
+ <ovfenv:Version>5.1.0</ovfenv:Version>
276
+ <ovfenv:Vendor>VMware, Inc.</ovfenv:Vendor>
277
+ <ovfenv:Locale>en</ovfenv:Locale>
278
+ </ovfenv:PlatformSection>
279
+ <ovfenv:PropertySection>
280
+ <ovfenv:Property ovfenv:value="None" ovfenv:key="vCloud_UseSysPrep"/>
281
+ <ovfenv:Property ovfenv:value="11" ovfenv:key="vCloud_bitMask"/>
282
+ <ovfenv:Property ovfenv:value="static" ovfenv:key="vCloud_bootproto_0"/>
283
+ <ovfenv:Property ovfenv:value="static" ovfenv:key="vCloud_bootproto_1"/>
284
+ <ovfenv:Property ovfenv:value="summoning-dark" ovfenv:key="vCloud_computerName"/>
285
+ <ovfenv:Property ovfenv:value="" ovfenv:key="vCloud_dns1_0"/>
286
+ <ovfenv:Property ovfenv:value="192.168.33.71" ovfenv:key="vCloud_dns1_1"/>
287
+ <ovfenv:Property ovfenv:value="" ovfenv:key="vCloud_dns2_0"/>
288
+ <ovfenv:Property ovfenv:value="192.168.33.72" ovfenv:key="vCloud_dns2_1"/>
289
+ <ovfenv:Property ovfenv:value="10.81.196.1" ovfenv:key="vCloud_gateway_0"/>
290
+ <ovfenv:Property ovfenv:value="192.168.96.1" ovfenv:key="vCloud_gateway_1"/>
291
+ <ovfenv:Property ovfenv:value="10.81.196.205" ovfenv:key="vCloud_ip_0"/>
292
+ <ovfenv:Property ovfenv:value="192.168.96.4" ovfenv:key="vCloud_ip_1"/>
293
+ <ovfenv:Property ovfenv:value="00:50:56:29:0c:a0" ovfenv:key="vCloud_macaddr_0"/>
294
+ <ovfenv:Property ovfenv:value="00:50:56:29:0c:9f" ovfenv:key="vCloud_macaddr_1"/>
295
+ <ovfenv:Property ovfenv:value="f7553b7f-e53a-43d6-bec7-3385eed5835b" ovfenv:key="vCloud_markerid"/>
296
+ <ovfenv:Property ovfenv:value="255.255.255.0" ovfenv:key="vCloud_netmask_0"/>
297
+ <ovfenv:Property ovfenv:value="255.255.255.0" ovfenv:key="vCloud_netmask_1"/>
298
+ <ovfenv:Property ovfenv:value="2" ovfenv:key="vCloud_numnics"/>
299
+ <ovfenv:Property ovfenv:value="1" ovfenv:key="vCloud_primaryNic"/>
300
+ <ovfenv:Property ovfenv:value="957602600" ovfenv:key="vCloud_reconfigToken"/>
301
+ <ovfenv:Property ovfenv:value="0" ovfenv:key="vCloud_resetPassword"/>
302
+ <ovfenv:Property ovfenv:value="" ovfenv:key="vCloud_suffix_0"/>
303
+ <ovfenv:Property ovfenv:value="test.com" ovfenv:key="vCloud_suffix_1"/>
304
+ </ovfenv:PropertySection>
305
+ <ve:EthernetAdapterSection xmlns:ve="http://www.vmware.com/schema/ovfenv" xmlns="http://schemas.dmtf.org/ovf/environment/1" xmlns:oe="http://schemas.dmtf.org/ovf/environment/1">
306
+ <ve:Adapter ve:mac="00:50:56:29:0c:9f" ve:network="dvs.VCDVSNon-DMZNetwork-11ba052e-d945-4aff-8ee4-e6e933516c22" ve:unitNumber="7"/>
307
+ <ve:Adapter ve:mac="00:50:56:29:0c:a0" ve:network="dvPortGroup - V2799 - NFS-NET" ve:unitNumber="8"/>
308
+
309
+ </ve:EthernetAdapterSection>
310
+ </ovfenv:Environment>
311
+ <VmCapabilities type="application/vnd.vmware.vcloud.vmCapabilitiesSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/vmCapabilities/">
312
+ <Link rel="edit" type="application/vnd.vmware.vcloud.vmCapabilitiesSection+xml" href="https://server.test.com/api/vApp/vm-f09c53c0-d0b3-4a31-9c8d-19de2c676e1e/vmCapabilities/"/>
313
+ <MemoryHotAddEnabled>false</MemoryHotAddEnabled>
314
+ <CpuHotAddEnabled>false</CpuHotAddEnabled>
315
+ </VmCapabilities>
316
+ <StorageProfile type="application/vnd.vmware.vcloud.vdcStorageProfile+xml" name="StorageTier-SelectPlus" href="https://server.test.com/api/vdcStorageProfile/7d4501e8-d734-4dc1-bc44-8eaa810629a0"/>
317
+ </Vm>
318
+ <Vm nestedHypervisorEnabled="false" needsCustomization="false" deployed="true" status="4" name="sam-vimes" id="urn:vcloud:vm:315485fb-e4a2-4dae-8890-2c21439da1fb" type="application/vnd.vmware.vcloud.vm+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb">
319
+ <Link rel="power:powerOff" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/power/action/powerOff"/>
320
+ <Link rel="power:reboot" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/power/action/reboot"/>
321
+ <Link rel="power:reset" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/power/action/reset"/>
322
+ <Link rel="power:shutdown" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/power/action/shutdown"/>
323
+ <Link rel="power:suspend" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/power/action/suspend"/>
324
+ <Link rel="undeploy" type="application/vnd.vmware.vcloud.undeployVAppParams+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/action/undeploy"/>
325
+ <Link rel="edit" type="application/vnd.vmware.vcloud.vm+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb"/>
326
+ <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/metadata"/>
327
+ <Link rel="down" type="application/vnd.vmware.vcloud.productSections+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/productSections/"/>
328
+ <Link rel="screen:thumbnail" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/screen"/>
329
+ <Link rel="screen:acquireTicket" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/screen/action/acquireTicket"/>
330
+ <Link rel="media:insertMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/media/action/insertMedia"/>
331
+ <Link rel="media:ejectMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/media/action/ejectMedia"/>
332
+ <Link rel="disk:attach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/disk/action/attach"/>
333
+ <Link rel="disk:detach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/disk/action/detach"/>
334
+ <Link rel="installVmwareTools" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/action/installVMwareTools"/>
335
+ <Link rel="snapshot:create" type="application/vnd.vmware.vcloud.createSnapshotParams+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/action/createSnapshot"/>
336
+ <Link rel="reconfigureVm" type="application/vnd.vmware.vcloud.vm+xml" name="sam-vimes" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/action/reconfigureVm"/>
337
+ <Link rel="up" type="application/vnd.vmware.vcloud.vApp+xml" href="https://server.test.com/api/vApp/vapp-887e71bc-5934-4a4a-aa4c-8038aa19dfd5"/>
338
+ <Description/>
339
+ <ovf:VirtualHardwareSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ovf:transport="" ns12:href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/" ns12:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
340
+ <ovf:Info>Virtual hardware requirements</ovf:Info>
341
+ <ovf:System>
342
+ <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
343
+ <vssd:InstanceID>0</vssd:InstanceID>
344
+ <vssd:VirtualSystemIdentifier>sam-vimes</vssd:VirtualSystemIdentifier>
345
+ <vssd:VirtualSystemType>vmx-09</vssd:VirtualSystemType>
346
+ </ovf:System>
347
+ <ovf:Item>
348
+ <rasd:Address>00:50:56:29:0c:a1</rasd:Address>
349
+ <rasd:AddressOnParent>0</rasd:AddressOnParent>
350
+ <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
351
+ <rasd:Connection ns12:ipAddress="192.168.96.5" ns12:primaryNetworkConnection="true" ns12:ipAddressingMode="POOL">Non-DMZNetwork</rasd:Connection>
352
+ <rasd:Description>Vmxnet3 ethernet adapter on "Non-DMZNetwork"</rasd:Description>
353
+ <rasd:ElementName>Network adapter 0</rasd:ElementName>
354
+ <rasd:InstanceID>1</rasd:InstanceID>
355
+ <rasd:ResourceSubType>VMXNET3</rasd:ResourceSubType>
356
+ <rasd:ResourceType>10</rasd:ResourceType>
357
+ </ovf:Item>
358
+ <ovf:Item>
359
+ <rasd:Address>00:50:56:29:0c:a2</rasd:Address>
360
+ <rasd:AddressOnParent>1</rasd:AddressOnParent>
361
+ <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
362
+ <rasd:Connection ns12:ipAddress="10.81.196.206" ns12:primaryNetworkConnection="false" ns12:ipAddressingMode="POOL">nfs-net-01</rasd:Connection>
363
+ <rasd:Description>Vmxnet3 ethernet adapter on "nfs-net-01"</rasd:Description>
364
+ <rasd:ElementName>Network adapter 1</rasd:ElementName>
365
+ <rasd:InstanceID>2</rasd:InstanceID>
366
+ <rasd:ResourceSubType>VMXNET3</rasd:ResourceSubType>
367
+ <rasd:ResourceType>10</rasd:ResourceType>
368
+ </ovf:Item>
369
+ <ovf:Item>
370
+ <rasd:Address>0</rasd:Address>
371
+ <rasd:Description>SCSI Controller</rasd:Description>
372
+ <rasd:ElementName>SCSI Controller 0</rasd:ElementName>
373
+ <rasd:InstanceID>3</rasd:InstanceID>
374
+ <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
375
+ <rasd:ResourceType>6</rasd:ResourceType>
376
+ </ovf:Item>
377
+ <ovf:Item>
378
+ <rasd:AddressOnParent>0</rasd:AddressOnParent>
379
+ <rasd:Description>Hard disk</rasd:Description>
380
+ <rasd:ElementName>Hard disk 1</rasd:ElementName>
381
+ <rasd:HostResource ns12:capacity="10240" ns12:busSubType="lsilogic" ns12:busType="6"/>
382
+ <rasd:InstanceID>2000</rasd:InstanceID>
383
+ <rasd:Parent>3</rasd:Parent>
384
+ <rasd:ResourceType>17</rasd:ResourceType>
385
+ </ovf:Item>
386
+ <ovf:Item>
387
+ <rasd:Address>0</rasd:Address>
388
+ <rasd:Description>IDE Controller</rasd:Description>
389
+ <rasd:ElementName>IDE Controller 0</rasd:ElementName>
390
+ <rasd:InstanceID>4</rasd:InstanceID>
391
+ <rasd:ResourceType>5</rasd:ResourceType>
392
+ </ovf:Item>
393
+ <ovf:Item>
394
+ <rasd:AddressOnParent>1</rasd:AddressOnParent>
395
+ <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
396
+ <rasd:Description>CD/DVD Drive</rasd:Description>
397
+ <rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>
398
+ <rasd:HostResource/>
399
+ <rasd:InstanceID>3002</rasd:InstanceID>
400
+ <rasd:Parent>4</rasd:Parent>
401
+ <rasd:ResourceType>15</rasd:ResourceType>
402
+ </ovf:Item>
403
+ <ovf:Item ns12:href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/cpu" ns12:type="application/vnd.vmware.vcloud.rasdItem+xml">
404
+ <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
405
+ <rasd:Description>Number of Virtual CPUs</rasd:Description>
406
+ <rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
407
+ <rasd:InstanceID>5</rasd:InstanceID>
408
+ <rasd:Reservation>0</rasd:Reservation>
409
+ <rasd:ResourceType>3</rasd:ResourceType>
410
+ <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
411
+ <rasd:Weight>0</rasd:Weight>
412
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/cpu"/>
413
+ </ovf:Item>
414
+ <ovf:Item ns12:href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/memory" ns12:type="application/vnd.vmware.vcloud.rasdItem+xml">
415
+ <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
416
+ <rasd:Description>Memory Size</rasd:Description>
417
+ <rasd:ElementName>2048 MB of memory</rasd:ElementName>
418
+ <rasd:InstanceID>6</rasd:InstanceID>
419
+ <rasd:Reservation>0</rasd:Reservation>
420
+ <rasd:ResourceType>4</rasd:ResourceType>
421
+ <rasd:VirtualQuantity>2048</rasd:VirtualQuantity>
422
+ <rasd:Weight>0</rasd:Weight>
423
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/memory"/>
424
+ </ovf:Item>
425
+ <Link rel="edit" type="application/vnd.vmware.vcloud.virtualHardwareSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/"/>
426
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/cpu"/>
427
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/cpu"/>
428
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/memory"/>
429
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/memory"/>
430
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/disks"/>
431
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/disks"/>
432
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/media"/>
433
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/networkCards"/>
434
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/networkCards"/>
435
+ <Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/serialPorts"/>
436
+ <Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/virtualHardwareSection/serialPorts"/>
437
+ </ovf:VirtualHardwareSection>
438
+ <ovf:OperatingSystemSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ovf:id="101" ns12:href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/operatingSystemSection/" ns12:type="application/vnd.vmware.vcloud.operatingSystemSection+xml" vmw:osType="oracleLinux64Guest">
439
+ <ovf:Info>Specifies the operating system installed</ovf:Info>
440
+ <ovf:Description>Oracle Linux 4/5/6 (64-bit)</ovf:Description>
441
+ <Link rel="edit" type="application/vnd.vmware.vcloud.operatingSystemSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/operatingSystemSection/"/>
442
+ </ovf:OperatingSystemSection>
443
+ <NetworkConnectionSection type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/networkConnectionSection/" ovf:required="false">
444
+ <ovf:Info>Specifies the available VM network connections</ovf:Info>
445
+ <PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
446
+ <NetworkConnection network="Non-DMZNetwork" needsCustomization="false">
447
+ <NetworkConnectionIndex>0</NetworkConnectionIndex>
448
+ <IpAddress>192.168.96.5</IpAddress>
449
+ <IsConnected>true</IsConnected>
450
+ <MACAddress>00:50:56:29:0c:a1</MACAddress>
451
+ <IpAddressAllocationMode>POOL</IpAddressAllocationMode>
452
+ </NetworkConnection>
453
+ <NetworkConnection network="nfs-net-01" needsCustomization="false">
454
+ <NetworkConnectionIndex>1</NetworkConnectionIndex>
455
+ <IpAddress>10.81.196.206</IpAddress>
456
+ <IsConnected>true</IsConnected>
457
+ <MACAddress>00:50:56:29:0c:a2</MACAddress>
458
+ <IpAddressAllocationMode>POOL</IpAddressAllocationMode>
459
+ </NetworkConnection>
460
+ <Link rel="edit" type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/networkConnectionSection/"/>
461
+ </NetworkConnectionSection>
462
+ <GuestCustomizationSection type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/guestCustomizationSection/" ovf:required="false">
463
+ <ovf:Info>Specifies Guest OS Customization Settings</ovf:Info>
464
+ <Enabled>true</Enabled>
465
+ <ChangeSid>false</ChangeSid>
466
+ <VirtualMachineId>315485fb-e4a2-4dae-8890-2c21439da1fb</VirtualMachineId>
467
+ <JoinDomainEnabled>false</JoinDomainEnabled>
468
+ <UseOrgSettings>false</UseOrgSettings>
469
+ <AdminPasswordEnabled>false</AdminPasswordEnabled>
470
+ <AdminPasswordAuto>true</AdminPasswordAuto>
471
+ <ResetPasswordRequired>false</ResetPasswordRequired>
472
+ <CustomizationScript>if [ x$1 == x"postcustomization" ]; then fi</CustomizationScript>
473
+ <ComputerName>sam-vimes.test.com</ComputerName>
474
+ <Link rel="edit" type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/guestCustomizationSection/"/>
475
+ </GuestCustomizationSection>
476
+ <RuntimeInfoSection xmlns:ns12="http://www.vmware.com/vcloud/v1.5" ns12:href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/runtimeInfoSection" ns12:type="application/vnd.vmware.vcloud.virtualHardwareSection+xml">
477
+ <ovf:Info>Specifies Runtime info</ovf:Info>
478
+ <VMWareTools version="9410"/>
479
+ </RuntimeInfoSection>
480
+ <SnapshotSection type="application/vnd.vmware.vcloud.snapshotSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/snapshotSection" ovf:required="false">
481
+ <ovf:Info>Snapshot information section</ovf:Info>
482
+ </SnapshotSection>
483
+ <DateCreated>2014-07-08T23:33:24.537-04:00</DateCreated>
484
+ <VAppScopedLocalId>3186dd46-8976-49d3-b9f9-9bbd432d187e</VAppScopedLocalId>
485
+ <ovfenv:Environment xmlns:ns12="http://www.vmware.com/schema/ovfenv" ovfenv:id="" ns12:vCenterId="vm-3989">
486
+ <ovfenv:PlatformSection>
487
+ <ovfenv:Kind>VMware ESXi</ovfenv:Kind>
488
+ <ovfenv:Version>5.1.0</ovfenv:Version>
489
+ <ovfenv:Vendor>VMware, Inc.</ovfenv:Vendor>
490
+ <ovfenv:Locale>en</ovfenv:Locale>
491
+ </ovfenv:PlatformSection>
492
+ <ovfenv:PropertySection>
493
+ <ovfenv:Property ovfenv:value="aWYgWyB4JDEgPT0geCJwb3N0Y3VzdG9taXphdGlvbiIgXTsgdGhlbgplYL=" ovfenv:key="vCloud_CustomizationInfo"/>
494
+ <ovfenv:Property ovfenv:value="None" ovfenv:key="vCloud_UseSysPrep"/>
495
+ <ovfenv:Property ovfenv:value="11" ovfenv:key="vCloud_bitMask"/>
496
+ <ovfenv:Property ovfenv:value="static" ovfenv:key="vCloud_bootproto_0"/>
497
+ <ovfenv:Property ovfenv:value="static" ovfenv:key="vCloud_bootproto_1"/>
498
+ <ovfenv:Property ovfenv:value="sam-vimes.test.com" ovfenv:key="vCloud_computerName"/>
499
+ <ovfenv:Property ovfenv:value="192.168.33.71" ovfenv:key="vCloud_dns1_0"/>
500
+ <ovfenv:Property ovfenv:value="" ovfenv:key="vCloud_dns1_1"/>
501
+ <ovfenv:Property ovfenv:value="192.168.33.72" ovfenv:key="vCloud_dns2_0"/>
502
+ <ovfenv:Property ovfenv:value="" ovfenv:key="vCloud_dns2_1"/>
503
+ <ovfenv:Property ovfenv:value="192.168.96.1" ovfenv:key="vCloud_gateway_0"/>
504
+ <ovfenv:Property ovfenv:value="10.81.196.1" ovfenv:key="vCloud_gateway_1"/>
505
+ <ovfenv:Property ovfenv:value="192.168.96.5" ovfenv:key="vCloud_ip_0"/>
506
+ <ovfenv:Property ovfenv:value="10.81.196.206" ovfenv:key="vCloud_ip_1"/>
507
+ <ovfenv:Property ovfenv:value="00:50:56:29:0c:a1" ovfenv:key="vCloud_macaddr_0"/>
508
+ <ovfenv:Property ovfenv:value="00:50:56:29:0c:a2" ovfenv:key="vCloud_macaddr_1"/>
509
+ <ovfenv:Property ovfenv:value="747559c1-0c10-41b8-bc2a-9a312211d907" ovfenv:key="vCloud_markerid"/>
510
+ <ovfenv:Property ovfenv:value="255.255.255.0" ovfenv:key="vCloud_netmask_0"/>
511
+ <ovfenv:Property ovfenv:value="255.255.255.0" ovfenv:key="vCloud_netmask_1"/>
512
+ <ovfenv:Property ovfenv:value="2" ovfenv:key="vCloud_numnics"/>
513
+ <ovfenv:Property ovfenv:value="0" ovfenv:key="vCloud_primaryNic"/>
514
+ <ovfenv:Property ovfenv:value="775127695" ovfenv:key="vCloud_reconfigToken"/>
515
+ <ovfenv:Property ovfenv:value="0" ovfenv:key="vCloud_resetPassword"/>
516
+ <ovfenv:Property ovfenv:value="test.com" ovfenv:key="vCloud_suffix_0"/>
517
+ <ovfenv:Property ovfenv:value="" ovfenv:key="vCloud_suffix_1"/>
518
+ </ovfenv:PropertySection>
519
+ <ve:EthernetAdapterSection xmlns:ve="http://www.vmware.com/schema/ovfenv" xmlns="http://schemas.dmtf.org/ovf/environment/1" xmlns:oe="http://schemas.dmtf.org/ovf/environment/1">
520
+ <ve:Adapter ve:mac="00:50:56:29:0c:a1" ve:network="dvs.VCDVSNon-DMZNetwork-11ba052e-d945-4aff-8ee4-e6e933516c22" ve:unitNumber="7"/>
521
+ <ve:Adapter ve:mac="00:50:56:29:0c:a2" ve:network="dvPortGroup - V2799 - NFS-NET" ve:unitNumber="8"/>
522
+ </ve:EthernetAdapterSection>
523
+ </ovfenv:Environment>
524
+ <VmCapabilities type="application/vnd.vmware.vcloud.vmCapabilitiesSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/vmCapabilities/">
525
+ <Link rel="edit" type="application/vnd.vmware.vcloud.vmCapabilitiesSection+xml" href="https://server.test.com/api/vApp/vm-315485fb-e4a2-4dae-8890-2c21439da1fb/vmCapabilities/"/>
526
+ <MemoryHotAddEnabled>false</MemoryHotAddEnabled>
527
+ <CpuHotAddEnabled>false</CpuHotAddEnabled>
528
+ </VmCapabilities>
529
+ <StorageProfile type="application/vnd.vmware.vcloud.vdcStorageProfile+xml" name="StorageTier-SelectPlus" href="https://server.test.com/api/vdcStorageProfile/7d4501e8-d734-4dc1-bc44-8eaa810629a0"/>
530
+ </Vm>
531
+ </Children>
532
+ </VApp>