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

Uploaded Source

Built Distribution

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

eclsdk-1.9.0-py2.py3-none-any.whl (572.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: eclsdk-1.9.0.tar.gz
  • Upload date:
  • Size: 278.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.19

File hashes

Hashes for eclsdk-1.9.0.tar.gz
Algorithm Hash digest
SHA256 91c36371b929b597bb71e81a47f8612227a3452119dea3147552e6253d81ade4
MD5 1096fd3ce9f339e9af3d3570a49bba71
BLAKE2b-256 ac22bd41ce0e579ad27991c32e66f1103316acc25308e419fbe148f1b1e2b8ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eclsdk-1.9.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 572.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.19

File hashes

Hashes for eclsdk-1.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd3d70e0af43ad75fba9443ab64d16a6a2b74d85916495dd30739d1a4ac982ae
MD5 0c4049d1bb228e3dde5f45b6668f8a9d
BLAKE2b-256 ed4c6566f35889628f5863d4923e8644d72a057c6aba72c3920009b0cfa3e270

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