...
Code Block |
---|
$ cd /tmp/cloudstack-cloudmonkey/apache-cloudstack-cloudmonkey-5.1.0-src
$ head -18 *.py */*.py
|
Verify that each file has the ASL
This assumes that you have a working CloudStack management server running that you can test against. Create a cloudmonkey config file along these lines (change as appropriate to your CloudStack installation)
Code Block |
---|
$ cd /tmp/cloudstack-cloudmonkey/ $ cat > test.cfg << EOF [core] cache_file = /tmp/cloudstack-cloudmonkey/cache log_file = /tmp/cloudstack-cloudmonkey/log asyncblock = true paramcompletion = false history_file = /tmp/cloudstack-cloudmonkey//history [ui] color = true prompt = > display = default [user] secretkey = apikey = username = admin password = password [server] path = /client/api host = localhost protocol = http port = 8080 timeout = 3600 expires = 300 EOF |
Start cloudmonkey
Code Block |
---|
$ cd /tmp/cloudstack-cloudmonkey/apache-cloudstack-cloudmonkey-5.1.0-src/cloudmonkey
$ python cloudmonkey.py -c ../../test.cfg
|
Make sure you see '5.1.0' in the welcome message.
Try some initial tests
Code Block |
---|
> list zones
> list virtualmachines |
Also make sure you try some asynchronous apis such as 'deploy virtualmachine'.
Edit the configuration file and enter valid values for the api key and secret key. Redo the tests.
End!
If we made it this far, the release has at least been reasonably "smoke tested".