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,932 @@
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="9c9ff34d8382d639b888d4bd25203dc7e9440583"; 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 14:36:31 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 14:36:31 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="9c9ff34d8382d639b888d4bd25203dc7e9440583"; 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 14:36:31 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 14:36:31 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>networkFolder</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="9c9ff34d8382d639b888d4bd25203dc7e9440583"; 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 14:36:31 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
+ - '578'
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>networkFolder</name><val type="Folder" xsi:type="ManagedObjectReference">group-n6</val></propSet></returnval></RetrievePropertiesResponse>
164
+ </soapenv:Body>
165
+ </soapenv:Envelope>
166
+ http_version:
167
+ recorded_at: Tue, 16 Apr 2019 14:36:31 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><CreateContainerView
175
+ xmlns="urn:vim25"><_this type="ViewManager">ViewManager</_this><container
176
+ type="Datacenter">datacenter-2</container><type>Network</type><recursive>1</recursive></CreateContainerView></env:Body></env:Envelope>
177
+ headers:
178
+ Content-Type:
179
+ - text/xml; charset=utf-8
180
+ Soapaction:
181
+ - urn:vim25/6.7
182
+ Cookie:
183
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
184
+ Secure;
185
+ Accept-Encoding:
186
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
187
+ Accept:
188
+ - "*/*"
189
+ User-Agent:
190
+ - Ruby
191
+ response:
192
+ status:
193
+ code: 200
194
+ message: OK
195
+ headers:
196
+ Date:
197
+ - Tue, 16 Apr 2019 14:36:31 GMT
198
+ Cache-Control:
199
+ - no-cache
200
+ Connection:
201
+ - Keep-Alive
202
+ Content-Type:
203
+ - text/xml; charset=utf-8
204
+ X-Frame-Options:
205
+ - DENY
206
+ Content-Length:
207
+ - '529'
208
+ body:
209
+ encoding: UTF-8
210
+ string: |-
211
+ <?xml version="1.0" encoding="UTF-8"?>
212
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
213
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
214
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
215
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
216
+ <soapenv:Body>
217
+ <CreateContainerViewResponse xmlns="urn:vim25"><returnval type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]52b93852-8a65-2dc4-4871-17b757a0cb46</returnval></CreateContainerViewResponse>
218
+ </soapenv:Body>
219
+ </soapenv:Envelope>
220
+ http_version:
221
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
222
+ - request:
223
+ method: post
224
+ uri: https://<%= vsphere_server %>/sdk
225
+ body:
226
+ encoding: UTF-8
227
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
228
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
229
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
230
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ContainerView</type><pathSet>view</pathSet></propSet><objectSet
231
+ xsi:type="ObjectSpec"><obj type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]52b93852-8a65-2dc4-4871-17b757a0cb46</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
232
+ headers:
233
+ Content-Type:
234
+ - text/xml; charset=utf-8
235
+ Soapaction:
236
+ - urn:vim25/6.7
237
+ Cookie:
238
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
239
+ Secure;
240
+ Accept-Encoding:
241
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
242
+ Accept:
243
+ - "*/*"
244
+ User-Agent:
245
+ - Ruby
246
+ response:
247
+ status:
248
+ code: 200
249
+ message: OK
250
+ headers:
251
+ Date:
252
+ - Tue, 16 Apr 2019 14:36:31 GMT
253
+ Cache-Control:
254
+ - no-cache
255
+ Connection:
256
+ - Keep-Alive
257
+ Content-Type:
258
+ - text/xml; charset=utf-8
259
+ X-Frame-Options:
260
+ - DENY
261
+ Content-Length:
262
+ - '1058'
263
+ body:
264
+ encoding: UTF-8
265
+ string: |-
266
+ <?xml version="1.0" encoding="UTF-8"?>
267
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
268
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
269
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
270
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
271
+ <soapenv:Body>
272
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]52b93852-8a65-2dc4-4871-17b757a0cb46</obj><propSet><name>view</name><val xsi:type="ArrayOfManagedObjectReference"><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-12</ManagedObjectReference><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-13</ManagedObjectReference><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-14</ManagedObjectReference><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-15</ManagedObjectReference></val></propSet></returnval></RetrievePropertiesResponse>
273
+ </soapenv:Body>
274
+ </soapenv:Envelope>
275
+ http_version:
276
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
277
+ - request:
278
+ method: post
279
+ uri: https://<%= vsphere_server %>/sdk
280
+ body:
281
+ encoding: UTF-8
282
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
283
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><DestroyView
284
+ xmlns="urn:vim25"><_this type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]52b93852-8a65-2dc4-4871-17b757a0cb46</_this></DestroyView></env:Body></env:Envelope>
285
+ headers:
286
+ Content-Type:
287
+ - text/xml; charset=utf-8
288
+ Soapaction:
289
+ - urn:vim25/6.7
290
+ Cookie:
291
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
292
+ Secure;
293
+ Accept-Encoding:
294
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
295
+ Accept:
296
+ - "*/*"
297
+ User-Agent:
298
+ - Ruby
299
+ response:
300
+ status:
301
+ code: 200
302
+ message: OK
303
+ headers:
304
+ Date:
305
+ - Tue, 16 Apr 2019 14:36:31 GMT
306
+ Cache-Control:
307
+ - no-cache
308
+ Connection:
309
+ - Keep-Alive
310
+ Content-Type:
311
+ - text/xml; charset=utf-8
312
+ X-Frame-Options:
313
+ - DENY
314
+ Content-Length:
315
+ - '388'
316
+ body:
317
+ encoding: UTF-8
318
+ string: |-
319
+ <?xml version="1.0" encoding="UTF-8"?>
320
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
321
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
322
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
323
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
324
+ <soapenv:Body>
325
+ <DestroyViewResponse xmlns="urn:vim25"></DestroyViewResponse>
326
+ </soapenv:Body>
327
+ </soapenv:Envelope>
328
+ http_version:
329
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
330
+ - request:
331
+ method: post
332
+ uri: https://<%= vsphere_server %>/sdk
333
+ body:
334
+ encoding: UTF-8
335
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
336
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
337
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
338
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Network</type><pathSet>name</pathSet></propSet><objectSet
339
+ xsi:type="ObjectSpec"><obj type="Network">network-12</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
340
+ headers:
341
+ Content-Type:
342
+ - text/xml; charset=utf-8
343
+ Soapaction:
344
+ - urn:vim25/6.7
345
+ Cookie:
346
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
347
+ Secure;
348
+ Accept-Encoding:
349
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
350
+ Accept:
351
+ - "*/*"
352
+ User-Agent:
353
+ - Ruby
354
+ response:
355
+ status:
356
+ code: 200
357
+ message: OK
358
+ headers:
359
+ Date:
360
+ - Tue, 16 Apr 2019 14:36:31 GMT
361
+ Cache-Control:
362
+ - no-cache
363
+ Connection:
364
+ - Keep-Alive
365
+ Content-Type:
366
+ - text/xml; charset=utf-8
367
+ X-Frame-Options:
368
+ - DENY
369
+ Content-Length:
370
+ - '536'
371
+ body:
372
+ encoding: UTF-8
373
+ string: |-
374
+ <?xml version="1.0" encoding="UTF-8"?>
375
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
376
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
377
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
378
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
379
+ <soapenv:Body>
380
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Network">network-12</obj><propSet><name>name</name><val xsi:type="xsd:string">VLAN-5</val></propSet></returnval></RetrievePropertiesResponse>
381
+ </soapenv:Body>
382
+ </soapenv:Envelope>
383
+ http_version:
384
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
385
+ - request:
386
+ method: post
387
+ uri: https://<%= vsphere_server %>/sdk
388
+ body:
389
+ encoding: UTF-8
390
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
391
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
392
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
393
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Network</type><pathSet>name</pathSet></propSet><objectSet
394
+ xsi:type="ObjectSpec"><obj type="Network">network-13</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
395
+ headers:
396
+ Content-Type:
397
+ - text/xml; charset=utf-8
398
+ Soapaction:
399
+ - urn:vim25/6.7
400
+ Cookie:
401
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
402
+ Secure;
403
+ Accept-Encoding:
404
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
405
+ Accept:
406
+ - "*/*"
407
+ User-Agent:
408
+ - Ruby
409
+ response:
410
+ status:
411
+ code: 200
412
+ message: OK
413
+ headers:
414
+ Date:
415
+ - Tue, 16 Apr 2019 14:36:31 GMT
416
+ Cache-Control:
417
+ - no-cache
418
+ Connection:
419
+ - Keep-Alive
420
+ Content-Type:
421
+ - text/xml; charset=utf-8
422
+ X-Frame-Options:
423
+ - DENY
424
+ Content-Length:
425
+ - '540'
426
+ body:
427
+ encoding: UTF-8
428
+ string: |-
429
+ <?xml version="1.0" encoding="UTF-8"?>
430
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
431
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
432
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
433
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
434
+ <soapenv:Body>
435
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Network">network-13</obj><propSet><name>name</name><val xsi:type="xsd:string">VM Network</val></propSet></returnval></RetrievePropertiesResponse>
436
+ </soapenv:Body>
437
+ </soapenv:Envelope>
438
+ http_version:
439
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
440
+ - request:
441
+ method: post
442
+ uri: https://<%= vsphere_server %>/sdk
443
+ body:
444
+ encoding: UTF-8
445
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
446
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
447
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
448
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Network</type><pathSet>name</pathSet></propSet><objectSet
449
+ xsi:type="ObjectSpec"><obj type="Network">network-14</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
450
+ headers:
451
+ Content-Type:
452
+ - text/xml; charset=utf-8
453
+ Soapaction:
454
+ - urn:vim25/6.7
455
+ Cookie:
456
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
457
+ Secure;
458
+ Accept-Encoding:
459
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
460
+ Accept:
461
+ - "*/*"
462
+ User-Agent:
463
+ - Ruby
464
+ response:
465
+ status:
466
+ code: 200
467
+ message: OK
468
+ headers:
469
+ Date:
470
+ - Tue, 16 Apr 2019 14:36:31 GMT
471
+ Cache-Control:
472
+ - no-cache
473
+ Connection:
474
+ - Keep-Alive
475
+ Content-Type:
476
+ - text/xml; charset=utf-8
477
+ X-Frame-Options:
478
+ - DENY
479
+ Content-Length:
480
+ - '537'
481
+ body:
482
+ encoding: UTF-8
483
+ string: |-
484
+ <?xml version="1.0" encoding="UTF-8"?>
485
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
486
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
487
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
488
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
489
+ <soapenv:Body>
490
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Network">network-14</obj><propSet><name>name</name><val xsi:type="xsd:string">VLAN-55</val></propSet></returnval></RetrievePropertiesResponse>
491
+ </soapenv:Body>
492
+ </soapenv:Envelope>
493
+ http_version:
494
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
495
+ - request:
496
+ method: post
497
+ uri: https://<%= vsphere_server %>/sdk
498
+ body:
499
+ encoding: UTF-8
500
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
501
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
502
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
503
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Network</type><pathSet>name</pathSet></propSet><objectSet
504
+ xsi:type="ObjectSpec"><obj type="Network">network-15</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
505
+ headers:
506
+ Content-Type:
507
+ - text/xml; charset=utf-8
508
+ Soapaction:
509
+ - urn:vim25/6.7
510
+ Cookie:
511
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
512
+ Secure;
513
+ Accept-Encoding:
514
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
515
+ Accept:
516
+ - "*/*"
517
+ User-Agent:
518
+ - Ruby
519
+ response:
520
+ status:
521
+ code: 200
522
+ message: OK
523
+ headers:
524
+ Date:
525
+ - Tue, 16 Apr 2019 14:36:31 GMT
526
+ Cache-Control:
527
+ - no-cache
528
+ Connection:
529
+ - Keep-Alive
530
+ Content-Type:
531
+ - text/xml; charset=utf-8
532
+ X-Frame-Options:
533
+ - DENY
534
+ Content-Length:
535
+ - '545'
536
+ body:
537
+ encoding: UTF-8
538
+ string: |-
539
+ <?xml version="1.0" encoding="UTF-8"?>
540
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
541
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
542
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
543
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
544
+ <soapenv:Body>
545
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Network">network-15</obj><propSet><name>name</name><val xsi:type="xsd:string">InternalNetwork</val></propSet></returnval></RetrievePropertiesResponse>
546
+ </soapenv:Body>
547
+ </soapenv:Envelope>
548
+ http_version:
549
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
550
+ - request:
551
+ method: post
552
+ uri: https://<%= vsphere_server %>/sdk
553
+ body:
554
+ encoding: UTF-8
555
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
556
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
557
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
558
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Network</type><pathSet>name</pathSet></propSet><objectSet
559
+ xsi:type="ObjectSpec"><obj type="Network">network-15</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
560
+ headers:
561
+ Content-Type:
562
+ - text/xml; charset=utf-8
563
+ Soapaction:
564
+ - urn:vim25/6.7
565
+ Cookie:
566
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
567
+ Secure;
568
+ Accept-Encoding:
569
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
570
+ Accept:
571
+ - "*/*"
572
+ User-Agent:
573
+ - Ruby
574
+ response:
575
+ status:
576
+ code: 200
577
+ message: OK
578
+ headers:
579
+ Date:
580
+ - Tue, 16 Apr 2019 14:36:31 GMT
581
+ Cache-Control:
582
+ - no-cache
583
+ Connection:
584
+ - Keep-Alive
585
+ Content-Type:
586
+ - text/xml; charset=utf-8
587
+ X-Frame-Options:
588
+ - DENY
589
+ Content-Length:
590
+ - '545'
591
+ body:
592
+ encoding: UTF-8
593
+ string: |-
594
+ <?xml version="1.0" encoding="UTF-8"?>
595
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
596
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
597
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
598
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
599
+ <soapenv:Body>
600
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Network">network-15</obj><propSet><name>name</name><val xsi:type="xsd:string">InternalNetwork</val></propSet></returnval></RetrievePropertiesResponse>
601
+ </soapenv:Body>
602
+ </soapenv:Envelope>
603
+ http_version:
604
+ recorded_at: Tue, 16 Apr 2019 14:36:31 GMT
605
+ - request:
606
+ method: post
607
+ uri: https://<%= vsphere_server %>/sdk
608
+ body:
609
+ encoding: UTF-8
610
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
611
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
612
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
613
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>name</pathSet></propSet><objectSet
614
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
615
+ headers:
616
+ Content-Type:
617
+ - text/xml; charset=utf-8
618
+ Soapaction:
619
+ - urn:vim25/6.7
620
+ Cookie:
621
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
622
+ Secure;
623
+ Accept-Encoding:
624
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
625
+ Accept:
626
+ - "*/*"
627
+ User-Agent:
628
+ - Ruby
629
+ response:
630
+ status:
631
+ code: 200
632
+ message: OK
633
+ headers:
634
+ Date:
635
+ - Tue, 16 Apr 2019 14:36:31 GMT
636
+ Cache-Control:
637
+ - no-cache
638
+ Connection:
639
+ - Keep-Alive
640
+ Content-Type:
641
+ - text/xml; charset=utf-8
642
+ X-Frame-Options:
643
+ - DENY
644
+ Content-Length:
645
+ - '538'
646
+ body:
647
+ encoding: UTF-8
648
+ string: |-
649
+ <?xml version="1.0" encoding="UTF-8"?>
650
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
651
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
652
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
653
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
654
+ <soapenv:Body>
655
+ <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>
656
+ </soapenv:Body>
657
+ </soapenv:Envelope>
658
+ http_version:
659
+ recorded_at: Tue, 16 Apr 2019 14:36:32 GMT
660
+ - request:
661
+ method: post
662
+ uri: https://<%= vsphere_server %>/sdk
663
+ body:
664
+ encoding: UTF-8
665
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
666
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
667
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
668
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>networkFolder</pathSet></propSet><objectSet
669
+ xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
670
+ headers:
671
+ Content-Type:
672
+ - text/xml; charset=utf-8
673
+ Soapaction:
674
+ - urn:vim25/6.7
675
+ Cookie:
676
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
677
+ Secure;
678
+ Accept-Encoding:
679
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
680
+ Accept:
681
+ - "*/*"
682
+ User-Agent:
683
+ - Ruby
684
+ response:
685
+ status:
686
+ code: 200
687
+ message: OK
688
+ headers:
689
+ Date:
690
+ - Tue, 16 Apr 2019 14:36:31 GMT
691
+ Cache-Control:
692
+ - no-cache
693
+ Connection:
694
+ - Keep-Alive
695
+ Content-Type:
696
+ - text/xml; charset=utf-8
697
+ X-Frame-Options:
698
+ - DENY
699
+ Content-Length:
700
+ - '578'
701
+ body:
702
+ encoding: UTF-8
703
+ string: |-
704
+ <?xml version="1.0" encoding="UTF-8"?>
705
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
706
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
707
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
708
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
709
+ <soapenv:Body>
710
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>networkFolder</name><val type="Folder" xsi:type="ManagedObjectReference">group-n6</val></propSet></returnval></RetrievePropertiesResponse>
711
+ </soapenv:Body>
712
+ </soapenv:Envelope>
713
+ http_version:
714
+ recorded_at: Tue, 16 Apr 2019 14:36:32 GMT
715
+ - request:
716
+ method: post
717
+ uri: https://<%= vsphere_server %>/sdk
718
+ body:
719
+ encoding: UTF-8
720
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
721
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><CreateContainerView
722
+ xmlns="urn:vim25"><_this type="ViewManager">ViewManager</_this><container
723
+ type="Datacenter">datacenter-2</container><type>Network</type><recursive>1</recursive></CreateContainerView></env:Body></env:Envelope>
724
+ headers:
725
+ Content-Type:
726
+ - text/xml; charset=utf-8
727
+ Soapaction:
728
+ - urn:vim25/6.7
729
+ Cookie:
730
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
731
+ Secure;
732
+ Accept-Encoding:
733
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
734
+ Accept:
735
+ - "*/*"
736
+ User-Agent:
737
+ - Ruby
738
+ response:
739
+ status:
740
+ code: 200
741
+ message: OK
742
+ headers:
743
+ Date:
744
+ - Tue, 16 Apr 2019 14:36:31 GMT
745
+ Cache-Control:
746
+ - no-cache
747
+ Connection:
748
+ - Keep-Alive
749
+ Content-Type:
750
+ - text/xml; charset=utf-8
751
+ X-Frame-Options:
752
+ - DENY
753
+ Content-Length:
754
+ - '529'
755
+ body:
756
+ encoding: UTF-8
757
+ string: |-
758
+ <?xml version="1.0" encoding="UTF-8"?>
759
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
760
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
761
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
762
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
763
+ <soapenv:Body>
764
+ <CreateContainerViewResponse xmlns="urn:vim25"><returnval type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]5250a891-c747-2b42-fe19-2ea5945c675e</returnval></CreateContainerViewResponse>
765
+ </soapenv:Body>
766
+ </soapenv:Envelope>
767
+ http_version:
768
+ recorded_at: Tue, 16 Apr 2019 14:36:32 GMT
769
+ - request:
770
+ method: post
771
+ uri: https://<%= vsphere_server %>/sdk
772
+ body:
773
+ encoding: UTF-8
774
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
775
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
776
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
777
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ContainerView</type><pathSet>view</pathSet></propSet><objectSet
778
+ xsi:type="ObjectSpec"><obj type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]5250a891-c747-2b42-fe19-2ea5945c675e</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
779
+ headers:
780
+ Content-Type:
781
+ - text/xml; charset=utf-8
782
+ Soapaction:
783
+ - urn:vim25/6.7
784
+ Cookie:
785
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
786
+ Secure;
787
+ Accept-Encoding:
788
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
789
+ Accept:
790
+ - "*/*"
791
+ User-Agent:
792
+ - Ruby
793
+ response:
794
+ status:
795
+ code: 200
796
+ message: OK
797
+ headers:
798
+ Date:
799
+ - Tue, 16 Apr 2019 14:36:31 GMT
800
+ Cache-Control:
801
+ - no-cache
802
+ Connection:
803
+ - Keep-Alive
804
+ Content-Type:
805
+ - text/xml; charset=utf-8
806
+ X-Frame-Options:
807
+ - DENY
808
+ Content-Length:
809
+ - '1058'
810
+ body:
811
+ encoding: UTF-8
812
+ string: |-
813
+ <?xml version="1.0" encoding="UTF-8"?>
814
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
815
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
816
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
817
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
818
+ <soapenv:Body>
819
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]5250a891-c747-2b42-fe19-2ea5945c675e</obj><propSet><name>view</name><val xsi:type="ArrayOfManagedObjectReference"><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-12</ManagedObjectReference><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-13</ManagedObjectReference><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-14</ManagedObjectReference><ManagedObjectReference type="Network" xsi:type="ManagedObjectReference">network-15</ManagedObjectReference></val></propSet></returnval></RetrievePropertiesResponse>
820
+ </soapenv:Body>
821
+ </soapenv:Envelope>
822
+ http_version:
823
+ recorded_at: Tue, 16 Apr 2019 14:36:32 GMT
824
+ - request:
825
+ method: post
826
+ uri: https://<%= vsphere_server %>/sdk
827
+ body:
828
+ encoding: UTF-8
829
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
830
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><DestroyView
831
+ xmlns="urn:vim25"><_this type="ContainerView">session[52bc6de0-f2a1-d07d-c0ca-d3d4d9b0a764]5250a891-c747-2b42-fe19-2ea5945c675e</_this></DestroyView></env:Body></env:Envelope>
832
+ headers:
833
+ Content-Type:
834
+ - text/xml; charset=utf-8
835
+ Soapaction:
836
+ - urn:vim25/6.7
837
+ Cookie:
838
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
839
+ Secure;
840
+ Accept-Encoding:
841
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
842
+ Accept:
843
+ - "*/*"
844
+ User-Agent:
845
+ - Ruby
846
+ response:
847
+ status:
848
+ code: 200
849
+ message: OK
850
+ headers:
851
+ Date:
852
+ - Tue, 16 Apr 2019 14:36:31 GMT
853
+ Cache-Control:
854
+ - no-cache
855
+ Connection:
856
+ - Keep-Alive
857
+ Content-Type:
858
+ - text/xml; charset=utf-8
859
+ X-Frame-Options:
860
+ - DENY
861
+ Content-Length:
862
+ - '388'
863
+ body:
864
+ encoding: UTF-8
865
+ string: |-
866
+ <?xml version="1.0" encoding="UTF-8"?>
867
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
868
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
869
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
870
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
871
+ <soapenv:Body>
872
+ <DestroyViewResponse xmlns="urn:vim25"></DestroyViewResponse>
873
+ </soapenv:Body>
874
+ </soapenv:Envelope>
875
+ http_version:
876
+ recorded_at: Tue, 16 Apr 2019 14:36:32 GMT
877
+ - request:
878
+ method: post
879
+ uri: https://<%= vsphere_server %>/sdk
880
+ body:
881
+ encoding: UTF-8
882
+ string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
883
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
884
+ xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
885
+ xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Network</type><pathSet>name</pathSet></propSet><objectSet
886
+ xsi:type="ObjectSpec"><obj type="Network">network-12</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
887
+ headers:
888
+ Content-Type:
889
+ - text/xml; charset=utf-8
890
+ Soapaction:
891
+ - urn:vim25/6.7
892
+ Cookie:
893
+ - vmware_soap_session="9c9ff34d8382d639b888d4bd25203dc7e9440583"; Path=/; HttpOnly;
894
+ Secure;
895
+ Accept-Encoding:
896
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
897
+ Accept:
898
+ - "*/*"
899
+ User-Agent:
900
+ - Ruby
901
+ response:
902
+ status:
903
+ code: 200
904
+ message: OK
905
+ headers:
906
+ Date:
907
+ - Tue, 16 Apr 2019 14:36:32 GMT
908
+ Cache-Control:
909
+ - no-cache
910
+ Connection:
911
+ - Keep-Alive
912
+ Content-Type:
913
+ - text/xml; charset=utf-8
914
+ X-Frame-Options:
915
+ - DENY
916
+ Content-Length:
917
+ - '536'
918
+ body:
919
+ encoding: UTF-8
920
+ string: |-
921
+ <?xml version="1.0" encoding="UTF-8"?>
922
+ <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
923
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
924
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
925
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
926
+ <soapenv:Body>
927
+ <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Network">network-12</obj><propSet><name>name</name><val xsi:type="xsd:string">VLAN-5</val></propSet></returnval></RetrievePropertiesResponse>
928
+ </soapenv:Body>
929
+ </soapenv:Envelope>
930
+ http_version:
931
+ recorded_at: Tue, 16 Apr 2019 14:36:32 GMT
932
+ recorded_with: VCR 4.0.0