You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2014/01/12 02:29:03 UTC

[4/4] git commit: Add __all__ to ec2 module.

Add __all__ to ec2 module.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9548848c
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9548848c
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9548848c

Branch: refs/heads/trunk
Commit: 9548848cba3a3a9b9ffe6cd5ec4ca1736fa87c06
Parents: 439adb3
Author: Tomaz Muraus <to...@apache.org>
Authored: Sun Jan 12 02:22:10 2014 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sun Jan 12 02:22:10 2014 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/9548848c/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 54459a1..fb7b5c9 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -40,6 +40,27 @@ from libcloud.compute.base import NodeImage, StorageVolume, VolumeSnapshot
 from libcloud.compute.base import KeyPair
 from libcloud.compute.types import NodeState, KeyPairDoesNotExistError
 
+__all__ = [
+    'API_VERSION',
+    'NAMESPACE',
+    'INSTANCE_TYPES',
+
+    'EC2NodeDriver',
+    'BaseEC2NodeDriver',
+
+    'NimbusNodeDriver',
+    'EucNodeDriver',
+
+    'EC2NodeLocation',
+    'EC2ReservedNode',
+    'EC2Network',
+    'EC2NetworkSubnet',
+    'EC2NetworkInterface',
+    'ExEC2AvailabilityZone',
+
+    'IdempotentParamError'
+]
+
 API_VERSION = '2013-10-15'
 NAMESPACE = 'http://ec2.amazonaws.com/doc/%s/' % (API_VERSION)