Skip to main content

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


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.8.tar.gz (257.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eclsdk-0.0.8-py2.py3-none-any.whl (550.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file eclsdk-0.0.8.tar.gz.

File metadata

  • Download URL: eclsdk-0.0.8.tar.gz
  • Upload date:
  • Size: 257.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for eclsdk-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6838d7d7a4f3ef2d3b0bdc0a1ff7c45184ac34c1dda040b41a05ec9d2aa42395
MD5 8d6bbebcd9cb93380e5539a683d3670d
BLAKE2b-256 b7d4943f3b35a3ea533086b1818c270fa2a3faaedfdea35c6cc841dac6ca367b

See more details on using hashes here.

File details

Details for the file eclsdk-0.0.8-py2.py3-none-any.whl.

File metadata

  • Download URL: eclsdk-0.0.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 550.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for eclsdk-0.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 876e3a20fd8bd688d34d0e4911908613754e762336b2af8ab9ec76f455de3ffb
MD5 e8e8c080f73cbfd198f90e666bdf3d58
BLAKE2b-256 7e3e6d9064a4b5ab8bad019c05933fd2aac08084a1164a3d4bd9cd3cda01e3ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page