Commit Graph

6 Commits

Author SHA1 Message Date
Monty Taylor 5c2eae8f82
Replace guts with openstack.config
The code has been moved into openstacksdk. Make os-client-config a
thin wrapper around that code.

The legacy client code needs to stay, as it was removed in openstacksdk.

We also have to plumb os_client_config.defaults and
os_client_config.cloud_region.CloudRegion in so that users get the
os-client-config versions from the openstacksdk methods that return the
relevant objects.

Support for per-service region_name has been dropped. This was never
used anywhere and was added for compatibility with openstacksdk Profile
objects. Since Profile objects are no more, we can remove it. It never
made any sense.

Change-Id: I7180e20aa675c0ccbe3718493a6eff2be7e1b8b6
2018-04-27 08:42:17 -05:00
Mohammed Naser 4216b2fb84 Add image_format for VEXXHOST profile
Change-Id: I7d15abb4ee1cbe84f7d7b976bd665635018ed3dc
2018-03-19 16:42:24 -04:00
Monty Taylor 50efb434d8
Add support for indicating required floating IPs
Some clouds require that users add a floating IP to a server if the user
wants that server to be able to talk to things that are not on the
cloud. Some clouds do not require this and instead give servers a
directly attached IP. The only way a user can know is to boot a server,
then ask neutron for the port associated with that server, then find the
network the port came from and then try to infer whether or not that
network has the ability to route packets northbound. Of course, networks
don't actually communicate that quality directly, (router:external
doesn't mean a network routes externally, it means the network can have
a router attached to it to provide floating ips) so it's still hit and
miss.

Where we can, save the user the stress and strain of not knowing how
their cloud wants them to get an externally routable IP.

Change-Id: I1baf804ce28bc1997b2347c4648c5cc56c750ead
2017-02-08 08:25:21 -06:00
Mohammed Naser 8264e09c69 Added SSL support for VEXXHOST
VEXXHOST cloud uses SSL for Keystone and all other services,
change the auth URL to the SSL endpoint.

Change-Id: If80c76603de44d005d6af1726f34d924384bf747
2016-02-10 11:52:15 -05:00
Monty Taylor 6aecb87e7f Update vexxhost to Identity v3
There is a discovery URL for vexxhost for keystone v3. Also, there is a
new vexxhost domain for it. Also, vexxhost has DNS running designate v1.
And make the region list a list of one region, because there is a second
region coming soon.

Change-Id: Ie72c19976646f41c713124659e69725df59e1580
2015-12-06 10:44:25 -05:00
Monty Taylor 796bfad22d Use json for in-tree cloud data
In preparation for sharing the default and vendor data with other
projects, potentially even non-python ones, move the data into json
format, which is slighly less exciting to read, but has more widespread
standard library support. The user-facing config file will still be in
yaml format, because that's easier on the eyes and it's expected to be
read and edited by humans.

Continue to accept yaml everywhere, because an end user may have dropped
a yaml config file into a dir somewhere, and that's fine.

Change-Id: I269d31e61da433ac20abb39acdde0f9f9fe12837
2015-11-03 10:38:17 -05:00