You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »




Logical Cloud API's


POST

POST
POST
URL: /v1/cadist/logicalcloud
POST BODY:
{
  lcname: "name of the logical cloud" //must be unique
}

RETURN STATUS: 201
RETURN BODY:
{
  lcname: "name of the logical cloud"
}


GET, DELETE

GET,DELETE
GET
URL: /v1/cadist/logicalcloud/{logicalcloudName}

RETURN STATUS: 200
RETURN BODY:
{
  lcname: "name of the logical cloud"
}

DELETE
URL: /v1/cadist/logicalcloud/{logicalcloudName}

RETURN STATUS: 204


Cluster API's


POST

POST
POST
URL: /v1/cadist/logicalcloud/{logicalcloudName}/cluster
POST BODY:
{ 
  cname: "cluster1", //must be unique with in the logical cloud
  "profile":"intermediate",
  "request":{"CN":"","hosts":["new.com"],"key":{"algo":"rsa","size":2048},"names":[{"C":"US","L":"Santa Clara","O":"Test,Inc.","OU":"WWW","ST":"CA"}]}
}
RETURN STATUS: 201
RETURN BODY: 
{
  lcname: "logical cloud name",
  cname: "name of the cluster",
  jsonbundle: {"rootcert": <cert>, "signedcert": <cert>, "prikey": <key>, "chain": <certs>}
} 


GET

GET
GET
URL: /v1/cadist/logicalcloud/{logicalcloudName}/cluster/{clusterName}

RETURN STATUS: 200
RETURN BODY:
{
  lcname: "logical cloud name",
  cname: "name of the cluster",
  jsonbundle: {"rootcert": <cert>, "signedcert": <cert>, "prikey": <key>, "chain": <certs>}
} 


DELETE

DELETE
DELETE
URL: /v1/cadist/logicalcloud/{logicalcloudName}/cluster/{clusterName}

RETURN STATUS: 204



  • No labels