conoha
A command-line interface to the ConoHa.
conoha は ConoHa をコマンドライン上で操作するために作られた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
Release files for conoha 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| conoha-0.1.12.tar.gz | 4.8 kB | Details |
Release files / conoha-0.1.12.tar.gz
| Download URL | conoha-0.1.12.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e50412ca39597513086d097cf30855a2ea32e08278b53b3e4374402c20f3cbb8
|
|
BLAKE2b-256 checksum How to use checksums |
663d53174e5adca00ff737d22f83b95962bdc8ba08a4f04a329d76a093b9305a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |