CLI for Enterprise Cloud 2.0
Project description
Enterprise Cloud CLI (a.k.a eclcli) is an OpenStackClient based command-line client for NTT Communications’ Enterprise Cloud 2.0 that brings the command set for Baremetal, Compute, SSS, Image, Network, Block Storage and various other APIs together in a single shell with a uniform command structure.
The primary goal is to provide a unified user experience for various services provide in ECL2.0 through a uniform command structure.
Getting Started
Enterprise Cloud CLI can be installed from PyPI using pip.
$ pip install eclcli
Yet it is strongly advised to use virtualenv to avoid conflicts with system packages, in short:
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install --upgrade eclcli
For experienced users we suggest using pyenv with pyenv-virtualenv plugin:
Configuration
Before you are able to use CLI you must configure it.
The CLI is configured via command-line, environment variables and ~/.config/ecl/clouds.yaml file.
Authentication using username/password is most commonly used.
$ export OS_USERNAME=<username>
$ export OS_PASSWORD=<password>
$ export OS_TENANT_ID=<tenant_id>
$ export OS_AUTH_URL=<auth_url>
$ export OS_PROJECT_DOMAIN_ID=default
$ export OS_USER_DOMAIN_ID=default
In certain cases it may be more convenient to use file based configuration using file ~/.config/ecl/clouds.yaml.
For more information see ECL tutorial page. Notice, though, that you may need to use –os-cloud option parameter to specify which credentials to use from the file.
Listing command references
There are a few variants on getting help. A list of global options are supported with --help.
$ ecl --help
There is also a help command that can be used to get help text for a specific command.
$ ecl help baremetal server create
Usage
$ ecl command list
# Returns all available commands
$ ecl baremetal server list
# Returns list of baremetal servers
$ ecl help baremetal
# Returns help for any command
Documentation
Please find more usage documentation on official site.
Support
ECL2.0 users can raise requests via NTT Communications’ ticket portal.
Contributing
Please contribute using Github Flow Create a branch, add commits, and open a pull request.
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
Built Distribution
File details
Details for the file eclcli-4.5.0.tar.gz
.
File metadata
- Download URL: eclcli-4.5.0.tar.gz
- Upload date:
- Size: 414.8 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 | 4231294328b2c6b39e7e02c7a4090c8e8c329dbfc7200abf15495944c6299701 |
|
MD5 | 0efb3de2d84c7efc897943ef1bfc689d |
|
BLAKE2b-256 | 90991731100bdb4a3c5be4248e62da7316d7e8a5a19883f5552dab253f247304 |
File details
Details for the file eclcli-4.5.0-py3-none-any.whl
.
File metadata
- Download URL: eclcli-4.5.0-py3-none-any.whl
- Upload date:
- Size: 619.9 kB
- Tags: 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 | 4ba387ac44bccfc08e9d3767a6c9bde223e7c21314e7d9819076efc098727add |
|
MD5 | 49327dfd1da1f6205fffebaebbccbf0b |
|
BLAKE2b-256 | e9201db2f3f43b7b915ce5fc3a4c787a8d0d61c0113c5b8a258ce548275eaa0d |