fog-proxmox 0.5.5 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +7 -0
  3. data/.travis.yml +1 -0
  4. data/.vscode/launch.json +3 -21
  5. data/.vscode/settings.json +7 -7
  6. data/Gemfile.lock +39 -39
  7. data/README.md +9 -2
  8. data/examples/compute.rb +20 -23
  9. data/examples/identity.rb +16 -21
  10. data/fog-proxmox.gemspec +1 -2
  11. data/lib/fog/compute/proxmox.rb +2 -8
  12. data/lib/fog/compute/proxmox/models/disk.rb +13 -11
  13. data/lib/fog/compute/proxmox/models/disks.rb +3 -5
  14. data/lib/fog/compute/proxmox/models/interface.rb +6 -11
  15. data/lib/fog/compute/proxmox/models/interfaces.rb +3 -5
  16. data/lib/fog/compute/proxmox/models/node.rb +38 -43
  17. data/lib/fog/compute/proxmox/models/nodes.rb +5 -11
  18. data/lib/fog/compute/proxmox/models/server.rb +123 -80
  19. data/lib/fog/compute/proxmox/models/server_config.rb +56 -24
  20. data/lib/fog/compute/proxmox/models/servers.rb +34 -26
  21. data/lib/fog/compute/proxmox/models/snapshot.rb +28 -14
  22. data/lib/fog/compute/proxmox/models/snapshots.rb +9 -17
  23. data/lib/fog/compute/proxmox/models/storage.rb +15 -11
  24. data/lib/fog/compute/proxmox/models/storages.rb +13 -22
  25. data/lib/fog/compute/proxmox/models/task.rb +10 -14
  26. data/lib/fog/compute/proxmox/models/tasks.rb +9 -18
  27. data/lib/fog/compute/proxmox/models/volume.rb +12 -12
  28. data/lib/fog/compute/proxmox/models/volumes.rb +10 -19
  29. data/lib/fog/compute/proxmox/requests/action_server.rb +1 -4
  30. data/lib/fog/compute/proxmox/requests/clone_server.rb +1 -4
  31. data/lib/fog/compute/proxmox/requests/create_backup.rb +1 -4
  32. data/lib/fog/compute/proxmox/requests/create_server.rb +1 -4
  33. data/lib/fog/compute/proxmox/requests/create_snapshot.rb +1 -4
  34. data/lib/fog/compute/proxmox/requests/create_spice.rb +1 -4
  35. data/lib/fog/compute/proxmox/requests/create_term.rb +1 -4
  36. data/lib/fog/compute/proxmox/requests/create_vnc.rb +1 -4
  37. data/lib/fog/compute/proxmox/requests/delete_server.rb +1 -4
  38. data/lib/fog/compute/proxmox/requests/delete_snapshot.rb +1 -4
  39. data/lib/fog/compute/proxmox/requests/get_node_statistics.rb +1 -4
  40. data/lib/fog/compute/proxmox/requests/get_server_config.rb +1 -4
  41. data/lib/fog/compute/proxmox/requests/get_server_status.rb +1 -4
  42. data/lib/fog/compute/proxmox/requests/{get_snapshot.rb → get_snapshot_config.rb} +5 -8
  43. data/lib/fog/compute/proxmox/requests/get_task.rb +1 -4
  44. data/lib/fog/compute/proxmox/requests/get_vnc.rb +1 -4
  45. data/lib/fog/compute/proxmox/requests/list_nodes.rb +1 -2
  46. data/lib/fog/compute/proxmox/requests/list_storages.rb +3 -1
  47. data/lib/fog/compute/proxmox/requests/log_task.rb +1 -4
  48. data/lib/fog/compute/proxmox/requests/move_disk.rb +1 -4
  49. data/lib/fog/compute/proxmox/requests/move_volume.rb +1 -4
  50. data/lib/fog/compute/proxmox/requests/next_vmid.rb +5 -3
  51. data/lib/fog/compute/proxmox/requests/resize_container.rb +1 -4
  52. data/lib/fog/compute/proxmox/requests/status_task.rb +1 -4
  53. data/lib/fog/compute/proxmox/requests/update_server.rb +1 -4
  54. data/lib/fog/identity/proxmox.rb +2 -8
  55. data/lib/fog/identity/proxmox/models/domain.rb +25 -21
  56. data/lib/fog/identity/proxmox/models/{ldap.rb → domain_type.rb} +9 -18
  57. data/lib/fog/identity/proxmox/models/domains.rb +6 -76
  58. data/lib/fog/identity/proxmox/models/group.rb +6 -19
  59. data/lib/fog/identity/proxmox/models/groups.rb +6 -12
  60. data/lib/fog/identity/proxmox/models/permission.rb +27 -31
  61. data/lib/fog/identity/proxmox/models/permissions.rb +8 -25
  62. data/lib/fog/identity/proxmox/models/pool.rb +9 -22
  63. data/lib/fog/identity/proxmox/models/pools.rb +7 -13
  64. data/lib/fog/identity/proxmox/models/principal.rb +1 -6
  65. data/lib/fog/identity/proxmox/models/role.rb +7 -20
  66. data/lib/fog/identity/proxmox/models/roles.rb +6 -13
  67. data/lib/fog/identity/proxmox/models/user.rb +7 -21
  68. data/lib/fog/identity/proxmox/models/users.rb +6 -12
  69. data/lib/fog/identity/proxmox/requests/check_permissions.rb +1 -4
  70. data/lib/fog/identity/proxmox/requests/list_roles.rb +0 -1
  71. data/lib/fog/identity/proxmox/requests/read_version.rb +1 -5
  72. data/lib/fog/identity/proxmox/requests/update_group.rb +2 -3
  73. data/lib/fog/identity/proxmox/requests/{add_permission.rb → update_permissions.rb} +4 -4
  74. data/lib/fog/network/proxmox/models/network.rb +12 -18
  75. data/lib/fog/network/proxmox/models/networks.rb +11 -17
  76. data/lib/fog/network/proxmox/models/node.rb +14 -10
  77. data/lib/fog/network/proxmox/models/nodes.rb +5 -11
  78. data/lib/fog/network/proxmox/requests/create_network.rb +1 -4
  79. data/lib/fog/network/proxmox/requests/delete_network.rb +1 -4
  80. data/lib/fog/network/proxmox/requests/get_network.rb +1 -4
  81. data/lib/fog/network/proxmox/requests/get_node.rb +1 -4
  82. data/lib/fog/network/proxmox/requests/power_node.rb +1 -4
  83. data/lib/fog/network/proxmox/requests/update_network.rb +1 -4
  84. data/lib/fog/{compute/proxmox/requests/check_vmid.rb → proxmox/attributes.rb} +9 -17
  85. data/lib/fog/proxmox/core.rb +2 -1
  86. data/lib/fog/proxmox/helpers/cpu_helper.rb +6 -3
  87. data/lib/fog/proxmox/helpers/disk_helper.rb +1 -1
  88. data/lib/fog/proxmox/helpers/nic_helper.rb +37 -22
  89. data/lib/fog/proxmox/version.rb +1 -1
  90. data/lib/fog/storage/proxmox.rb +1 -1
  91. data/spec/compute_spec.rb +64 -45
  92. data/spec/fixtures/proxmox/compute/containers.yml +1684 -4137
  93. data/spec/fixtures/proxmox/compute/identity_ticket.yml +4 -4
  94. data/spec/fixtures/proxmox/compute/nodes.yml +21 -21
  95. data/spec/fixtures/proxmox/compute/servers.yml +3065 -7741
  96. data/spec/fixtures/proxmox/compute/snapshots.yml +279 -827
  97. data/spec/fixtures/proxmox/compute/storages.yml +60 -21
  98. data/spec/fixtures/proxmox/compute/tasks.yml +56 -98
  99. data/spec/fixtures/proxmox/identity/auth.yml +6 -6
  100. data/spec/fixtures/proxmox/identity/domains.yml +252 -84
  101. data/spec/fixtures/proxmox/identity/groups.yml +93 -54
  102. data/spec/fixtures/proxmox/identity/identity_ticket.yml +4 -4
  103. data/spec/fixtures/proxmox/identity/permissions.yml +317 -79
  104. data/spec/fixtures/proxmox/identity/pools.yml +266 -71
  105. data/spec/fixtures/proxmox/identity/read_version.yml +6 -6
  106. data/spec/fixtures/proxmox/identity/roles.yml +96 -57
  107. data/spec/fixtures/proxmox/identity/users.yml +224 -107
  108. data/spec/fixtures/proxmox/network/identity_ticket.yml +4 -4
  109. data/spec/fixtures/proxmox/network/networks.yml +54 -95
  110. data/spec/helpers/nic_helper_spec.rb +4 -4
  111. data/spec/identity_spec.rb +38 -46
  112. data/spec/network_spec.rb +1 -1
  113. metadata +9 -23
  114. data/lib/fog/compute/proxmox/models/container.rb +0 -86
  115. data/lib/fog/compute/proxmox/models/container_config.rb +0 -114
  116. data/lib/fog/compute/proxmox/models/containers.rb +0 -43
  117. data/lib/fog/compute/proxmox/requests/get_node.rb +0 -44
  118. data/lib/fog/compute/proxmox/requests/get_storage.rb +0 -44
  119. data/lib/fog/identity/proxmox/models/activedirectory.rb +0 -57
  120. data/lib/fog/identity/proxmox/models/oath.rb +0 -50
  121. data/lib/fog/identity/proxmox/models/pam.rb +0 -46
  122. data/lib/fog/identity/proxmox/models/pve.rb +0 -46
  123. data/lib/fog/identity/proxmox/models/yubico.rb +0 -51
  124. data/lib/fog/identity/proxmox/requests/remove_permission.rb +0 -42
  125. data/lib/fog/proxmox/models/collection.rb +0 -85
  126. data/lib/fog/proxmox/models/model.rb +0 -58
@@ -12,9 +12,9 @@ http_interactions:
12
12
  Accept:
13
13
  - application/json
14
14
  Csrfpreventiontoken:
15
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
15
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
16
16
  Cookie:
17
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
17
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
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
- - Thu, 07 Jun 2018 14:30:36 GMT
28
+ - Wed, 03 Apr 2019 13:32:45 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
- - Thu, 07 Jun 2018 14:30:36 GMT
38
+ - Wed, 03 Apr 2019 13:32:45 GMT
39
39
  body:
40
40
  encoding: ASCII-8BIT
41
41
  string: '{"data":null}'
42
42
  http_version:
43
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
43
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://192.168.56.101:8006/api2/json/pools
@@ -53,7 +53,7 @@ http_interactions:
53
53
  Accept:
54
54
  - application/json
55
55
  Cookie:
56
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
56
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
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
- - Thu, 07 Jun 2018 14:30:36 GMT
67
+ - Wed, 03 Apr 2019 13:32:45 GMT
68
68
  Pragma:
69
69
  - no-cache
70
70
  Server:
@@ -74,12 +74,51 @@ http_interactions:
74
74
  Content-Type:
75
75
  - application/json;charset=UTF-8
76
76
  Expires:
77
- - Thu, 07 Jun 2018 14:30:36 GMT
77
+ - Wed, 03 Apr 2019 13:32:45 GMT
78
78
  body:
79
79
  encoding: ASCII-8BIT
80
80
  string: '{"data":[{"poolid":"pool1"}]}'
81
81
  http_version:
82
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
82
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
83
+ - request:
84
+ method: get
85
+ uri: https://192.168.56.101:8006/api2/json/pools
86
+ body:
87
+ encoding: US-ASCII
88
+ string: ''
89
+ headers:
90
+ User-Agent:
91
+ - fog-core/1.45.0
92
+ Accept:
93
+ - application/json
94
+ Cookie:
95
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
96
+ response:
97
+ status:
98
+ code: 200
99
+ message: OK
100
+ headers:
101
+ Cache-Control:
102
+ - max-age=0
103
+ Connection:
104
+ - Keep-Alive
105
+ Date:
106
+ - Wed, 03 Apr 2019 13:32:45 GMT
107
+ Pragma:
108
+ - no-cache
109
+ Server:
110
+ - pve-api-daemon/3.0
111
+ Content-Length:
112
+ - '29'
113
+ Content-Type:
114
+ - application/json;charset=UTF-8
115
+ Expires:
116
+ - Wed, 03 Apr 2019 13:32:45 GMT
117
+ body:
118
+ encoding: ASCII-8BIT
119
+ string: '{"data":[{"poolid":"pool1"}]}'
120
+ http_version:
121
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
83
122
  - request:
84
123
  method: post
85
124
  uri: https://192.168.56.101:8006/api2/json/pools
@@ -92,9 +131,9 @@ http_interactions:
92
131
  Accept:
93
132
  - application/json
94
133
  Csrfpreventiontoken:
95
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
134
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
96
135
  Cookie:
97
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
136
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
98
137
  response:
99
138
  status:
100
139
  code: 500
@@ -106,7 +145,7 @@ http_interactions:
106
145
  Connection:
107
146
  - close
108
147
  Date:
109
- - Thu, 07 Jun 2018 14:30:36 GMT
148
+ - Wed, 03 Apr 2019 13:32:45 GMT
110
149
  Pragma:
111
150
  - no-cache
112
151
  Server:
@@ -116,12 +155,12 @@ http_interactions:
116
155
  Content-Type:
117
156
  - application/json;charset=UTF-8
118
157
  Expires:
119
- - Thu, 07 Jun 2018 14:30:36 GMT
158
+ - Wed, 03 Apr 2019 13:32:45 GMT
120
159
  body:
121
160
  encoding: ASCII-8BIT
122
161
  string: '{"data":null}'
123
162
  http_version:
124
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
163
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
125
164
  - request:
126
165
  method: put
127
166
  uri: https://192.168.56.101:8006/api2/json/pools/pool1
@@ -134,9 +173,9 @@ http_interactions:
134
173
  Accept:
135
174
  - application/json
136
175
  Csrfpreventiontoken:
137
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
176
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
138
177
  Cookie:
139
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
178
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
140
179
  response:
141
180
  status:
142
181
  code: 200
@@ -147,7 +186,7 @@ http_interactions:
147
186
  Connection:
148
187
  - Keep-Alive, Keep-Alive
149
188
  Date:
150
- - Thu, 07 Jun 2018 14:30:36 GMT
189
+ - Wed, 03 Apr 2019 13:32:45 GMT
151
190
  Pragma:
152
191
  - no-cache
153
192
  Server:
@@ -157,12 +196,51 @@ http_interactions:
157
196
  Content-Type:
158
197
  - application/json;charset=UTF-8
159
198
  Expires:
160
- - Thu, 07 Jun 2018 14:30:36 GMT
199
+ - Wed, 03 Apr 2019 13:32:45 GMT
161
200
  body:
162
201
  encoding: ASCII-8BIT
163
202
  string: '{"data":null}'
164
203
  http_version:
165
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
204
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
205
+ - request:
206
+ method: get
207
+ uri: https://192.168.56.101:8006/api2/json/pools
208
+ body:
209
+ encoding: US-ASCII
210
+ string: ''
211
+ headers:
212
+ User-Agent:
213
+ - fog-core/1.45.0
214
+ Accept:
215
+ - application/json
216
+ Cookie:
217
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
218
+ response:
219
+ status:
220
+ code: 200
221
+ message: OK
222
+ headers:
223
+ Cache-Control:
224
+ - max-age=0
225
+ Connection:
226
+ - Keep-Alive
227
+ Date:
228
+ - Wed, 03 Apr 2019 13:32:45 GMT
229
+ Pragma:
230
+ - no-cache
231
+ Server:
232
+ - pve-api-daemon/3.0
233
+ Content-Length:
234
+ - '48'
235
+ Content-Type:
236
+ - application/json;charset=UTF-8
237
+ Expires:
238
+ - Wed, 03 Apr 2019 13:32:45 GMT
239
+ body:
240
+ encoding: ASCII-8BIT
241
+ string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
242
+ http_version:
243
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
166
244
  - request:
167
245
  method: put
168
246
  uri: https://192.168.56.101:8006/api2/json/pools/pool1
@@ -175,9 +253,9 @@ http_interactions:
175
253
  Accept:
176
254
  - application/json
177
255
  Csrfpreventiontoken:
178
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
256
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
179
257
  Cookie:
180
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
258
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
181
259
  response:
182
260
  status:
183
261
  code: 200
@@ -188,7 +266,7 @@ http_interactions:
188
266
  Connection:
189
267
  - Keep-Alive, Keep-Alive
190
268
  Date:
191
- - Thu, 07 Jun 2018 14:30:36 GMT
269
+ - Wed, 03 Apr 2019 13:32:45 GMT
192
270
  Pragma:
193
271
  - no-cache
194
272
  Server:
@@ -198,12 +276,51 @@ http_interactions:
198
276
  Content-Type:
199
277
  - application/json;charset=UTF-8
200
278
  Expires:
201
- - Thu, 07 Jun 2018 14:30:36 GMT
279
+ - Wed, 03 Apr 2019 13:32:45 GMT
202
280
  body:
203
281
  encoding: ASCII-8BIT
204
282
  string: '{"data":null}'
205
283
  http_version:
206
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
284
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
285
+ - request:
286
+ method: get
287
+ uri: https://192.168.56.101:8006/api2/json/pools
288
+ body:
289
+ encoding: US-ASCII
290
+ string: ''
291
+ headers:
292
+ User-Agent:
293
+ - fog-core/1.45.0
294
+ Accept:
295
+ - application/json
296
+ Cookie:
297
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
298
+ response:
299
+ status:
300
+ code: 200
301
+ message: OK
302
+ headers:
303
+ Cache-Control:
304
+ - max-age=0
305
+ Connection:
306
+ - Keep-Alive
307
+ Date:
308
+ - Wed, 03 Apr 2019 13:32:45 GMT
309
+ Pragma:
310
+ - no-cache
311
+ Server:
312
+ - pve-api-daemon/3.0
313
+ Content-Length:
314
+ - '48'
315
+ Content-Type:
316
+ - application/json;charset=UTF-8
317
+ Expires:
318
+ - Wed, 03 Apr 2019 13:32:45 GMT
319
+ body:
320
+ encoding: ASCII-8BIT
321
+ string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
322
+ http_version:
323
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
207
324
  - request:
208
325
  method: put
209
326
  uri: https://192.168.56.101:8006/api2/json/pools/pool1
@@ -216,9 +333,9 @@ http_interactions:
216
333
  Accept:
217
334
  - application/json
218
335
  Csrfpreventiontoken:
219
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
336
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
220
337
  Cookie:
221
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
338
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
222
339
  response:
223
340
  status:
224
341
  code: 200
@@ -229,7 +346,7 @@ http_interactions:
229
346
  Connection:
230
347
  - Keep-Alive, Keep-Alive
231
348
  Date:
232
- - Thu, 07 Jun 2018 14:30:37 GMT
349
+ - Wed, 03 Apr 2019 13:32:45 GMT
233
350
  Pragma:
234
351
  - no-cache
235
352
  Server:
@@ -239,12 +356,51 @@ http_interactions:
239
356
  Content-Type:
240
357
  - application/json;charset=UTF-8
241
358
  Expires:
242
- - Thu, 07 Jun 2018 14:30:37 GMT
359
+ - Wed, 03 Apr 2019 13:32:45 GMT
243
360
  body:
244
361
  encoding: ASCII-8BIT
245
362
  string: '{"data":null}'
246
363
  http_version:
247
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
364
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
365
+ - request:
366
+ method: get
367
+ uri: https://192.168.56.101:8006/api2/json/pools
368
+ body:
369
+ encoding: US-ASCII
370
+ string: ''
371
+ headers:
372
+ User-Agent:
373
+ - fog-core/1.45.0
374
+ Accept:
375
+ - application/json
376
+ Cookie:
377
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
378
+ response:
379
+ status:
380
+ code: 200
381
+ message: OK
382
+ headers:
383
+ Cache-Control:
384
+ - max-age=0
385
+ Connection:
386
+ - Keep-Alive
387
+ Date:
388
+ - Wed, 03 Apr 2019 13:32:45 GMT
389
+ Pragma:
390
+ - no-cache
391
+ Server:
392
+ - pve-api-daemon/3.0
393
+ Content-Length:
394
+ - '48'
395
+ Content-Type:
396
+ - application/json;charset=UTF-8
397
+ Expires:
398
+ - Wed, 03 Apr 2019 13:32:45 GMT
399
+ body:
400
+ encoding: ASCII-8BIT
401
+ string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
402
+ http_version:
403
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
248
404
  - request:
249
405
  method: get
250
406
  uri: https://192.168.56.101:8006/api2/json/pools
@@ -257,7 +413,7 @@ http_interactions:
257
413
  Accept:
258
414
  - application/json
259
415
  Cookie:
260
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
416
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
261
417
  response:
262
418
  status:
263
419
  code: 200
@@ -268,7 +424,7 @@ http_interactions:
268
424
  Connection:
269
425
  - Keep-Alive
270
426
  Date:
271
- - Thu, 07 Jun 2018 14:30:37 GMT
427
+ - Wed, 03 Apr 2019 13:32:45 GMT
272
428
  Pragma:
273
429
  - no-cache
274
430
  Server:
@@ -278,12 +434,12 @@ http_interactions:
278
434
  Content-Type:
279
435
  - application/json;charset=UTF-8
280
436
  Expires:
281
- - Thu, 07 Jun 2018 14:30:37 GMT
437
+ - Wed, 03 Apr 2019 13:32:45 GMT
282
438
  body:
283
439
  encoding: ASCII-8BIT
284
440
  string: '{"data":[{"comment":"Pool 1","poolid":"pool1"}]}'
285
441
  http_version:
286
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
442
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
287
443
  - request:
288
444
  method: put
289
445
  uri: https://192.168.56.101:8006/api2/json/pools/pool1
@@ -296,9 +452,9 @@ http_interactions:
296
452
  Accept:
297
453
  - application/json
298
454
  Csrfpreventiontoken:
299
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
455
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
300
456
  Cookie:
301
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
457
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
302
458
  response:
303
459
  status:
304
460
  code: 200
@@ -309,7 +465,7 @@ http_interactions:
309
465
  Connection:
310
466
  - Keep-Alive, Keep-Alive
311
467
  Date:
312
- - Thu, 07 Jun 2018 14:30:37 GMT
468
+ - Wed, 03 Apr 2019 13:32:45 GMT
313
469
  Pragma:
314
470
  - no-cache
315
471
  Server:
@@ -319,27 +475,25 @@ http_interactions:
319
475
  Content-Type:
320
476
  - application/json;charset=UTF-8
321
477
  Expires:
322
- - Thu, 07 Jun 2018 14:30:37 GMT
478
+ - Wed, 03 Apr 2019 13:32:45 GMT
323
479
  body:
324
480
  encoding: ASCII-8BIT
325
481
  string: '{"data":null}'
326
482
  http_version:
327
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
483
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
328
484
  - request:
329
- method: put
330
- uri: https://192.168.56.101:8006/api2/json/pools/pool1
485
+ method: get
486
+ uri: https://192.168.56.101:8006/api2/json/pools
331
487
  body:
332
488
  encoding: US-ASCII
333
- string: comment=Pool+1&storage=local-lvm&delete=1
489
+ string: ''
334
490
  headers:
335
491
  User-Agent:
336
492
  - fog-core/1.45.0
337
493
  Accept:
338
494
  - application/json
339
- Csrfpreventiontoken:
340
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
341
495
  Cookie:
342
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
496
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
343
497
  response:
344
498
  status:
345
499
  code: 200
@@ -348,39 +502,39 @@ http_interactions:
348
502
  Cache-Control:
349
503
  - max-age=0
350
504
  Connection:
351
- - Keep-Alive, Keep-Alive
505
+ - Keep-Alive
352
506
  Date:
353
- - Thu, 07 Jun 2018 14:30:37 GMT
507
+ - Wed, 03 Apr 2019 13:32:45 GMT
354
508
  Pragma:
355
509
  - no-cache
356
510
  Server:
357
511
  - pve-api-daemon/3.0
358
512
  Content-Length:
359
- - '13'
513
+ - '48'
360
514
  Content-Type:
361
515
  - application/json;charset=UTF-8
362
516
  Expires:
363
- - Thu, 07 Jun 2018 14:30:37 GMT
517
+ - Wed, 03 Apr 2019 13:32:45 GMT
364
518
  body:
365
519
  encoding: ASCII-8BIT
366
- string: '{"data":null}'
520
+ string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
367
521
  http_version:
368
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
522
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
369
523
  - request:
370
- method: delete
524
+ method: put
371
525
  uri: https://192.168.56.101:8006/api2/json/pools/pool1
372
526
  body:
373
527
  encoding: US-ASCII
374
- string: ''
528
+ string: comment=Pool+1&storage=local-lvm&delete=1
375
529
  headers:
376
530
  User-Agent:
377
531
  - fog-core/1.45.0
378
532
  Accept:
379
533
  - application/json
380
534
  Csrfpreventiontoken:
381
- - 5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8
535
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
382
536
  Cookie:
383
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
537
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
384
538
  response:
385
539
  status:
386
540
  code: 200
@@ -391,7 +545,7 @@ http_interactions:
391
545
  Connection:
392
546
  - Keep-Alive, Keep-Alive
393
547
  Date:
394
- - Thu, 07 Jun 2018 14:30:37 GMT
548
+ - Wed, 03 Apr 2019 13:32:45 GMT
395
549
  Pragma:
396
550
  - no-cache
397
551
  Server:
@@ -401,12 +555,12 @@ http_interactions:
401
555
  Content-Type:
402
556
  - application/json;charset=UTF-8
403
557
  Expires:
404
- - Thu, 07 Jun 2018 14:30:37 GMT
558
+ - Wed, 03 Apr 2019 13:32:45 GMT
405
559
  body:
406
560
  encoding: ASCII-8BIT
407
561
  string: '{"data":null}'
408
562
  http_version:
409
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
563
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
410
564
  - request:
411
565
  method: get
412
566
  uri: https://192.168.56.101:8006/api2/json/pools
@@ -419,7 +573,7 @@ http_interactions:
419
573
  Accept:
420
574
  - application/json
421
575
  Cookie:
422
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
576
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
423
577
  response:
424
578
  status:
425
579
  code: 200
@@ -430,24 +584,24 @@ http_interactions:
430
584
  Connection:
431
585
  - Keep-Alive
432
586
  Date:
433
- - Thu, 07 Jun 2018 14:30:37 GMT
587
+ - Wed, 03 Apr 2019 13:32:45 GMT
434
588
  Pragma:
435
589
  - no-cache
436
590
  Server:
437
591
  - pve-api-daemon/3.0
438
592
  Content-Length:
439
- - '11'
593
+ - '48'
440
594
  Content-Type:
441
595
  - application/json;charset=UTF-8
442
596
  Expires:
443
- - Thu, 07 Jun 2018 14:30:37 GMT
597
+ - Wed, 03 Apr 2019 13:32:45 GMT
444
598
  body:
445
599
  encoding: ASCII-8BIT
446
- string: '{"data":[]}'
600
+ string: '{"data":[{"poolid":"pool1","comment":"Pool 1"}]}'
447
601
  http_version:
448
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
602
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
449
603
  - request:
450
- method: get
604
+ method: delete
451
605
  uri: https://192.168.56.101:8006/api2/json/pools/pool1
452
606
  body:
453
607
  encoding: US-ASCII
@@ -457,19 +611,21 @@ http_interactions:
457
611
  - fog-core/1.45.0
458
612
  Accept:
459
613
  - application/json
614
+ Csrfpreventiontoken:
615
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
460
616
  Cookie:
461
- - PVEAuthCookie=PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg==
617
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
462
618
  response:
463
619
  status:
464
- code: 500
465
- message: pool 'pool1' does not exist
620
+ code: 200
621
+ message: OK
466
622
  headers:
467
623
  Cache-Control:
468
624
  - max-age=0
469
625
  Connection:
470
- - close
626
+ - Keep-Alive, Keep-Alive
471
627
  Date:
472
- - Thu, 07 Jun 2018 14:30:37 GMT
628
+ - Wed, 03 Apr 2019 13:32:45 GMT
473
629
  Pragma:
474
630
  - no-cache
475
631
  Server:
@@ -479,10 +635,49 @@ http_interactions:
479
635
  Content-Type:
480
636
  - application/json;charset=UTF-8
481
637
  Expires:
482
- - Thu, 07 Jun 2018 14:30:37 GMT
638
+ - Wed, 03 Apr 2019 13:32:45 GMT
483
639
  body:
484
640
  encoding: ASCII-8BIT
485
641
  string: '{"data":null}'
486
642
  http_version:
487
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
643
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
644
+ - request:
645
+ method: get
646
+ uri: https://192.168.56.101:8006/api2/json/pools
647
+ body:
648
+ encoding: US-ASCII
649
+ string: ''
650
+ headers:
651
+ User-Agent:
652
+ - fog-core/1.45.0
653
+ Accept:
654
+ - application/json
655
+ Cookie:
656
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
657
+ response:
658
+ status:
659
+ code: 200
660
+ message: OK
661
+ headers:
662
+ Cache-Control:
663
+ - max-age=0
664
+ Connection:
665
+ - Keep-Alive
666
+ Date:
667
+ - Wed, 03 Apr 2019 13:32:45 GMT
668
+ Pragma:
669
+ - no-cache
670
+ Server:
671
+ - pve-api-daemon/3.0
672
+ Content-Length:
673
+ - '11'
674
+ Content-Type:
675
+ - application/json;charset=UTF-8
676
+ Expires:
677
+ - Wed, 03 Apr 2019 13:32:45 GMT
678
+ body:
679
+ encoding: ASCII-8BIT
680
+ string: '{"data":[]}'
681
+ http_version:
682
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
488
683
  recorded_with: VCR 3.0.3