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.6.0.tar.gz
(274.3 kB
view details)
Built Distribution
eclsdk-1.6.0-py2.py3-none-any.whl
(565.7 kB
view details)
File details
Details for the file eclsdk-1.6.0.tar.gz
.
File metadata
- Download URL: eclsdk-1.6.0.tar.gz
- Upload date:
- Size: 274.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | affca4845e1603996792a5b00cbab23dc902bae1a37c5628980d74a2baf72ba9 |
|
MD5 | 43105360b08293c5fc8f644037fd3677 |
|
BLAKE2b-256 | 2a08fc5520b19bd9f7e7def8610c2065779ab218ddbc7d9853bf023358f79ccc |
File details
Details for the file eclsdk-1.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: eclsdk-1.6.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/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b28fdec57eff40d3949bb4aab34d53273614e401232871ffb77e70f4d68b466 |
|
MD5 | 6710a529e8a548cb2f5f90c4bbaf7432 |
|
BLAKE2b-256 | 67912ad16ec61bf0c87990e2db95e6a39b41b50d6b531946a3ea29d838125064 |