conoha
A command-line interface to the ConoHa.
conoha は ConoHa をコマンドライン上で操作するために作られた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
Release files for conoha 0.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| conoha-0.1.20-py3-none-any.whl | Python 3 | none | any | Details |
Release files / conoha-0.1.20-py3-none-any.whl
| Download URL | conoha-0.1.20-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e99918fe6bfae2086cf19646361184fdb558c4a1eafa8656a31e86b2cac4ca42
|
|
BLAKE2b-256 checksum How to use checksums |
e127f7c6a9c5263f3b742620e67d8003316ece19ddd16d26312a8b33edfe068d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.7
|