fog-proxmox 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/fog/identity/proxmox/requests/change_password.rb +1 -1
- data/lib/fog/proxmox.rb +9 -8
- data/lib/fog/proxmox/version.rb +1 -1
- data/spec/compute_spec.rb +106 -106
- data/spec/fixtures/proxmox/compute/containers.yml +1387 -2096
- data/spec/fixtures/proxmox/compute/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/compute/nodes.yml +24 -24
- data/spec/fixtures/proxmox/compute/servers.yml +2849 -2920
- data/spec/fixtures/proxmox/compute/snapshots.yml +308 -293
- data/spec/fixtures/proxmox/compute/storages.yml +32 -32
- data/spec/fixtures/proxmox/compute/tasks.yml +57 -55
- data/spec/fixtures/proxmox/identity/auth.yml +125 -8
- data/spec/fixtures/proxmox/identity/domains.yml +120 -118
- data/spec/fixtures/proxmox/identity/groups.yml +52 -52
- data/spec/fixtures/proxmox/identity/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/identity/permissions.yml +119 -119
- data/spec/fixtures/proxmox/identity/pools.yml +97 -97
- data/spec/fixtures/proxmox/identity/read_version.yml +8 -8
- data/spec/fixtures/proxmox/identity/roles.yml +55 -55
- data/spec/fixtures/proxmox/identity/users.yml +115 -115
- data/spec/fixtures/proxmox/network/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/network/networks.yml +84 -64
- data/spec/identity_spec.rb +82 -60
- data/spec/network_spec.rb +6 -6
- metadata +2 -2
@@ -8,13 +8,13 @@ http_interactions:
|
|
8
8
|
string: poolid=pool1
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog-core/1.
|
11
|
+
- fog-core/2.1.2
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
Csrfpreventiontoken:
|
15
|
-
-
|
15
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
16
16
|
Cookie:
|
17
|
-
- PVEAuthCookie=PVE:root@pam:
|
17
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
18
18
|
response:
|
19
19
|
status:
|
20
20
|
code: 200
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Connection:
|
26
26
|
- close, Keep-Alive
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
29
29
|
Pragma:
|
30
30
|
- no-cache
|
31
31
|
Server:
|
@@ -35,12 +35,12 @@ http_interactions:
|
|
35
35
|
Content-Type:
|
36
36
|
- application/json;charset=UTF-8
|
37
37
|
Expires:
|
38
|
-
-
|
38
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
39
39
|
body:
|
40
40
|
encoding: ASCII-8BIT
|
41
41
|
string: '{"data":null}'
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
46
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -49,11 +49,11 @@ http_interactions:
|
|
49
49
|
string: ''
|
50
50
|
headers:
|
51
51
|
User-Agent:
|
52
|
-
- fog-core/1.
|
52
|
+
- fog-core/2.1.2
|
53
53
|
Accept:
|
54
54
|
- application/json
|
55
55
|
Cookie:
|
56
|
-
- PVEAuthCookie=PVE:root@pam:
|
56
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
57
57
|
response:
|
58
58
|
status:
|
59
59
|
code: 200
|
@@ -64,7 +64,7 @@ http_interactions:
|
|
64
64
|
Connection:
|
65
65
|
- Keep-Alive
|
66
66
|
Date:
|
67
|
-
-
|
67
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
68
68
|
Pragma:
|
69
69
|
- no-cache
|
70
70
|
Server:
|
@@ -74,12 +74,12 @@ http_interactions:
|
|
74
74
|
Content-Type:
|
75
75
|
- application/json;charset=UTF-8
|
76
76
|
Expires:
|
77
|
-
-
|
77
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
78
78
|
body:
|
79
79
|
encoding: ASCII-8BIT
|
80
80
|
string: '{"data":[{"poolid":"pool1"}]}'
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
85
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -88,11 +88,11 @@ http_interactions:
|
|
88
88
|
string: ''
|
89
89
|
headers:
|
90
90
|
User-Agent:
|
91
|
-
- fog-core/1.
|
91
|
+
- fog-core/2.1.2
|
92
92
|
Accept:
|
93
93
|
- application/json
|
94
94
|
Cookie:
|
95
|
-
- PVEAuthCookie=PVE:root@pam:
|
95
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
96
96
|
response:
|
97
97
|
status:
|
98
98
|
code: 200
|
@@ -103,7 +103,7 @@ http_interactions:
|
|
103
103
|
Connection:
|
104
104
|
- Keep-Alive
|
105
105
|
Date:
|
106
|
-
-
|
106
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
107
107
|
Pragma:
|
108
108
|
- no-cache
|
109
109
|
Server:
|
@@ -113,12 +113,12 @@ http_interactions:
|
|
113
113
|
Content-Type:
|
114
114
|
- application/json;charset=UTF-8
|
115
115
|
Expires:
|
116
|
-
-
|
116
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
117
117
|
body:
|
118
118
|
encoding: ASCII-8BIT
|
119
119
|
string: '{"data":[{"poolid":"pool1"}]}'
|
120
120
|
http_version:
|
121
|
-
recorded_at:
|
121
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
122
122
|
- request:
|
123
123
|
method: post
|
124
124
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -127,13 +127,13 @@ http_interactions:
|
|
127
127
|
string: poolid=pool1
|
128
128
|
headers:
|
129
129
|
User-Agent:
|
130
|
-
- fog-core/1.
|
130
|
+
- fog-core/2.1.2
|
131
131
|
Accept:
|
132
132
|
- application/json
|
133
133
|
Csrfpreventiontoken:
|
134
|
-
-
|
134
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
135
135
|
Cookie:
|
136
|
-
- PVEAuthCookie=PVE:root@pam:
|
136
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
137
137
|
response:
|
138
138
|
status:
|
139
139
|
code: 500
|
@@ -145,7 +145,7 @@ http_interactions:
|
|
145
145
|
Connection:
|
146
146
|
- close
|
147
147
|
Date:
|
148
|
-
-
|
148
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
149
149
|
Pragma:
|
150
150
|
- no-cache
|
151
151
|
Server:
|
@@ -155,12 +155,12 @@ http_interactions:
|
|
155
155
|
Content-Type:
|
156
156
|
- application/json;charset=UTF-8
|
157
157
|
Expires:
|
158
|
-
-
|
158
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
159
159
|
body:
|
160
160
|
encoding: ASCII-8BIT
|
161
161
|
string: '{"data":null}'
|
162
162
|
http_version:
|
163
|
-
recorded_at:
|
163
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
164
164
|
- request:
|
165
165
|
method: put
|
166
166
|
uri: https://192.168.56.101:8006/api2/json/pools/pool1
|
@@ -169,13 +169,13 @@ http_interactions:
|
|
169
169
|
string: comment=Pool+1
|
170
170
|
headers:
|
171
171
|
User-Agent:
|
172
|
-
- fog-core/1.
|
172
|
+
- fog-core/2.1.2
|
173
173
|
Accept:
|
174
174
|
- application/json
|
175
175
|
Csrfpreventiontoken:
|
176
|
-
-
|
176
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
177
177
|
Cookie:
|
178
|
-
- PVEAuthCookie=PVE:root@pam:
|
178
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
179
179
|
response:
|
180
180
|
status:
|
181
181
|
code: 200
|
@@ -186,7 +186,7 @@ http_interactions:
|
|
186
186
|
Connection:
|
187
187
|
- Keep-Alive, Keep-Alive
|
188
188
|
Date:
|
189
|
-
-
|
189
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
190
190
|
Pragma:
|
191
191
|
- no-cache
|
192
192
|
Server:
|
@@ -196,12 +196,12 @@ http_interactions:
|
|
196
196
|
Content-Type:
|
197
197
|
- application/json;charset=UTF-8
|
198
198
|
Expires:
|
199
|
-
-
|
199
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
200
200
|
body:
|
201
201
|
encoding: ASCII-8BIT
|
202
202
|
string: '{"data":null}'
|
203
203
|
http_version:
|
204
|
-
recorded_at:
|
204
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
205
205
|
- request:
|
206
206
|
method: get
|
207
207
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -210,11 +210,11 @@ http_interactions:
|
|
210
210
|
string: ''
|
211
211
|
headers:
|
212
212
|
User-Agent:
|
213
|
-
- fog-core/1.
|
213
|
+
- fog-core/2.1.2
|
214
214
|
Accept:
|
215
215
|
- application/json
|
216
216
|
Cookie:
|
217
|
-
- PVEAuthCookie=PVE:root@pam:
|
217
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
218
218
|
response:
|
219
219
|
status:
|
220
220
|
code: 200
|
@@ -225,7 +225,7 @@ http_interactions:
|
|
225
225
|
Connection:
|
226
226
|
- Keep-Alive
|
227
227
|
Date:
|
228
|
-
-
|
228
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
229
229
|
Pragma:
|
230
230
|
- no-cache
|
231
231
|
Server:
|
@@ -235,12 +235,12 @@ http_interactions:
|
|
235
235
|
Content-Type:
|
236
236
|
- application/json;charset=UTF-8
|
237
237
|
Expires:
|
238
|
-
-
|
238
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
239
239
|
body:
|
240
240
|
encoding: ASCII-8BIT
|
241
|
-
string: '{"data":[{"
|
241
|
+
string: '{"data":[{"comment":"Pool 1","poolid":"pool1"}]}'
|
242
242
|
http_version:
|
243
|
-
recorded_at:
|
243
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
244
244
|
- request:
|
245
245
|
method: put
|
246
246
|
uri: https://192.168.56.101:8006/api2/json/pools/pool1
|
@@ -249,13 +249,13 @@ http_interactions:
|
|
249
249
|
string: comment=Pool+1&vms=100
|
250
250
|
headers:
|
251
251
|
User-Agent:
|
252
|
-
- fog-core/1.
|
252
|
+
- fog-core/2.1.2
|
253
253
|
Accept:
|
254
254
|
- application/json
|
255
255
|
Csrfpreventiontoken:
|
256
|
-
-
|
256
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
257
257
|
Cookie:
|
258
|
-
- PVEAuthCookie=PVE:root@pam:
|
258
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
259
259
|
response:
|
260
260
|
status:
|
261
261
|
code: 200
|
@@ -266,7 +266,7 @@ http_interactions:
|
|
266
266
|
Connection:
|
267
267
|
- Keep-Alive, Keep-Alive
|
268
268
|
Date:
|
269
|
-
-
|
269
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
270
270
|
Pragma:
|
271
271
|
- no-cache
|
272
272
|
Server:
|
@@ -276,12 +276,12 @@ http_interactions:
|
|
276
276
|
Content-Type:
|
277
277
|
- application/json;charset=UTF-8
|
278
278
|
Expires:
|
279
|
-
-
|
279
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
280
280
|
body:
|
281
281
|
encoding: ASCII-8BIT
|
282
282
|
string: '{"data":null}'
|
283
283
|
http_version:
|
284
|
-
recorded_at:
|
284
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
285
285
|
- request:
|
286
286
|
method: get
|
287
287
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -290,11 +290,11 @@ http_interactions:
|
|
290
290
|
string: ''
|
291
291
|
headers:
|
292
292
|
User-Agent:
|
293
|
-
- fog-core/1.
|
293
|
+
- fog-core/2.1.2
|
294
294
|
Accept:
|
295
295
|
- application/json
|
296
296
|
Cookie:
|
297
|
-
- PVEAuthCookie=PVE:root@pam:
|
297
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
298
298
|
response:
|
299
299
|
status:
|
300
300
|
code: 200
|
@@ -305,7 +305,7 @@ http_interactions:
|
|
305
305
|
Connection:
|
306
306
|
- Keep-Alive
|
307
307
|
Date:
|
308
|
-
-
|
308
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
309
309
|
Pragma:
|
310
310
|
- no-cache
|
311
311
|
Server:
|
@@ -315,12 +315,12 @@ http_interactions:
|
|
315
315
|
Content-Type:
|
316
316
|
- application/json;charset=UTF-8
|
317
317
|
Expires:
|
318
|
-
-
|
318
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
319
319
|
body:
|
320
320
|
encoding: ASCII-8BIT
|
321
321
|
string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
|
322
322
|
http_version:
|
323
|
-
recorded_at:
|
323
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
324
324
|
- request:
|
325
325
|
method: put
|
326
326
|
uri: https://192.168.56.101:8006/api2/json/pools/pool1
|
@@ -329,13 +329,13 @@ http_interactions:
|
|
329
329
|
string: comment=Pool+1&storage=local-lvm
|
330
330
|
headers:
|
331
331
|
User-Agent:
|
332
|
-
- fog-core/1.
|
332
|
+
- fog-core/2.1.2
|
333
333
|
Accept:
|
334
334
|
- application/json
|
335
335
|
Csrfpreventiontoken:
|
336
|
-
-
|
336
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
337
337
|
Cookie:
|
338
|
-
- PVEAuthCookie=PVE:root@pam:
|
338
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
339
339
|
response:
|
340
340
|
status:
|
341
341
|
code: 200
|
@@ -346,7 +346,7 @@ http_interactions:
|
|
346
346
|
Connection:
|
347
347
|
- Keep-Alive, Keep-Alive
|
348
348
|
Date:
|
349
|
-
-
|
349
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
350
350
|
Pragma:
|
351
351
|
- no-cache
|
352
352
|
Server:
|
@@ -356,12 +356,12 @@ http_interactions:
|
|
356
356
|
Content-Type:
|
357
357
|
- application/json;charset=UTF-8
|
358
358
|
Expires:
|
359
|
-
-
|
359
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
360
360
|
body:
|
361
361
|
encoding: ASCII-8BIT
|
362
362
|
string: '{"data":null}'
|
363
363
|
http_version:
|
364
|
-
recorded_at:
|
364
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
365
365
|
- request:
|
366
366
|
method: get
|
367
367
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -370,11 +370,11 @@ http_interactions:
|
|
370
370
|
string: ''
|
371
371
|
headers:
|
372
372
|
User-Agent:
|
373
|
-
- fog-core/1.
|
373
|
+
- fog-core/2.1.2
|
374
374
|
Accept:
|
375
375
|
- application/json
|
376
376
|
Cookie:
|
377
|
-
- PVEAuthCookie=PVE:root@pam:
|
377
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
378
378
|
response:
|
379
379
|
status:
|
380
380
|
code: 200
|
@@ -385,7 +385,7 @@ http_interactions:
|
|
385
385
|
Connection:
|
386
386
|
- Keep-Alive
|
387
387
|
Date:
|
388
|
-
-
|
388
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
389
389
|
Pragma:
|
390
390
|
- no-cache
|
391
391
|
Server:
|
@@ -395,12 +395,12 @@ http_interactions:
|
|
395
395
|
Content-Type:
|
396
396
|
- application/json;charset=UTF-8
|
397
397
|
Expires:
|
398
|
-
-
|
398
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
399
399
|
body:
|
400
400
|
encoding: ASCII-8BIT
|
401
401
|
string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
|
402
402
|
http_version:
|
403
|
-
recorded_at:
|
403
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
404
404
|
- request:
|
405
405
|
method: get
|
406
406
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -409,11 +409,11 @@ http_interactions:
|
|
409
409
|
string: ''
|
410
410
|
headers:
|
411
411
|
User-Agent:
|
412
|
-
- fog-core/1.
|
412
|
+
- fog-core/2.1.2
|
413
413
|
Accept:
|
414
414
|
- application/json
|
415
415
|
Cookie:
|
416
|
-
- PVEAuthCookie=PVE:root@pam:
|
416
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
417
417
|
response:
|
418
418
|
status:
|
419
419
|
code: 200
|
@@ -424,7 +424,7 @@ http_interactions:
|
|
424
424
|
Connection:
|
425
425
|
- Keep-Alive
|
426
426
|
Date:
|
427
|
-
-
|
427
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
428
428
|
Pragma:
|
429
429
|
- no-cache
|
430
430
|
Server:
|
@@ -434,12 +434,12 @@ http_interactions:
|
|
434
434
|
Content-Type:
|
435
435
|
- application/json;charset=UTF-8
|
436
436
|
Expires:
|
437
|
-
-
|
437
|
+
- Mon, 28 Oct 2019 14:44:18 GMT
|
438
438
|
body:
|
439
439
|
encoding: ASCII-8BIT
|
440
|
-
string: '{"data":[{"
|
440
|
+
string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
|
441
441
|
http_version:
|
442
|
-
recorded_at:
|
442
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
443
443
|
- request:
|
444
444
|
method: put
|
445
445
|
uri: https://192.168.56.101:8006/api2/json/pools/pool1
|
@@ -448,13 +448,13 @@ http_interactions:
|
|
448
448
|
string: comment=Pool+1&vms=100&delete=1
|
449
449
|
headers:
|
450
450
|
User-Agent:
|
451
|
-
- fog-core/1.
|
451
|
+
- fog-core/2.1.2
|
452
452
|
Accept:
|
453
453
|
- application/json
|
454
454
|
Csrfpreventiontoken:
|
455
|
-
-
|
455
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
456
456
|
Cookie:
|
457
|
-
- PVEAuthCookie=PVE:root@pam:
|
457
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
458
458
|
response:
|
459
459
|
status:
|
460
460
|
code: 200
|
@@ -465,7 +465,7 @@ http_interactions:
|
|
465
465
|
Connection:
|
466
466
|
- Keep-Alive, Keep-Alive
|
467
467
|
Date:
|
468
|
-
-
|
468
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
469
469
|
Pragma:
|
470
470
|
- no-cache
|
471
471
|
Server:
|
@@ -475,12 +475,12 @@ http_interactions:
|
|
475
475
|
Content-Type:
|
476
476
|
- application/json;charset=UTF-8
|
477
477
|
Expires:
|
478
|
-
-
|
478
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
479
479
|
body:
|
480
480
|
encoding: ASCII-8BIT
|
481
481
|
string: '{"data":null}'
|
482
482
|
http_version:
|
483
|
-
recorded_at:
|
483
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
484
484
|
- request:
|
485
485
|
method: get
|
486
486
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -489,11 +489,11 @@ http_interactions:
|
|
489
489
|
string: ''
|
490
490
|
headers:
|
491
491
|
User-Agent:
|
492
|
-
- fog-core/1.
|
492
|
+
- fog-core/2.1.2
|
493
493
|
Accept:
|
494
494
|
- application/json
|
495
495
|
Cookie:
|
496
|
-
- PVEAuthCookie=PVE:root@pam:
|
496
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
497
497
|
response:
|
498
498
|
status:
|
499
499
|
code: 200
|
@@ -504,7 +504,7 @@ http_interactions:
|
|
504
504
|
Connection:
|
505
505
|
- Keep-Alive
|
506
506
|
Date:
|
507
|
-
-
|
507
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
508
508
|
Pragma:
|
509
509
|
- no-cache
|
510
510
|
Server:
|
@@ -514,12 +514,12 @@ http_interactions:
|
|
514
514
|
Content-Type:
|
515
515
|
- application/json;charset=UTF-8
|
516
516
|
Expires:
|
517
|
-
-
|
517
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
518
518
|
body:
|
519
519
|
encoding: ASCII-8BIT
|
520
|
-
string: '{"data":[{"
|
520
|
+
string: '{"data":[{"comment":"Pool 1","poolid":"pool1"}]}'
|
521
521
|
http_version:
|
522
|
-
recorded_at:
|
522
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
523
523
|
- request:
|
524
524
|
method: put
|
525
525
|
uri: https://192.168.56.101:8006/api2/json/pools/pool1
|
@@ -528,13 +528,13 @@ http_interactions:
|
|
528
528
|
string: comment=Pool+1&storage=local-lvm&delete=1
|
529
529
|
headers:
|
530
530
|
User-Agent:
|
531
|
-
- fog-core/1.
|
531
|
+
- fog-core/2.1.2
|
532
532
|
Accept:
|
533
533
|
- application/json
|
534
534
|
Csrfpreventiontoken:
|
535
|
-
-
|
535
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
536
536
|
Cookie:
|
537
|
-
- PVEAuthCookie=PVE:root@pam:
|
537
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
538
538
|
response:
|
539
539
|
status:
|
540
540
|
code: 200
|
@@ -545,7 +545,7 @@ http_interactions:
|
|
545
545
|
Connection:
|
546
546
|
- Keep-Alive, Keep-Alive
|
547
547
|
Date:
|
548
|
-
-
|
548
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
549
549
|
Pragma:
|
550
550
|
- no-cache
|
551
551
|
Server:
|
@@ -555,12 +555,12 @@ http_interactions:
|
|
555
555
|
Content-Type:
|
556
556
|
- application/json;charset=UTF-8
|
557
557
|
Expires:
|
558
|
-
-
|
558
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
559
559
|
body:
|
560
560
|
encoding: ASCII-8BIT
|
561
561
|
string: '{"data":null}'
|
562
562
|
http_version:
|
563
|
-
recorded_at:
|
563
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
564
564
|
- request:
|
565
565
|
method: get
|
566
566
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -569,11 +569,11 @@ http_interactions:
|
|
569
569
|
string: ''
|
570
570
|
headers:
|
571
571
|
User-Agent:
|
572
|
-
- fog-core/1.
|
572
|
+
- fog-core/2.1.2
|
573
573
|
Accept:
|
574
574
|
- application/json
|
575
575
|
Cookie:
|
576
|
-
- PVEAuthCookie=PVE:root@pam:
|
576
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
577
577
|
response:
|
578
578
|
status:
|
579
579
|
code: 200
|
@@ -584,7 +584,7 @@ http_interactions:
|
|
584
584
|
Connection:
|
585
585
|
- Keep-Alive
|
586
586
|
Date:
|
587
|
-
-
|
587
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
588
588
|
Pragma:
|
589
589
|
- no-cache
|
590
590
|
Server:
|
@@ -594,12 +594,12 @@ http_interactions:
|
|
594
594
|
Content-Type:
|
595
595
|
- application/json;charset=UTF-8
|
596
596
|
Expires:
|
597
|
-
-
|
597
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
598
598
|
body:
|
599
599
|
encoding: ASCII-8BIT
|
600
600
|
string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
|
601
601
|
http_version:
|
602
|
-
recorded_at:
|
602
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
603
603
|
- request:
|
604
604
|
method: delete
|
605
605
|
uri: https://192.168.56.101:8006/api2/json/pools/pool1
|
@@ -608,13 +608,13 @@ http_interactions:
|
|
608
608
|
string: ''
|
609
609
|
headers:
|
610
610
|
User-Agent:
|
611
|
-
- fog-core/1.
|
611
|
+
- fog-core/2.1.2
|
612
612
|
Accept:
|
613
613
|
- application/json
|
614
614
|
Csrfpreventiontoken:
|
615
|
-
-
|
615
|
+
- 5DB6FEC2:cu+6vbUcpk0vYDA0boNpbt7ROJk
|
616
616
|
Cookie:
|
617
|
-
- PVEAuthCookie=PVE:root@pam:
|
617
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
618
618
|
response:
|
619
619
|
status:
|
620
620
|
code: 200
|
@@ -625,7 +625,7 @@ http_interactions:
|
|
625
625
|
Connection:
|
626
626
|
- Keep-Alive, Keep-Alive
|
627
627
|
Date:
|
628
|
-
-
|
628
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
629
629
|
Pragma:
|
630
630
|
- no-cache
|
631
631
|
Server:
|
@@ -635,12 +635,12 @@ http_interactions:
|
|
635
635
|
Content-Type:
|
636
636
|
- application/json;charset=UTF-8
|
637
637
|
Expires:
|
638
|
-
-
|
638
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
639
639
|
body:
|
640
640
|
encoding: ASCII-8BIT
|
641
641
|
string: '{"data":null}'
|
642
642
|
http_version:
|
643
|
-
recorded_at:
|
643
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
644
644
|
- request:
|
645
645
|
method: get
|
646
646
|
uri: https://192.168.56.101:8006/api2/json/pools
|
@@ -649,11 +649,11 @@ http_interactions:
|
|
649
649
|
string: ''
|
650
650
|
headers:
|
651
651
|
User-Agent:
|
652
|
-
- fog-core/1.
|
652
|
+
- fog-core/2.1.2
|
653
653
|
Accept:
|
654
654
|
- application/json
|
655
655
|
Cookie:
|
656
|
-
- PVEAuthCookie=PVE:root@pam:
|
656
|
+
- PVEAuthCookie=PVE:root@pam:5DB6FEC2::dJfXYPNwqTuS7NwxO/0QRYdl5aNonoc0/GFplws1McIecqKwXC38qoPWvq9HpR/KfNlySVxY47fRnQWIOhZJ6Ygov70jKDhFMD1GZZQjFPfd61TmYjlVM32pPW/qF2HdWrXGhBn39jIRwZbHSSUTMy3DZ6iVYqiHsDmjcAcwSu73GNmn8h5NYe+k51evT7gIAiSx9pwDuKtQtt5iB2l+F7wqQIpfmZUHOydijgCbMU69XpkE7V4mjL/7zWFQdO7w1JITZCF7UN2gLPtiLKDebmmTllagpi+OEQfPhQ1xsY0oOaknEWZGJrQE9cIXT8CrdWap0CksIVIzLTr04x/Trw==
|
657
657
|
response:
|
658
658
|
status:
|
659
659
|
code: 200
|
@@ -664,7 +664,7 @@ http_interactions:
|
|
664
664
|
Connection:
|
665
665
|
- Keep-Alive
|
666
666
|
Date:
|
667
|
-
-
|
667
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
668
668
|
Pragma:
|
669
669
|
- no-cache
|
670
670
|
Server:
|
@@ -674,10 +674,10 @@ http_interactions:
|
|
674
674
|
Content-Type:
|
675
675
|
- application/json;charset=UTF-8
|
676
676
|
Expires:
|
677
|
-
-
|
677
|
+
- Mon, 28 Oct 2019 14:44:19 GMT
|
678
678
|
body:
|
679
679
|
encoding: ASCII-8BIT
|
680
680
|
string: '{"data":[]}'
|
681
681
|
http_version:
|
682
|
-
recorded_at:
|
683
|
-
recorded_with: VCR
|
682
|
+
recorded_at: Mon, 28 Oct 2019 14:44:20 GMT
|
683
|
+
recorded_with: VCR 4.0.0
|