ruby_vcloud_sdk 0.4.8 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +296 -0
  3. data/lib/ruby_vcloud_sdk.rb +0 -4
  4. data/lib/ruby_vcloud_sdk/catalog.rb +377 -0
  5. data/lib/ruby_vcloud_sdk/catalog_item.rb +26 -0
  6. data/lib/ruby_vcloud_sdk/client.rb +25 -882
  7. data/lib/ruby_vcloud_sdk/config.rb +1 -7
  8. data/lib/ruby_vcloud_sdk/connection/connection.rb +114 -54
  9. data/lib/ruby_vcloud_sdk/cpu.rb +11 -0
  10. data/lib/ruby_vcloud_sdk/disk.rb +55 -0
  11. data/lib/ruby_vcloud_sdk/edge_gateway.rb +32 -0
  12. data/lib/ruby_vcloud_sdk/infrastructure.rb +135 -0
  13. data/lib/ruby_vcloud_sdk/ip_ranges.rb +95 -0
  14. data/lib/ruby_vcloud_sdk/memory.rb +11 -0
  15. data/lib/ruby_vcloud_sdk/network.rb +32 -0
  16. data/lib/ruby_vcloud_sdk/powerable.rb +78 -0
  17. data/lib/ruby_vcloud_sdk/resources.rb +13 -0
  18. data/lib/ruby_vcloud_sdk/session.rb +46 -0
  19. data/lib/ruby_vcloud_sdk/vapp.rb +122 -0
  20. data/lib/ruby_vcloud_sdk/vdc.rb +210 -0
  21. data/lib/ruby_vcloud_sdk/vdc_storage_profile.rb +23 -0
  22. data/lib/ruby_vcloud_sdk/version.rb +1 -1
  23. data/lib/ruby_vcloud_sdk/vm.rb +132 -0
  24. data/lib/ruby_vcloud_sdk/xml/constants.rb +6 -4
  25. data/lib/ruby_vcloud_sdk/xml/wrapper.rb +109 -30
  26. data/lib/ruby_vcloud_sdk/xml/wrapper_classes.rb +45 -2
  27. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/admin_catalog.rb +13 -4
  28. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/allocated_ip_addresses.rb +9 -0
  29. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/catalog_item.rb +6 -14
  30. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk.rb +24 -14
  31. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_attach_or_detach_params.rb +0 -2
  32. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/disk_create_params.rb +1 -3
  33. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/edge_gateway.rb +13 -0
  34. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.rb +22 -0
  35. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/hard_disk_item_wrapper.rb +4 -4
  36. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_address.rb +10 -0
  37. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_range.rb +13 -0
  38. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_ranges.rb +9 -0
  39. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/ip_scope.rb +6 -32
  40. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/item.rb +1 -7
  41. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/link.rb +14 -0
  42. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media.rb +4 -20
  43. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/media_insert_or_eject_params.rb +1 -3
  44. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/network_connection_section.rb +0 -4
  45. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/nic_item_wrapper.rb +0 -2
  46. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org.rb +44 -0
  47. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/org_vdc_network.rb +11 -3
  48. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/query_result_records.rb +14 -0
  49. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/recompose_vapp_params.rb +42 -0
  50. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/session.rb +5 -5
  51. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/supported_versions.rb +19 -0
  52. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/task.rb +1 -1
  53. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/upload_vapp_template_params.rb +2 -4
  54. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb +13 -22
  55. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp_template.rb +0 -2
  56. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vcloud.rb +5 -3
  57. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vdc.rb +72 -15
  58. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/virtual_hardware_section.rb +8 -6
  59. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vm.rb +29 -25
  60. data/lib/ruby_vcloud_sdk/xml/wrapper_classes/vms.rb +12 -0
  61. data/lib/ruby_vcloud_sdk/xml/xml_templates/AdminCatalog.xml +6 -1
  62. data/lib/ruby_vcloud_sdk/xml/xml_templates/RecomposeVAppParams.xml +16 -1
  63. metadata +116 -233
  64. data/README +0 -1
  65. data/Rakefile +0 -50
  66. data/lib/ruby_vcloud_sdk/util.rb +0 -21
  67. data/spec/assets/admin_org_response.xml +0 -75
  68. data/spec/assets/catalog_add_item_response.xml +0 -8
  69. data/spec/assets/catalog_add_vapp_request.xml +0 -5
  70. data/spec/assets/catalog_item_added_response.xml +0 -19
  71. data/spec/assets/catalog_response.xml +0 -19
  72. data/spec/assets/existing_media_busy_response.xml +0 -19
  73. data/spec/assets/existing_media_catalog_item.xml +0 -8
  74. data/spec/assets/existing_media_delete_task_done.xml +0 -6
  75. data/spec/assets/existing_media_done_response.xml +0 -11
  76. data/spec/assets/existing_vapp_resolver_response.xml +0 -3
  77. data/spec/assets/existing_vapp_template_catalog_resolver_response.xml +0 -3
  78. data/spec/assets/existing_vapp_template_instantiate_response.xml +0 -20
  79. data/spec/assets/existing_vapp_template_instantiate_task_error_response.xml +0 -7
  80. data/spec/assets/existing_vapp_template_instantiate_task_start_response.xml +0 -7
  81. data/spec/assets/existing_vapp_template_instantiate_task_success_response.xml +0 -7
  82. data/spec/assets/existing_vapp_template_item_response.xml +0 -8
  83. data/spec/assets/existing_vapp_template_ready_response.xml +0 -79
  84. data/spec/assets/finalize_upload_task_done_response.xml +0 -7
  85. data/spec/assets/finalize_upload_task_response.xml +0 -7
  86. data/spec/assets/indy_disk_attach_request.xml +0 -3
  87. data/spec/assets/indy_disk_attach_task.xml +0 -6
  88. data/spec/assets/indy_disk_attach_task_error.xml +0 -6
  89. data/spec/assets/indy_disk_create_error.xml +0 -1
  90. data/spec/assets/indy_disk_create_request.xml +0 -4
  91. data/spec/assets/indy_disk_create_response.xml +0 -19
  92. data/spec/assets/indy_disk_delete_task.xml +0 -6
  93. data/spec/assets/indy_disk_detach_request.xml +0 -3
  94. data/spec/assets/indy_disk_detach_task.xml +0 -6
  95. data/spec/assets/indy_disk_response.xml +0 -11
  96. data/spec/assets/instantiated_suspended_vapp_response.xml +0 -209
  97. data/spec/assets/instantiated_vapp_delelete_done_task.xml +0 -5
  98. data/spec/assets/instantiated_vapp_delelete_running_task.xml +0 -6
  99. data/spec/assets/instantiated_vapp_network_config_add_network_request.xml +0 -36
  100. data/spec/assets/instantiated_vapp_network_config_modify_network_task_success.xml +0 -6
  101. data/spec/assets/instantiated_vapp_network_config_remove_network_request.xml +0 -6
  102. data/spec/assets/instantiated_vapp_network_config_section_response.xml +0 -17
  103. data/spec/assets/instantiated_vapp_off_response.xml +0 -206
  104. data/spec/assets/instantiated_vapp_on_response.xml +0 -205
  105. data/spec/assets/instantiated_vapp_power_task_running.xml +0 -6
  106. data/spec/assets/instantiated_vapp_power_task_success.xml +0 -6
  107. data/spec/assets/instantiated_vapp_response.xml +0 -205
  108. data/spec/assets/instantiated_vm_change_task_running.xml +0 -6
  109. data/spec/assets/instantiated_vm_change_task_success.xml +0 -6
  110. data/spec/assets/instantiated_vm_cpu_response.xml +0 -11
  111. data/spec/assets/instantiated_vm_insert_media_task_done.xml +0 -6
  112. data/spec/assets/instantiated_vm_memory_response.xml +0 -11
  113. data/spec/assets/instantiated_vm_modify_task_running.xml +0 -6
  114. data/spec/assets/instantiated_vm_modify_task_success.xml +0 -5
  115. data/spec/assets/instantiated_vm_network_section_response.xml +0 -11
  116. data/spec/assets/instantiated_vm_response.xml +0 -149
  117. data/spec/assets/media_add_to_catalog_request.xml +0 -5
  118. data/spec/assets/media_add_to_catalog_response.xml +0 -8
  119. data/spec/assets/media_delete_task_done.xml +0 -6
  120. data/spec/assets/media_upload_pending_response.xml +0 -13
  121. data/spec/assets/media_upload_request.xml +0 -2
  122. data/spec/assets/metadata_set_request.xml +0 -3
  123. data/spec/assets/metadata_set_task_done.xml +0 -6
  124. data/spec/assets/org_network_response.xml +0 -22
  125. data/spec/assets/reconfigure_vm_request.xml +0 -133
  126. data/spec/assets/reconfigure_vm_task.xml +0 -8
  127. data/spec/assets/session.xml +0 -7
  128. data/spec/assets/test-config.yml +0 -38
  129. data/spec/assets/undeploy_params.xml +0 -1
  130. data/spec/assets/vapp_template_catalog_resolver_response.xml +0 -3
  131. data/spec/assets/vapp_template_delelete_done_task.xml +0 -5
  132. data/spec/assets/vapp_template_delelete_running_task.xml +0 -6
  133. data/spec/assets/vapp_template_instantiate_request.xml +0 -8
  134. data/spec/assets/vapp_template_instantiate_with_locality_request.xml +0 -14
  135. data/spec/assets/vapp_template_no_disk_response.xml +0 -27
  136. data/spec/assets/vapp_template_ready_response.xml +0 -79
  137. data/spec/assets/vapp_template_upload_complete.xml +0 -28
  138. data/spec/assets/vapp_template_upload_failed.xml +0 -28
  139. data/spec/assets/vapp_template_upload_request.xml +0 -4
  140. data/spec/assets/vapp_template_upload_response.xml +0 -25
  141. data/spec/assets/vcloud_response.xml +0 -56
  142. data/spec/assets/vdc_response.xml +0 -57
  143. data/spec/spec_helper.rb +0 -107
  144. data/spec/unit/client_response.rb +0 -700
  145. data/spec/unit/client_spec.rb +0 -1152
@@ -1,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("Link", {"rel" => "disk:attach",
12
- "type" => MEDIA_TYPE[:DISK_ATTACH_DETACH_PARAMS]}, true).first
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("Link", {"rel" => "media:insertMedia"}, true).first
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("Link", {"rel" => "media:ejectMedia"}, true).first
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", nil, false,
66
- "http://schemas.dmtf.org/ovf/envelope/1").first
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
@@ -0,0 +1,12 @@
1
+ module VCloudSdk
2
+ module Xml
3
+ class Vms < Wrapper
4
+ def vm_reference
5
+ get_nodes("VmReference",
6
+ { type: MEDIA_TYPE[:VM] },
7
+ true)
8
+ .first
9
+ end
10
+ end
11
+ end
12
+ end
@@ -1 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns7:AdminCatalog 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="" id="" type="" href=""><ns7:Description></ns7:Description><ns7:Tasks/><ns7:Owner/><ns7:CatalogItems/><ns7:IsPublished>false</ns7:IsPublished></ns7:AdminCatalog>
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"?><ns7:RecomposeVAppParams 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" linkedClone="false" powerOn="false" deploy="false" name=""><ns7:Description></ns7:Description><ns7:VAppParent/><ns7:InstantiationParams/><ns7:AllEULAsAccepted>false</ns7:AllEULAsAccepted></ns7:RecomposeVAppParams>
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
- prerelease:
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
- date: 2012-11-26 00:00:00 Z
14
- dependencies:
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: &id001 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
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: *id001
26
- - !ruby/object:Gem::Dependency
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: &id002 !ruby/object:Gem::Requirement
29
- none: false
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
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: *id002
37
- - !ruby/object:Gem::Dependency
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: &id003 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
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: *id003
48
- - !ruby/object:Gem::Dependency
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: &id004 !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
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: "1.5"
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: *id004
59
- description: BOSH vCloud API client
60
- email: support@vmware.com
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
- files:
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/util.rb
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
- - README
306
- - Rakefile
307
- - spec/assets/admin_org_response.xml
308
- - spec/assets/catalog_add_item_response.xml
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
- none: false
396
- requirements:
397
- - - ">="
398
- - !ruby/object:Gem::Version
399
- hash: -225335708463526951
400
- segments:
401
- - 0
402
- version: "0"
403
- required_rubygems_version: !ruby/object:Gem::Requirement
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: 1.8.24
376
+ rubygems_version: 2.2.2
416
377
  signing_key:
417
- specification_version: 3
378
+ specification_version: 4
418
379
  summary: BOSH vCloud API client
419
- test_files:
420
- - spec/assets/admin_org_response.xml
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: