Metadata-Version: 2.1
Name: eclsdk
Version: 0.0.10
Summary: SDK for building applications to work with Enterprise Cloud 2.0
Home-page: https://ecl.ntt.com
Author: NTT Communications
Author-email: ecl-cli-sdk@ntt.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: pbr (>=1.6)
Requires-Dist: six (>=1.9.0)
Requires-Dist: stevedore (>=1.16.0)
Requires-Dist: os-client-config (!=1.19.0,>=1.13.1)
Requires-Dist: keystoneauth1 (<=3.4.0,>=2.10.0)
Requires-Dist: openstacksdk (<=0.13.0)

Enterprise Cloud 2.0 Python SDK
================================

The ``eclsdk`` is a collection of libraries for building
applications to work with Enterprise Cloud 2.0.

Usage
-----

The following example simply connects to an Enterprise Cloud 2.0.::

    import ecl

    conn = ecl.connection.Connection(
        auth_url="http://ecl:5000/v3/",
        project_id="Tenant ID",
        username="API Key",
        password="API Secret Key",
        user_domain_id="default",
        project_domain_id="default")

    vols = conn.block_store.volumes()
    for vol in vols:
        print vol.name


Token can be used instead of username/password using auth_plugin='token'::

    import ecl

    conn = ecl.connection.Connection(
        auth_plugin='token'
        token='my-fancy-token1234'
        auth_url="http://ecl:5000/v3/",
        project_id="Tenant ID")

    vols = conn.block_store.volumes()
    for vol in vols:
        print vol.name


Documentation
-------------

Documentation is available at
https://ecl.ntt.com

License
-------

Apache 2.0



