OpenStack: Allow to provide both tenant name and id

When sourcing an OpenStack rc file, both variables OS_TENANT_ID
and OS_TENANT_NAME are defined.

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
OpenStack: Switch some Info log to Debug

Allow to use $(machine url) without having to pipe the
result due to too verbose Info logs.

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
OpenStack: Allow docker client public key

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
OpenStack: Add inputs flavor, image and network by name

Added parameters:
    --openstack-image-name
    --openstack-flavor-name
    --openstack-net-name

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
Merge pull request #1 from gierschv/openstack-driver

Openstack driver bugfixes and enhancements
Wrap openstack.Client in an interface.

Signed-off-by: Ash Wilson <smashwilson@gmail.com>
Alternate openstack Driver creation method.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
De-smurf openstack.OpenStackClient.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Initial cut at a Rackspace driver.

This time, based on a specialization of the OpenStack one. :wrench:

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Register the Rackspace driver in commands.go.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Return a specific type from NewDerivedDriver.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Validate and default Rackspace-specific options.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Only log Openstack creation for Openstack drivers.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
There's no option for MachineName, yet.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Make service init calls into the driver methods.

Otherwise, because of the way Go does method dispatch, derived versions of
those methods will never be called.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Init methods are no-ops when already initialized.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
rackspace.Authenticate is also a no-op if authed.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Use the initialized client.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Fix the endpointType conditional.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Don't die if OS-EXT-IPS is not present.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>