Skip to main content

A command-line interface to the ConoHa.

Project description

conoha

A command-line interface to the ConoHa.
conohaConoHa をコマンドライン上で操作するために作られたCLIツールです。

Requirements

Python 3.0

Installation

以下のコマンドを実行することで conoha コマンドが利用可能になります。:

$ pip3 install conoha

Configuration

以下のコマンドを実行することで初期設定が完了します。:

$ conoha
username: XXXX
password: XXXX
tenant_id: XXXX
Authentication success.
初期設定を行った内容は ~/.conoha/config にTOML形式で保存されます。
※ユーザ情報が登録されているリージョンは自動で判定されます。

Usage

各コマンドには様々なオプションが存在し –help オプションで調べることができます。

VM一覧取得:

$ conoha compute vm list
$ conoha compute vm list --outline
$ conoha compute vm list --text

VMプラン一覧取得:

$ conoha compute flavor list
$ conoha compute flavor list --outline
$ conoha compute flavor list --text

イメージ一覧取得(nova):

$ conoha compute image list
$ conoha compute image list --outline
$ conoha compute image list --text

VM作成:

$ conoha compute vm create -i [IMAGE_ID] -f [FLAVOR_ID] --password [ADMIN_PASSWORD]

VM起動:

$ conoha compute vm up [VM_ID]

VM再起動:

$ conoha compute vm reboot [VM_ID]

VM通常停止:

$ conoha compute vm stop [VM_ID]

VM強制停止:

$ conoha compute vm stop [VM_ID] --force

License

MIT

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

conoha-0.1.14.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

conoha-0.1.14-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

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