ruby_vcloud_sdk 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -0
- data/Rakefile +50 -0
- data/lib/ruby_vcloud_sdk.rb +19 -0
- data/lib/ruby_vcloud_sdk/client.rb +899 -0
- data/lib/ruby_vcloud_sdk/config.rb +17 -0
- data/lib/ruby_vcloud_sdk/connection/connection.rb +163 -0
- data/lib/ruby_vcloud_sdk/connection/file_uploader.rb +43 -0
- data/lib/ruby_vcloud_sdk/errors.rb +21 -0
- data/lib/ruby_vcloud_sdk/ovf_directory.rb +45 -0
- data/lib/ruby_vcloud_sdk/util.rb +21 -0
- data/lib/ruby_vcloud_sdk/version.rb +3 -0
- data/lib/ruby_vcloud_sdk/xml/constants.rb +427 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper.rb +242 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes.rb +3 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/admin_catalog.rb +20 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/admin_org.rb +15 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/catalog_item.rb +27 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk.rb +40 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_attach_or_detach_params.rb +12 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_create_params.rb +47 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/entity.rb +11 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/file.rb +11 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/hard_disk_item_wrapper.rb +50 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/instantiate_vapp_template_params.rb +71 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb +55 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/item.rb +32 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media.rb +53 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media_insert_or_eject_params.rb +17 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/metadata_value.rb +15 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network.rb +15 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config.rb +27 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config_section.rb +25 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network_connection.rb +71 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network_connection_section.rb +67 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/nic_item_wrapper.rb +91 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org_network.rb +19 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org_vdc_network.rb +11 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/session.rb +17 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb +32 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/upload_vapp_template_params.rb +11 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb +55 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp_template.rb +19 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vcloud.rb +15 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vdc.rb +54 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vdc_storage_profile.rb +15 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/virtual_hardware_section.rb +68 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vm.rb +179 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminAllocatedExtIpRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalog.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalogItemRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalogRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminGroupRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminMediaRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminOrg.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminOrgNetworkRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminShadowVmRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminTaskRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminUserRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVAppNetworkRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVAppRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVAppReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVAppReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVAppTemplateRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVdc.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVdcRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVdcReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVdcReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminVmRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AllEULAsAccepted.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AllocatedExtIpRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/BlockingTaskRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/BlockingTaskReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/BlockingTaskReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CaptureVAppParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Catalog.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CatalogItem.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CatalogItemRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CatalogItemReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CatalogItemReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CatalogRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CatalogReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CatalogReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CellRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CloneMediaParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CloneVAppParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CloneVAppTemplateParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ComposeVAppParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ControlAccessParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/CustomizationSection.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DatastoreProviderVdcRelationRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DatastoreRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DatastoreReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DatastoreReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DeployVAppParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DhcpService.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DiskAttachOrDetachParams.xml +5 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DiskCreateParams.xml +9 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/DvSwitchRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Entity.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Error.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/EventRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ExternalNetwork.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/File.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/FirewallService.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/GeneralOrgSettings.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Group.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/GroupRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/GroupReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/GroupReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/GuestCustomizationSection.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/HostRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/HostReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/HostReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/InstantiateOvfParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/InstantiateVAppTemplateParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/IpScope.xml +12 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/IpsecVpnLocalPeer.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/IpsecVpnPeer.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/IpsecVpnRemotePeer.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/IpsecVpnService.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/IpsecVpnThirdPartyPeer.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Item.xml +3 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ItemVcd.xml +5 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/LeaseSettingsSection.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Link.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Media.xml +6 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/MediaInsertOrEjectParams.xml +4 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/MediaRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/MediaReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/MediaReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Metadata.xml +5 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/MetadataEntry.xml +7 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/MetadataValue.xml +8 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NatService.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Network.xml +4 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkAssignment.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkConfig.xml +21 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkConfigSection.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkConnection.xml +11 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkConnectionSection.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkPoolRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkPoolReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkPoolReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/NetworkService.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Org.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgEmailSettings.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgList.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgNetwork.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgNetworkRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgNetworkReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgNetworkReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgPasswordPolicySettings.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgSettings.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgVAppTemplateLeaseSettings.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgVdcNetwork.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgVdcRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgVdcReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgVdcReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/OrgVdcResourcePoolRelationRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Owner.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/PortgroupRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ProductSectionList.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ProviderVdc.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ProviderVdcResourcePoolRelationRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/PublishCatalogParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/QueryList.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/QueryResultRecords.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RasdItemsList.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RecomposeVAppParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Record.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Reference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/References.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RelocateParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ResourceEntity.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ResourcePoolRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Right.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RightRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RightReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RightReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Role.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RoleRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RoleReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RoleReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RuntimeInfoSection.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ScreenTicket.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Session.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/ShadowVMReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/StaticRoutingService.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/StrandedUserRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Task.xml +0 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/TaskRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/TaskReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/TaskReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/TasksList.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/UndeployVAppParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/UploadVAppTemplateParams.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/User.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/UserRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/UserReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/UserReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VApp.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppLeaseSettings.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppNetwork.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppNetworkRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppNetworkReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppNetworkReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppOrgNetworkRelationRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppOrgNetworkRelationReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppOrgNetworkRelationReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppTemplate.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppTemplateRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppTemplateReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VAppTemplateReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VCloud.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VMRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VMReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VMReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VMWProviderVdcRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VMWProviderVdcReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VMWProviderVdcReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Vdc.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VdcReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VdcStorageProfile.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VirtualCenterRecord.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VirtualCenterReference.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VirtualCenterReferences.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/Vm.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VmPendingQuestion.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/VmQuestionAnswer.xml +1 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/generate_dictionary.rb +8 -0
- data/spec/assets/admin_org_response.xml +75 -0
- data/spec/assets/catalog_add_item_response.xml +8 -0
- data/spec/assets/catalog_add_vapp_request.xml +5 -0
- data/spec/assets/catalog_item_added_response.xml +19 -0
- data/spec/assets/catalog_response.xml +19 -0
- data/spec/assets/existing_media_busy_response.xml +19 -0
- data/spec/assets/existing_media_catalog_item.xml +8 -0
- data/spec/assets/existing_media_delete_task_done.xml +6 -0
- data/spec/assets/existing_media_done_response.xml +11 -0
- data/spec/assets/existing_vapp_resolver_response.xml +3 -0
- data/spec/assets/existing_vapp_template_catalog_resolver_response.xml +3 -0
- data/spec/assets/existing_vapp_template_instantiate_response.xml +20 -0
- data/spec/assets/existing_vapp_template_instantiate_task_error_response.xml +7 -0
- data/spec/assets/existing_vapp_template_instantiate_task_start_response.xml +7 -0
- data/spec/assets/existing_vapp_template_instantiate_task_success_response.xml +7 -0
- data/spec/assets/existing_vapp_template_item_response.xml +8 -0
- data/spec/assets/existing_vapp_template_ready_response.xml +79 -0
- data/spec/assets/finalize_upload_task_done_response.xml +7 -0
- data/spec/assets/finalize_upload_task_response.xml +7 -0
- data/spec/assets/indy_disk_attach_request.xml +3 -0
- data/spec/assets/indy_disk_attach_task.xml +6 -0
- data/spec/assets/indy_disk_attach_task_error.xml +6 -0
- data/spec/assets/indy_disk_create_error.xml +1 -0
- data/spec/assets/indy_disk_create_request.xml +4 -0
- data/spec/assets/indy_disk_create_response.xml +19 -0
- data/spec/assets/indy_disk_delete_task.xml +6 -0
- data/spec/assets/indy_disk_detach_request.xml +3 -0
- data/spec/assets/indy_disk_detach_task.xml +6 -0
- data/spec/assets/indy_disk_response.xml +11 -0
- data/spec/assets/instantiated_suspended_vapp_response.xml +209 -0
- data/spec/assets/instantiated_vapp_delelete_done_task.xml +5 -0
- data/spec/assets/instantiated_vapp_delelete_running_task.xml +6 -0
- data/spec/assets/instantiated_vapp_network_config_add_network_request.xml +36 -0
- data/spec/assets/instantiated_vapp_network_config_modify_network_task_success.xml +6 -0
- data/spec/assets/instantiated_vapp_network_config_remove_network_request.xml +6 -0
- data/spec/assets/instantiated_vapp_network_config_section_response.xml +17 -0
- data/spec/assets/instantiated_vapp_off_response.xml +206 -0
- data/spec/assets/instantiated_vapp_on_response.xml +205 -0
- data/spec/assets/instantiated_vapp_power_task_running.xml +6 -0
- data/spec/assets/instantiated_vapp_power_task_success.xml +6 -0
- data/spec/assets/instantiated_vapp_response.xml +205 -0
- data/spec/assets/instantiated_vm_change_task_running.xml +6 -0
- data/spec/assets/instantiated_vm_change_task_success.xml +6 -0
- data/spec/assets/instantiated_vm_cpu_response.xml +11 -0
- data/spec/assets/instantiated_vm_insert_media_task_done.xml +6 -0
- data/spec/assets/instantiated_vm_memory_response.xml +11 -0
- data/spec/assets/instantiated_vm_modify_task_running.xml +6 -0
- data/spec/assets/instantiated_vm_modify_task_success.xml +5 -0
- data/spec/assets/instantiated_vm_network_section_response.xml +11 -0
- data/spec/assets/instantiated_vm_response.xml +149 -0
- data/spec/assets/media_add_to_catalog_request.xml +5 -0
- data/spec/assets/media_add_to_catalog_response.xml +8 -0
- data/spec/assets/media_delete_task_done.xml +6 -0
- data/spec/assets/media_upload_pending_response.xml +13 -0
- data/spec/assets/media_upload_request.xml +2 -0
- data/spec/assets/metadata_set_request.xml +3 -0
- data/spec/assets/metadata_set_task_done.xml +6 -0
- data/spec/assets/org_network_response.xml +22 -0
- data/spec/assets/reconfigure_vm_request.xml +133 -0
- data/spec/assets/reconfigure_vm_task.xml +8 -0
- data/spec/assets/session.xml +7 -0
- data/spec/assets/test-config.yml +38 -0
- data/spec/assets/undeploy_params.xml +1 -0
- data/spec/assets/vapp_template_catalog_resolver_response.xml +3 -0
- data/spec/assets/vapp_template_delelete_done_task.xml +5 -0
- data/spec/assets/vapp_template_delelete_running_task.xml +6 -0
- data/spec/assets/vapp_template_instantiate_request.xml +8 -0
- data/spec/assets/vapp_template_instantiate_with_locality_request.xml +14 -0
- data/spec/assets/vapp_template_no_disk_response.xml +27 -0
- data/spec/assets/vapp_template_ready_response.xml +79 -0
- data/spec/assets/vapp_template_upload_complete.xml +28 -0
- data/spec/assets/vapp_template_upload_failed.xml +28 -0
- data/spec/assets/vapp_template_upload_request.xml +4 -0
- data/spec/assets/vapp_template_upload_response.xml +25 -0
- data/spec/assets/vcloud_response.xml +56 -0
- data/spec/assets/vdc_response.xml +57 -0
- data/spec/spec_helper.rb +107 -0
- data/spec/unit/client_response.rb +700 -0
- data/spec/unit/client_spec.rb +1152 -0
- metadata +498 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
<CatalogItem xmlns="http://www.vmware.com/vcloud/v1.5" name="%s" id="urn:vcloud:catalogitem:%s" type="application/vnd.vmware.vcloud.catalogItem+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="up" type="application/vnd.vmware.vcloud.catalog+xml" href="%s/api/catalog/cfab326c-ab71-445c-bc0b-abf15239de8b"/>
|
3
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/catalogItem/%s/metadata"/>
|
4
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s/api/catalogItem/%s"/>
|
5
|
+
<Link rel="remove" href="%s/api/catalogItem/%s"/>
|
6
|
+
<Description/>
|
7
|
+
<Entity type="application/vnd.vmware.vcloud.media+xml" name="%s" href="%s"/>
|
8
|
+
</CatalogItem>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-09-22T13:12:32.551-07:00" operationName="vdcDeleteMedia" operation="Deleting Media File (4ed2b53a-dbdd-4761-8036-fa67920749c5)" expiryTime="2011-12-21T13:12:32.551-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.media+xml" name="" href="%s"/>
|
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="vcap" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
6
|
+
</Task>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<Media xmlns="http://www.vmware.com/vcloud/v1.5" size="833536" imageType="iso" status="1" name="%s" id="urn:vcloud:media:%s" type="application/vnd.vmware.vcloud.media+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="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/a974dae0-d10c-4f7c-9f4f-4bdaf7826a3a"/>
|
3
|
+
<Link rel="catalogItem" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s/api/catalogItem/a0185003-1a65-4fe4-9fe1-08e81ce26ef6"/>
|
4
|
+
<Link rel="remove" href="%s"/>
|
5
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.media+xml" href="%s/api/media/%s"/>
|
6
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/media/%s/owner"/>
|
7
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/media/%s/metadata"/>
|
8
|
+
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
9
|
+
<User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
10
|
+
</Owner>
|
11
|
+
</Media>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<Entity xmlns="http://www.vmware.com/vcloud/v1.5" name="%s" id="%s" type="application/vnd.vmware.vcloud.entity+xml" href="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.147.49.240/api/v1.5/schema/master.xsd">
|
2
|
+
<Link rel="alternate" type="application/vnd.vmware.vcloud.vApp+xml" href="%s"/>
|
3
|
+
</Entity>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<Entity xmlns="http://www.vmware.com/vcloud/v1.5" name="%s" id="%s" type="application/vnd.vmware.vcloud.entity+xml" href="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://10.147.49.240/api/v1.5/schema/master.xsd">
|
2
|
+
<Link rel="alternate" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s"/>
|
3
|
+
</Entity>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<VApp xmlns="http://www.vmware.com/vcloud/v1.5" deployed="false" status="0" name="%s" 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://www.vmware.com/vcloud/v1.5 http://10.20.46.172/api/v1.5/schema/master.xsd">
|
2
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.controlAccess+xml" href="%s/api/vApp/vapp-%s/controlAccess/"/>
|
3
|
+
<Link rel="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/%s"/>
|
4
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/vApp/vapp-%s/owner"/>
|
5
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vApp/vapp-%s/metadata"/>
|
6
|
+
<Description>test</Description>
|
7
|
+
<Tasks>
|
8
|
+
<Task status="running" startTime="2011-08-29T11:21:36.484-07:00" operationName="vdcInstantiateVapp" operation="Creating Virtual Application %s(%s)" expiryTime="2011-11-27T11:21:36.484-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/%s">
|
9
|
+
<Link rel="task:cancel" href="%s/api/task/%s/action/cancel"/>
|
10
|
+
<Owner type="application/vnd.vmware.vcloud.vApp+xml" name="%s" href="%s/api/vApp/vapp-%s"/>
|
11
|
+
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
12
|
+
<Organization type="application/vnd.vmware.vcloud.org+xml" name="%s" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
13
|
+
<Progress>1</Progress>
|
14
|
+
</Task>
|
15
|
+
</Tasks>
|
16
|
+
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
17
|
+
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
18
|
+
</Owner>
|
19
|
+
<InMaintenanceMode>false</InMaintenanceMode>
|
20
|
+
</VApp>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="error" startTime="2011-08-29T11:21:36.483-07:00" operationName="vdcInstantiateVapp" operation="Creating Virtual Application %s(%s)" expiryTime="2011-11-27T11:21:36.483-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/%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-%s"/>
|
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
|
+
<Progress>1</Progress>
|
7
|
+
</Task>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="running" startTime="2011-08-29T11:21:36.483-07:00" operationName="vdcInstantiateVapp" operation="Creating Virtual Application %s(%s)" expiryTime="2011-11-27T11:21:36.483-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/%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-%s"/>
|
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
|
+
<Progress>1</Progress>
|
7
|
+
</Task>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-08-29T11:21:36.483-07:00" operationName="vdcInstantiateVapp" operation="Creating Virtual Application %s(%s)" expiryTime="2011-11-27T11:21:36.483-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/%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-%s"/>
|
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
|
+
<Progress>1</Progress>
|
7
|
+
</Task>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<CatalogItem xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="%s" id="urn:vcloud:catalogitem:39a8f899-0f8e-40c4-ac68-66b2688833bc" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s/api/catalogItem/39a8f899-0f8e-40c4-ac68-66b2688833bc" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 %s/api/v1.5/schema/master.xsd">
|
2
|
+
<Link rel="up" type="application/vnd.vmware.vcloud.catalog+xml" href="%s/api/catalog/%s"/>
|
3
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/catalogItem/%s/metadata"/>
|
4
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s/api/catalogItem/%s"/>
|
5
|
+
<Link rel="remove" href="%s/api/catalogItem/%s"/>
|
6
|
+
<Description/>
|
7
|
+
<Entity type="application/vnd.vmware.vcloud.vAppTemplate+xml" name="%s" href="%s/api/vAppTemplate/vappTemplate-%s"/>
|
8
|
+
</CatalogItem>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<VAppTemplate xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" ovfDescriptorUploaded="true" goldMaster="false" status="8" name="%s" id="urn:vcloud:vapptemplate:%s" type="application/vnd.vmware.vcloud.vAppTemplate+xml" href="%s/api/vAppTemplate/vappTemplate-%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="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 %s/api/v1.5/schema/master.xsd">
|
2
|
+
<Link rel="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/%s"/>
|
3
|
+
<Link rel="remove" href="%s/api/vAppTemplate/vappTemplate-%s"/>
|
4
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.vAppTemplate+xml" href="%s/api/vAppTemplate/vappTemplate-%s"/>
|
5
|
+
<Link rel="ovf" type="text/xml" href="%s/api/vAppTemplate/vappTemplate-%s/ovf"/>
|
6
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/vAppTemplate/vappTemplate-%s/owner"/>
|
7
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vAppTemplate/vappTemplate-%s/metadata"/>
|
8
|
+
<Description/>
|
9
|
+
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
10
|
+
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
11
|
+
</Owner>
|
12
|
+
<Children>
|
13
|
+
<Vm goldMaster="false" name="vm1" id="urn:vcloud:vm:%s" type="application/vnd.vmware.vcloud.vm+xml" href="%s/api/vAppTemplate/vm-%s">
|
14
|
+
<Link rel="up" type="application/vnd.vmware.vcloud.vAppTemplate+xml" href="%s/api/vAppTemplate/vappTemplate-%s"/>
|
15
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vAppTemplate/vm-%s/metadata"/>
|
16
|
+
<Description>A virtual machine</Description>
|
17
|
+
<NetworkConnectionSection type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="%s/api/vAppTemplate/vm-%s/networkConnectionSection/" ovf:required="false">
|
18
|
+
<ovf:Info>Specifies the available VM network connections</ovf:Info>
|
19
|
+
<PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
|
20
|
+
<NetworkConnection network="none" needsCustomization="true">
|
21
|
+
<NetworkConnectionIndex>0</NetworkConnectionIndex>
|
22
|
+
<IsConnected>false</IsConnected>
|
23
|
+
<MACAddress>00:50:56:02:00:fd</MACAddress>
|
24
|
+
<IpAddressAllocationMode>NONE</IpAddressAllocationMode>
|
25
|
+
</NetworkConnection>
|
26
|
+
</NetworkConnectionSection>
|
27
|
+
<GuestCustomizationSection type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="%s/api/vAppTemplate/vm-%s/guestCustomizationSection/" ovf:required="false">
|
28
|
+
<ovf:Info>Specifies Guest OS Customization Settings</ovf:Info>
|
29
|
+
<Enabled>false</Enabled>
|
30
|
+
<ChangeSid>false</ChangeSid>
|
31
|
+
<VirtualMachineId>%s</VirtualMachineId>
|
32
|
+
<JoinDomainEnabled>false</JoinDomainEnabled>
|
33
|
+
<UseOrgSettings>false</UseOrgSettings>
|
34
|
+
<AdminPasswordEnabled>true</AdminPasswordEnabled>
|
35
|
+
<AdminPasswordAuto>true</AdminPasswordAuto>
|
36
|
+
<ResetPasswordRequired>false</ResetPasswordRequired>
|
37
|
+
<ComputerName>vm1-001</ComputerName>
|
38
|
+
</GuestCustomizationSection>
|
39
|
+
<ovf:ProductSection ovf:instance="" ovf:class="" ovf:required="true">
|
40
|
+
<ovf:Info>Information about the installed software</ovf:Info>
|
41
|
+
<ovf:Product>UnOS</ovf:Product>
|
42
|
+
</ovf:ProductSection>
|
43
|
+
<VAppScopedLocalId>vm1</VAppScopedLocalId>
|
44
|
+
</Vm>
|
45
|
+
</Children>
|
46
|
+
<ovf:NetworkSection xmlns:vcloud="http://www.vmware.com/vcloud/v1.5" vcloud:href="%s/api/vAppTemplate/vappTemplate-%s/networkSection/" vcloud:type="application/vnd.vmware.vcloud.networkSection+xml">
|
47
|
+
<ovf:Info>The list of logical networks</ovf:Info>
|
48
|
+
<ovf:Network ovf:name="none">
|
49
|
+
<ovf:Description>This is a special place-holder used for disconnected network interfaces.</ovf:Description>
|
50
|
+
</ovf:Network>
|
51
|
+
</ovf:NetworkSection>
|
52
|
+
<NetworkConfigSection type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="%s/api/vAppTemplate/vappTemplate-%s/networkConfigSection/" ovf:required="false">
|
53
|
+
<ovf:Info>The configuration parameters for logical networks</ovf:Info>
|
54
|
+
<NetworkConfig networkName="none">
|
55
|
+
<Description>This is a special place-holder used for disconnected network interfaces.</Description>
|
56
|
+
<Configuration>
|
57
|
+
<IpScope>
|
58
|
+
<IsInherited>false</IsInherited>
|
59
|
+
<Gateway>196.254.254.254</Gateway>
|
60
|
+
<Netmask>255.255.0.0</Netmask>
|
61
|
+
<Dns1>196.254.254.254</Dns1>
|
62
|
+
</IpScope>
|
63
|
+
<FenceMode>isolated</FenceMode>
|
64
|
+
</Configuration>
|
65
|
+
<IsDeployed>false</IsDeployed>
|
66
|
+
</NetworkConfig>
|
67
|
+
</NetworkConfigSection>
|
68
|
+
<LeaseSettingsSection type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vAppTemplate/vappTemplate-%s/leaseSettingsSection/" ovf:required="false">
|
69
|
+
<ovf:Info>Lease settings section</ovf:Info>
|
70
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vAppTemplate/vappTemplate-%s/leaseSettingsSection/"/>
|
71
|
+
<StorageLeaseInSeconds>7776000</StorageLeaseInSeconds>
|
72
|
+
<StorageLeaseExpiration>2011-11-16T12:27:05.327-08:00</StorageLeaseExpiration>
|
73
|
+
</LeaseSettingsSection>
|
74
|
+
<CustomizationSection type="application/vnd.vmware.vcloud.customizationSection+xml" href="%s/api/vAppTemplate/vappTemplate-%s/customizationSection/" ovf:required="false">
|
75
|
+
<ovf:Info>VApp template customization section</ovf:Info>
|
76
|
+
<CustomizeOnInstantiate>true</CustomizeOnInstantiate>
|
77
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.customizationSection+xml" href="%s/api/vAppTemplate/vappTemplate-%s/customizationSection/"/>
|
78
|
+
</CustomizationSection>
|
79
|
+
</VAppTemplate>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-08-18T13:27:38.407-07:00" operationName="vdcUploadOvfContents" operation="Finalizing upload of Virtual Application Template %s(%s)" expiryTime="2011-11-16T13:27:38.407-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 %s/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.vAppTemplate+xml" name="%s" href="%s/api/vAppTemplate/vappTemplate-%s"/>
|
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
|
+
<Progress>100</Progress>
|
7
|
+
</Task>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="running" startTime="2011-08-18T13:27:38.407-07:00" operationName="vdcUploadOvfContents" operation="Finalizing upload of Virtual Application Template %s(%s)" expiryTime="2011-11-16T13:27:38.407-08:00" name="task" id="urn:vcloud:task:%s" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 %s/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.vAppTemplate+xml" name="%s" href="%s/api/vAppTemplate/vappTemplate-%s"/>
|
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
|
+
<Progress>50</Progress>
|
7
|
+
</Task>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-10-05T14:23:14.016-07:00" operationName="vappAttachDisk" operation="Attaching Disk to Virtual Machine vm1(97050e89-acf5-4599-9564-46fa762e82b8)" expiryTime="2012-01-03T14:23:14.016-08:00" name="task" id="urn:vcloud:task:440545e8-9ee7-4c67-9d2e-8881246a084c" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/440545e8-9ee7-4c67-9d2e-8881246a084c" 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/440545e8-9ee7-4c67-9d2e-8881246a084c/action/cancel"/>
|
3
|
+
<Owner type="application/vnd.vmware.vcloud.vm+xml" name="%s" href="%s/api/vApp/vm-%s"/>
|
4
|
+
<User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/f37afbc4-77a9-4ca6-93b3-d1607f82b329"/>
|
5
|
+
<Organization type="application/vnd.vmware.vcloud.org+xml" name="%s" href="%s/api/org/7b8a9ff3-1f41-48ae-8eb2-b91140adc010"/>
|
6
|
+
</Task>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="error" startTime="2011-10-05T14:23:14.016-07:00" operationName="vappAttachDisk" operation="Attaching Disk to Virtual Machine vm1(97050e89-acf5-4599-9564-46fa762e82b8)" expiryTime="2012-01-03T14:23:14.016-08:00" name="task" id="urn:vcloud:task:440545e8-9ee7-4c67-9d2e-8881246a084c" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/440545e8-9ee7-4c67-9d2e-8881246a084c" 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/440545e8-9ee7-4c67-9d2e-8881246a084c/action/cancel"/>
|
3
|
+
<Owner type="application/vnd.vmware.vcloud.vm+xml" name="%s" href="%s/api/vApp/vm-%s"/>
|
4
|
+
<User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/f37afbc4-77a9-4ca6-93b3-d1607f82b329"/>
|
5
|
+
<Organization type="application/vnd.vmware.vcloud.org+xml" name="%s" href="%s/api/org/7b8a9ff3-1f41-48ae-8eb2-b91140adc010"/>
|
6
|
+
</Task>
|
@@ -0,0 +1 @@
|
|
1
|
+
<Error xmlns="http://www.vmware.com/vcloud/v1.5" minorErrorCode="BAD_REQUEST" message="The requested operation will exceed the vDC's storage quota." majorErrorCode="400" 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"></Error>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<Disk xmlns="http://www.vmware.com/vcloud/v1.5" size="0" busType="6" busSubType="lsilogic" status="0" name="test5" id="urn:vcloud:disk:%s" type="application/vnd.vmware.vcloud.disk+xml" href="%s/api/disk%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="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/7152945d-1041-4c08-9423-23b32c9be1f4"/>
|
3
|
+
<Link rel="remove" href="%s"/>
|
4
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.disk+xml" href="%s/api/disk/%s"/>
|
5
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/disk/%s/owner"/>
|
6
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/disk/%s/metadata"/>
|
7
|
+
<Tasks>
|
8
|
+
<Task status="success" startTime="2011-10-05T14:23:03.138-07:00" operationName="vdcCreateDisk" operation="Creating Disk test5(%s)" expiryTime="2012-01-03T14:23:03.138-08:00" name="task" id="urn:vcloud:task:3cdaeaa1-6dd3-439d-95d5-a9208e0c5dba" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/3cdaeaa1-6dd3-439d-95d5-a9208e0c5dba">
|
9
|
+
<Link rel="task:cancel" href="%s/api/task/3cdaeaa1-6dd3-439d-95d5-a9208e0c5dba/action/cancel"/>
|
10
|
+
<Owner type="application/vnd.vmware.vcloud.disk+xml" name="test5" href="%s/api/disk/%s"/>
|
11
|
+
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/f37afbc4-77a9-4ca6-93b3-d1607f82b329"/>
|
12
|
+
<Organization type="application/vnd.vmware.vcloud.org+xml" name="vcap" href="%s/api/org/7b8a9ff3-1f41-48ae-8eb2-b91140adc010"/>
|
13
|
+
</Task>
|
14
|
+
</Tasks>
|
15
|
+
<StorageClass type="application/vnd.vmware.vcloud.vdcStorageClass+xml" name="*" href="%s/api/vdcStorageClass/8fe92f5a-efb7-456e-af78-54a120c9cf8f"/>
|
16
|
+
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
17
|
+
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/61150fcf-1eda-4cd3-a8a5-e51717a2806d"/>
|
18
|
+
</Owner>
|
19
|
+
</Disk>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-10-05T14:23:35.027-07:00" operationName="vdcDeleteDisk" operation="Deleting Disk (%s)" expiryTime="2012-01-03T14:23:35.027-08:00" name="task" id="urn:vcloud:task:0e83b4d9-2f24-4ec1-9dd3-7d9c20936cbf" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/0e83b4d9-2f24-4ec1-9dd3-7d9c20936cbf" 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/0e83b4d9-2f24-4ec1-9dd3-7d9c20936cbf/action/cancel"/>
|
3
|
+
<Owner type="application/vnd.vmware.vcloud.disk+xml" name="" href="%s"/>
|
4
|
+
<User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/f37afbc4-77a9-4ca6-93b3-d1607f82b329"/>
|
5
|
+
<Organization type="application/vnd.vmware.vcloud.org+xml" name="%s" href="%s/api/org/7b8a9ff3-1f41-48ae-8eb2-b91140adc010"/>
|
6
|
+
</Task>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2011-10-05T14:23:24.729-07:00" operationName="vappDetachDisk" operation="Detaching Disk from Virtual Machine vm1(97050e89-acf5-4599-9564-46fa762e82b8)" expiryTime="2012-01-03T14:23:24.729-08:00" name="task" id="urn:vcloud:task:b4b83acd-7d2b-49be-a8ae-d7485e0f945c" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/b4b83acd-7d2b-49be-a8ae-d7485e0f945c" 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/b4b83acd-7d2b-49be-a8ae-d7485e0f945c/action/cancel"/>
|
3
|
+
<Owner type="application/vnd.vmware.vcloud.vm+xml" name="%s" href="%s/api/vApp/vm-97050e89-acf5-4599-9564-46fa762e82b8"/>
|
4
|
+
<User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/f37afbc4-77a9-4ca6-93b3-d1607f82b329"/>
|
5
|
+
<Organization type="application/vnd.vmware.vcloud.org+xml" name="%s" href="%s/api/org/7b8a9ff3-1f41-48ae-8eb2-b91140adc010"/>
|
6
|
+
</Task>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<Disk xmlns="http://www.vmware.com/vcloud/v1.5" size="#{INDY_DISK_SIZE * 1000000}" busType="6" busSubType="lsilogic" status="1" name="%s" id="urn:vcloud:disk:%s" type="application/vnd.vmware.vcloud.disk+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="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/7152945d-1041-4c08-9423-23b32c9be1f4"/>
|
3
|
+
<Link rel="remove" href="%s/api/disk/%s"/>
|
4
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.disk+xml" href="%s/api/disk/%s"/>
|
5
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/disk/%s/owner"/>
|
6
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/disk/%s/metadata"/>
|
7
|
+
<StorageClass type="application/vnd.vmware.vcloud.vdcStorageClass+xml" name="*" href="%s/api/vdcStorageClass/8fe92f5a-efb7-456e-af78-54a120c9cf8f"/>
|
8
|
+
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
9
|
+
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/61150fcf-1eda-4cd3-a8a5-e51717a2806d"/>
|
10
|
+
</Owner>
|
11
|
+
</Disk>
|
@@ -0,0 +1,209 @@
|
|
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="3" 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="power:suspend" href="%s/api/vApp/vapp-%s/power/action/suspend"/>
|
4
|
+
<Link rel="deploy" type="application/vnd.vmware.vcloud.deployVAppParams+xml" href="%s/api/vApp/vapp-%s/action/deploy"/>
|
5
|
+
<Link rel="undeploy" type="application/vnd.vmware.vcloud.undeployVAppParams+xml" href="%s/api/vApp/vapp-%s/action/undeploy"/>
|
6
|
+
<Link rel="discardState" href="%s/api/vApp/vapp-%s/action/discardSuspendedState"/>
|
7
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.controlAccess+xml" href="%s/api/vApp/vapp-%s/controlAccess/"/>
|
8
|
+
<Link rel="controlAccess" type="application/vnd.vmware.vcloud.controlAccess+xml" href="%s/api/vApp/vapp-%s/action/controlAccess"/>
|
9
|
+
<Link rel="recompose" type="application/vnd.vmware.vcloud.recomposeVAppParams+xml" href="%s/api/vApp/vapp-%s/action/recomposeVApp"/>
|
10
|
+
<Link rel="up" type="application/vnd.vmware.vcloud.vdc+xml" href="%s/api/vdc/a974dae0-d10c-4f7c-9f4f-4bdaf7826a3a"/>
|
11
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s"/>
|
12
|
+
<Link rel="remove" href="%s/api/vApp/vapp-%s"/>
|
13
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/vApp/vapp-%s/owner"/>
|
14
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vApp/vapp-%s/metadata"/>
|
15
|
+
<Description>test</Description>
|
16
|
+
<LeaseSettingsSection type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vApp/vapp-%s/leaseSettingsSection/" ovf:required="false">
|
17
|
+
<ovf:Info>Lease settings section</ovf:Info>
|
18
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" href="%s/api/vApp/vapp-%s/leaseSettingsSection/"/>
|
19
|
+
<DeploymentLeaseInSeconds>604800</DeploymentLeaseInSeconds>
|
20
|
+
<StorageLeaseInSeconds>2592000</StorageLeaseInSeconds>
|
21
|
+
<StorageLeaseExpiration>2011-09-28T11:21:35.767-07:00</StorageLeaseExpiration>
|
22
|
+
</LeaseSettingsSection>
|
23
|
+
<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">
|
24
|
+
<ovf:Info>VApp startup section</ovf:Info>
|
25
|
+
<ovf:Item ovf:stopDelay="120" ovf:stopAction="powerOff" ovf:startDelay="120" ovf:startAction="powerOn" ovf:order="1" ovf:id="vm1"/>
|
26
|
+
<ovf:Item ovf:stopDelay="120" ovf:stopAction="powerOff" ovf:startDelay="120" ovf:startAction="powerOn" ovf:order="2" ovf:id="vm2"/>
|
27
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.startupSection+xml" href="%s/api/vApp/vapp-%s/startupSection/"/>
|
28
|
+
</ovf:StartupSection>
|
29
|
+
<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">
|
30
|
+
<ovf:Info>The list of logical networks</ovf:Info>
|
31
|
+
<ovf:Network ovf:name="none">
|
32
|
+
<ovf:Description>This is a special place-holder used for disconnected network interfaces.</ovf:Description>
|
33
|
+
</ovf:Network>
|
34
|
+
</ovf:NetworkSection>
|
35
|
+
<NetworkConfigSection type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="%s" ovf:required="false">
|
36
|
+
<ovf:Info>The configuration parameters for logical networks</ovf:Info>
|
37
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.networkConfigSection+xml" href="%s"/>
|
38
|
+
<NetworkConfig networkName="none">
|
39
|
+
<Description>This is a special place-holder used for disconnected network interfaces.</Description>
|
40
|
+
<Configuration>
|
41
|
+
<IpScope>
|
42
|
+
<IsInherited>false</IsInherited>
|
43
|
+
<Gateway>196.254.254.254</Gateway>
|
44
|
+
<Netmask>255.255.0.0</Netmask>
|
45
|
+
<Dns1>196.254.254.254</Dns1>
|
46
|
+
</IpScope>
|
47
|
+
<FenceMode>isolated</FenceMode>
|
48
|
+
</Configuration>
|
49
|
+
<IsDeployed>false</IsDeployed>
|
50
|
+
</NetworkConfig>
|
51
|
+
</NetworkConfigSection>
|
52
|
+
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
53
|
+
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
54
|
+
</Owner>
|
55
|
+
<InMaintenanceMode>false</InMaintenanceMode>
|
56
|
+
<Children>
|
57
|
+
<Vm needsCustomization="true" deployed="false" status="3" name="vm1" id="urn:vcloud:vm:%s" type="application/vnd.vmware.vcloud.vm+xml" href="%s">
|
58
|
+
<Link rel="power:powerOn" href="%s/api/vApp/vm-%s/power/action/powerOn"/>
|
59
|
+
<Link rel="power:suspend" href="%s/api/vApp/vm-%s/power/action/suspend"/>
|
60
|
+
<Link rel="undeploy" type="application/vnd.vmware.vcloud.undeployVAppParams+xml" href="%s/api/vApp/vm-%s/action/undeploy"/>
|
61
|
+
<Link rel="discardState" href="%s/api/vApp/vm-%s/action/discardSuspendedState"/>
|
62
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.vm+xml" href="%s/api/vApp/vm-%s"/>
|
63
|
+
<Link rel="remove" href="%s/api/vApp/vm-%s"/>
|
64
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/vApp/vm-%s/metadata"/>
|
65
|
+
<Link rel="screen:thumbnail" href="%s/api/vApp/vm-%s/screen"/>
|
66
|
+
<Link rel="media:insertMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="%s"/>
|
67
|
+
<Link rel="media:ejectMedia" type="application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml" href="%s/api/vApp/vm-%s/media/action/ejectMedia"/>
|
68
|
+
<Link rel="disk:attach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="%s"/>
|
69
|
+
<Link rel="disk:detach" type="application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml" href="%s"/>
|
70
|
+
<Link rel="upgrade" href="%s/api/vApp/vm-%s/action/upgradeHardwareVersion"/>
|
71
|
+
<Link rel="up" type="application/vnd.vmware.vcloud.vApp+xml" href="%s/api/vApp/vapp-%s"/>
|
72
|
+
<Description>A virtual machine</Description>
|
73
|
+
<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">
|
74
|
+
<ovf:Info>Virtual hardware requirements</ovf:Info>
|
75
|
+
<ovf:System>
|
76
|
+
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
|
77
|
+
<vssd:InstanceID>0</vssd:InstanceID>
|
78
|
+
<vssd:VirtualSystemIdentifier>vm1</vssd:VirtualSystemIdentifier>
|
79
|
+
<vssd:VirtualSystemType>vmx-04</vssd:VirtualSystemType>
|
80
|
+
</ovf:System>
|
81
|
+
<ovf:Item>
|
82
|
+
<rasd:Address>00:50:56:02:01:56</rasd:Address>
|
83
|
+
<rasd:AddressOnParent>0</rasd:AddressOnParent>
|
84
|
+
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
|
85
|
+
<rasd:Connection vcloud:primaryNetworkConnection="true" vcloud:ipAddressingMode="NONE">none</rasd:Connection>
|
86
|
+
<rasd:Description>VMXNET3 ethernet adapter</rasd:Description>
|
87
|
+
<rasd:ElementName>Network adapter 0</rasd:ElementName>
|
88
|
+
<rasd:InstanceID>1</rasd:InstanceID>
|
89
|
+
<rasd:ResourceSubType>VMXNET3</rasd:ResourceSubType>
|
90
|
+
<rasd:ResourceType>10</rasd:ResourceType>
|
91
|
+
</ovf:Item>
|
92
|
+
<ovf:Item>
|
93
|
+
<rasd:Address>0</rasd:Address>
|
94
|
+
<rasd:Description>SCSI Controller</rasd:Description>
|
95
|
+
<rasd:ElementName>SCSI Controller 0</rasd:ElementName>
|
96
|
+
<rasd:InstanceID>%s</rasd:InstanceID>
|
97
|
+
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
|
98
|
+
<rasd:ResourceType>6</rasd:ResourceType>
|
99
|
+
</ovf:Item>
|
100
|
+
<ovf:Item>
|
101
|
+
<rasd:AddressOnParent>0</rasd:AddressOnParent>
|
102
|
+
<rasd:Description>Hard disk</rasd:Description>
|
103
|
+
<rasd:ElementName>Hard disk 1</rasd:ElementName>
|
104
|
+
<rasd:HostResource vcloud:capacity="200" vcloud:busSubType="lsilogic" vcloud:busType="6"/>
|
105
|
+
<rasd:InstanceID>2000</rasd:InstanceID>
|
106
|
+
<rasd:Parent>2</rasd:Parent>
|
107
|
+
<rasd:ResourceType>17</rasd:ResourceType>
|
108
|
+
</ovf:Item>
|
109
|
+
<ovf:Item>
|
110
|
+
<rasd:Address>0</rasd:Address>
|
111
|
+
<rasd:Description>IDE Controller</rasd:Description>
|
112
|
+
<rasd:ElementName>IDE Controller 0</rasd:ElementName>
|
113
|
+
<rasd:InstanceID>3</rasd:InstanceID>
|
114
|
+
<rasd:ResourceType>5</rasd:ResourceType>
|
115
|
+
</ovf:Item>
|
116
|
+
<ovf:Item>
|
117
|
+
<rasd:AddressOnParent>0</rasd:AddressOnParent>
|
118
|
+
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
|
119
|
+
<rasd:Description>CD/DVD Drive</rasd:Description>
|
120
|
+
<rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>
|
121
|
+
<rasd:HostResource/>
|
122
|
+
<rasd:InstanceID>3000</rasd:InstanceID>
|
123
|
+
<rasd:Parent>3</rasd:Parent>
|
124
|
+
<rasd:ResourceType>15</rasd:ResourceType>
|
125
|
+
</ovf:Item>
|
126
|
+
<ovf:Item>
|
127
|
+
<rasd:AddressOnParent>0</rasd:AddressOnParent>
|
128
|
+
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
|
129
|
+
<rasd:Description>Floppy Drive</rasd:Description>
|
130
|
+
<rasd:ElementName>Floppy Drive 1</rasd:ElementName>
|
131
|
+
<rasd:HostResource/>
|
132
|
+
<rasd:InstanceID>8000</rasd:InstanceID>
|
133
|
+
<rasd:ResourceType>14</rasd:ResourceType>
|
134
|
+
</ovf:Item>
|
135
|
+
<ovf:Item vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu" vcloud:type="application/vnd.vmware.vcloud.rasdItem+xml">
|
136
|
+
<rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
|
137
|
+
<rasd:Description>Number of Virtual CPUs</rasd:Description>
|
138
|
+
<rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
|
139
|
+
<rasd:InstanceID>4</rasd:InstanceID>
|
140
|
+
<rasd:Reservation>0</rasd:Reservation>
|
141
|
+
<rasd:ResourceType>3</rasd:ResourceType>
|
142
|
+
<rasd:VirtualQuantity>1</rasd:VirtualQuantity>
|
143
|
+
<rasd:Weight>0</rasd:Weight>
|
144
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
|
145
|
+
</ovf:Item>
|
146
|
+
<ovf:Item vcloud:href="%s/api/vApp/vm-%s/virtualHardwareSection/memory" vcloud:type="application/vnd.vmware.vcloud.rasdItem+xml">
|
147
|
+
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
|
148
|
+
<rasd:Description>Memory Size</rasd:Description>
|
149
|
+
<rasd:ElementName>32 MB of memory</rasd:ElementName>
|
150
|
+
<rasd:InstanceID>5</rasd:InstanceID>
|
151
|
+
<rasd:Reservation>0</rasd:Reservation>
|
152
|
+
<rasd:ResourceType>4</rasd:ResourceType>
|
153
|
+
<rasd:VirtualQuantity>32</rasd:VirtualQuantity>
|
154
|
+
<rasd:Weight>0</rasd:Weight>
|
155
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
|
156
|
+
</ovf:Item>
|
157
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.virtualHardwareSection+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/"/>
|
158
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
|
159
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/cpu"/>
|
160
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
|
161
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.rasdItem+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/memory"/>
|
162
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/disks"/>
|
163
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/disks"/>
|
164
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/media"/>
|
165
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/networkCards"/>
|
166
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/networkCards"/>
|
167
|
+
<Link rel="down" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/serialPorts"/>
|
168
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.rasdItemsList+xml" href="%s/api/vApp/vm-%s/virtualHardwareSection/serialPorts"/>
|
169
|
+
</ovf:VirtualHardwareSection>
|
170
|
+
<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">
|
171
|
+
<ovf:Info>Specifies the operating system installed</ovf:Info>
|
172
|
+
<ovf:Description>Ubuntu Linux (32-bit)</ovf:Description>
|
173
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.operatingSystemSection+xml" href="%s/api/vApp/vm-%s/operatingSystemSection/"/>
|
174
|
+
</ovf:OperatingSystemSection>
|
175
|
+
<NetworkConnectionSection type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="%s" ovf:required="false">
|
176
|
+
<ovf:Info>Specifies the available VM network connections</ovf:Info>
|
177
|
+
<PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
|
178
|
+
<NetworkConnection network="none" needsCustomization="true">
|
179
|
+
<NetworkConnectionIndex>0</NetworkConnectionIndex>
|
180
|
+
<IsConnected>false</IsConnected>
|
181
|
+
<MACAddress>00:50:56:02:01:56</MACAddress>
|
182
|
+
<IpAddressAllocationMode>NONE</IpAddressAllocationMode>
|
183
|
+
</NetworkConnection>
|
184
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.networkConnectionSection+xml" href="%s"/>
|
185
|
+
</NetworkConnectionSection>
|
186
|
+
<GuestCustomizationSection type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="%s/api/vApp/vm-%s/guestCustomizationSection/" ovf:required="false">
|
187
|
+
<ovf:Info>Specifies Guest OS Customization Settings</ovf:Info>
|
188
|
+
<Enabled>false</Enabled>
|
189
|
+
<ChangeSid>false</ChangeSid>
|
190
|
+
<VirtualMachineId>%s</VirtualMachineId>
|
191
|
+
<JoinDomainEnabled>false</JoinDomainEnabled>
|
192
|
+
<UseOrgSettings>false</UseOrgSettings>
|
193
|
+
<AdminPasswordEnabled>true</AdminPasswordEnabled>
|
194
|
+
<AdminPasswordAuto>true</AdminPasswordAuto>
|
195
|
+
<ResetPasswordRequired>false</ResetPasswordRequired>
|
196
|
+
<ComputerName>vm1-001</ComputerName>
|
197
|
+
<Link rel="edit" type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="%s/api/vApp/vm-%s/guestCustomizationSection/"/>
|
198
|
+
</GuestCustomizationSection>
|
199
|
+
<ovf:ProductSection ovf:instance="" ovf:class="" ovf:required="true">
|
200
|
+
<ovf:Info>Information about the installed software</ovf:Info>
|
201
|
+
<ovf:Product>UnOS</ovf:Product>
|
202
|
+
</ovf:ProductSection>
|
203
|
+
<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">
|
204
|
+
<ovf:Info>Specifies Runtime info</ovf:Info>
|
205
|
+
</RuntimeInfoSection>
|
206
|
+
<VAppScopedLocalId>vm1</VAppScopedLocalId>
|
207
|
+
</Vm>
|
208
|
+
</Children>
|
209
|
+
</VApp>
|