fog/fog — pull request #1141 by scotje (2012-09-11 17:09:24+00:00)
Title: Minor Rackspace improvements.

These are just a few changes I found necessary/helpful when doing some server provisioning with fog and Rackspace's v2 compute cloud and DNS service.

- Implemented bootstrap method for Rackspace Compute v2.

- Added ability to set "metadata" and "personality" fields when creating a server on Rackspace Compute v2. (Allows you to send "cloud-init" data for post provision bootstrapping if your OS supports it.)

- Improved response parsing when dealing with Rackspace DNS service. (Basically, "A" and "AAAA" record values are now compared as IP addresses instead of strings. You can send Rackspace something like "192.168.001.001" as a value and you will get "192.168.1.1" in the response which doesn't match with simple string comparison.)

I haven't had time yet to familiarize myself with fog's unit testing but I thought I would start the request even without tests in case someone wanted to add them before I got around to it.

If you would prefer the DNS change as a separate pull request, let me know.