Skip to main content

CLI for Enterprise Cloud 2.0

Project description

Enterprise Cloud CLI (a.k.a eclcli) is an OpenStackClient based command-line client for NTT DOCOMO BUSINESS’ 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 DOCOMO BUSINESS’ ticket portal.

Contributing

Please contribute using Github Flow Create a branch, add commits, and open a pull request.

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

eclcli-4.7.0.tar.gz (417.3 kB view details)

Uploaded Source

Built Distribution

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

eclcli-4.7.0-py3-none-any.whl (622.2 kB view details)

Uploaded Python 3

File details

Details for the file eclcli-4.7.0.tar.gz.

File metadata

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

File hashes

Hashes for eclcli-4.7.0.tar.gz
Algorithm Hash digest
SHA256 642214ec6911a32bea2e1bc08ce695f83efe2c1291935cd7db083378052168d1
MD5 8c54019babef10ab64311aa4cb3c7a8a
BLAKE2b-256 5fe6b32e5f653d89cc5ba31c00036c4a4c706da1f3d4679a099fa50174e748d7

See more details on using hashes here.

File details

Details for the file eclcli-4.7.0-py3-none-any.whl.

File metadata

  • Download URL: eclcli-4.7.0-py3-none-any.whl
  • Upload date:
  • Size: 622.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.19

File hashes

Hashes for eclcli-4.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb1fb158b033e4f59e2ab945acf953aa78c909f68e17ab68cec6ad684649bfad
MD5 ee16eea608faa1159acbdca021eee903
BLAKE2b-256 59462878187b65ac89821c0f9812c54b02c02cb7ea8cdaa32cdb4c1ed8a56f0f

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