conoha-0.1.20
توضیحات
A command-line interface to the ConoHa.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | conoha-0.1.20 |
| نام | conoha |
| نسخه کتابخانه | 0.1.20 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shogo Ishikura |
| ایمیل نویسنده | ishikura_shogo@giginc.co.jp |
| آدرس صفحه اصلی | https://github.com/giginc/conoha |
| آدرس اینترنتی | https://pypi.org/project/conoha/ |
| مجوز | MIT |
conoha
=====================
| A command-line interface to the ConoHa.
| **conoha** は ConoHa_ をコマンドライン上で操作するために作られたCLIツールです。
.. _ConoHa: https://www.conoha.jp/
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
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | requests |
| - | toml |
نحوه نصب
نصب پکیج whl conoha-0.1.20:
pip install conoha-0.1.20.whl
نصب پکیج tar.gz conoha-0.1.20:
pip install conoha-0.1.20.tar.gz