Clean up of @hellboy2k8 last commit
Removed debugging code
Changes:
- Moved the code in /clusters POST TO services/cluster.py
- Created a separate associate_public_ip() i services/cluster.py
- Removed services/associateIP.py
Updated gitignore to ignore properties and *.swp files. Removed properties file
Removed comments
Bunch of fixes/improvements:
- Changed returned CID to lowercase
- implemented delete API
- added 'name' key in the clusterdetails dict.
Bug: simplejson.dumps() lead to unicode where as we needed list. Saved instance.id instead of instance's __str__
moved curlTest.sh to cluster_test.sh and wrote create() and delete() for easier testing
deleted .swp files
Bug: cluster.py/delete() instances are completely terminated when they are queried and an error is raised
Public/Floating IPs are released when the cluster is destroyed
Use RANDOM integer value as cluster name
Basic Job API implemented