|
|
@@ -52,45 +52,6 @@ class CloudResource(object):
|
|
|
pass
|
|
|
|
|
|
|
|
|
-class CloudBridgeBaseException(Exception):
|
|
|
-
|
|
|
- """
|
|
|
- Base class for all CloudBridge exceptions
|
|
|
- """
|
|
|
- pass
|
|
|
-
|
|
|
-
|
|
|
-class WaitStateException(CloudBridgeBaseException):
|
|
|
-
|
|
|
- """
|
|
|
- Marker interface for object wait exceptions.
|
|
|
- Thrown when a timeout or errors occurs waiting for an object does not reach
|
|
|
- the expected state within a specified time limit.
|
|
|
- """
|
|
|
- pass
|
|
|
-
|
|
|
-
|
|
|
-class InvalidConfigurationException(CloudBridgeBaseException):
|
|
|
-
|
|
|
- """
|
|
|
- Marker interface for invalid launch configurations.
|
|
|
- Thrown when a combination of parameters in a LaunchConfig
|
|
|
- object results in an illegal state.
|
|
|
- """
|
|
|
- pass
|
|
|
-
|
|
|
-
|
|
|
-class ProviderConnectionException(CloudBridgeBaseException):
|
|
|
-
|
|
|
- """
|
|
|
- Marker interface for connection errors to a cloud provider.
|
|
|
- Thrown when cloudbridge is unable to connect with a provider,
|
|
|
- for example, when credentials are incorrect, or connection
|
|
|
- settings are invalid.
|
|
|
- """
|
|
|
- pass
|
|
|
-
|
|
|
-
|
|
|
class Configuration(dict):
|
|
|
"""
|
|
|
Represents a cloudbridge configuration object
|