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 コマンドが利用可能になります。:

$ pip 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.12.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file conoha-0.1.12.tar.gz.

File metadata

  • Download URL: conoha-0.1.12.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for conoha-0.1.12.tar.gz
Algorithm Hash digest
SHA256 e50412ca39597513086d097cf30855a2ea32e08278b53b3e4374402c20f3cbb8
MD5 12c7e66d53792bc23f731e6730c7510f
BLAKE2b-256 663d53174e5adca00ff737d22f83b95962bdc8ba08a4f04a329d76a093b9305a

See more details on using hashes here.

Supported by

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