Skip to main content

A NEO command line tools

Project description

Don’t let all those templates and commands burden your head. Sit back, relax and let neo-cli asks what you need.

neo-cli lower the barrier of understanding complicated templates, memorizing long command and parameters to create your cloud infrastructure. neo-cli will interactively ask what you need.

In addition, neo-cli aims to support diverse cloud platforms in near future. So no matter what your cloud platforms is, neo-cli will always be your friend.

Installation

$ pip install neo-cli

Features

  • Support common OpenStack operation: creating vm, listing vm, stack, network, floating ip, and removing and updating stacks.

  • Auto-login for previous account.

  • Support attaching local standard input, output, and error streams to a running machine.

  • Can be used as library for your OpenStack application.

Take the tour

List your virtual machine

$ neo ls vm

+-----------+----------+------------+------------+----------+------- ---+--------+--------------------------+----------+
| ID        | Name     | Key Pair   | Image      | Flavor   | RAM (GiB) |   vCPU | Addresses                | Status   |
+===========+==========+============+============+==========+===========+========+========================+============+
| 1bf4d720  | my-vm-1  | vm-key     | CentOS 7.5 | SS2.1    |         2 |      1 | network : default        | ACTIVE   |
|           |          |            |            |          |           |        | fixed IP : 192.168.68.5  |          |
+-----------+----------+------------+------------+----------+-----------+--------+--------------------------+----------+
| 9ca3e7d10 | my-vm-2  | vm-key     | CentOS 7.5 | SS2.1    |         2 |      1 | network : default        | ACTIVE   |
|           |          |            |            |          |           |        | fixed IP : 192.168.68.12 |          |
+-----------------------------------------------------------------------------------------------------------------------

Some info omitted.

Attach local terminal to running machine

$ neo attach vm c57a477b-84dc-4ae3-1234-5678
2020-04-02 01:22:34 INFO Check your key pairs
2020-04-02 01:22:38 INFO Done...
2020-04-02 01:22:38 INFO Check username
Username : centos
Last login: Wed Jul 31 04:52:07 2019 from 123.456.68.101
[centos@foo-vm ~]$

Creating stuffs

$ neo create
2020-04-02 01:25:57 ERROR Can't find neo.yml manifest file!
Do you want to generate neo.yml manifest?  [y/n]? y

Select Stack  :
- clusters
- networks
- instances
- others
Enter your choice :

Project information

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

neo-cli-0.9.7.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

neo_cli-0.9.7-py2.py3-none-any.whl (33.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file neo-cli-0.9.7.tar.gz.

File metadata

  • Download URL: neo-cli-0.9.7.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for neo-cli-0.9.7.tar.gz
Algorithm Hash digest
SHA256 88c8d731301ee5ae9735457f43afe11feb70e0d6f93ffdab23fcadee42073019
MD5 ac47ac637aa223af4703e8b83622de82
BLAKE2b-256 4639cf09874851ad2ac986a871873a7bcf4faacbfd1af452dbf05c47e9847469

See more details on using hashes here.

File details

Details for the file neo_cli-0.9.7-py2.py3-none-any.whl.

File metadata

  • Download URL: neo_cli-0.9.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for neo_cli-0.9.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5f1c9234b87ef7d4f36c5f2c4f48f08370dc5717c0618390133a4bc68071a1e3
MD5 484a53359a56aeca125ba1690ebddff7
BLAKE2b-256 e2ccfda1f094b6fdb1e1de449b41b3ec5b49deed17a283b208bdc4103309c491

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page