CLI for Enterprise Cloud 2.0
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.
Enterprise Cloud CLI can be installed from PyPI using pip.
$ pip install eclcli
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
The CLI is configured via environment variables and command-line
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
$ ecl command list #Returns all available commands $ ecl baremetal server list #Returns list of baremetal servers $ ecl help baremetal #Returns help for any command
Please find more usage documentation here.
ECL2.0 users can raise requests via NTT Communications’ ticket portal.