...
Key | Purpose | Default |
profile | Management server profile name | local |
url | Management server API url (it should contain full url with protocol, port etc and paths) | |
timeout | Timeout interval for polling async commands | 3600 |
apikey | User api key | "" |
secretkey | User secret key | "" |
verifysslcert | Enables/Disables SSL certification verification when making HTTP calls (per server profile) | true |
username | CloudStack user name | admin |
password | CloudStack user password | password |
color | Enable coloured output, set to false to disable | true |
prompt | cloudmonkey prompt | > |
display | Line based, JSON, or tabular output, set to default or json or table | default |
log_file | Log file | ~/.cloudmonkey/log |
history_file | History file | ~/.cloudmonkey/history |
asyncblock | Poll for async commands, making it false will cause cloudmonkey to return jobid | true |
paramcompletion | Tries to predict api for listing a parameter value for an api, experimental may failfalse | true |
Note: If both username/password and apikey/secretkey are set (i.e. have non-empty values), apikey and secretkey are used while making HTTP API calls.
By default cloudmonkey will create 'local' server profile when it will start.
...
Code Block |
---|
> list accounts listall=true | grep '^id\ =' > list users | wc -l > list routers | more |
...