Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Re-add openstack as a provider option #1183

Merged
merged 3 commits into from
Oct 10, 2017

Conversation

adam-stokes
Copy link
Contributor

This was missed during some of the refactoring, adding this option back in so
custom openstack clouds can be utilized.

Fixes #1171

Signed-off-by: Adam Stokes battlemidget@users.noreply.github.com

This was missed during some of the refactoring, adding this option back in so
custom openstack clouds can be utilized.

Fixes #1171

Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
This is a small refactor to keep the list of 'provider types' in a single area.

Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
@@ -18,7 +18,7 @@ def finish(self, cloud):
"""
self.cancel_monitor.set()

if cloud in ['localhost', 'vsphere', 'maas']:
if cloud in ['localhost', 'vsphere', 'maas', 'openstack']:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use the new list in consts.

@@ -4,6 +4,7 @@
JAAS_CLOUDS = {'ec2', 'azure', 'gce'}
JAAS_DOMAIN = 'jimm.jujucharms.com'
JAAS_ENDPOINT = JAAS_DOMAIN + ':443'
PROVIDER_TYPES = ['localhost', 'maas', 'vsphere', 'openstack']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is the best name, since it is a bit confusing with the list of Provider models. Maybe something like CUSTOM_CLOUDS?

Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
@adam-stokes adam-stokes merged commit 042a458 into master Oct 10, 2017
@adam-stokes adam-stokes deleted the bug/1171-readd-openstack-provider branch October 10, 2017 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants