Openstack Client Developers Guide¶
1. Introduction¶
This is the developers guide to Openstack Client.
1.1 What is Openstack client?
Acumos provides deployment of model in Openstack cloud :
- Deploy single solution from Acumos marketplace in Openstack clould.
- Deploy composite solution from Acumos marketplace in Openstack clould.
1.2 Target Users
This guide is targeted towards the open source user community that:
- Intends to understand the functionality of the Openstack client.
1.3 Openstack client - Flow Chart
1.5 Openstack client Flow Structure:
Page Name: Model/Solution Landing Page
- Clicking on <Deploy to Cloud> for Deploy model .
- <Deploy to Cloud> should prompt details about MS Azure (Inputs TBD),Rackspace etc..
- Select <rackspace> from Drop down and fill all details for Deployment.
2. Model Deployment¶
2.1 Single Solution
- openstack/singleImageOpenstackDeployment
- Trigger
This API is used to deploy single solution in openstack cloud.
- Request
- {
“imagetag”: “test-nexus01:8001/newadder1:1”,
“solutionId”: “02eab846-2bd0-4cfe8470-9fc69fa0d877”,
“solutionRevisionId”: “a9e68bc6-f4b4-41c6-ae8e-4e97ec3916a6”,
“userId”: “0505e537-ce79-4b1f-bf43-68d88933c369”,
“vmName”: “Gold80”
}
- Response
{ “status”: “SUCCESS”, “UIDNumber”: “Unique Transaction Number” }
2.2 Composite Solution
- openstack/compositeSolutionOpenstackDeployment
- Trigger:
This API is used to deploy Composite solution in openstack cloud.
- Request:
- {
“jsonMapping”: “testMapping”,
“jsonPosition”: “testPosition”,
“urlAttribute”: “testUrl”,
“imagetag”: “test-nexus01:8001/newadder1:1”,
“solutionId”: “02eab846-2bd0-4cfe8470-9fc69fa0d877”,
“solutionRevisionId”: “a9e68bc6-f4b4-41c6-ae8e-4e97ec3916a6”,
“userId”: “0505e537-ce79-4b1f-bf43-68d88933c369”,
“vmName”: “Gold80”
}
- Response:
{ “status”: “SUCCESS”, “UIDNumber”: “Unique Transaction Number” }