# Path: libcloud/compute/types.py
# class Provider(object):
#     """
#     Defines for each of the supported providers
# 
#     @cvar DUMMY: Example provider
#     @cvar EC2_US_EAST: Amazon AWS US N. Virgina
#     @cvar EC2_US_WEST: Amazon AWS US N. California
#     @cvar EC2_EU_WEST: Amazon AWS EU Ireland
#     @cvar RACKSPACE: Rackspace Cloud Servers
#     @cvar RACKSPACE_UK: Rackspace UK Cloud Servers
#     @cvar SLICEHOST: Slicehost.com
#     @cvar GOGRID: GoGrid
#     @cvar VPSNET: VPS.net
#     @cvar LINODE: Linode.com
#     @cvar VCLOUD: vmware vCloud
#     @cvar RIMUHOSTING: RimuHosting.com
#     @cvar ECP: Enomaly
#     @cvar IBM: IBM Developer Cloud
#     @cvar OPENNEBULA: OpenNebula.org
#     @cvar DREAMHOST: DreamHost Private Server
#     @cvar CLOUDSIGMA: CloudSigma
#     """
#     DUMMY = 0
#     EC2 = 1  # deprecated name
#     EC2_US_EAST = 1
#     EC2_EU = 2 # deprecated name
#     EC2_EU_WEST = 2
#     RACKSPACE = 3
#     SLICEHOST = 4
#     GOGRID = 5
#     VPSNET = 6
#     LINODE = 7
#     VCLOUD = 8
#     RIMUHOSTING = 9
#     EC2_US_WEST = 10
#     VOXEL = 11
#     SOFTLAYER = 12
#     EUCALYPTUS = 13
#     ECP = 14
#     IBM = 15
#     OPENNEBULA = 16
#     DREAMHOST = 17
#     ELASTICHOSTS = 18
#     ELASTICHOSTS_UK1 = 19
#     ELASTICHOSTS_UK2 = 20
#     ELASTICHOSTS_US1 = 21
#     EC2_AP_SOUTHEAST = 22
#     RACKSPACE_UK = 23
#     BRIGHTBOX = 24
#     CLOUDSIGMA = 25
#     EC2_AP_NORTHEAST = 26
# 
# Path: libcloud/providers.py



    import secrets
import sys; sys.path.append('..')
from libcloud.compute.types import Provider
from libcloud.providers import get_driver
from pprint import pprint
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# This example provides both a running script (invoke from command line)
# and an importable module one can play with in Interactive Mode.
#
# See docstrings for usage examples.
#

try:
except:
    pass



def main(argv):
    """Main EC2 Demo

    When invoked from the command line, it will connect using secrets.py
    (see secrets.py.dist for setup instructions), and perform the following
    tasks:

    - List current nodes
    - List available images (up to 10)
    - List available sizes (up to 10)
    """
    # Load EC2 driver

# Path: libcloud/compute/types.py
# class Provider(object):
#     """
#     Defines for each of the supported providers
# 
#     @cvar DUMMY: Example provider
#     @cvar EC2_US_EAST: Amazon AWS US N. Virgina
#     @cvar EC2_US_WEST: Amazon AWS US N. California
#     @cvar EC2_EU_WEST: Amazon AWS EU Ireland
#     @cvar RACKSPACE: Rackspace Cloud Servers
#     @cvar RACKSPACE_UK: Rackspace UK Cloud Servers
#     @cvar SLICEHOST: Slicehost.com
#     @cvar GOGRID: GoGrid
#     @cvar VPSNET: VPS.net
#     @cvar LINODE: Linode.com
#     @cvar VCLOUD: vmware vCloud
#     @cvar RIMUHOSTING: RimuHosting.com
#     @cvar ECP: Enomaly
#     @cvar IBM: IBM Developer Cloud
#     @cvar OPENNEBULA: OpenNebula.org
#     @cvar DREAMHOST: DreamHost Private Server
#     @cvar CLOUDSIGMA: CloudSigma
#     """
#     DUMMY = 0
#     EC2 = 1  # deprecated name
#     EC2_US_EAST = 1
#     EC2_EU = 2 # deprecated name
#     EC2_EU_WEST = 2
#     RACKSPACE = 3
#     SLICEHOST = 4
#     GOGRID = 5
#     VPSNET = 6
#     LINODE = 7
#     VCLOUD = 8
#     RIMUHOSTING = 9
#     EC2_US_WEST = 10
#     VOXEL = 11
#     SOFTLAYER = 12
#     EUCALYPTUS = 13
#     ECP = 14
#     IBM = 15
#     OPENNEBULA = 16
#     DREAMHOST = 17
#     ELASTICHOSTS = 18
#     ELASTICHOSTS_UK1 = 19
#     ELASTICHOSTS_UK2 = 20
#     ELASTICHOSTS_US1 = 21
#     EC2_AP_SOUTHEAST = 22
#     RACKSPACE_UK = 23
#     BRIGHTBOX = 24
#     CLOUDSIGMA = 25
#     EC2_AP_NORTHEAST = 26
# 
# Path: libcloud/providers.py



# Path: demos/ec2_demo.py
    import secrets
import sys; sys.path.append('..')
from libcloud.compute.types import Provider
from libcloud.providers import get_driver
from pprint import pprint

# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# This example provides both a running script (invoke from command line)
# and an importable module one can play with in Interactive Mode.
#
# See docstrings for usage examples.
#

try:
except:
    pass



def main(argv):
    """Main EC2 Demo

    When invoked from the command line, it will connect using secrets.py
    (see secrets.py.dist for setup instructions), and perform the following
    tasks:

    - List current nodes
    - List available images (up to 10)
    - List available sizes (up to 10)
    """
    # Load EC2 driver

    EC2Driver = get_driver(Provider.EC2_US_EAST)