CloudPulse Command Line interface
Command Line interface
1. Cpulse command summary
cpulse [run | result | list] [test-type] [ext-name] [mode] [service] [log-level]
test-type - api/oper/
ext-name - Extension name, applicable to extension tests only
mode - endpoint/func/comp for api-test
2. Executing a test using cpulse CLI
cpulse run test-type mode service log-level
Starts a test in the cpulse_server
Return value:
Status - status of the test request
start-time - Timestamp
3. Fetching status of test using cpulse CLI
cpulse result [id|latest] [time-min]
id - Returned by cpulse run, or latest for last test run
latest - Return the result of the last test run or last X min specified
Return value:
{
Status - status of the test request
Result - Json structure describing the test-status
health-index : # 0 cloud is dead, 100 cloud in good state, 50 when one galera node down
'info' : {
# for core-tests core/test-
'name' : 'ext/ext-
'id' : test-id,
## end-time can be 'running', 'started', 'waiting', if not complete
}
}
}
4. Listing all supported extensions
cpulse list [runnable | all]
runnable - All installed and runnable tests for deployment
All - All installed tests
{
'info' : {
'core' : [ 'api', 'oper', 'upgrade'],
'ext' : ['nagios', 'ganglia', 'ceilometer']
}
}
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- High
- Drafter:
- Vinod Pandarinathan
- Direction:
- Needs approval
- Assignee:
- Anand Shanmugam
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Good progress
- Milestone target:
- liberty-1
- Started by
- Vinod Pandarinathan
- Completed by