Adding Cinder templates
Adding templates for: - Versions - Backups - Backup Actions - Capabilities - Consistency group snapshots - Volume type access - API extensions Change-Id: I22e4c41b075d282702ed52844cb5e2106ea96a77
This commit is contained in:
parent
1f8551fafa
commit
8a61f36e05
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/extensions HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,8 @@
|
||||
POST /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/backups/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/action HTTP/1.1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
||||
|
||||
{
|
||||
"os-force_delete": {}
|
||||
}
|
14
examples/templates/cinder/backups/create_backup.template
Normal file
14
examples/templates/cinder/backups/create_backup.template
Normal file
@ -0,0 +1,14 @@
|
||||
POST /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/backups HTTP/1.1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
||||
|
||||
{
|
||||
"backup": {
|
||||
"container": null,
|
||||
"description": null,
|
||||
"name": "backup001",
|
||||
"volume_id": "CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|",
|
||||
"incremental": true
|
||||
}
|
||||
}
|
3
examples/templates/cinder/backups/delete_backup.template
Normal file
3
examples/templates/cinder/backups/delete_backup.template
Normal file
@ -0,0 +1,3 @@
|
||||
DELETE /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/backups/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|} HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
3
examples/templates/cinder/backups/list_backups.template
Normal file
3
examples/templates/cinder/backups/list_backups.template
Normal file
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/backups HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/backups/detail HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
11
examples/templates/cinder/backups/restore_backup.template
Normal file
11
examples/templates/cinder/backups/restore_backup.template
Normal file
@ -0,0 +1,11 @@
|
||||
POST /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/backups/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/restore HTTP/1.1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
||||
|
||||
{
|
||||
"restore": {
|
||||
"name": "vol-01",
|
||||
"volume_id": "CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|"
|
||||
}
|
||||
}
|
3
examples/templates/cinder/backups/show_backup.template
Normal file
3
examples/templates/cinder/backups/show_backup.template
Normal file
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/backups/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|} HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/capabilities/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|} HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,15 @@
|
||||
POST /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/cgsnapshots HTTP/1.1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
||||
|
||||
{
|
||||
"cgsnapshot": {
|
||||
"consistencygroup_id": "CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|",
|
||||
"name": "firstcg",
|
||||
"description": "first consistency group",
|
||||
"user_id": "CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|",
|
||||
"project_id": "CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|",
|
||||
"status": "creating"
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DELETE /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/cgsnapshots/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|} HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/cgsnapshots/detail HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/cgsnapshots HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/cgsnapshots/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|} HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,3 @@
|
||||
GET / HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
@ -0,0 +1,3 @@
|
||||
GET /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/types/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/os-volume-type-access HTTP/1.1
|
||||
Accept: application/json
|
||||
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
Loading…
Reference in New Issue
Block a user