Conversation
Allows a username to be passed to `vcloud-login` on the command line. Rather than always prompting for it. This makes it easier to use against Platform1, where the username is a UID and has to be suffixed with the organisation UID, which is annoying when the auth token expires every hour or so.
|
Why wasn't this merged, this is pretty cool? |
|
Two reasons:
Somewhere between the two of those, this pull request got orphaned. Feel free to fork the repo and do whatever you want to the code - it's MIT Licensed |
|
Ah, sorry to hear you went to Ruby from Python. Well I'll star the new repo then. Thanks @samjsharpe |
|
This tool was a quick hack while we were playing around with the vCloud API - it's really helpful if you want to play around with the API with a view to integrating with it. I guess @nickstenning found it quicker to do that in Python than Ruby (as would I :-). Our provisioning toolset's always been Ruby unfortunately, because back in 2011 when we were on AWS we used Fog (and Ruby) because Apache Libcloud didn't exist and we hacked our Fog stuff to support vCloud so we could provision our current infrastructure, but it was really ugly. Back in the middle of 2013, we had several discussions about rewriting and open-sourcing our tooling either properly in Fog or in Apache Libcloud - in the end we went with Fog primarily because Rodrigo Estebanez had just released the vcloud_director driver for it which cut down the work we needed to do. |
Allows a username to be passed to
vcloud-loginon the command line. Ratherthan always prompting for it.
This makes it easier to use against Platform1, where the username is a UID
and has to be suffixed with the organisation UID, which is annoying when the
auth token expires every hour or so.
/cc @alphagov/gov-uk-infrastructure