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
@@ -1,15 +1,30 @@
|
|
1
1
|
module VCloudSdk
|
2
2
|
module Xml
|
3
|
-
|
4
3
|
class Vm < Wrapper
|
5
4
|
def initialize(xml, ns = nil, ns_definitions = nil)
|
6
5
|
super(xml, ns, ns_definitions)
|
7
6
|
@logger = Config.logger
|
8
7
|
end
|
9
8
|
|
9
|
+
def vapp_link
|
10
|
+
get_nodes(XML_TYPE[:LINK],
|
11
|
+
{ type: MEDIA_TYPE[:VAPP] },
|
12
|
+
true)
|
13
|
+
.first
|
14
|
+
end
|
15
|
+
|
10
16
|
def attach_disk_link
|
11
|
-
get_nodes(
|
12
|
-
|
17
|
+
get_nodes(XML_TYPE[:LINK],
|
18
|
+
{ rel: "disk:attach",
|
19
|
+
type: MEDIA_TYPE[:DISK_ATTACH_DETACH_PARAMS] },
|
20
|
+
true).first
|
21
|
+
end
|
22
|
+
|
23
|
+
def detach_disk_link
|
24
|
+
get_nodes(XML_TYPE[:LINK],
|
25
|
+
{ rel: "disk:detach",
|
26
|
+
type: MEDIA_TYPE[:DISK_ATTACH_DETACH_PARAMS] },
|
27
|
+
true).first
|
13
28
|
end
|
14
29
|
|
15
30
|
def description
|
@@ -28,42 +43,32 @@ module VCloudSdk
|
|
28
43
|
node.content = value
|
29
44
|
end
|
30
45
|
|
31
|
-
def detach_disk_link
|
32
|
-
get_nodes("Link", {"rel" => "disk:detach",
|
33
|
-
"type" => MEDIA_TYPE[:DISK_ATTACH_DETACH_PARAMS]}, true).first
|
34
|
-
end
|
35
|
-
|
36
|
-
def edit_link
|
37
|
-
get_nodes("Link", {"rel" => "edit"}, true).first
|
38
|
-
end
|
39
|
-
|
40
46
|
def reconfigure_link
|
41
47
|
get_nodes("Link", {"rel" => "reconfigureVm"}, true).first
|
42
48
|
end
|
43
49
|
|
44
50
|
def insert_media_link
|
45
|
-
get_nodes(
|
51
|
+
get_nodes(XML_TYPE[:LINK],
|
52
|
+
{ rel: "media:insertMedia" },
|
53
|
+
true).first
|
46
54
|
end
|
47
55
|
|
48
56
|
def eject_media_link
|
49
|
-
get_nodes(
|
57
|
+
get_nodes(XML_TYPE[:LINK],
|
58
|
+
{ rel: "media:ejectMedia" },
|
59
|
+
true).first
|
50
60
|
end
|
51
61
|
|
52
62
|
def metadata_link
|
53
63
|
get_nodes("Link", {"type" => MEDIA_TYPE[:METADATA]}, true).first
|
54
64
|
end
|
55
65
|
|
56
|
-
def name
|
57
|
-
@root["name"]
|
58
|
-
end
|
59
|
-
|
60
|
-
def name=(value)
|
61
|
-
@root["name"]= value
|
62
|
-
end
|
63
|
-
|
64
66
|
def hardware_section
|
65
|
-
get_nodes("VirtualHardwareSection",
|
66
|
-
|
67
|
+
get_nodes("VirtualHardwareSection",
|
68
|
+
nil,
|
69
|
+
false,
|
70
|
+
OVF)
|
71
|
+
.first
|
67
72
|
end
|
68
73
|
|
69
74
|
def network_connection_section
|
@@ -174,6 +179,5 @@ module VCloudSdk
|
|
174
179
|
net_conn_section.primary_network_connection_index = nic_index
|
175
180
|
end
|
176
181
|
end
|
177
|
-
|
178
182
|
end
|
179
183
|
end
|
@@ -1 +1,6 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<AdminCatalog
|
3
|
+
xmlns="http://www.vmware.com/vcloud/v1.5"
|
4
|
+
name="">
|
5
|
+
<Description></Description>
|
6
|
+
</AdminCatalog>
|
@@ -1 +1,16 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<ns7:RecomposeVAppParams xmlns="http://www.vmware.com/vcloud/extension/v1" xmlns:ns2="http://www.vmware.com/vcloud/v1"
|
3
|
+
xmlns:ns3="http://schemas.dmtf.org/ovf/envelope/1"
|
4
|
+
xmlns:ns4="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
|
5
|
+
xmlns:ns5="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData"
|
6
|
+
xmlns:ns6="http://schemas.dmtf.org/wbem/wscim/1/common"
|
7
|
+
xmlns:ns7="http://www.vmware.com/vcloud/v1.5"
|
8
|
+
xmlns:ns8="http://schemas.dmtf.org/ovf/environment/1"
|
9
|
+
xmlns:ns9="http://www.vmware.com/vcloud/extension/v1.5"
|
10
|
+
xmlns:ns10="http://www.vmware.com/vcloud/versions" linkedClone="false" powerOn="false"
|
11
|
+
deploy="false" name="">
|
12
|
+
<ns7:Description></ns7:Description>
|
13
|
+
<ns7:VAppParent href=""/>
|
14
|
+
<ns7:InstantiationParams/>
|
15
|
+
<ns7:AllEULAsAccepted>false</ns7:AllEULAsAccepted>
|
16
|
+
</ns7:RecomposeVAppParams>
|
metadata
CHANGED
@@ -1,94 +1,140 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_vcloud_sdk
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.4.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.1
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- VMware
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
16
14
|
name: builder
|
17
|
-
requirement:
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.1.4
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
|
-
version_requirements:
|
26
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.1.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
27
28
|
name: httpclient
|
28
|
-
requirement:
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
version: "0"
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.2.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.2.4
|
41
|
+
- !ruby/object:Gem::Dependency
|
38
42
|
name: rest-client
|
39
|
-
requirement:
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
version: "0"
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.6.7
|
45
48
|
type: :runtime
|
46
49
|
prerelease: false
|
47
|
-
version_requirements:
|
48
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.6.7
|
55
|
+
- !ruby/object:Gem::Dependency
|
49
56
|
name: nokogiri
|
50
|
-
requirement:
|
51
|
-
|
52
|
-
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.5.6
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
53
66
|
- - ~>
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.5.6
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: netaddr
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
56
76
|
type: :runtime
|
57
77
|
prerelease: false
|
58
|
-
version_requirements:
|
59
|
-
|
60
|
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: |-
|
84
|
+
BOSH vCloud API client
|
85
|
+
b7e7d7
|
86
|
+
email: support@cloudfoundry.com
|
61
87
|
executables: []
|
62
|
-
|
63
88
|
extensions: []
|
64
|
-
|
65
89
|
extra_rdoc_files: []
|
66
|
-
|
67
|
-
|
90
|
+
files:
|
91
|
+
- README.md
|
68
92
|
- lib/ruby_vcloud_sdk.rb
|
93
|
+
- lib/ruby_vcloud_sdk/catalog.rb
|
94
|
+
- lib/ruby_vcloud_sdk/catalog_item.rb
|
69
95
|
- lib/ruby_vcloud_sdk/client.rb
|
70
96
|
- lib/ruby_vcloud_sdk/config.rb
|
71
97
|
- lib/ruby_vcloud_sdk/connection/connection.rb
|
72
98
|
- lib/ruby_vcloud_sdk/connection/file_uploader.rb
|
99
|
+
- lib/ruby_vcloud_sdk/cpu.rb
|
100
|
+
- lib/ruby_vcloud_sdk/disk.rb
|
101
|
+
- lib/ruby_vcloud_sdk/edge_gateway.rb
|
73
102
|
- lib/ruby_vcloud_sdk/errors.rb
|
103
|
+
- lib/ruby_vcloud_sdk/infrastructure.rb
|
104
|
+
- lib/ruby_vcloud_sdk/ip_ranges.rb
|
105
|
+
- lib/ruby_vcloud_sdk/memory.rb
|
106
|
+
- lib/ruby_vcloud_sdk/network.rb
|
74
107
|
- lib/ruby_vcloud_sdk/ovf_directory.rb
|
75
|
-
- lib/ruby_vcloud_sdk/
|
108
|
+
- lib/ruby_vcloud_sdk/powerable.rb
|
109
|
+
- lib/ruby_vcloud_sdk/resources.rb
|
110
|
+
- lib/ruby_vcloud_sdk/session.rb
|
111
|
+
- lib/ruby_vcloud_sdk/vapp.rb
|
112
|
+
- lib/ruby_vcloud_sdk/vdc.rb
|
113
|
+
- lib/ruby_vcloud_sdk/vdc_storage_profile.rb
|
76
114
|
- lib/ruby_vcloud_sdk/version.rb
|
115
|
+
- lib/ruby_vcloud_sdk/vm.rb
|
77
116
|
- lib/ruby_vcloud_sdk/xml/constants.rb
|
78
117
|
- lib/ruby_vcloud_sdk/xml/wrapper.rb
|
79
118
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes.rb
|
80
119
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/admin_catalog.rb
|
81
120
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/admin_org.rb
|
121
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/allocated_ip_addresses.rb
|
82
122
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/catalog_item.rb
|
83
123
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/disk.rb
|
84
124
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_attach_or_detach_params.rb
|
85
125
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_create_params.rb
|
126
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/edge_gateway.rb
|
86
127
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/entity.rb
|
87
128
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/file.rb
|
129
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.rb
|
88
130
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/hard_disk_item_wrapper.rb
|
89
131
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/instantiate_vapp_template_params.rb
|
132
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_address.rb
|
133
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_range.rb
|
134
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_ranges.rb
|
90
135
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb
|
91
136
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/item.rb
|
137
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/link.rb
|
92
138
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/media.rb
|
93
139
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/media_insert_or_eject_params.rb
|
94
140
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/metadata_value.rb
|
@@ -98,9 +144,13 @@ files:
|
|
98
144
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/network_connection.rb
|
99
145
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/network_connection_section.rb
|
100
146
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/nic_item_wrapper.rb
|
147
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/org.rb
|
101
148
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/org_network.rb
|
102
149
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/org_vdc_network.rb
|
150
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/query_result_records.rb
|
151
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/recompose_vapp_params.rb
|
103
152
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/session.rb
|
153
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/supported_versions.rb
|
104
154
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb
|
105
155
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/upload_vapp_template_params.rb
|
106
156
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb
|
@@ -110,6 +160,7 @@ files:
|
|
110
160
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/vdc_storage_profile.rb
|
111
161
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/virtual_hardware_section.rb
|
112
162
|
- lib/ruby_vcloud_sdk/xml/wrapper_classes/vm.rb
|
163
|
+
- lib/ruby_vcloud_sdk/xml/wrapper_classes/vms.rb
|
113
164
|
- lib/ruby_vcloud_sdk/xml/xml_templates/AdminAllocatedExtIpRecord.xml
|
114
165
|
- lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalog.xml
|
115
166
|
- lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalogItemRecord.xml
|
@@ -302,197 +353,29 @@ files:
|
|
302
353
|
- lib/ruby_vcloud_sdk/xml/xml_templates/VmPendingQuestion.xml
|
303
354
|
- lib/ruby_vcloud_sdk/xml/xml_templates/VmQuestionAnswer.xml
|
304
355
|
- lib/ruby_vcloud_sdk/xml/xml_templates/generate_dictionary.rb
|
305
|
-
|
306
|
-
|
307
|
-
-
|
308
|
-
|
309
|
-
- spec/assets/catalog_add_vapp_request.xml
|
310
|
-
- spec/assets/catalog_item_added_response.xml
|
311
|
-
- spec/assets/catalog_response.xml
|
312
|
-
- spec/assets/existing_media_busy_response.xml
|
313
|
-
- spec/assets/existing_media_catalog_item.xml
|
314
|
-
- spec/assets/existing_media_delete_task_done.xml
|
315
|
-
- spec/assets/existing_media_done_response.xml
|
316
|
-
- spec/assets/existing_vapp_resolver_response.xml
|
317
|
-
- spec/assets/existing_vapp_template_catalog_resolver_response.xml
|
318
|
-
- spec/assets/existing_vapp_template_instantiate_response.xml
|
319
|
-
- spec/assets/existing_vapp_template_instantiate_task_error_response.xml
|
320
|
-
- spec/assets/existing_vapp_template_instantiate_task_start_response.xml
|
321
|
-
- spec/assets/existing_vapp_template_instantiate_task_success_response.xml
|
322
|
-
- spec/assets/existing_vapp_template_item_response.xml
|
323
|
-
- spec/assets/existing_vapp_template_ready_response.xml
|
324
|
-
- spec/assets/finalize_upload_task_done_response.xml
|
325
|
-
- spec/assets/finalize_upload_task_response.xml
|
326
|
-
- spec/assets/indy_disk_attach_request.xml
|
327
|
-
- spec/assets/indy_disk_attach_task.xml
|
328
|
-
- spec/assets/indy_disk_attach_task_error.xml
|
329
|
-
- spec/assets/indy_disk_create_error.xml
|
330
|
-
- spec/assets/indy_disk_create_request.xml
|
331
|
-
- spec/assets/indy_disk_create_response.xml
|
332
|
-
- spec/assets/indy_disk_delete_task.xml
|
333
|
-
- spec/assets/indy_disk_detach_request.xml
|
334
|
-
- spec/assets/indy_disk_detach_task.xml
|
335
|
-
- spec/assets/indy_disk_response.xml
|
336
|
-
- spec/assets/instantiated_suspended_vapp_response.xml
|
337
|
-
- spec/assets/instantiated_vapp_delelete_done_task.xml
|
338
|
-
- spec/assets/instantiated_vapp_delelete_running_task.xml
|
339
|
-
- spec/assets/instantiated_vapp_network_config_add_network_request.xml
|
340
|
-
- spec/assets/instantiated_vapp_network_config_modify_network_task_success.xml
|
341
|
-
- spec/assets/instantiated_vapp_network_config_remove_network_request.xml
|
342
|
-
- spec/assets/instantiated_vapp_network_config_section_response.xml
|
343
|
-
- spec/assets/instantiated_vapp_off_response.xml
|
344
|
-
- spec/assets/instantiated_vapp_on_response.xml
|
345
|
-
- spec/assets/instantiated_vapp_power_task_running.xml
|
346
|
-
- spec/assets/instantiated_vapp_power_task_success.xml
|
347
|
-
- spec/assets/instantiated_vapp_response.xml
|
348
|
-
- spec/assets/instantiated_vm_change_task_running.xml
|
349
|
-
- spec/assets/instantiated_vm_change_task_success.xml
|
350
|
-
- spec/assets/instantiated_vm_cpu_response.xml
|
351
|
-
- spec/assets/instantiated_vm_insert_media_task_done.xml
|
352
|
-
- spec/assets/instantiated_vm_memory_response.xml
|
353
|
-
- spec/assets/instantiated_vm_modify_task_running.xml
|
354
|
-
- spec/assets/instantiated_vm_modify_task_success.xml
|
355
|
-
- spec/assets/instantiated_vm_network_section_response.xml
|
356
|
-
- spec/assets/instantiated_vm_response.xml
|
357
|
-
- spec/assets/media_add_to_catalog_request.xml
|
358
|
-
- spec/assets/media_add_to_catalog_response.xml
|
359
|
-
- spec/assets/media_delete_task_done.xml
|
360
|
-
- spec/assets/media_upload_pending_response.xml
|
361
|
-
- spec/assets/media_upload_request.xml
|
362
|
-
- spec/assets/metadata_set_request.xml
|
363
|
-
- spec/assets/metadata_set_task_done.xml
|
364
|
-
- spec/assets/org_network_response.xml
|
365
|
-
- spec/assets/reconfigure_vm_request.xml
|
366
|
-
- spec/assets/reconfigure_vm_task.xml
|
367
|
-
- spec/assets/session.xml
|
368
|
-
- spec/assets/test-config.yml
|
369
|
-
- spec/assets/undeploy_params.xml
|
370
|
-
- spec/assets/vapp_template_catalog_resolver_response.xml
|
371
|
-
- spec/assets/vapp_template_delelete_done_task.xml
|
372
|
-
- spec/assets/vapp_template_delelete_running_task.xml
|
373
|
-
- spec/assets/vapp_template_instantiate_request.xml
|
374
|
-
- spec/assets/vapp_template_instantiate_with_locality_request.xml
|
375
|
-
- spec/assets/vapp_template_no_disk_response.xml
|
376
|
-
- spec/assets/vapp_template_ready_response.xml
|
377
|
-
- spec/assets/vapp_template_upload_complete.xml
|
378
|
-
- spec/assets/vapp_template_upload_failed.xml
|
379
|
-
- spec/assets/vapp_template_upload_request.xml
|
380
|
-
- spec/assets/vapp_template_upload_response.xml
|
381
|
-
- spec/assets/vcloud_response.xml
|
382
|
-
- spec/assets/vdc_response.xml
|
383
|
-
- spec/spec_helper.rb
|
384
|
-
- spec/unit/client_response.rb
|
385
|
-
- spec/unit/client_spec.rb
|
386
|
-
homepage: http://www.vmware.com
|
387
|
-
licenses: []
|
388
|
-
|
356
|
+
homepage: https://github.com/vchs/ruby_vcloud_sdk
|
357
|
+
licenses:
|
358
|
+
- Apache 2.0
|
359
|
+
metadata: {}
|
389
360
|
post_install_message:
|
390
361
|
rdoc_options: []
|
391
|
-
|
392
|
-
require_paths:
|
362
|
+
require_paths:
|
393
363
|
- lib
|
394
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
none: false
|
405
|
-
requirements:
|
406
|
-
- - ">="
|
407
|
-
- !ruby/object:Gem::Version
|
408
|
-
hash: -225335708463526951
|
409
|
-
segments:
|
410
|
-
- 0
|
411
|
-
version: "0"
|
364
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
365
|
+
requirements:
|
366
|
+
- - '>='
|
367
|
+
- !ruby/object:Gem::Version
|
368
|
+
version: 1.9.3
|
369
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
370
|
+
requirements:
|
371
|
+
- - '>='
|
372
|
+
- !ruby/object:Gem::Version
|
373
|
+
version: '0'
|
412
374
|
requirements: []
|
413
|
-
|
414
375
|
rubyforge_project:
|
415
|
-
rubygems_version:
|
376
|
+
rubygems_version: 2.2.2
|
416
377
|
signing_key:
|
417
|
-
specification_version:
|
378
|
+
specification_version: 4
|
418
379
|
summary: BOSH vCloud API client
|
419
|
-
test_files:
|
420
|
-
|
421
|
-
- spec/assets/catalog_add_item_response.xml
|
422
|
-
- spec/assets/catalog_add_vapp_request.xml
|
423
|
-
- spec/assets/catalog_item_added_response.xml
|
424
|
-
- spec/assets/catalog_response.xml
|
425
|
-
- spec/assets/existing_media_busy_response.xml
|
426
|
-
- spec/assets/existing_media_catalog_item.xml
|
427
|
-
- spec/assets/existing_media_delete_task_done.xml
|
428
|
-
- spec/assets/existing_media_done_response.xml
|
429
|
-
- spec/assets/existing_vapp_resolver_response.xml
|
430
|
-
- spec/assets/existing_vapp_template_catalog_resolver_response.xml
|
431
|
-
- spec/assets/existing_vapp_template_instantiate_response.xml
|
432
|
-
- spec/assets/existing_vapp_template_instantiate_task_error_response.xml
|
433
|
-
- spec/assets/existing_vapp_template_instantiate_task_start_response.xml
|
434
|
-
- spec/assets/existing_vapp_template_instantiate_task_success_response.xml
|
435
|
-
- spec/assets/existing_vapp_template_item_response.xml
|
436
|
-
- spec/assets/existing_vapp_template_ready_response.xml
|
437
|
-
- spec/assets/finalize_upload_task_done_response.xml
|
438
|
-
- spec/assets/finalize_upload_task_response.xml
|
439
|
-
- spec/assets/indy_disk_attach_request.xml
|
440
|
-
- spec/assets/indy_disk_attach_task.xml
|
441
|
-
- spec/assets/indy_disk_attach_task_error.xml
|
442
|
-
- spec/assets/indy_disk_create_error.xml
|
443
|
-
- spec/assets/indy_disk_create_request.xml
|
444
|
-
- spec/assets/indy_disk_create_response.xml
|
445
|
-
- spec/assets/indy_disk_delete_task.xml
|
446
|
-
- spec/assets/indy_disk_detach_request.xml
|
447
|
-
- spec/assets/indy_disk_detach_task.xml
|
448
|
-
- spec/assets/indy_disk_response.xml
|
449
|
-
- spec/assets/instantiated_suspended_vapp_response.xml
|
450
|
-
- spec/assets/instantiated_vapp_delelete_done_task.xml
|
451
|
-
- spec/assets/instantiated_vapp_delelete_running_task.xml
|
452
|
-
- spec/assets/instantiated_vapp_network_config_add_network_request.xml
|
453
|
-
- spec/assets/instantiated_vapp_network_config_modify_network_task_success.xml
|
454
|
-
- spec/assets/instantiated_vapp_network_config_remove_network_request.xml
|
455
|
-
- spec/assets/instantiated_vapp_network_config_section_response.xml
|
456
|
-
- spec/assets/instantiated_vapp_off_response.xml
|
457
|
-
- spec/assets/instantiated_vapp_on_response.xml
|
458
|
-
- spec/assets/instantiated_vapp_power_task_running.xml
|
459
|
-
- spec/assets/instantiated_vapp_power_task_success.xml
|
460
|
-
- spec/assets/instantiated_vapp_response.xml
|
461
|
-
- spec/assets/instantiated_vm_change_task_running.xml
|
462
|
-
- spec/assets/instantiated_vm_change_task_success.xml
|
463
|
-
- spec/assets/instantiated_vm_cpu_response.xml
|
464
|
-
- spec/assets/instantiated_vm_insert_media_task_done.xml
|
465
|
-
- spec/assets/instantiated_vm_memory_response.xml
|
466
|
-
- spec/assets/instantiated_vm_modify_task_running.xml
|
467
|
-
- spec/assets/instantiated_vm_modify_task_success.xml
|
468
|
-
- spec/assets/instantiated_vm_network_section_response.xml
|
469
|
-
- spec/assets/instantiated_vm_response.xml
|
470
|
-
- spec/assets/media_add_to_catalog_request.xml
|
471
|
-
- spec/assets/media_add_to_catalog_response.xml
|
472
|
-
- spec/assets/media_delete_task_done.xml
|
473
|
-
- spec/assets/media_upload_pending_response.xml
|
474
|
-
- spec/assets/media_upload_request.xml
|
475
|
-
- spec/assets/metadata_set_request.xml
|
476
|
-
- spec/assets/metadata_set_task_done.xml
|
477
|
-
- spec/assets/org_network_response.xml
|
478
|
-
- spec/assets/reconfigure_vm_request.xml
|
479
|
-
- spec/assets/reconfigure_vm_task.xml
|
480
|
-
- spec/assets/session.xml
|
481
|
-
- spec/assets/test-config.yml
|
482
|
-
- spec/assets/undeploy_params.xml
|
483
|
-
- spec/assets/vapp_template_catalog_resolver_response.xml
|
484
|
-
- spec/assets/vapp_template_delelete_done_task.xml
|
485
|
-
- spec/assets/vapp_template_delelete_running_task.xml
|
486
|
-
- spec/assets/vapp_template_instantiate_request.xml
|
487
|
-
- spec/assets/vapp_template_instantiate_with_locality_request.xml
|
488
|
-
- spec/assets/vapp_template_no_disk_response.xml
|
489
|
-
- spec/assets/vapp_template_ready_response.xml
|
490
|
-
- spec/assets/vapp_template_upload_complete.xml
|
491
|
-
- spec/assets/vapp_template_upload_failed.xml
|
492
|
-
- spec/assets/vapp_template_upload_request.xml
|
493
|
-
- spec/assets/vapp_template_upload_response.xml
|
494
|
-
- spec/assets/vcloud_response.xml
|
495
|
-
- spec/assets/vdc_response.xml
|
496
|
-
- spec/spec_helper.rb
|
497
|
-
- spec/unit/client_response.rb
|
498
|
-
- spec/unit/client_spec.rb
|
380
|
+
test_files: []
|
381
|
+
has_rdoc:
|