SDK for building applications to work with Enterprise Cloud 2.0
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eclsdk-0.0.16.tar.gz
(254.6 kB
view hashes)
Built Distribution
eclsdk-0.0.16-py2.py3-none-any.whl
(554.7 kB
view hashes)
Close
Hashes for eclsdk-0.0.16-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3a4ff96ba20ab81f488b735e471e60497406114e5e79fe6f1c5191b96c0fd95 |
|
MD5 | c4e1bad8cc262b61aae48fcc02762e48 |
|
BLAKE2b-256 | f0f5e71f06bf28f802fc51104f6627190756d1c6ef23fa2db81b8b8e68d48a81 |