CloudPulse API
CloudPulse - Openstack health service for both cloud operators and cloud applications.
CloudPulse should be modular and configurable, so that the users can pick and choose the tests they want to run. We will need APIs for selecting and running specific tests and get test results. Users also on need to get the results of the tests run over a period of time to diagnose cloud issues, e.g last 60 mins.
All API shall return without waiting for long periods of time needed for the test to complete.
1. Start test
POST /cpulse/
mode - endpoint, functional, comprehensive
service - glance, nova, neutron, cinder, keystone, all
test-type - api, oper and upgrade
misc- For upgrade either snapshot or create resource before upgrade.
Output:
{
'info' : {
'id' : test-id,
'start-time' : time
}
}
2. Get test results
GET /cpulse/
Where
id
Output:
{
'info' : {
# for core-tests core/test-
'name' : 'ext/ext-
'id' : test-id,
'start-time' : time,
## end-time can be 'running', 'started', 'waiting', if not complete
'end-time' : time,
'result' : {
'api' : { 'endpoint' : { 'keystone' : ['pass'],
}
}
}
Blueprint information
- Status:
- Complete
- Approver:
- Vinod Pandarinathan
- Priority:
- High
- Drafter:
- Vinod Pandarinathan
- Direction:
- Approved
- Assignee:
- Vinod Pandarinathan
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- liberty-1
- Started by
- Vinod Pandarinathan
- Completed by
- Vinod Pandarinathan
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Cloudpulse application code