fog-vsphere 3.6.4 → 3.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +16 -6
  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,498 @@
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="abc1d5132f9e906b015d27321c7be479b4241303"; 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:59:14 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:59:14 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="abc1d5132f9e906b015d27321c7be479b4241303"; 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:59:14 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:59:16 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>name</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="abc1d5132f9e906b015d27321c7be479b4241303"; 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:59:16 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
+ - '538'
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>name</name><val xsi:type="xsd:string">BRQ</val></propSet></returnval></RetrievePropertiesResponse>
164
+ </soapenv:Body>
165
+ </soapenv:Envelope>
166
+ http_version:
167
+ recorded_at: Tue, 16 Apr 2019 13:59:17 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><RetrieveProperties
175
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
176
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>overallStatus</pathSet></propSet><objectSet
177
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
178
+ headers:
179
+ Content-Type:
180
+ - text/xml; charset=utf-8
181
+ Soapaction:
182
+ - urn:vim25/6.7
183
+ Cookie:
184
+ - vmware_soap_session="abc1d5132f9e906b015d27321c7be479b4241303"; Path=/; HttpOnly;
185
+ Secure;
186
+ Accept-Encoding:
187
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
188
+ Accept:
189
+ - "*/*"
190
+ User-Agent:
191
+ - Ruby
192
+ response:
193
+ status:
194
+ code: 200
195
+ message: OK
196
+ headers:
197
+ Date:
198
+ - Tue, 16 Apr 2019 13:59:17 GMT
199
+ Cache-Control:
200
+ - no-cache
201
+ Connection:
202
+ - Keep-Alive
203
+ Content-Type:
204
+ - text/xml; charset=utf-8
205
+ X-Frame-Options:
206
+ - DENY
207
+ Content-Length:
208
+ - '557'
209
+ body:
210
+ encoding: UTF-8
211
+ string: |-
212
+ <?xml version="1.0" encoding="UTF-8"?>
213
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
214
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
215
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
216
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
217
+ <soapenv:Body>
218
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>overallStatus</name><val xsi:type="ManagedEntityStatus">gray</val></propSet></returnval></RetrievePropertiesResponse>
219
+ </soapenv:Body>
220
+ </soapenv:Envelope>
221
+ http_version:
222
+ recorded_at: Tue, 16 Apr 2019 13:59:17 GMT
223
+ - request:
224
+ method: post
225
+ uri: https://<%= vsphere_server %>/sdk
226
+ body:
227
+ encoding: UTF-8
228
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
229
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
230
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
231
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>parent</pathSet></propSet><objectSet
232
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
233
+ headers:
234
+ Content-Type:
235
+ - text/xml; charset=utf-8
236
+ Soapaction:
237
+ - urn:vim25/6.7
238
+ Cookie:
239
+ - vmware_soap_session="abc1d5132f9e906b015d27321c7be479b4241303"; Path=/; HttpOnly;
240
+ Secure;
241
+ Accept-Encoding:
242
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
243
+ Accept:
244
+ - "*/*"
245
+ User-Agent:
246
+ - Ruby
247
+ response:
248
+ status:
249
+ code: 200
250
+ message: OK
251
+ headers:
252
+ Date:
253
+ - Tue, 16 Apr 2019 13:59:17 GMT
254
+ Cache-Control:
255
+ - no-cache
256
+ Connection:
257
+ - Keep-Alive
258
+ Content-Type:
259
+ - text/xml; charset=utf-8
260
+ X-Frame-Options:
261
+ - DENY
262
+ Content-Length:
263
+ - '571'
264
+ body:
265
+ encoding: UTF-8
266
+ string: |-
267
+ <?xml version="1.0" encoding="UTF-8"?>
268
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
269
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
270
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
271
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
272
+ <soapenv:Body>
273
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>parent</name><val type="Folder" xsi:type="ManagedObjectReference">group-d1</val></propSet></returnval></RetrievePropertiesResponse>
274
+ </soapenv:Body>
275
+ </soapenv:Envelope>
276
+ http_version:
277
+ recorded_at: Tue, 16 Apr 2019 13:59:19 GMT
278
+ - request:
279
+ method: post
280
+ uri: https://<%= vsphere_server %>/sdk
281
+ body:
282
+ encoding: UTF-8
283
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
284
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
285
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
286
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>parent</pathSet></propSet><objectSet
287
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
288
+ headers:
289
+ Content-Type:
290
+ - text/xml; charset=utf-8
291
+ Soapaction:
292
+ - urn:vim25/6.7
293
+ Cookie:
294
+ - vmware_soap_session="abc1d5132f9e906b015d27321c7be479b4241303"; Path=/; HttpOnly;
295
+ Secure;
296
+ Accept-Encoding:
297
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
298
+ Accept:
299
+ - "*/*"
300
+ User-Agent:
301
+ - Ruby
302
+ response:
303
+ status:
304
+ code: 200
305
+ message: OK
306
+ headers:
307
+ Date:
308
+ - Tue, 16 Apr 2019 13:59:18 GMT
309
+ Cache-Control:
310
+ - no-cache
311
+ Connection:
312
+ - Keep-Alive
313
+ Content-Type:
314
+ - text/xml; charset=utf-8
315
+ X-Frame-Options:
316
+ - DENY
317
+ Content-Length:
318
+ - '571'
319
+ body:
320
+ encoding: UTF-8
321
+ string: |-
322
+ <?xml version="1.0" encoding="UTF-8"?>
323
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
324
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
325
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
326
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
327
+ <soapenv:Body>
328
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>parent</name><val type="Folder" xsi:type="ManagedObjectReference">group-d1</val></propSet></returnval></RetrievePropertiesResponse>
329
+ </soapenv:Body>
330
+ </soapenv:Envelope>
331
+ http_version:
332
+ recorded_at: Tue, 16 Apr 2019 13:59:21 GMT
333
+ - request:
334
+ method: post
335
+ uri: https://<%= vsphere_server %>/sdk
336
+ body:
337
+ encoding: UTF-8
338
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
339
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
340
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
341
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Folder</type><pathSet>name</pathSet></propSet><objectSet
342
+ xsi:type="ObjectSpec"><obj type="Folder">group-d1</obj></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="abc1d5132f9e906b015d27321c7be479b4241303"; 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:59:20 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
+ - '538'
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="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:59:23 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>Folder</type><pathSet>name</pathSet></propSet><objectSet
397
+ xsi:type="ObjectSpec"><obj type="Folder">group-d1</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="abc1d5132f9e906b015d27321c7be479b4241303"; 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:59:23 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
+ - '538'
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="Folder">group-d1</obj><propSet><name>name</name><val xsi:type="xsd:string">Datacenters</val></propSet></returnval></RetrievePropertiesResponse>
439
+ </soapenv:Body>
440
+ </soapenv:Envelope>
441
+ http_version:
442
+ recorded_at: Tue, 16 Apr 2019 13:59:24 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>Datacenter</type><pathSet>name</pathSet></propSet><objectSet
452
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</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="abc1d5132f9e906b015d27321c7be479b4241303"; 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:59:24 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
+ - '538'
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="Datacenter">datacenter-2</obj><propSet><name>name</name><val xsi:type="xsd:string">BRQ</val></propSet></returnval></RetrievePropertiesResponse>
494
+ </soapenv:Body>
495
+ </soapenv:Envelope>
496
+ http_version:
497
+ recorded_at: Tue, 16 Apr 2019 13:59:26 GMT
498
+ recorded_with: VCR 4.0.0