Skip to main content

conoha-cli

注意: このプロジェクトは長い間メンテナンスされていません。 conoha-cliの代わりに python-openstackclient を使うことをお勧めします。 他の選択肢は giginc/conoha です。もしメンテナンスを引き継ぎたい方がいらっしゃったら、私に連絡をしてください。

conoha-cli は ConoHa API のコマンドラインインターフェースとPython3用ライブラリです。

インストール

conoha-cli はこのコマンドを実行するとインストールでいます:

$ pip3 install conoha-cli

次に、~/.config/conoha/config へこのようなファイルを作成してください。 user, passwd, tenantは、Conohaコントロールパネルから作成したAPIユーザ の値を入力してください。:

[api]
user = xxxxx
passwd = xxxxx
tenant = xxxxx

使い方

VPSの一覧を確認する:

$ conoha-cli compute list-vms

マシンリーダブルな形式でも出力できます:

$ conoha-cli --format plain --header no compute list-vms

VPSを起動・終了・削除する:

$ conoha-cli compute start-vm $VM_NAME
$ conoha-cli compute stop-vm  $VM_NAME
$ conoha-cli compute delete-vm $VM_NAME

ライセンス

MIT

Release files for conoha-cli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conoha-cli 0.3.0
File Size Uploaded
conoha-cli-0.3.0.tar.gz 22.6 kB Details

Release files / conoha-cli-0.3.0.tar.gz

Download URL conoha-cli-0.3.0.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d07bef4a9364af1afb3a26c66efc59f5013166164dcca64fb0efe780c53f5510
BLAKE2b-256 checksum
How to use checksums
c814a4d07f175e8032d624abf969dec39c433f880c9802e0938d9222d2e2a689
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.5

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page