retr0h/cookbook-openstack-common — pull request #1 by retr0h (2012-11-21 01:17:33+00:00)
Title: Quite a bit of refactors

* qualified Openstack module name
* No longer stub out uri_from_hash
* Bit of cleanup in the tests and library
* Reworked tests to get them to pass

Most importantly
* Ability to return raw uri object for endpoint_uri

This will allow us to do

identity_admin_endpoint = endpoint_url('identity-admin')

..

auth_host identity_admin_endpoint.host
auth_port identity_admin_endpoint.port

vs

auth_port identity_admin_endpoint["port"]
auth_host identity_admin_endpoint["host"]

Which are the cookbook defaults. I already override them with URI, let me use it.