Przeglądaj źródła

Add cloud_type property to OpenStack provider class to be inline with the AWS provider class

Enis Afgan 10 lat temu
rodzic
commit
84672b15ca

+ 1 - 0
cloudbridge/cloud/providers/openstack/provider.py

@@ -28,6 +28,7 @@ class OpenStackCloudProvider(BaseCloudProvider):
 
 
     def __init__(self, config):
     def __init__(self, config):
         super(OpenStackCloudProvider, self).__init__(config)
         super(OpenStackCloudProvider, self).__init__(config)
+        self.cloud_type = 'openstack'
 
 
         # Initialize cloud connection fields
         # Initialize cloud connection fields
         self.username = self._get_config_value(
         self.username = self._get_config_value(