eclsdk-1.2.1
توضیحات
SDK for building applications to work with Enterprise Cloud 2.0
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | eclsdk-1.2.1 |
| نام | eclsdk |
| نسخه کتابخانه | 1.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | NTT Communications |
| ایمیل نویسنده | ecl-cli-sdk@ntt.com |
| آدرس صفحه اصلی | https://ecl.ntt.com |
| آدرس اینترنتی | https://pypi.org/project/eclsdk/ |
| مجوز | Apache License, Version 2.0 |
Enterprise Cloud 2.0 Python SDK
================================
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
نیازمندی
| مقدار | نام |
|---|---|
| >=1.6 | pbr |
| >=1.9.0 | six |
| >=1.16.0 | stevedore |
| !=1.19.0,>=1.13.1 | os-client-config |
| <=3.4.0,>=2.10.0 | keystoneauth1 |
| <=0.13.0 | openstacksdk |
نحوه نصب
نصب پکیج whl eclsdk-1.2.1:
pip install eclsdk-1.2.1.whl
نصب پکیج tar.gz eclsdk-1.2.1:
pip install eclsdk-1.2.1.tar.gz