yadutaf / docker-machine-driver-ovh

OVH Cloud driver for Docker Machine
https://www.ovh.com/us/cloud/instances/
80 stars 25 forks source link

Be more precise about what is ovh-project #20

Closed jfroche closed 8 years ago

jfroche commented 8 years ago

We want to make sure that user provides the project id (ex: 6705e3c6a1694bb181b8421649e7b24e)

yadutaf commented 8 years ago

Actually, name OR id is fine. As IDs are harder to find in the admin panel, I tend to favor the "name" expression as opposed to "id". If the name does not work, this is a bug.

yadutaf commented 8 years ago

While merging your previous PR, I tested with

docker-machine create -d ovh --ovh-project "docker-machine" test

It works as expected (read: with your fix) when selecting a project by name.

jfroche commented 8 years ago

API describe a project description but not a project name (https://api.ovh.com/console/#/cloud/project/%7BserviceName%7D#GET). You are right, we can provide both id or description/name. I have adapted the README and the commit msg.

yadutaf commented 8 years ago

Thanks!