initial updates to api v2.0.0:
- switch access backend to access-manager-api - change resource quota to pool based - simplify backend system - various cleanup
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
### Get ticket
|
||||
POST {{baseUrl}}/access/ticket
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
username={{username}}
|
||||
&password={{password}}
|
||||
|
||||
### Get instance resources
|
||||
GET {{baseUrl}}/cluster/{{testvmpath}}
|
||||
|
||||
### Test create instance
|
||||
|
||||
POST {{baseUrl}}/cluster/{{testvmpath}}/create
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
name=testvm
|
||||
&pool={{poolname}}
|
||||
&cores=8
|
||||
&memory=8192
|
||||
|
||||
### Test fail create instance
|
||||
|
||||
POST {{baseUrl}}/cluster/{{testvmpath}}/create
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
name=testvm
|
||||
&pool={{poolname}}
|
||||
&cores=9999
|
||||
&memory=8192
|
||||
|
||||
### Test delete instance
|
||||
|
||||
DELETE {{baseUrl}}/cluster/{{testvmpath}}/delete
|
||||
Reference in New Issue
Block a user