ruby_vcloud_sdk 0.4.8 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +296 -0
- data/lib/ruby_vcloud_sdk.rb +0 -4
- data/lib/ruby_vcloud_sdk/catalog.rb +377 -0
- data/lib/ruby_vcloud_sdk/catalog_item.rb +26 -0
- data/lib/ruby_vcloud_sdk/client.rb +25 -882
- data/lib/ruby_vcloud_sdk/config.rb +1 -7
- data/lib/ruby_vcloud_sdk/connection/connection.rb +114 -54
- data/lib/ruby_vcloud_sdk/cpu.rb +11 -0
- data/lib/ruby_vcloud_sdk/disk.rb +55 -0
- data/lib/ruby_vcloud_sdk/edge_gateway.rb +32 -0
- data/lib/ruby_vcloud_sdk/infrastructure.rb +135 -0
- data/lib/ruby_vcloud_sdk/ip_ranges.rb +95 -0
- data/lib/ruby_vcloud_sdk/memory.rb +11 -0
- data/lib/ruby_vcloud_sdk/network.rb +32 -0
- data/lib/ruby_vcloud_sdk/powerable.rb +78 -0
- data/lib/ruby_vcloud_sdk/resources.rb +13 -0
- data/lib/ruby_vcloud_sdk/session.rb +46 -0
- data/lib/ruby_vcloud_sdk/vapp.rb +122 -0
- data/lib/ruby_vcloud_sdk/vdc.rb +210 -0
- data/lib/ruby_vcloud_sdk/vdc_storage_profile.rb +23 -0
- data/lib/ruby_vcloud_sdk/version.rb +1 -1
- data/lib/ruby_vcloud_sdk/vm.rb +132 -0
- data/lib/ruby_vcloud_sdk/xml/constants.rb +6 -4
- data/lib/ruby_vcloud_sdk/xml/wrapper.rb +109 -30
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes.rb +45 -2
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/admin_catalog.rb +13 -4
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/allocated_ip_addresses.rb +9 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/catalog_item.rb +6 -14
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk.rb +24 -14
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_attach_or_detach_params.rb +0 -2
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_create_params.rb +1 -3
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/edge_gateway.rb +13 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.rb +22 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/hard_disk_item_wrapper.rb +4 -4
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_address.rb +10 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_range.rb +13 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_ranges.rb +9 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb +6 -32
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/item.rb +1 -7
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/link.rb +14 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media.rb +4 -20
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media_insert_or_eject_params.rb +1 -3
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network_connection_section.rb +0 -4
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/nic_item_wrapper.rb +0 -2
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org.rb +44 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org_vdc_network.rb +11 -3
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/query_result_records.rb +14 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/recompose_vapp_params.rb +42 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/session.rb +5 -5
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/supported_versions.rb +19 -0
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb +1 -1
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/upload_vapp_template_params.rb +2 -4
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb +13 -22
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp_template.rb +0 -2
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vcloud.rb +5 -3
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vdc.rb +72 -15
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/virtual_hardware_section.rb +8 -6
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vm.rb +29 -25
- data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vms.rb +12 -0
- data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalog.xml +6 -1
- data/lib/ruby_vcloud_sdk/xml/xml_templates/RecomposeVAppParams.xml +16 -1
- metadata +116 -233
- data/README +0 -1
- data/Rakefile +0 -50
- data/lib/ruby_vcloud_sdk/util.rb +0 -21
- data/spec/assets/admin_org_response.xml +0 -75
- data/spec/assets/catalog_add_item_response.xml +0 -8
- data/spec/assets/catalog_add_vapp_request.xml +0 -5
- data/spec/assets/catalog_item_added_response.xml +0 -19
- data/spec/assets/catalog_response.xml +0 -19
- data/spec/assets/existing_media_busy_response.xml +0 -19
- data/spec/assets/existing_media_catalog_item.xml +0 -8
- data/spec/assets/existing_media_delete_task_done.xml +0 -6
- data/spec/assets/existing_media_done_response.xml +0 -11
- data/spec/assets/existing_vapp_resolver_response.xml +0 -3
- data/spec/assets/existing_vapp_template_catalog_resolver_response.xml +0 -3
- data/spec/assets/existing_vapp_template_instantiate_response.xml +0 -20
- data/spec/assets/existing_vapp_template_instantiate_task_error_response.xml +0 -7
- data/spec/assets/existing_vapp_template_instantiate_task_start_response.xml +0 -7
- data/spec/assets/existing_vapp_template_instantiate_task_success_response.xml +0 -7
- data/spec/assets/existing_vapp_template_item_response.xml +0 -8
- data/spec/assets/existing_vapp_template_ready_response.xml +0 -79
- data/spec/assets/finalize_upload_task_done_response.xml +0 -7
- data/spec/assets/finalize_upload_task_response.xml +0 -7
- data/spec/assets/indy_disk_attach_request.xml +0 -3
- data/spec/assets/indy_disk_attach_task.xml +0 -6
- data/spec/assets/indy_disk_attach_task_error.xml +0 -6
- data/spec/assets/indy_disk_create_error.xml +0 -1
- data/spec/assets/indy_disk_create_request.xml +0 -4
- data/spec/assets/indy_disk_create_response.xml +0 -19
- data/spec/assets/indy_disk_delete_task.xml +0 -6
- data/spec/assets/indy_disk_detach_request.xml +0 -3
- data/spec/assets/indy_disk_detach_task.xml +0 -6
- data/spec/assets/indy_disk_response.xml +0 -11
- data/spec/assets/instantiated_suspended_vapp_response.xml +0 -209
- data/spec/assets/instantiated_vapp_delelete_done_task.xml +0 -5
- data/spec/assets/instantiated_vapp_delelete_running_task.xml +0 -6
- data/spec/assets/instantiated_vapp_network_config_add_network_request.xml +0 -36
- data/spec/assets/instantiated_vapp_network_config_modify_network_task_success.xml +0 -6
- data/spec/assets/instantiated_vapp_network_config_remove_network_request.xml +0 -6
- data/spec/assets/instantiated_vapp_network_config_section_response.xml +0 -17
- data/spec/assets/instantiated_vapp_off_response.xml +0 -206
- data/spec/assets/instantiated_vapp_on_response.xml +0 -205
- data/spec/assets/instantiated_vapp_power_task_running.xml +0 -6
- data/spec/assets/instantiated_vapp_power_task_success.xml +0 -6
- data/spec/assets/instantiated_vapp_response.xml +0 -205
- data/spec/assets/instantiated_vm_change_task_running.xml +0 -6
- data/spec/assets/instantiated_vm_change_task_success.xml +0 -6
- data/spec/assets/instantiated_vm_cpu_response.xml +0 -11
- data/spec/assets/instantiated_vm_insert_media_task_done.xml +0 -6
- data/spec/assets/instantiated_vm_memory_response.xml +0 -11
- data/spec/assets/instantiated_vm_modify_task_running.xml +0 -6
- data/spec/assets/instantiated_vm_modify_task_success.xml +0 -5
- data/spec/assets/instantiated_vm_network_section_response.xml +0 -11
- data/spec/assets/instantiated_vm_response.xml +0 -149
- data/spec/assets/media_add_to_catalog_request.xml +0 -5
- data/spec/assets/media_add_to_catalog_response.xml +0 -8
- data/spec/assets/media_delete_task_done.xml +0 -6
- data/spec/assets/media_upload_pending_response.xml +0 -13
- data/spec/assets/media_upload_request.xml +0 -2
- data/spec/assets/metadata_set_request.xml +0 -3
- data/spec/assets/metadata_set_task_done.xml +0 -6
- data/spec/assets/org_network_response.xml +0 -22
- data/spec/assets/reconfigure_vm_request.xml +0 -133
- data/spec/assets/reconfigure_vm_task.xml +0 -8
- data/spec/assets/session.xml +0 -7
- data/spec/assets/test-config.yml +0 -38
- data/spec/assets/undeploy_params.xml +0 -1
- data/spec/assets/vapp_template_catalog_resolver_response.xml +0 -3
- data/spec/assets/vapp_template_delelete_done_task.xml +0 -5
- data/spec/assets/vapp_template_delelete_running_task.xml +0 -6
- data/spec/assets/vapp_template_instantiate_request.xml +0 -8
- data/spec/assets/vapp_template_instantiate_with_locality_request.xml +0 -14
- data/spec/assets/vapp_template_no_disk_response.xml +0 -27
- data/spec/assets/vapp_template_ready_response.xml +0 -79
- data/spec/assets/vapp_template_upload_complete.xml +0 -28
- data/spec/assets/vapp_template_upload_failed.xml +0 -28
- data/spec/assets/vapp_template_upload_request.xml +0 -4
- data/spec/assets/vapp_template_upload_response.xml +0 -25
- data/spec/assets/vcloud_response.xml +0 -56
- data/spec/assets/vdc_response.xml +0 -57
- data/spec/spec_helper.rb +0 -107
- data/spec/unit/client_response.rb +0 -700
- data/spec/unit/client_spec.rb +0 -1152
data/README
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Ruby VCloud SDK is a gem to simplify making vCloud Director API calls.
|
data/Rakefile
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# Copyright (c) 2009-2012 VMware, Inc.
|
2
|
-
|
3
|
-
$:.unshift(File.expand_path("../../rake", __FILE__))
|
4
|
-
|
5
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __FILE__)
|
6
|
-
|
7
|
-
require "rubygems"
|
8
|
-
require "bundler"
|
9
|
-
Bundler.setup(:default, :test)
|
10
|
-
|
11
|
-
require "rake"
|
12
|
-
begin
|
13
|
-
require "rspec/core/rake_task"
|
14
|
-
rescue LoadError
|
15
|
-
end
|
16
|
-
|
17
|
-
require "bundler_task"
|
18
|
-
require "ci_task"
|
19
|
-
|
20
|
-
gem_helper = Bundler::GemHelper.new(Dir.pwd)
|
21
|
-
|
22
|
-
desc "Build Ruby VCloud Client gem into the pkg directory"
|
23
|
-
task "build" do
|
24
|
-
gem_helper.build_gem
|
25
|
-
end
|
26
|
-
|
27
|
-
desc "Build and install Ruby VCloud Client into system gems"
|
28
|
-
task "install" do
|
29
|
-
Rake::Task["bundler:install"].invoke
|
30
|
-
gem_helper.install_gem
|
31
|
-
end
|
32
|
-
|
33
|
-
BundlerTask.new
|
34
|
-
|
35
|
-
if defined?(RSpec)
|
36
|
-
namespace :spec do
|
37
|
-
desc "Run Unit Tests"
|
38
|
-
rspec_task = RSpec::Core::RakeTask.new(:unit) do |t|
|
39
|
-
t.pattern = "spec/unit/**/*_spec.rb"
|
40
|
-
t.rspec_opts = %w(--format progress --colour)
|
41
|
-
end
|
42
|
-
|
43
|
-
CiTask.new do |task|
|
44
|
-
task.rspec_task = rspec_task
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
desc "Install dependencies and run tests"
|
49
|
-
task :spec => %w(bundler:install:test spec:unit)
|
50
|
-
end
|
data/lib/ruby_vcloud_sdk/util.rb
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
module VCloudSdk
|
2
|
-
|
3
|
-
class Util
|
4
|
-
class << self
|
5
|
-
def retry_operation(op, attempts, backoff, &b)
|
6
|
-
attempts.times do |attempt|
|
7
|
-
begin
|
8
|
-
return b.call
|
9
|
-
rescue ApiError => e
|
10
|
-
raise e if attempt >= attempts-1
|
11
|
-
delay = backoff ** attempt
|
12
|
-
Config.logger.error("Retry-attempt #{attempt+1}/#{attempts} " +
|
13
|
-
"failed to #{op}, retrying in #{delay} seconds.\t#{e}")
|
14
|
-
sleep (delay)
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
@@ -1,75 +0,0 @@
|
|
1
|
-
<AdminOrg xmlns="http://www.vmware.com/vcloud/v1.5" name="%s" id="urn:vcloud:org:b689c06e-1de0-4fd1-a5a3-050c479546ac" type="application/vnd.vmware.admin.organization+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac" 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="down" type="application/vnd.vmware.vcloud.tasksList+xml" href="%s/api/tasksList/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
3
|
-
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/metadata"/>
|
4
|
-
<Link rel="add" type="application/vnd.vmware.admin.catalog+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/catalogs"/>
|
5
|
-
<Link rel="add" type="application/vnd.vmware.admin.user+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/users"/>
|
6
|
-
<Link rel="add" type="application/vnd.vmware.admin.group+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/groups"/>
|
7
|
-
<Link rel="add" type="application/vnd.vmware.admin.orgNetwork+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/networks"/>
|
8
|
-
<Link rel="edit" type="application/vnd.vmware.admin.organization+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
9
|
-
<Link rel="remove" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
10
|
-
<Link rel="alternate" type="application/vnd.vmware.vcloud.org+xml" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
11
|
-
<Description/>
|
12
|
-
<FullName>%s</FullName>
|
13
|
-
<IsEnabled>true</IsEnabled>
|
14
|
-
<Settings type="application/vnd.vmware.admin.orgSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings">
|
15
|
-
<Link rel="down" type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/vAppTemplateLeaseSettings"/>
|
16
|
-
<Link rel="down" type="application/vnd.vmware.admin.organizationEmailSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/email"/>
|
17
|
-
<Link rel="down" type="application/vnd.vmware.admin.vAppLeaseSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/vAppLeaseSettings"/>
|
18
|
-
<Link rel="down" type="application/vnd.vmware.admin.organizationPasswordPolicySettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/passwordPolicy"/>
|
19
|
-
<Link rel="down" type="application/vnd.vmware.admin.organizationGeneralSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/general"/>
|
20
|
-
<Link rel="down" type="application/vnd.vmware.admin.organizationLdapSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/ldap"/>
|
21
|
-
<Link rel="edit" type="application/vnd.vmware.admin.orgSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings"/>
|
22
|
-
<OrgGeneralSettings type="application/vnd.vmware.admin.organizationGeneralSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/general">
|
23
|
-
<Link rel="edit" type="application/vnd.vmware.admin.organizationGeneralSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/general"/>
|
24
|
-
<CanPublishCatalogs>false</CanPublishCatalogs>
|
25
|
-
<DeployedVMQuota>0</DeployedVMQuota>
|
26
|
-
<StoredVmQuota>0</StoredVmQuota>
|
27
|
-
<UseServerBootSequence>false</UseServerBootSequence>
|
28
|
-
<DelayAfterPowerOnSeconds>0</DelayAfterPowerOnSeconds>
|
29
|
-
</OrgGeneralSettings>
|
30
|
-
<VAppLeaseSettings type="application/vnd.vmware.admin.vAppLeaseSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/vAppLeaseSettings">
|
31
|
-
<Link rel="edit" type="application/vnd.vmware.admin.vAppLeaseSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/vAppLeaseSettings"/>
|
32
|
-
<DeleteOnStorageLeaseExpiration>false</DeleteOnStorageLeaseExpiration>
|
33
|
-
<DeploymentLeaseSeconds>604800</DeploymentLeaseSeconds>
|
34
|
-
<StorageLeaseSeconds>2592000</StorageLeaseSeconds>
|
35
|
-
</VAppLeaseSettings>
|
36
|
-
<VAppTemplateLeaseSettings type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/vAppTemplateLeaseSettings">
|
37
|
-
<Link rel="edit" type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/vAppTemplateLeaseSettings"/>
|
38
|
-
<DeleteOnStorageLeaseExpiration>false</DeleteOnStorageLeaseExpiration>
|
39
|
-
<StorageLeaseSeconds>7776000</StorageLeaseSeconds>
|
40
|
-
</VAppTemplateLeaseSettings>
|
41
|
-
<OrgLdapSettings type="application/vnd.vmware.admin.organizationLdapSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/ldap">
|
42
|
-
<OrgLdapMode>NONE</OrgLdapMode>
|
43
|
-
</OrgLdapSettings>
|
44
|
-
<OrgEmailSettings type="application/vnd.vmware.admin.organizationEmailSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/email">
|
45
|
-
<Link rel="edit" type="application/vnd.vmware.admin.organizationEmailSettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/email"/>
|
46
|
-
<IsDefaultSmtpServer>true</IsDefaultSmtpServer>
|
47
|
-
<IsDefaultOrgEmail>true</IsDefaultOrgEmail>
|
48
|
-
<FromEmailAddress/>
|
49
|
-
<DefaultSubjectPrefix/>
|
50
|
-
<IsAlertEmailToAllAdmins>true</IsAlertEmailToAllAdmins>
|
51
|
-
<SmtpServerSettings>
|
52
|
-
<IsUseAuthentication>false</IsUseAuthentication>
|
53
|
-
<Host/>
|
54
|
-
<Username/>
|
55
|
-
</SmtpServerSettings>
|
56
|
-
</OrgEmailSettings>
|
57
|
-
<OrgPasswordPolicySettings type="application/vnd.vmware.admin.organizationPasswordPolicySettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/passwordPolicy">
|
58
|
-
<Link rel="edit" type="application/vnd.vmware.admin.organizationPasswordPolicySettings+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac/settings/passwordPolicy"/>
|
59
|
-
<AccountLockoutEnabled>false</AccountLockoutEnabled>
|
60
|
-
<InvalidLoginsBeforeLockout>5</InvalidLoginsBeforeLockout>
|
61
|
-
<AccountLockoutIntervalMinutes>10</AccountLockoutIntervalMinutes>
|
62
|
-
</OrgPasswordPolicySettings>
|
63
|
-
</Settings>
|
64
|
-
<Users>
|
65
|
-
<UserReference type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
66
|
-
</Users>
|
67
|
-
<Groups/>
|
68
|
-
<Catalogs>
|
69
|
-
<CatalogReference type="application/vnd.vmware.admin.catalog+xml" name="%s" href="%s/api/admin/catalog/%s"/>
|
70
|
-
</Catalogs>
|
71
|
-
<Vdcs>
|
72
|
-
<Vdc type="application/vnd.vmware.vcloud.vdc+xml" name="%s" href="%s/api/vdc/%s"/>
|
73
|
-
</Vdcs>
|
74
|
-
<Networks/>
|
75
|
-
</AdminOrg>
|
@@ -1,8 +0,0 @@
|
|
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/39a8f899-0f8e-40c4-ac68-66b2688833bc/metadata"/>
|
4
|
-
<Link rel="edit" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s/api/catalogItem/39a8f899-0f8e-40c4-ac68-66b2688833bc"/>
|
5
|
-
<Link rel="remove" href="%s/api/catalogItem/39a8f899-0f8e-40c4-ac68-66b2688833bc"/>
|
6
|
-
<Description/>
|
7
|
-
<Entity name="%s" href="%s/api/vAppTemplate/vappTemplate-%s" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
8
|
-
</CatalogItem>
|
@@ -1,5 +0,0 @@
|
|
1
|
-
<ns7:CatalogItem xmlns="http://www.vmware.com/vcloud/extension/v1" xmlns:ns2="http://www.vmware.com/vcloud/v1" xmlns:ns3="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ns4="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:ns5="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:ns6="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ns7="http://www.vmware.com/vcloud/v1.5" xmlns:ns8="http://schemas.dmtf.org/ovf/environment/1" xmlns:ns9="http://www.vmware.com/vcloud/extension/v1.5" xmlns:ns10="http://www.vmware.com/vcloud/versions" name="%s" id="" type="" href="">
|
2
|
-
<ns7:Description/>
|
3
|
-
<ns7:Tasks/>
|
4
|
-
<ns7:Entity name="%s" id="urn:vcloud:vapptemplate:%s" href="%s/api/vAppTemplate/vappTemplate-%s" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
5
|
-
</ns7:CatalogItem>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<AdminCatalog xmlns="http://www.vmware.com/vcloud/v1.5" name="%s" id="urn:vcloud:catalog:%s" type="application/vnd.vmware.admin.catalog+xml" href="%s/api/admin/catalog/%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">
|
3
|
-
<Link rel="up" type="application/vnd.vmware.admin.organization+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
4
|
-
<Link rel="alternate" type="application/vnd.vmware.vcloud.catalog+xml" href="%s/api/catalog/%s"/>
|
5
|
-
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/admin/catalog/%s/owner"/>
|
6
|
-
<Link rel="add" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s/api/catalog/%s/catalogItems"/>
|
7
|
-
<Link rel="edit" type="application/vnd.vmware.admin.catalog+xml" href="%s/api/admin/catalog/%s"/>
|
8
|
-
<Link rel="remove" href="%s/api/admin/catalog/%s"/>
|
9
|
-
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/catalog/%s/metadata"/>
|
10
|
-
<Description/>
|
11
|
-
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
12
|
-
<User type="application/vnd.vmware.admin.user+xml" name="system" href="%s/api/admin/user/b95dbfb2-c864-4263-ac02-149a093939c0"/>
|
13
|
-
</Owner>
|
14
|
-
<CatalogItems>
|
15
|
-
<CatalogItem type="application/vnd.vmware.vcloud.catalogItem+xml" name="%s" href="%s/api/catalogItem/%s"/>
|
16
|
-
<CatalogItem type="application/vnd.vmware.vcloud.catalogItem+xml" name="%s" href="%s/api/catalogItem/39a8f899-0f8e-40c4-ac68-66b2688833bc"/>
|
17
|
-
</CatalogItems>
|
18
|
-
<IsPublished>false</IsPublished>
|
19
|
-
</AdminCatalog>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<AdminCatalog xmlns="http://www.vmware.com/vcloud/v1.5" name="%s" id="urn:vcloud:catalog:%s" type="application/vnd.vmware.admin.catalog+xml" href="%s/api/admin/catalog/%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">
|
3
|
-
<Link rel="up" type="application/vnd.vmware.admin.organization+xml" href="%s/api/admin/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
4
|
-
<Link rel="alternate" type="application/vnd.vmware.vcloud.catalog+xml" href="%s/api/catalog/%s"/>
|
5
|
-
<Link rel="down" type="application/vnd.vmware.vcloud.owner+xml" href="%s/api/admin/catalog/%s/owner"/>
|
6
|
-
<Link rel="add" type="application/vnd.vmware.vcloud.catalogItem+xml" href="%s"/>
|
7
|
-
<Link rel="edit" type="application/vnd.vmware.admin.catalog+xml" href="%s/api/admin/catalog/%s"/>
|
8
|
-
<Link rel="remove" href="%s/api/admin/catalog/%s"/>
|
9
|
-
<Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="%s/api/catalog/%s/metadata"/>
|
10
|
-
<Description/>
|
11
|
-
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
12
|
-
<User type="application/vnd.vmware.admin.user+xml" name="system" href="%s/api/admin/user/b95dbfb2-c864-4263-ac02-149a093939c0"/>
|
13
|
-
</Owner>
|
14
|
-
<CatalogItems>
|
15
|
-
<CatalogItem type="application/vnd.vmware.vcloud.catalogItem+xml" name="%s" href="%s/api/catalogItem/%s"/>
|
16
|
-
<CatalogItem type="application/vnd.vmware.vcloud.catalogItem+xml" name="%s" href="%s">
|
17
|
-
</CatalogItems>
|
18
|
-
<IsPublished>false</IsPublished>
|
19
|
-
</AdminCatalog>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<Media xmlns="http://www.vmware.com/vcloud/v1.5" size="833536" imageType="iso" status="0" 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
|
-
<Tasks>
|
4
|
-
<Task status="running" startTime="2011-09-22T13:12:25.343-07:00" operationName="vdcUploadMedia" operation="Finalizing upload of Media File %s(%s)" expiryTime="2011-12-21T13:12:25.343-08:00" name="task" id="urn:vcloud:task:025615cd-a591-4dec-89dc-331b322a3a75" type="application/vnd.vmware.vcloud.task+xml" href="%s/api/task/025615cd-a591-4dec-89dc-331b322a3a75">
|
5
|
-
<Link rel="task:cancel" href="%s/api/task/025615cd-a591-4dec-89dc-331b322a3a75/action/cancel"/>
|
6
|
-
<Owner type="application/vnd.vmware.vcloud.media+xml" name="%s" href="%s/api/media/%s"/>
|
7
|
-
<User type="application/vnd.vmware.admin.user+xml" name="vcap" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
8
|
-
<Organization type="application/vnd.vmware.vcloud.org+xml" name="vcap" href="%s/api/org/b689c06e-1de0-4fd1-a5a3-050c479546ac"/>
|
9
|
-
</Task>
|
10
|
-
</Tasks>
|
11
|
-
<Files>
|
12
|
-
<File size="833536" bytesTransferred="833536" name="file">
|
13
|
-
<Link rel="upload:default" href="%s/transfer/2aebe7a1-e297-439d-83ac-dc66db6fc3ff/file"/>
|
14
|
-
</File>
|
15
|
-
</Files>
|
16
|
-
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
17
|
-
<User type="application/vnd.vmware.admin.user+xml" name="%s" href="%s/api/admin/user/42cbe98d-48da-4f5d-944e-596843a9fcb5"/>
|
18
|
-
</Owner>
|
19
|
-
</Media>
|
@@ -1,8 +0,0 @@
|
|
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>
|
@@ -1,6 +0,0 @@
|
|
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>
|
@@ -1,11 +0,0 @@
|
|
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>
|
@@ -1,3 +0,0 @@
|
|
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>
|
@@ -1,3 +0,0 @@
|
|
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>
|
@@ -1,20 +0,0 @@
|
|
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>
|
@@ -1,7 +0,0 @@
|
|
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>
|
@@ -1,7 +0,0 @@
|
|
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>
|
@@ -1,7 +0,0 @@
|
|
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>
|
@@ -1,8 +0,0 @@
|
|
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>
|
@@ -1,79 +0,0 @@
|
|
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>
|
@@ -1,7 +0,0 @@
|
|
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>
|
@@ -1,7 +0,0 @@
|
|
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>
|
@@ -1,6 +0,0 @@
|
|
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>
|
@@ -1,6 +0,0 @@
|
|
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>
|