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
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
15
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
16
16
  Cookie:
17
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
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:35 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:35 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:36 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/access/groups
@@ -53,7 +53,7 @@ http_interactions:
53
53
  Accept:
54
54
  - application/json
55
55
  Cookie:
56
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
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:35 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:35 GMT
77
+ - Wed, 03 Apr 2019 13:32:45 GMT
78
78
  body:
79
79
  encoding: ASCII-8BIT
80
80
  string: '{"data":[{"groupid":"group1"}]}'
81
81
  http_version:
82
- recorded_at: Thu, 07 Jun 2018 14:30:36 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/access/groups
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
+ - '31'
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":[{"groupid":"group1"}]}'
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/access/groups
@@ -92,9 +131,9 @@ http_interactions:
92
131
  Accept:
93
132
  - application/json
94
133
  Csrfpreventiontoken:
95
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
134
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
96
135
  Cookie:
97
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
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:35 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:35 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:36 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/access/groups/group1
@@ -134,9 +173,9 @@ http_interactions:
134
173
  Accept:
135
174
  - application/json
136
175
  Csrfpreventiontoken:
137
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
176
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
138
177
  Cookie:
139
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
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:35 GMT
189
+ - Wed, 03 Apr 2019 13:32:45 GMT
151
190
  Pragma:
152
191
  - no-cache
153
192
  Server:
@@ -157,12 +196,12 @@ http_interactions:
157
196
  Content-Type:
158
197
  - application/json;charset=UTF-8
159
198
  Expires:
160
- - Thu, 07 Jun 2018 14:30:35 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:36 GMT
204
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
166
205
  - request:
167
206
  method: get
168
207
  uri: https://192.168.56.101:8006/api2/json/access/groups
@@ -175,7 +214,7 @@ http_interactions:
175
214
  Accept:
176
215
  - application/json
177
216
  Cookie:
178
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
217
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
179
218
  response:
180
219
  status:
181
220
  code: 200
@@ -186,7 +225,7 @@ http_interactions:
186
225
  Connection:
187
226
  - Keep-Alive
188
227
  Date:
189
- - Thu, 07 Jun 2018 14:30:35 GMT
228
+ - Wed, 03 Apr 2019 13:32:45 GMT
190
229
  Pragma:
191
230
  - no-cache
192
231
  Server:
@@ -196,15 +235,15 @@ http_interactions:
196
235
  Content-Type:
197
236
  - application/json;charset=UTF-8
198
237
  Expires:
199
- - Thu, 07 Jun 2018 14:30:35 GMT
238
+ - Wed, 03 Apr 2019 13:32:45 GMT
200
239
  body:
201
240
  encoding: ASCII-8BIT
202
- string: '{"data":[{"comment":"Group 1","groupid":"group1"}]}'
241
+ string: '{"data":[{"groupid":"group1","comment":"Group 1"}]}'
203
242
  http_version:
204
- recorded_at: Thu, 07 Jun 2018 14:30:36 GMT
243
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
205
244
  - request:
206
- method: delete
207
- uri: https://192.168.56.101:8006/api2/json/access/groups/group1
245
+ method: get
246
+ uri: https://192.168.56.101:8006/api2/json/access/groups
208
247
  body:
209
248
  encoding: US-ASCII
210
249
  string: ''
@@ -213,10 +252,8 @@ http_interactions:
213
252
  - fog-core/1.45.0
214
253
  Accept:
215
254
  - application/json
216
- Csrfpreventiontoken:
217
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
218
255
  Cookie:
219
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
256
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
220
257
  response:
221
258
  status:
222
259
  code: 200
@@ -225,27 +262,27 @@ http_interactions:
225
262
  Cache-Control:
226
263
  - max-age=0
227
264
  Connection:
228
- - Keep-Alive, Keep-Alive
265
+ - Keep-Alive
229
266
  Date:
230
- - Thu, 07 Jun 2018 14:30:35 GMT
267
+ - Wed, 03 Apr 2019 13:32:45 GMT
231
268
  Pragma:
232
269
  - no-cache
233
270
  Server:
234
271
  - pve-api-daemon/3.0
235
272
  Content-Length:
236
- - '13'
273
+ - '51'
237
274
  Content-Type:
238
275
  - application/json;charset=UTF-8
239
276
  Expires:
240
- - Thu, 07 Jun 2018 14:30:35 GMT
277
+ - Wed, 03 Apr 2019 13:32:45 GMT
241
278
  body:
242
279
  encoding: ASCII-8BIT
243
- string: '{"data":null}'
280
+ string: '{"data":[{"comment":"Group 1","groupid":"group1"}]}'
244
281
  http_version:
245
- recorded_at: Thu, 07 Jun 2018 14:30:36 GMT
282
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
246
283
  - request:
247
- method: get
248
- uri: https://192.168.56.101:8006/api2/json/access/groups
284
+ method: delete
285
+ uri: https://192.168.56.101:8006/api2/json/access/groups/group1
249
286
  body:
250
287
  encoding: US-ASCII
251
288
  string: ''
@@ -254,8 +291,10 @@ http_interactions:
254
291
  - fog-core/1.45.0
255
292
  Accept:
256
293
  - application/json
294
+ Csrfpreventiontoken:
295
+ - 5CA4B5FD:90Bc/QID+0rzMPO4u003G3UIcKk
257
296
  Cookie:
258
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
297
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
259
298
  response:
260
299
  status:
261
300
  code: 200
@@ -264,27 +303,27 @@ http_interactions:
264
303
  Cache-Control:
265
304
  - max-age=0
266
305
  Connection:
267
- - Keep-Alive
306
+ - Keep-Alive, Keep-Alive
268
307
  Date:
269
- - Thu, 07 Jun 2018 14:30:35 GMT
308
+ - Wed, 03 Apr 2019 13:32:45 GMT
270
309
  Pragma:
271
310
  - no-cache
272
311
  Server:
273
312
  - pve-api-daemon/3.0
274
313
  Content-Length:
275
- - '11'
314
+ - '13'
276
315
  Content-Type:
277
316
  - application/json;charset=UTF-8
278
317
  Expires:
279
- - Thu, 07 Jun 2018 14:30:35 GMT
318
+ - Wed, 03 Apr 2019 13:32:45 GMT
280
319
  body:
281
320
  encoding: ASCII-8BIT
282
- string: '{"data":[]}'
321
+ string: '{"data":null}'
283
322
  http_version:
284
- recorded_at: Thu, 07 Jun 2018 14:30:36 GMT
323
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
285
324
  - request:
286
325
  method: get
287
- uri: https://192.168.56.101:8006/api2/json/access/groups/group1
326
+ uri: https://192.168.56.101:8006/api2/json/access/groups
288
327
  body:
289
328
  encoding: US-ASCII
290
329
  string: ''
@@ -294,31 +333,31 @@ http_interactions:
294
333
  Accept:
295
334
  - application/json
296
335
  Cookie:
297
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
336
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FD::eXiuesLu81RqogtobDSQBsFQ1HbPinLLLVVS+8qC9ear4K51eOolY0XOMosnm22ML99dSqN4TTNDAPhox+J78cl9IdMuuhRACtFJyaBqugBwrao0Iw6JoGSUQiIORvWlQF75odFmmlBcqB6TZ80U63eRLjvNk8aF1tszWb2hlbFJRzwiSjjs+JoZ6BzYNSk1PnHuzrkOBcG26VxnI7WotRzIV7NO3qMZedBjwYKLw7w8PnhstR0zfbaMllSiJL8QVLCnbo+t2RpivR3Uu8ftGcrVLXgh2+snA/fCWYWjzfIW16qU/UI8IBfdBiblmK8SxSZZ23tR5bKfwU5uCf78Sw==
298
337
  response:
299
338
  status:
300
- code: 500
301
- message: group 'group1' does not exist
339
+ code: 200
340
+ message: OK
302
341
  headers:
303
342
  Cache-Control:
304
343
  - max-age=0
305
344
  Connection:
306
- - close
345
+ - Keep-Alive
307
346
  Date:
308
- - Thu, 07 Jun 2018 14:30:35 GMT
347
+ - Wed, 03 Apr 2019 13:32:45 GMT
309
348
  Pragma:
310
349
  - no-cache
311
350
  Server:
312
351
  - pve-api-daemon/3.0
313
352
  Content-Length:
314
- - '13'
353
+ - '11'
315
354
  Content-Type:
316
355
  - application/json;charset=UTF-8
317
356
  Expires:
318
- - Thu, 07 Jun 2018 14:30:35 GMT
357
+ - Wed, 03 Apr 2019 13:32:45 GMT
319
358
  body:
320
359
  encoding: ASCII-8BIT
321
- string: '{"data":null}'
360
+ string: '{"data":[]}'
322
361
  http_version:
323
- recorded_at: Thu, 07 Jun 2018 14:30:36 GMT
362
+ recorded_at: Wed, 03 Apr 2019 13:32:46 GMT
324
363
  recorded_with: VCR 3.0.3
@@ -21,7 +21,7 @@ http_interactions:
21
21
  Connection:
22
22
  - close, Keep-Alive
23
23
  Date:
24
- - Thu, 07 Jun 2018 14:30:36 GMT
24
+ - Wed, 03 Apr 2019 13:32:46 GMT
25
25
  Pragma:
26
26
  - no-cache
27
27
  Server:
@@ -31,10 +31,10 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/json;charset=UTF-8
33
33
  Expires:
34
- - Thu, 07 Jun 2018 14:30:36 GMT
34
+ - Wed, 03 Apr 2019 13:32:46 GMT
35
35
  body:
36
36
  encoding: ASCII-8BIT
37
- string: '{"data":{"CSRFPreventionToken":"5B19418C:5Nr6tBpYnbptQmpK6HRTdYPWXp8","username":"root@pam","cap":{"dc":{"Sys.Audit":1},"storage":{"Datastore.AllocateSpace":1,"Datastore.Allocate":1,"Permissions.Modify":1,"Datastore.Audit":1,"Datastore.AllocateTemplate":1},"access":{"Permissions.Modify":1,"User.Modify":1,"Group.Allocate":1},"vms":{"VM.Config.CPU":1,"VM.Config.CDROM":1,"VM.Monitor":1,"VM.Config.Disk":1,"VM.Migrate":1,"Permissions.Modify":1,"VM.Allocate":1,"VM.Config.HWType":1,"VM.Config.Options":1,"VM.Config.Network":1,"VM.Config.Memory":1,"VM.PowerMgmt":1,"VM.Audit":1,"VM.Snapshot":1,"VM.Backup":1,"VM.Console":1,"VM.Snapshot.Rollback":1,"VM.Clone":1},"nodes":{"Sys.Audit":1,"Sys.PowerMgmt":1,"Permissions.Modify":1,"Sys.Console":1,"Sys.Syslog":1,"Sys.Modify":1}},"ticket":"PVE:root@pam:5B19418C::tGLufObbyWo9mVIOeOZ1oITNuk4DZbmEbmHD67t29QrBTqb+Ow4trKsff2KAsV8kQ137iEP7616jZ3F3ICAyVgn+nAeHvO5XHhK3+MxD32c30xWj2W4dFYXhytWMIw/nGqWjwIqsfYaUpBYoBwxTTf4Exe1JijnaPZIo2NeXFPg7++2LWBC4Ed0ajW3ZSIT/1AUmUB8wqieqSVMWkBpBR8i3E0RCnIElHD/XB5qk8O1a+A9Hnk5X1IAgyQa7qhtcr4vSfVngmcj3UGD1EG6/huJQc4ZMUgUH/9EzUZzd4cZ64GaTQhCykLaSLMZWCHQl6AL2MTXT4WC6Wraw6MGCvg=="}}'
37
+ string: '{"data":{"cap":{"dc":{"Sys.Audit":1},"vms":{"VM.Monitor":1,"VM.Config.Options":1,"VM.Console":1,"VM.Config.Memory":1,"VM.Snapshot.Rollback":1,"VM.Snapshot":1,"Permissions.Modify":1,"VM.Config.CDROM":1,"VM.Audit":1,"VM.Backup":1,"VM.Allocate":1,"VM.Clone":1,"VM.Config.HWType":1,"VM.Config.Network":1,"VM.Migrate":1,"VM.Config.Disk":1,"VM.PowerMgmt":1,"VM.Config.CPU":1},"nodes":{"Sys.PowerMgmt":1,"Sys.Syslog":1,"Sys.Console":1,"Permissions.Modify":1,"Sys.Audit":1,"Sys.Modify":1},"storage":{"Permissions.Modify":1,"Datastore.Allocate":1,"Datastore.AllocateSpace":1,"Datastore.AllocateTemplate":1,"Datastore.Audit":1},"access":{"User.Modify":1,"Permissions.Modify":1,"Group.Allocate":1}},"CSRFPreventionToken":"5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8","username":"root@pam","ticket":"PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg=="}}'
38
38
  http_version:
39
- recorded_at: Thu, 07 Jun 2018 14:30:38 GMT
39
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
40
40
  recorded_with: VCR 3.0.3
@@ -1,5 +1,124 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://192.168.56.101:8006/api2/json/access/roles
6
+ body:
7
+ encoding: US-ASCII
8
+ string: roleid=PVETestAdmin&privs=User.Modify%2CGroup.Allocate
9
+ headers:
10
+ User-Agent:
11
+ - fog-core/1.45.0
12
+ Accept:
13
+ - application/json
14
+ Csrfpreventiontoken:
15
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
16
+ Cookie:
17
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Cache-Control:
24
+ - max-age=0
25
+ Connection:
26
+ - close, Keep-Alive
27
+ Date:
28
+ - Wed, 03 Apr 2019 13:32:46 GMT
29
+ Pragma:
30
+ - no-cache
31
+ Server:
32
+ - pve-api-daemon/3.0
33
+ Content-Length:
34
+ - '13'
35
+ Content-Type:
36
+ - application/json;charset=UTF-8
37
+ Expires:
38
+ - Wed, 03 Apr 2019 13:32:46 GMT
39
+ body:
40
+ encoding: ASCII-8BIT
41
+ string: '{"data":null}'
42
+ http_version:
43
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
44
+ - request:
45
+ method: get
46
+ uri: https://192.168.56.101:8006/api2/json/access/roles
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ User-Agent:
52
+ - fog-core/1.45.0
53
+ Accept:
54
+ - application/json
55
+ Cookie:
56
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
57
+ response:
58
+ status:
59
+ code: 200
60
+ message: OK
61
+ headers:
62
+ Cache-Control:
63
+ - max-age=0
64
+ Connection:
65
+ - Keep-Alive
66
+ Date:
67
+ - Wed, 03 Apr 2019 13:32:46 GMT
68
+ Pragma:
69
+ - no-cache
70
+ Server:
71
+ - pve-api-daemon/3.0
72
+ Content-Length:
73
+ - '2147'
74
+ Content-Type:
75
+ - application/json;charset=UTF-8
76
+ Expires:
77
+ - Wed, 03 Apr 2019 13:32:46 GMT
78
+ body:
79
+ encoding: ASCII-8BIT
80
+ string: '{"data":[{"special":1,"roleid":"PVESysAdmin","privs":"Permissions.Modify,Sys.Audit,Sys.Console,Sys.Syslog"},{"special":1,"privs":"Datastore.AllocateSpace,Datastore.Audit","roleid":"PVEDatastoreUser"},{"roleid":"PVETestAdmin","privs":"Group.Allocate,User.Modify","special":0},{"special":1,"roleid":"PVEAdmin","privs":"Datastore.Allocate,Datastore.AllocateSpace,Datastore.AllocateTemplate,Datastore.Audit,Group.Allocate,Permissions.Modify,Pool.Allocate,Realm.AllocateUser,Sys.Audit,Sys.Console,Sys.Syslog,User.Modify,VM.Allocate,VM.Audit,VM.Backup,VM.Clone,VM.Config.CDROM,VM.Config.CPU,VM.Config.Disk,VM.Config.HWType,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Console,VM.Migrate,VM.Monitor,VM.PowerMgmt,VM.Snapshot,VM.Snapshot.Rollback"},{"roleid":"NoAccess","privs":"","special":1},{"privs":"Pool.Allocate","roleid":"PVEPoolAdmin","special":1},{"privs":"VM.Audit,VM.Backup,VM.Config.CDROM,VM.Console,VM.PowerMgmt","roleid":"PVEVMUser","special":1},{"roleid":"PVETemplateUser","privs":"VM.Audit,VM.Clone","special":1},{"special":1,"roleid":"PVEAuditor","privs":"Datastore.Audit,Sys.Audit,VM.Audit"},{"privs":"Datastore.Allocate,Datastore.AllocateSpace,Datastore.AllocateTemplate,Datastore.Audit","roleid":"PVEDatastoreAdmin","special":1},{"roleid":"PVEUserAdmin","privs":"Group.Allocate,Realm.AllocateUser,User.Modify","special":1},{"special":1,"privs":"VM.Allocate,VM.Audit,VM.Backup,VM.Clone,VM.Config.CDROM,VM.Config.CPU,VM.Config.Disk,VM.Config.HWType,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Console,VM.Migrate,VM.Monitor,VM.PowerMgmt,VM.Snapshot,VM.Snapshot.Rollback","roleid":"PVEVMAdmin"},{"privs":"Datastore.Allocate,Datastore.AllocateSpace,Datastore.AllocateTemplate,Datastore.Audit,Group.Allocate,Permissions.Modify,Pool.Allocate,Realm.Allocate,Realm.AllocateUser,Sys.Audit,Sys.Console,Sys.Modify,Sys.PowerMgmt,Sys.Syslog,User.Modify,VM.Allocate,VM.Audit,VM.Backup,VM.Clone,VM.Config.CDROM,VM.Config.CPU,VM.Config.Disk,VM.Config.HWType,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Console,VM.Migrate,VM.Monitor,VM.PowerMgmt,VM.Snapshot,VM.Snapshot.Rollback","roleid":"Administrator","special":1}]}'
81
+ http_version:
82
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
83
+ - request:
84
+ method: get
85
+ uri: https://192.168.56.101:8006/api2/json/access/roles
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:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
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:46 GMT
107
+ Pragma:
108
+ - no-cache
109
+ Server:
110
+ - pve-api-daemon/3.0
111
+ Content-Length:
112
+ - '2147'
113
+ Content-Type:
114
+ - application/json;charset=UTF-8
115
+ Expires:
116
+ - Wed, 03 Apr 2019 13:32:46 GMT
117
+ body:
118
+ encoding: ASCII-8BIT
119
+ string: '{"data":[{"roleid":"PVETestAdmin","privs":"Group.Allocate,User.Modify","special":0},{"special":1,"privs":"Datastore.Allocate,Datastore.AllocateSpace,Datastore.AllocateTemplate,Datastore.Audit,Group.Allocate,Permissions.Modify,Pool.Allocate,Realm.AllocateUser,Sys.Audit,Sys.Console,Sys.Syslog,User.Modify,VM.Allocate,VM.Audit,VM.Backup,VM.Clone,VM.Config.CDROM,VM.Config.CPU,VM.Config.Disk,VM.Config.HWType,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Console,VM.Migrate,VM.Monitor,VM.PowerMgmt,VM.Snapshot,VM.Snapshot.Rollback","roleid":"PVEAdmin"},{"privs":"Datastore.AllocateSpace,Datastore.Audit","roleid":"PVEDatastoreUser","special":1},{"special":1,"privs":"Permissions.Modify,Sys.Audit,Sys.Console,Sys.Syslog","roleid":"PVESysAdmin"},{"special":1,"roleid":"PVEUserAdmin","privs":"Group.Allocate,Realm.AllocateUser,User.Modify"},{"roleid":"PVEDatastoreAdmin","privs":"Datastore.Allocate,Datastore.AllocateSpace,Datastore.AllocateTemplate,Datastore.Audit","special":1},{"privs":"VM.Allocate,VM.Audit,VM.Backup,VM.Clone,VM.Config.CDROM,VM.Config.CPU,VM.Config.Disk,VM.Config.HWType,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Console,VM.Migrate,VM.Monitor,VM.PowerMgmt,VM.Snapshot,VM.Snapshot.Rollback","roleid":"PVEVMAdmin","special":1},{"privs":"Datastore.Allocate,Datastore.AllocateSpace,Datastore.AllocateTemplate,Datastore.Audit,Group.Allocate,Permissions.Modify,Pool.Allocate,Realm.Allocate,Realm.AllocateUser,Sys.Audit,Sys.Console,Sys.Modify,Sys.PowerMgmt,Sys.Syslog,User.Modify,VM.Allocate,VM.Audit,VM.Backup,VM.Clone,VM.Config.CDROM,VM.Config.CPU,VM.Config.Disk,VM.Config.HWType,VM.Config.Memory,VM.Config.Network,VM.Config.Options,VM.Console,VM.Migrate,VM.Monitor,VM.PowerMgmt,VM.Snapshot,VM.Snapshot.Rollback","roleid":"Administrator","special":1},{"roleid":"PVEAuditor","privs":"Datastore.Audit,Sys.Audit,VM.Audit","special":1},{"special":1,"privs":"VM.Audit,VM.Backup,VM.Config.CDROM,VM.Console,VM.PowerMgmt","roleid":"PVEVMUser"},{"special":1,"privs":"VM.Audit,VM.Clone","roleid":"PVETemplateUser"},{"special":1,"privs":"Pool.Allocate","roleid":"PVEPoolAdmin"},{"special":1,"roleid":"NoAccess","privs":""}]}'
120
+ http_version:
121
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
3
122
  - request:
4
123
  method: post
5
124
  uri: https://192.168.56.101:8006/api2/json/access/users
@@ -12,9 +131,9 @@ http_interactions:
12
131
  Accept:
13
132
  - application/json
14
133
  Csrfpreventiontoken:
15
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
134
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
16
135
  Cookie:
17
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
136
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
18
137
  response:
19
138
  status:
20
139
  code: 200
@@ -25,7 +144,7 @@ http_interactions:
25
144
  Connection:
26
145
  - close, Keep-Alive
27
146
  Date:
28
- - Thu, 07 Jun 2018 14:30:35 GMT
147
+ - Wed, 03 Apr 2019 13:32:46 GMT
29
148
  Pragma:
30
149
  - no-cache
31
150
  Server:
@@ -35,27 +154,105 @@ http_interactions:
35
154
  Content-Type:
36
155
  - application/json;charset=UTF-8
37
156
  Expires:
38
- - Thu, 07 Jun 2018 14:30:35 GMT
157
+ - Wed, 03 Apr 2019 13:32:46 GMT
39
158
  body:
40
159
  encoding: ASCII-8BIT
41
160
  string: '{"data":null}'
42
161
  http_version:
43
- recorded_at: Thu, 07 Jun 2018 14:30:36 GMT
162
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
163
+ - request:
164
+ method: get
165
+ uri: https://192.168.56.101:8006/api2/json/access/users
166
+ body:
167
+ encoding: US-ASCII
168
+ string: ''
169
+ headers:
170
+ User-Agent:
171
+ - fog-core/1.45.0
172
+ Accept:
173
+ - application/json
174
+ Cookie:
175
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
176
+ response:
177
+ status:
178
+ code: 200
179
+ message: OK
180
+ headers:
181
+ Cache-Control:
182
+ - max-age=0
183
+ Connection:
184
+ - Keep-Alive
185
+ Date:
186
+ - Wed, 03 Apr 2019 13:32:46 GMT
187
+ Pragma:
188
+ - no-cache
189
+ Server:
190
+ - pve-api-daemon/3.0
191
+ Content-Length:
192
+ - '206'
193
+ Content-Type:
194
+ - application/json;charset=UTF-8
195
+ Expires:
196
+ - Wed, 03 Apr 2019 13:32:46 GMT
197
+ body:
198
+ encoding: ASCII-8BIT
199
+ string: '{"data":[{"email":"proxmox@proxmox.com","expire":0,"userid":"root@pam","enable":1},{"firstname":"Bob","expire":0,"lastname":"Sinclar","userid":"bobsinclar@pve","enable":1,"email":"bobsinclar@proxmox.com"}]}'
200
+ http_version:
201
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
202
+ - request:
203
+ method: get
204
+ uri: https://192.168.56.101:8006/api2/json/access/users
205
+ body:
206
+ encoding: US-ASCII
207
+ string: ''
208
+ headers:
209
+ User-Agent:
210
+ - fog-core/1.45.0
211
+ Accept:
212
+ - application/json
213
+ Cookie:
214
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
215
+ response:
216
+ status:
217
+ code: 200
218
+ message: OK
219
+ headers:
220
+ Cache-Control:
221
+ - max-age=0
222
+ Connection:
223
+ - Keep-Alive
224
+ Date:
225
+ - Wed, 03 Apr 2019 13:32:46 GMT
226
+ Pragma:
227
+ - no-cache
228
+ Server:
229
+ - pve-api-daemon/3.0
230
+ Content-Length:
231
+ - '206'
232
+ Content-Type:
233
+ - application/json;charset=UTF-8
234
+ Expires:
235
+ - Wed, 03 Apr 2019 13:32:46 GMT
236
+ body:
237
+ encoding: ASCII-8BIT
238
+ string: '{"data":[{"userid":"root@pam","enable":1,"expire":0,"email":"proxmox@proxmox.com"},{"userid":"bobsinclar@pve","lastname":"Sinclar","enable":1,"firstname":"Bob","expire":0,"email":"bobsinclar@proxmox.com"}]}'
239
+ http_version:
240
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
44
241
  - request:
45
242
  method: put
46
243
  uri: https://192.168.56.101:8006/api2/json/access/acl
47
244
  body:
48
245
  encoding: US-ASCII
49
- string: path=%2Faccess%2Fusers&roles=PVEUserAdmin&users=bobsinclar%40pve
246
+ string: path=%2Faccess&roles=PVETestAdmin&users=bobsinclar%40pve
50
247
  headers:
51
248
  User-Agent:
52
249
  - fog-core/1.45.0
53
250
  Accept:
54
251
  - application/json
55
252
  Csrfpreventiontoken:
56
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
253
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
57
254
  Cookie:
58
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
255
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
59
256
  response:
60
257
  status:
61
258
  code: 200
@@ -66,7 +263,7 @@ http_interactions:
66
263
  Connection:
67
264
  - Keep-Alive, Keep-Alive
68
265
  Date:
69
- - Thu, 07 Jun 2018 14:30:35 GMT
266
+ - Wed, 03 Apr 2019 13:32:46 GMT
70
267
  Pragma:
71
268
  - no-cache
72
269
  Server:
@@ -76,12 +273,12 @@ http_interactions:
76
273
  Content-Type:
77
274
  - application/json;charset=UTF-8
78
275
  Expires:
79
- - Thu, 07 Jun 2018 14:30:35 GMT
276
+ - Wed, 03 Apr 2019 13:32:46 GMT
80
277
  body:
81
278
  encoding: ASCII-8BIT
82
279
  string: '{"data":null}'
83
280
  http_version:
84
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
281
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
85
282
  - request:
86
283
  method: get
87
284
  uri: https://192.168.56.101:8006/api2/json/access/acl
@@ -94,7 +291,7 @@ http_interactions:
94
291
  Accept:
95
292
  - application/json
96
293
  Cookie:
97
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
294
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
98
295
  response:
99
296
  status:
100
297
  code: 200
@@ -105,37 +302,37 @@ http_interactions:
105
302
  Connection:
106
303
  - Keep-Alive
107
304
  Date:
108
- - Thu, 07 Jun 2018 14:30:35 GMT
305
+ - Wed, 03 Apr 2019 13:32:46 GMT
109
306
  Pragma:
110
307
  - no-cache
111
308
  Server:
112
309
  - pve-api-daemon/3.0
113
310
  Content-Length:
114
- - '113'
311
+ - '107'
115
312
  Content-Type:
116
313
  - application/json;charset=UTF-8
117
314
  Expires:
118
- - Thu, 07 Jun 2018 14:30:35 GMT
315
+ - Wed, 03 Apr 2019 13:32:46 GMT
119
316
  body:
120
317
  encoding: ASCII-8BIT
121
- string: '{"data":[{"propagate":"1","path":"/access/users","type":"user","ugid":"bobsinclar@pve","roleid":"PVEUserAdmin"}]}'
318
+ string: '{"data":[{"ugid":"bobsinclar@pve","propagate":"1","roleid":"PVETestAdmin","path":"/access","type":"user"}]}'
122
319
  http_version:
123
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
320
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
124
321
  - request:
125
322
  method: put
126
323
  uri: https://192.168.56.101:8006/api2/json/access/acl
127
324
  body:
128
325
  encoding: US-ASCII
129
- string: roles=PVEUserAdmin&path=%2Faccess%2Fusers&propagate=1&users=bobsinclar%40pve&delete=1
326
+ string: path=%2Faccess&roles=PVETestAdmin&users=bobsinclar%40pve&delete=1
130
327
  headers:
131
328
  User-Agent:
132
329
  - fog-core/1.45.0
133
330
  Accept:
134
331
  - application/json
135
332
  Csrfpreventiontoken:
136
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
333
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
137
334
  Cookie:
138
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
335
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
139
336
  response:
140
337
  status:
141
338
  code: 200
@@ -146,7 +343,7 @@ http_interactions:
146
343
  Connection:
147
344
  - Keep-Alive, Keep-Alive
148
345
  Date:
149
- - Thu, 07 Jun 2018 14:30:35 GMT
346
+ - Wed, 03 Apr 2019 13:32:46 GMT
150
347
  Pragma:
151
348
  - no-cache
152
349
  Server:
@@ -156,12 +353,12 @@ http_interactions:
156
353
  Content-Type:
157
354
  - application/json;charset=UTF-8
158
355
  Expires:
159
- - Thu, 07 Jun 2018 14:30:35 GMT
356
+ - Wed, 03 Apr 2019 13:32:46 GMT
160
357
  body:
161
358
  encoding: ASCII-8BIT
162
359
  string: '{"data":null}'
163
360
  http_version:
164
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
361
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
165
362
  - request:
166
363
  method: get
167
364
  uri: https://192.168.56.101:8006/api2/json/access/acl
@@ -174,7 +371,7 @@ http_interactions:
174
371
  Accept:
175
372
  - application/json
176
373
  Cookie:
177
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
374
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
178
375
  response:
179
376
  status:
180
377
  code: 200
@@ -185,7 +382,7 @@ http_interactions:
185
382
  Connection:
186
383
  - Keep-Alive
187
384
  Date:
188
- - Thu, 07 Jun 2018 14:30:35 GMT
385
+ - Wed, 03 Apr 2019 13:32:46 GMT
189
386
  Pragma:
190
387
  - no-cache
191
388
  Server:
@@ -195,12 +392,12 @@ http_interactions:
195
392
  Content-Type:
196
393
  - application/json;charset=UTF-8
197
394
  Expires:
198
- - Thu, 07 Jun 2018 14:30:35 GMT
395
+ - Wed, 03 Apr 2019 13:32:46 GMT
199
396
  body:
200
397
  encoding: ASCII-8BIT
201
398
  string: '{"data":[]}'
202
399
  http_version:
203
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
400
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
204
401
  - request:
205
402
  method: get
206
403
  uri: https://192.168.56.101:8006/api2/json/access/users
@@ -213,7 +410,7 @@ http_interactions:
213
410
  Accept:
214
411
  - application/json
215
412
  Cookie:
216
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
413
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
217
414
  response:
218
415
  status:
219
416
  code: 200
@@ -224,7 +421,7 @@ http_interactions:
224
421
  Connection:
225
422
  - Keep-Alive
226
423
  Date:
227
- - Thu, 07 Jun 2018 14:30:35 GMT
424
+ - Wed, 03 Apr 2019 13:32:46 GMT
228
425
  Pragma:
229
426
  - no-cache
230
427
  Server:
@@ -234,12 +431,12 @@ http_interactions:
234
431
  Content-Type:
235
432
  - application/json;charset=UTF-8
236
433
  Expires:
237
- - Thu, 07 Jun 2018 14:30:35 GMT
434
+ - Wed, 03 Apr 2019 13:32:46 GMT
238
435
  body:
239
436
  encoding: ASCII-8BIT
240
- string: '{"data":[{"lastname":"Sinclar","enable":1,"expire":0,"userid":"bobsinclar@pve","firstname":"Bob","email":"bobsinclar@proxmox.com"},{"userid":"root@pam","email":"proxmox@proxmox.com","enable":1,"expire":0}]}'
437
+ string: '{"data":[{"email":"proxmox@proxmox.com","expire":0,"userid":"root@pam","enable":1},{"enable":1,"lastname":"Sinclar","userid":"bobsinclar@pve","expire":0,"firstname":"Bob","email":"bobsinclar@proxmox.com"}]}'
241
438
  http_version:
242
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
439
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
243
440
  - request:
244
441
  method: delete
245
442
  uri: https://192.168.56.101:8006/api2/json/access/users/bobsinclar@pve
@@ -252,9 +449,9 @@ http_interactions:
252
449
  Accept:
253
450
  - application/json
254
451
  Csrfpreventiontoken:
255
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
452
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
256
453
  Cookie:
257
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
454
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
258
455
  response:
259
456
  status:
260
457
  code: 200
@@ -265,7 +462,7 @@ http_interactions:
265
462
  Connection:
266
463
  - Keep-Alive, Keep-Alive
267
464
  Date:
268
- - Thu, 07 Jun 2018 14:30:35 GMT
465
+ - Wed, 03 Apr 2019 13:32:46 GMT
269
466
  Pragma:
270
467
  - no-cache
271
468
  Server:
@@ -275,12 +472,12 @@ http_interactions:
275
472
  Content-Type:
276
473
  - application/json;charset=UTF-8
277
474
  Expires:
278
- - Thu, 07 Jun 2018 14:30:35 GMT
475
+ - Wed, 03 Apr 2019 13:32:46 GMT
279
476
  body:
280
477
  encoding: ASCII-8BIT
281
478
  string: '{"data":null}'
282
479
  http_version:
283
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
480
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
284
481
  - request:
285
482
  method: post
286
483
  uri: https://192.168.56.101:8006/api2/json/access/groups
@@ -293,9 +490,9 @@ http_interactions:
293
490
  Accept:
294
491
  - application/json
295
492
  Csrfpreventiontoken:
296
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
493
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
297
494
  Cookie:
298
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
495
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
299
496
  response:
300
497
  status:
301
498
  code: 200
@@ -306,7 +503,7 @@ http_interactions:
306
503
  Connection:
307
504
  - close, Keep-Alive
308
505
  Date:
309
- - Thu, 07 Jun 2018 14:30:35 GMT
506
+ - Wed, 03 Apr 2019 13:32:46 GMT
310
507
  Pragma:
311
508
  - no-cache
312
509
  Server:
@@ -316,27 +513,66 @@ http_interactions:
316
513
  Content-Type:
317
514
  - application/json;charset=UTF-8
318
515
  Expires:
319
- - Thu, 07 Jun 2018 14:30:35 GMT
516
+ - Wed, 03 Apr 2019 13:32:46 GMT
320
517
  body:
321
518
  encoding: ASCII-8BIT
322
519
  string: '{"data":null}'
323
520
  http_version:
324
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
521
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
522
+ - request:
523
+ method: get
524
+ uri: https://192.168.56.101:8006/api2/json/access/groups
525
+ body:
526
+ encoding: US-ASCII
527
+ string: ''
528
+ headers:
529
+ User-Agent:
530
+ - fog-core/1.45.0
531
+ Accept:
532
+ - application/json
533
+ Cookie:
534
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
535
+ response:
536
+ status:
537
+ code: 200
538
+ message: OK
539
+ headers:
540
+ Cache-Control:
541
+ - max-age=0
542
+ Connection:
543
+ - Keep-Alive
544
+ Date:
545
+ - Wed, 03 Apr 2019 13:32:46 GMT
546
+ Pragma:
547
+ - no-cache
548
+ Server:
549
+ - pve-api-daemon/3.0
550
+ Content-Length:
551
+ - '51'
552
+ Content-Type:
553
+ - application/json;charset=UTF-8
554
+ Expires:
555
+ - Wed, 03 Apr 2019 13:32:46 GMT
556
+ body:
557
+ encoding: ASCII-8BIT
558
+ string: '{"data":[{"groupid":"group1","comment":"Group 1"}]}'
559
+ http_version:
560
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
325
561
  - request:
326
562
  method: put
327
563
  uri: https://192.168.56.101:8006/api2/json/access/acl
328
564
  body:
329
565
  encoding: US-ASCII
330
- string: roles=PVEUserAdmin&path=%2Faccess%2Fusers&propagate=1&groups=group1
566
+ string: path=%2Faccess&roles=PVETestAdmin&groups=group1
331
567
  headers:
332
568
  User-Agent:
333
569
  - fog-core/1.45.0
334
570
  Accept:
335
571
  - application/json
336
572
  Csrfpreventiontoken:
337
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
573
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
338
574
  Cookie:
339
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
575
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
340
576
  response:
341
577
  status:
342
578
  code: 200
@@ -347,7 +583,7 @@ http_interactions:
347
583
  Connection:
348
584
  - Keep-Alive, Keep-Alive
349
585
  Date:
350
- - Thu, 07 Jun 2018 14:30:35 GMT
586
+ - Wed, 03 Apr 2019 13:32:46 GMT
351
587
  Pragma:
352
588
  - no-cache
353
589
  Server:
@@ -357,12 +593,12 @@ http_interactions:
357
593
  Content-Type:
358
594
  - application/json;charset=UTF-8
359
595
  Expires:
360
- - Thu, 07 Jun 2018 14:30:35 GMT
596
+ - Wed, 03 Apr 2019 13:32:46 GMT
361
597
  body:
362
598
  encoding: ASCII-8BIT
363
599
  string: '{"data":null}'
364
600
  http_version:
365
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
601
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
366
602
  - request:
367
603
  method: get
368
604
  uri: https://192.168.56.101:8006/api2/json/access/acl
@@ -375,7 +611,7 @@ http_interactions:
375
611
  Accept:
376
612
  - application/json
377
613
  Cookie:
378
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
614
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
379
615
  response:
380
616
  status:
381
617
  code: 200
@@ -386,37 +622,37 @@ http_interactions:
386
622
  Connection:
387
623
  - Keep-Alive
388
624
  Date:
389
- - Thu, 07 Jun 2018 14:30:35 GMT
625
+ - Wed, 03 Apr 2019 13:32:46 GMT
390
626
  Pragma:
391
627
  - no-cache
392
628
  Server:
393
629
  - pve-api-daemon/3.0
394
630
  Content-Length:
395
- - '106'
631
+ - '100'
396
632
  Content-Type:
397
633
  - application/json;charset=UTF-8
398
634
  Expires:
399
- - Thu, 07 Jun 2018 14:30:35 GMT
635
+ - Wed, 03 Apr 2019 13:32:46 GMT
400
636
  body:
401
637
  encoding: ASCII-8BIT
402
- string: '{"data":[{"propagate":"1","type":"group","path":"/access/users","roleid":"PVEUserAdmin","ugid":"group1"}]}'
638
+ string: '{"data":[{"roleid":"PVETestAdmin","propagate":"1","ugid":"group1","type":"group","path":"/access"}]}'
403
639
  http_version:
404
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
640
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
405
641
  - request:
406
642
  method: put
407
643
  uri: https://192.168.56.101:8006/api2/json/access/acl
408
644
  body:
409
645
  encoding: US-ASCII
410
- string: roles=PVEUserAdmin&path=%2Faccess%2Fusers&propagate=1&groups=group1&delete=1
646
+ string: path=%2Faccess&roles=PVETestAdmin&groups=group1&delete=1
411
647
  headers:
412
648
  User-Agent:
413
649
  - fog-core/1.45.0
414
650
  Accept:
415
651
  - application/json
416
652
  Csrfpreventiontoken:
417
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
653
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
418
654
  Cookie:
419
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
655
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
420
656
  response:
421
657
  status:
422
658
  code: 200
@@ -427,7 +663,7 @@ http_interactions:
427
663
  Connection:
428
664
  - Keep-Alive, Keep-Alive
429
665
  Date:
430
- - Thu, 07 Jun 2018 14:30:35 GMT
666
+ - Wed, 03 Apr 2019 13:32:46 GMT
431
667
  Pragma:
432
668
  - no-cache
433
669
  Server:
@@ -437,12 +673,12 @@ http_interactions:
437
673
  Content-Type:
438
674
  - application/json;charset=UTF-8
439
675
  Expires:
440
- - Thu, 07 Jun 2018 14:30:35 GMT
676
+ - Wed, 03 Apr 2019 13:32:46 GMT
441
677
  body:
442
678
  encoding: ASCII-8BIT
443
679
  string: '{"data":null}'
444
680
  http_version:
445
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
681
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
446
682
  - request:
447
683
  method: get
448
684
  uri: https://192.168.56.101:8006/api2/json/access/acl
@@ -455,7 +691,7 @@ http_interactions:
455
691
  Accept:
456
692
  - application/json
457
693
  Cookie:
458
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
694
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
459
695
  response:
460
696
  status:
461
697
  code: 200
@@ -466,7 +702,7 @@ http_interactions:
466
702
  Connection:
467
703
  - Keep-Alive
468
704
  Date:
469
- - Thu, 07 Jun 2018 14:30:35 GMT
705
+ - Wed, 03 Apr 2019 13:32:46 GMT
470
706
  Pragma:
471
707
  - no-cache
472
708
  Server:
@@ -476,15 +712,15 @@ http_interactions:
476
712
  Content-Type:
477
713
  - application/json;charset=UTF-8
478
714
  Expires:
479
- - Thu, 07 Jun 2018 14:30:35 GMT
715
+ - Wed, 03 Apr 2019 13:32:46 GMT
480
716
  body:
481
717
  encoding: ASCII-8BIT
482
718
  string: '{"data":[]}'
483
719
  http_version:
484
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
720
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
485
721
  - request:
486
- method: get
487
- uri: https://192.168.56.101:8006/api2/json/access/groups
722
+ method: delete
723
+ uri: https://192.168.56.101:8006/api2/json/access/groups/group1
488
724
  body:
489
725
  encoding: US-ASCII
490
726
  string: ''
@@ -493,8 +729,10 @@ http_interactions:
493
729
  - fog-core/1.45.0
494
730
  Accept:
495
731
  - application/json
732
+ Csrfpreventiontoken:
733
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
496
734
  Cookie:
497
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
735
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
498
736
  response:
499
737
  status:
500
738
  code: 200
@@ -503,27 +741,27 @@ http_interactions:
503
741
  Cache-Control:
504
742
  - max-age=0
505
743
  Connection:
506
- - Keep-Alive
744
+ - Keep-Alive, Keep-Alive
507
745
  Date:
508
- - Thu, 07 Jun 2018 14:30:35 GMT
746
+ - Wed, 03 Apr 2019 13:32:46 GMT
509
747
  Pragma:
510
748
  - no-cache
511
749
  Server:
512
750
  - pve-api-daemon/3.0
513
751
  Content-Length:
514
- - '51'
752
+ - '13'
515
753
  Content-Type:
516
754
  - application/json;charset=UTF-8
517
755
  Expires:
518
- - Thu, 07 Jun 2018 14:30:35 GMT
756
+ - Wed, 03 Apr 2019 13:32:46 GMT
519
757
  body:
520
758
  encoding: ASCII-8BIT
521
- string: '{"data":[{"groupid":"group1","comment":"Group 1"}]}'
759
+ string: '{"data":null}'
522
760
  http_version:
523
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
761
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
524
762
  - request:
525
763
  method: delete
526
- uri: https://192.168.56.101:8006/api2/json/access/groups/group1
764
+ uri: https://192.168.56.101:8006/api2/json/access/roles/PVETestAdmin
527
765
  body:
528
766
  encoding: US-ASCII
529
767
  string: ''
@@ -533,9 +771,9 @@ http_interactions:
533
771
  Accept:
534
772
  - application/json
535
773
  Csrfpreventiontoken:
536
- - 5B19418B:QxrPWRMjEoTkiZxozuSgk9POqlE
774
+ - 5CA4B5FE:JzR3XSygTzEu985HIIdZNk8lsC8
537
775
  Cookie:
538
- - PVEAuthCookie=PVE:root@pam:5B19418B::DdFKvPVhxmKCp4l6rFxE3hMNyY7IX0uZaoDTZL7u6CxNilzUSIfg6mSi6H5caZo2QRoK+73eWS3WV45dXANK7SjWw/pdkzSB9hreHKtohvg7G+Y///qRF6GcB4bzUxlHsK5Emm5FfrhYkoBwXz6p+kwpZVe6sa7munnVtEn5eB1471Qj2DlFzlB8yPVfHGBFvfCoqUh8XUomwU50Kpd6tPRCDwYaxXH2Guk2i4ZD6gxDrqCB+q1lw2LRAq7wG8UsG7HIqtDIsXDRKr0cdE3VxFN5Kgx73QXGtSmzl+BCDIwADUIphcTTZMnW0H3PeA/bDZ7L/Nu8nSHG7TtumMZN5A==
776
+ - PVEAuthCookie=PVE:root@pam:5CA4B5FE::PV5429PyZgWF/XjTk9r/Zibfow4+R0QQRA/ft6DEe8LaBkrHzj68jdt8K530G0fXc2ewj53Q8F+rfZpQeOAitzWbKmMjSZo1jf79OOHiW9ns+qlbyrG+mFE1NFMn3awiUL5RD50wsrrrKVS4v17TRPbIwpLdbYHKN3liyS+EBKZEzG5RLXRw3oU4DZaVuBnWgAuMVog8WpIFxG5NxDjQOXgm7kmzPv9OJOn4ZocQrsE5P12XGazk82QmT58eWDooD45NzlnSxAUPSS8bPguoc86EdL3LB1PhDXBth/dlZE+ktHQHvUgOV1qUMBzbDSfWGLU3PmZ+FekdtXUhhyN4Hg==
539
777
  response:
540
778
  status:
541
779
  code: 200
@@ -546,7 +784,7 @@ http_interactions:
546
784
  Connection:
547
785
  - Keep-Alive, Keep-Alive
548
786
  Date:
549
- - Thu, 07 Jun 2018 14:30:36 GMT
787
+ - Wed, 03 Apr 2019 13:32:46 GMT
550
788
  Pragma:
551
789
  - no-cache
552
790
  Server:
@@ -556,10 +794,10 @@ http_interactions:
556
794
  Content-Type:
557
795
  - application/json;charset=UTF-8
558
796
  Expires:
559
- - Thu, 07 Jun 2018 14:30:36 GMT
797
+ - Wed, 03 Apr 2019 13:32:46 GMT
560
798
  body:
561
799
  encoding: ASCII-8BIT
562
800
  string: '{"data":null}'
563
801
  http_version:
564
- recorded_at: Thu, 07 Jun 2018 14:30:37 GMT
802
+ recorded_at: Wed, 03 Apr 2019 13:32:47 GMT
565
803
  recorded_with: VCR 3.0.3