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-1.5.0.tar.gz
(275.1 kB
view details)
Built Distribution
eclsdk-1.5.0-py2.py3-none-any.whl
(565.7 kB
view details)
File details
Details for the file eclsdk-1.5.0.tar.gz
.
File metadata
- Download URL: eclsdk-1.5.0.tar.gz
- Upload date:
- Size: 275.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc974624341fb7742a3090b021a24daa5f76c5bba456aa270e42525a492d2709 |
|
MD5 | e7a257f95dcbe94a0bfaf2e836963e06 |
|
BLAKE2b-256 | 8daf0da05cd3282e1e287c2cd6741e37eaf1477aa2603f760c06b3b9de632f29 |
File details
Details for the file eclsdk-1.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: eclsdk-1.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 565.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25286183cbeefd4edb41619b10bd3dd4784cd8d4c7680af7be44381d0ab633fb |
|
MD5 | d5371bfbb236343ad1d2a47e4f4945b2 |
|
BLAKE2b-256 | bcd1a7f8d8f45810185f058c19f60d56c4888896b82df0938c7a46b3e834d579 |