fog-vsphere 3.6.5 → 3.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fog/vsphere/compute.rb +12 -0
  3. data/lib/fog/vsphere/models/compute/nvmecontroller.rb +24 -0
  4. data/lib/fog/vsphere/models/compute/scsicontroller.rb +5 -1
  5. data/lib/fog/vsphere/models/compute/server.rb +33 -18
  6. data/lib/fog/vsphere/models/compute/volume.rb +1 -2
  7. data/lib/fog/vsphere/requests/compute/create_vm.rb +11 -4
  8. data/lib/fog/vsphere/requests/compute/get_vm_first_nvme_controller.rb +21 -0
  9. data/lib/fog/vsphere/requests/compute/list_vm_nvme_controllers.rb +29 -0
  10. data/lib/fog/vsphere/requests/compute/vm_clone.rb +1 -1
  11. data/lib/fog/vsphere/version.rb +1 -1
  12. data/tests/class_from_string_tests.rb +33 -0
  13. data/tests/compute_tests.rb +53 -0
  14. data/tests/fixtures/vcr_cassettes/6_7/create_folder.yml +609 -0
  15. data/tests/fixtures/vcr_cassettes/6_7/folder_destroy.yml +823 -0
  16. data/tests/fixtures/vcr_cassettes/6_7/get_cluster.yml +663 -0
  17. data/tests/fixtures/vcr_cassettes/6_7/get_compute_resource.yml +1046 -0
  18. data/tests/fixtures/vcr_cassettes/6_7/get_datacenter.yml +498 -0
  19. data/tests/fixtures/vcr_cassettes/6_7/get_folder.yml +2038 -0
  20. data/tests/fixtures/vcr_cassettes/6_7/get_host.yml +386 -0
  21. data/tests/fixtures/vcr_cassettes/6_7/get_network.yml +932 -0
  22. data/tests/fixtures/vcr_cassettes/6_7/get_storage_pod.yml +225 -0
  23. data/tests/fixtures/vcr_cassettes/6_7/get_template.yml +329 -0
  24. data/tests/fixtures/vcr_cassettes/6_7/get_virtual_machine.yml +329 -0
  25. data/tests/fixtures/vcr_cassettes/6_7/get_vm_first_nvme_controller.yml +105 -0
  26. data/tests/fixtures/vcr_cassettes/6_7/get_vm_first_sata_controller.yml +209 -0
  27. data/tests/fixtures/vcr_cassettes/6_7/get_vm_first_scsi_controller.yml +111 -0
  28. data/tests/fixtures/vcr_cassettes/6_7/shared.yml +164 -0
  29. data/tests/helper.rb +6 -0
  30. data/tests/helpers/mock_helper.rb +9 -0
  31. data/tests/models/compute/cluster_tests.rb +18 -0
  32. data/tests/models/compute/hosts_tests.rb +11 -0
  33. data/tests/models/compute/rules_tests.rb +28 -0
  34. data/tests/models/compute/server_tests.rb +74 -0
  35. data/tests/models/compute/server_unit_tests.rb +13 -0
  36. data/tests/models/compute/servers_tests.rb +14 -0
  37. data/tests/models/compute/ticket_tests.rb +12 -0
  38. data/tests/models/compute/tickets_tests.rb +8 -0
  39. data/tests/requests/compute/create_folder_tests.rb +19 -0
  40. data/tests/requests/compute/current_time_tests.rb +10 -0
  41. data/tests/requests/compute/folder_destroy_tests.rb +39 -0
  42. data/tests/requests/compute/get_cluster_tests.rb +19 -0
  43. data/tests/requests/compute/get_compute_resource_tests.rb +19 -0
  44. data/tests/requests/compute/get_datacenter_tests.rb +19 -0
  45. data/tests/requests/compute/get_folder_tests.rb +28 -0
  46. data/tests/requests/compute/get_host_tests.rb +19 -0
  47. data/tests/requests/compute/get_network_tests.rb +78 -0
  48. data/tests/requests/compute/get_storage_pod_tests.rb +19 -0
  49. data/tests/requests/compute/get_template_tests.rb +19 -0
  50. data/tests/requests/compute/get_virtual_machine_tests.rb +19 -0
  51. data/tests/requests/compute/get_vm_first_nvme_controller_tests.rb +19 -0
  52. data/tests/requests/compute/get_vm_first_sata_controller_tests.rb +19 -0
  53. data/tests/requests/compute/get_vm_first_scsi_controller_tests.rb +19 -0
  54. data/tests/requests/compute/list_child_snapshots_tests.rb +9 -0
  55. data/tests/requests/compute/list_clusters_tests.rb +10 -0
  56. data/tests/requests/compute/list_datastores_tests.rb +17 -0
  57. data/tests/requests/compute/list_hosts_tests.rb +10 -0
  58. data/tests/requests/compute/list_networks_tests.rb +17 -0
  59. data/tests/requests/compute/list_storage_pods_test.rb +9 -0
  60. data/tests/requests/compute/list_virtual_machines_tests.rb +34 -0
  61. data/tests/requests/compute/list_vm_cdroms_tests.rb +9 -0
  62. data/tests/requests/compute/list_vm_snapshots_tests.rb +9 -0
  63. data/tests/requests/compute/modify_vm_cdrom_tests.rb +20 -0
  64. data/tests/requests/compute/revert_to_snapshot_tests.rb +13 -0
  65. data/tests/requests/compute/set_vm_customvalue_tests.rb +18 -0
  66. data/tests/requests/compute/update_vm_tests.rb +13 -0
  67. data/tests/requests/compute/vm_clone_tests.rb +55 -0
  68. data/tests/requests/compute/vm_config_vnc_tests.rb +18 -0
  69. data/tests/requests/compute/vm_destroy_tests.rb +14 -0
  70. data/tests/requests/compute/vm_migrate_tests.rb +15 -0
  71. data/tests/requests/compute/vm_power_off_tests.rb +24 -0
  72. data/tests/requests/compute/vm_power_on_tests.rb +15 -0
  73. data/tests/requests/compute/vm_reboot_tests.rb +24 -0
  74. data/tests/requests/compute/vm_reconfig_cdrom_tests.rb +14 -0
  75. data/tests/requests/compute/vm_reconfig_cpus_tests.rb +17 -0
  76. data/tests/requests/compute/vm_reconfig_hardware_tests.rb +17 -0
  77. data/tests/requests/compute/vm_reconfig_memory_tests.rb +17 -0
  78. data/tests/requests/compute/vm_suspend_tests.rb +23 -0
  79. data/tests/requests/compute/vm_take_snapshot_tests.rb +17 -0
  80. data/tests/test_helper.rb +74 -0
  81. metadata +152 -19
  82. data/.github/workflows/ruby.yml +0 -42
  83. data/.gitignore +0 -25
  84. data/.rubocop.yml +0 -44
  85. data/.rubocop_todo.yml +0 -614
  86. data/CONTRIBUTING.md +0 -55
  87. data/Gemfile +0 -5
  88. data/Jenkinsfile +0 -10
  89. data/fog-vsphere.gemspec +0 -39
@@ -0,0 +1,663 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<%= vsphere_server %>/sdk
6
+ body:
7
+ encoding: UTF-8
8
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
10
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
11
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Folder</type><pathSet>childEntity</pathSet></propSet><objectSet
12
+ xsi:type="ObjectSpec"><obj type="Folder">group-d1</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
13
+ headers:
14
+ Content-Type:
15
+ - text/xml; charset=utf-8
16
+ Soapaction:
17
+ - urn:vim25/6.7
18
+ Cookie:
19
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
20
+ Secure;
21
+ Accept-Encoding:
22
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
23
+ Accept:
24
+ - "*/*"
25
+ User-Agent:
26
+ - Ruby
27
+ response:
28
+ status:
29
+ code: 200
30
+ message: OK
31
+ headers:
32
+ Date:
33
+ - Tue, 16 Apr 2019 13:41:10 GMT
34
+ Cache-Control:
35
+ - no-cache
36
+ Connection:
37
+ - Keep-Alive
38
+ Content-Type:
39
+ - text/xml; charset=utf-8
40
+ X-Frame-Options:
41
+ - DENY
42
+ Content-Length:
43
+ - '666'
44
+ body:
45
+ encoding: UTF-8
46
+ string: |-
47
+ <?xml version="1.0" encoding="UTF-8"?>
48
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
49
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
50
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
51
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
52
+ <soapenv:Body>
53
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Folder">group-d1</obj><propSet><name>childEntity</name><val xsi:type="ArrayOfManagedObjectReference"><ManagedObjectReference type="Datacenter" xsi:type="ManagedObjectReference">datacenter-2</ManagedObjectReference></val></propSet></returnval></RetrievePropertiesResponse>
54
+ </soapenv:Body>
55
+ </soapenv:Envelope>
56
+ http_version:
57
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
58
+ - request:
59
+ method: post
60
+ uri: https://<%= vsphere_server %>/sdk
61
+ body:
62
+ encoding: UTF-8
63
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
64
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
65
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
66
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>name</pathSet></propSet><objectSet
67
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
68
+ headers:
69
+ Content-Type:
70
+ - text/xml; charset=utf-8
71
+ Soapaction:
72
+ - urn:vim25/6.7
73
+ Cookie:
74
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
75
+ Secure;
76
+ Accept-Encoding:
77
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
78
+ Accept:
79
+ - "*/*"
80
+ User-Agent:
81
+ - Ruby
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ Date:
88
+ - Tue, 16 Apr 2019 13:41:10 GMT
89
+ Cache-Control:
90
+ - no-cache
91
+ Connection:
92
+ - Keep-Alive
93
+ Content-Type:
94
+ - text/xml; charset=utf-8
95
+ X-Frame-Options:
96
+ - DENY
97
+ Content-Length:
98
+ - '538'
99
+ body:
100
+ encoding: UTF-8
101
+ string: |-
102
+ <?xml version="1.0" encoding="UTF-8"?>
103
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
104
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
105
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
106
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
107
+ <soapenv:Body>
108
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>name</name><val xsi:type="xsd:string">BRQ</val></propSet></returnval></RetrievePropertiesResponse>
109
+ </soapenv:Body>
110
+ </soapenv:Envelope>
111
+ http_version:
112
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
113
+ - request:
114
+ method: post
115
+ uri: https://<%= vsphere_server %>/sdk
116
+ body:
117
+ encoding: UTF-8
118
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
119
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
120
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
121
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>hostFolder</pathSet></propSet><objectSet
122
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
123
+ headers:
124
+ Content-Type:
125
+ - text/xml; charset=utf-8
126
+ Soapaction:
127
+ - urn:vim25/6.7
128
+ Cookie:
129
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
130
+ Secure;
131
+ Accept-Encoding:
132
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
133
+ Accept:
134
+ - "*/*"
135
+ User-Agent:
136
+ - Ruby
137
+ response:
138
+ status:
139
+ code: 200
140
+ message: OK
141
+ headers:
142
+ Date:
143
+ - Tue, 16 Apr 2019 13:41:10 GMT
144
+ Cache-Control:
145
+ - no-cache
146
+ Connection:
147
+ - Keep-Alive
148
+ Content-Type:
149
+ - text/xml; charset=utf-8
150
+ X-Frame-Options:
151
+ - DENY
152
+ Content-Length:
153
+ - '575'
154
+ body:
155
+ encoding: UTF-8
156
+ string: |-
157
+ <?xml version="1.0" encoding="UTF-8"?>
158
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
159
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
160
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
161
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
162
+ <soapenv:Body>
163
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>hostFolder</name><val type="Folder" xsi:type="ManagedObjectReference">group-h4</val></propSet></returnval></RetrievePropertiesResponse>
164
+ </soapenv:Body>
165
+ </soapenv:Envelope>
166
+ http_version:
167
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
168
+ - request:
169
+ method: post
170
+ uri: https://<%= vsphere_server %>/sdk
171
+ body:
172
+ encoding: UTF-8
173
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
174
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><FindChild
175
+ xmlns="urn:vim25"><_this type="SearchIndex">SearchIndex</_this><entity type="Folder">group-h4</entity><name>esxi.example.com</name></FindChild></env:Body></env:Envelope>
176
+ headers:
177
+ Content-Type:
178
+ - text/xml; charset=utf-8
179
+ Soapaction:
180
+ - urn:vim25/6.7
181
+ Cookie:
182
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
183
+ Secure;
184
+ Accept-Encoding:
185
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
186
+ Accept:
187
+ - "*/*"
188
+ User-Agent:
189
+ - Ruby
190
+ response:
191
+ status:
192
+ code: 200
193
+ message: OK
194
+ headers:
195
+ Date:
196
+ - Tue, 16 Apr 2019 13:41:10 GMT
197
+ Cache-Control:
198
+ - no-cache
199
+ Connection:
200
+ - Keep-Alive
201
+ Content-Type:
202
+ - text/xml; charset=utf-8
203
+ X-Frame-Options:
204
+ - DENY
205
+ Content-Length:
206
+ - '439'
207
+ body:
208
+ encoding: UTF-8
209
+ string: |-
210
+ <?xml version="1.0" encoding="UTF-8"?>
211
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
212
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
213
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
214
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
215
+ <soapenv:Body>
216
+ <FindChildResponse xmlns="urn:vim25"><returnval type="ComputeResource">domain-s7</returnval></FindChildResponse>
217
+ </soapenv:Body>
218
+ </soapenv:Envelope>
219
+ http_version:
220
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
221
+ - request:
222
+ method: post
223
+ uri: https://<%= vsphere_server %>/sdk
224
+ body:
225
+ encoding: UTF-8
226
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
227
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
228
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
229
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ComputeResource</type><pathSet>name</pathSet></propSet><objectSet
230
+ xsi:type="ObjectSpec"><obj type="ComputeResource">domain-s7</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
231
+ headers:
232
+ Content-Type:
233
+ - text/xml; charset=utf-8
234
+ Soapaction:
235
+ - urn:vim25/6.7
236
+ Cookie:
237
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
238
+ Secure;
239
+ Accept-Encoding:
240
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
241
+ Accept:
242
+ - "*/*"
243
+ User-Agent:
244
+ - Ruby
245
+ response:
246
+ status:
247
+ code: 200
248
+ message: OK
249
+ headers:
250
+ Date:
251
+ - Tue, 16 Apr 2019 13:41:10 GMT
252
+ Cache-Control:
253
+ - no-cache
254
+ Connection:
255
+ - Keep-Alive
256
+ Content-Type:
257
+ - text/xml; charset=utf-8
258
+ X-Frame-Options:
259
+ - DENY
260
+ Content-Length:
261
+ - '576'
262
+ body:
263
+ encoding: UTF-8
264
+ string: |-
265
+ <?xml version="1.0" encoding="UTF-8"?>
266
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
267
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
268
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
269
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
270
+ <soapenv:Body>
271
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ComputeResource">domain-s7</obj><propSet><name>name</name><val xsi:type="xsd:string">esxi.example.com</val></propSet></returnval></RetrievePropertiesResponse>
272
+ </soapenv:Body>
273
+ </soapenv:Envelope>
274
+ http_version:
275
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
276
+ - request:
277
+ method: post
278
+ uri: https://<%= vsphere_server %>/sdk
279
+ body:
280
+ encoding: UTF-8
281
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
282
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
283
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
284
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>name</pathSet></propSet><objectSet
285
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
286
+ headers:
287
+ Content-Type:
288
+ - text/xml; charset=utf-8
289
+ Soapaction:
290
+ - urn:vim25/6.7
291
+ Cookie:
292
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
293
+ Secure;
294
+ Accept-Encoding:
295
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
296
+ Accept:
297
+ - "*/*"
298
+ User-Agent:
299
+ - Ruby
300
+ response:
301
+ status:
302
+ code: 200
303
+ message: OK
304
+ headers:
305
+ Date:
306
+ - Tue, 16 Apr 2019 13:41:10 GMT
307
+ Cache-Control:
308
+ - no-cache
309
+ Connection:
310
+ - Keep-Alive
311
+ Content-Type:
312
+ - text/xml; charset=utf-8
313
+ X-Frame-Options:
314
+ - DENY
315
+ Content-Length:
316
+ - '538'
317
+ body:
318
+ encoding: UTF-8
319
+ string: |-
320
+ <?xml version="1.0" encoding="UTF-8"?>
321
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
322
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
323
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
324
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
325
+ <soapenv:Body>
326
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>name</name><val xsi:type="xsd:string">BRQ</val></propSet></returnval></RetrievePropertiesResponse>
327
+ </soapenv:Body>
328
+ </soapenv:Envelope>
329
+ http_version:
330
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
331
+ - request:
332
+ method: post
333
+ uri: https://<%= vsphere_server %>/sdk
334
+ body:
335
+ encoding: UTF-8
336
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
337
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
338
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
339
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ManagedEntity</type><pathSet>name</pathSet><pathSet>parent</pathSet></propSet><objectSet
340
+ xsi:type="ObjectSpec"><obj type="ComputeResource">domain-s7</obj><selectSet
341
+ xsi:type="TraversalSpec"><name>tsME</name><type>ManagedEntity</type><path>parent</path><skip>0</skip><selectSet
342
+ xsi:type="SelectionSpec"><name>tsME</name></selectSet></selectSet></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
343
+ headers:
344
+ Content-Type:
345
+ - text/xml; charset=utf-8
346
+ Soapaction:
347
+ - urn:vim25/6.7
348
+ Cookie:
349
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
350
+ Secure;
351
+ Accept-Encoding:
352
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
353
+ Accept:
354
+ - "*/*"
355
+ User-Agent:
356
+ - Ruby
357
+ response:
358
+ status:
359
+ code: 200
360
+ message: OK
361
+ headers:
362
+ Date:
363
+ - Tue, 16 Apr 2019 13:41:10 GMT
364
+ Cache-Control:
365
+ - no-cache
366
+ Connection:
367
+ - Keep-Alive
368
+ Content-Type:
369
+ - text/xml; charset=utf-8
370
+ X-Frame-Options:
371
+ - DENY
372
+ Content-Length:
373
+ - '1300'
374
+ body:
375
+ encoding: UTF-8
376
+ string: |-
377
+ <?xml version="1.0" encoding="UTF-8"?>
378
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
379
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
380
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
381
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
382
+ <soapenv:Body>
383
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ComputeResource">domain-s7</obj><propSet><name>name</name><val xsi:type="xsd:string">esxi.example.com</val></propSet><propSet><name>parent</name><val type="Folder" xsi:type="ManagedObjectReference">group-h4</val></propSet></returnval><returnval><obj type="Folder">group-h4</obj><propSet><name>name</name><val xsi:type="xsd:string">host</val></propSet><propSet><name>parent</name><val type="Datacenter" xsi:type="ManagedObjectReference">datacenter-2</val></propSet></returnval><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>name</name><val xsi:type="xsd:string">BRQ</val></propSet><propSet><name>parent</name><val type="Folder" xsi:type="ManagedObjectReference">group-d1</val></propSet></returnval><returnval><obj type="Folder">group-d1</obj><propSet><name>name</name><val xsi:type="xsd:string">Datacenters</val></propSet></returnval></RetrievePropertiesResponse>
384
+ </soapenv:Body>
385
+ </soapenv:Envelope>
386
+ http_version:
387
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
388
+ - request:
389
+ method: post
390
+ uri: https://<%= vsphere_server %>/sdk
391
+ body:
392
+ encoding: UTF-8
393
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
394
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
395
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
396
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>hostFolder</pathSet></propSet><objectSet
397
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
398
+ headers:
399
+ Content-Type:
400
+ - text/xml; charset=utf-8
401
+ Soapaction:
402
+ - urn:vim25/6.7
403
+ Cookie:
404
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
405
+ Secure;
406
+ Accept-Encoding:
407
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
408
+ Accept:
409
+ - "*/*"
410
+ User-Agent:
411
+ - Ruby
412
+ response:
413
+ status:
414
+ code: 200
415
+ message: OK
416
+ headers:
417
+ Date:
418
+ - Tue, 16 Apr 2019 13:41:10 GMT
419
+ Cache-Control:
420
+ - no-cache
421
+ Connection:
422
+ - Keep-Alive
423
+ Content-Type:
424
+ - text/xml; charset=utf-8
425
+ X-Frame-Options:
426
+ - DENY
427
+ Content-Length:
428
+ - '575'
429
+ body:
430
+ encoding: UTF-8
431
+ string: |-
432
+ <?xml version="1.0" encoding="UTF-8"?>
433
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
434
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
435
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
436
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
437
+ <soapenv:Body>
438
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>hostFolder</name><val type="Folder" xsi:type="ManagedObjectReference">group-h4</val></propSet></returnval></RetrievePropertiesResponse>
439
+ </soapenv:Body>
440
+ </soapenv:Envelope>
441
+ http_version:
442
+ recorded_at: Tue, 16 Apr 2019 13:41:10 GMT
443
+ - request:
444
+ method: post
445
+ uri: https://<%= vsphere_server %>/sdk
446
+ body:
447
+ encoding: UTF-8
448
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
449
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
450
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
451
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Folder</type><pathSet>name</pathSet></propSet><objectSet
452
+ xsi:type="ObjectSpec"><obj type="Folder">group-h4</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
453
+ headers:
454
+ Content-Type:
455
+ - text/xml; charset=utf-8
456
+ Soapaction:
457
+ - urn:vim25/6.7
458
+ Cookie:
459
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
460
+ Secure;
461
+ Accept-Encoding:
462
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
463
+ Accept:
464
+ - "*/*"
465
+ User-Agent:
466
+ - Ruby
467
+ response:
468
+ status:
469
+ code: 200
470
+ message: OK
471
+ headers:
472
+ Date:
473
+ - Tue, 16 Apr 2019 13:41:10 GMT
474
+ Cache-Control:
475
+ - no-cache
476
+ Connection:
477
+ - Keep-Alive
478
+ Content-Type:
479
+ - text/xml; charset=utf-8
480
+ X-Frame-Options:
481
+ - DENY
482
+ Content-Length:
483
+ - '531'
484
+ body:
485
+ encoding: UTF-8
486
+ string: |-
487
+ <?xml version="1.0" encoding="UTF-8"?>
488
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
489
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
490
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
491
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
492
+ <soapenv:Body>
493
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Folder">group-h4</obj><propSet><name>name</name><val xsi:type="xsd:string">host</val></propSet></returnval></RetrievePropertiesResponse>
494
+ </soapenv:Body>
495
+ </soapenv:Envelope>
496
+ http_version:
497
+ recorded_at: Tue, 16 Apr 2019 13:41:11 GMT
498
+ - request:
499
+ method: post
500
+ uri: https://<%= vsphere_server %>/sdk
501
+ body:
502
+ encoding: UTF-8
503
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
504
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
505
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
506
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ComputeResource</type><pathSet>summary</pathSet></propSet><objectSet
507
+ xsi:type="ObjectSpec"><obj type="ComputeResource">domain-s7</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
508
+ headers:
509
+ Content-Type:
510
+ - text/xml; charset=utf-8
511
+ Soapaction:
512
+ - urn:vim25/6.7
513
+ Cookie:
514
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
515
+ Secure;
516
+ Accept-Encoding:
517
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
518
+ Accept:
519
+ - "*/*"
520
+ User-Agent:
521
+ - Ruby
522
+ response:
523
+ status:
524
+ code: 200
525
+ message: OK
526
+ headers:
527
+ Date:
528
+ - Tue, 16 Apr 2019 13:41:10 GMT
529
+ Cache-Control:
530
+ - no-cache
531
+ Connection:
532
+ - Keep-Alive
533
+ Content-Type:
534
+ - text/xml; charset=utf-8
535
+ X-Frame-Options:
536
+ - DENY
537
+ Content-Length:
538
+ - '847'
539
+ body:
540
+ encoding: UTF-8
541
+ string: |-
542
+ <?xml version="1.0" encoding="UTF-8"?>
543
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
544
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
545
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
546
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
547
+ <soapenv:Body>
548
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ComputeResource">domain-s7</obj><propSet><name>summary</name><val xsi:type="ComputeResourceSummary"><totalCpu>14364</totalCpu><totalMemory>17105813504</totalMemory><numCpuCores>4</numCpuCores><numCpuThreads>8</numCpuThreads><effectiveCpu>10414</effectiveCpu><effectiveMemory>13114</effectiveMemory><numHosts>1</numHosts><numEffectiveHosts>1</numEffectiveHosts><overallStatus>gray</overallStatus></val></propSet></returnval></RetrievePropertiesResponse>
549
+ </soapenv:Body>
550
+ </soapenv:Envelope>
551
+ http_version:
552
+ recorded_at: Tue, 16 Apr 2019 13:41:11 GMT
553
+ - request:
554
+ method: post
555
+ uri: https://<%= vsphere_server %>/sdk
556
+ body:
557
+ encoding: UTF-8
558
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
559
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
560
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
561
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ComputeResource</type><pathSet>summary</pathSet></propSet><objectSet
562
+ xsi:type="ObjectSpec"><obj type="ComputeResource">domain-s7</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
563
+ headers:
564
+ Content-Type:
565
+ - text/xml; charset=utf-8
566
+ Soapaction:
567
+ - urn:vim25/6.7
568
+ Cookie:
569
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
570
+ Secure;
571
+ Accept-Encoding:
572
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
573
+ Accept:
574
+ - "*/*"
575
+ User-Agent:
576
+ - Ruby
577
+ response:
578
+ status:
579
+ code: 200
580
+ message: OK
581
+ headers:
582
+ Date:
583
+ - Tue, 16 Apr 2019 13:41:10 GMT
584
+ Cache-Control:
585
+ - no-cache
586
+ Connection:
587
+ - Keep-Alive
588
+ Content-Type:
589
+ - text/xml; charset=utf-8
590
+ X-Frame-Options:
591
+ - DENY
592
+ Content-Length:
593
+ - '847'
594
+ body:
595
+ encoding: UTF-8
596
+ string: |-
597
+ <?xml version="1.0" encoding="UTF-8"?>
598
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
599
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
600
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
601
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
602
+ <soapenv:Body>
603
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ComputeResource">domain-s7</obj><propSet><name>summary</name><val xsi:type="ComputeResourceSummary"><totalCpu>14364</totalCpu><totalMemory>17105813504</totalMemory><numCpuCores>4</numCpuCores><numCpuThreads>8</numCpuThreads><effectiveCpu>10414</effectiveCpu><effectiveMemory>13114</effectiveMemory><numHosts>1</numHosts><numEffectiveHosts>1</numEffectiveHosts><overallStatus>gray</overallStatus></val></propSet></returnval></RetrievePropertiesResponse>
604
+ </soapenv:Body>
605
+ </soapenv:Envelope>
606
+ http_version:
607
+ recorded_at: Tue, 16 Apr 2019 13:41:11 GMT
608
+ - request:
609
+ method: post
610
+ uri: https://<%= vsphere_server %>/sdk
611
+ body:
612
+ encoding: UTF-8
613
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
614
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
615
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
616
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ComputeResource</type><pathSet>summary</pathSet></propSet><objectSet
617
+ xsi:type="ObjectSpec"><obj type="ComputeResource">domain-s7</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
618
+ headers:
619
+ Content-Type:
620
+ - text/xml; charset=utf-8
621
+ Soapaction:
622
+ - urn:vim25/6.7
623
+ Cookie:
624
+ - vmware_soap_session="5b61bd32bac7d25284b667f6f2a0a8c814ac9cf9"; Path=/; HttpOnly;
625
+ Secure;
626
+ Accept-Encoding:
627
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
628
+ Accept:
629
+ - "*/*"
630
+ User-Agent:
631
+ - Ruby
632
+ response:
633
+ status:
634
+ code: 200
635
+ message: OK
636
+ headers:
637
+ Date:
638
+ - Tue, 16 Apr 2019 13:41:10 GMT
639
+ Cache-Control:
640
+ - no-cache
641
+ Connection:
642
+ - Keep-Alive
643
+ Content-Type:
644
+ - text/xml; charset=utf-8
645
+ X-Frame-Options:
646
+ - DENY
647
+ Content-Length:
648
+ - '847'
649
+ body:
650
+ encoding: UTF-8
651
+ string: |-
652
+ <?xml version="1.0" encoding="UTF-8"?>
653
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
654
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
655
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
656
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
657
+ <soapenv:Body>
658
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ComputeResource">domain-s7</obj><propSet><name>summary</name><val xsi:type="ComputeResourceSummary"><totalCpu>14364</totalCpu><totalMemory>17105813504</totalMemory><numCpuCores>4</numCpuCores><numCpuThreads>8</numCpuThreads><effectiveCpu>10414</effectiveCpu><effectiveMemory>13114</effectiveMemory><numHosts>1</numHosts><numEffectiveHosts>1</numEffectiveHosts><overallStatus>gray</overallStatus></val></propSet></returnval></RetrievePropertiesResponse>
659
+ </soapenv:Body>
660
+ </soapenv:Envelope>
661
+ http_version:
662
+ recorded_at: Tue, 16 Apr 2019 13:41:11 GMT
663
+ recorded_with: VCR 4.0.0