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.17.tar.gz
(254.6 kB
view details)
Built Distribution
eclsdk-0.0.17-py2.py3-none-any.whl
(554.7 kB
view details)
File details
Details for the file eclsdk-0.0.17.tar.gz
.
File metadata
- Download URL: eclsdk-0.0.17.tar.gz
- Upload date:
- Size: 254.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
49f9eaf00977f4ae97c66e00b7fe08927f7f5c2f4e1d376efe08ecd114efd418
|
|
MD5 |
f18b98ba71fd7a62f84d2d4745a3bf85
|
|
BLAKE2b-256 |
13e42ec8694c2c54ae93d4de12c77a9b6dd2323b7c6f668ecced0cc81f514e17
|
File details
Details for the file eclsdk-0.0.17-py2.py3-none-any.whl
.
File metadata
- Download URL: eclsdk-0.0.17-py2.py3-none-any.whl
- Upload date:
- Size: 554.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2348cb01310fb1b3716d293ad948fa8fc568dfa2841298b550954a50d8918ed6
|
|
MD5 |
126dcb6101935faef7109b8875fa770c
|
|
BLAKE2b-256 |
6092e8a37e4010d9a6fd2ad40ed92ac25455d4d1d298ea825a5764a59e8aaa9d
|