Skip to main content

conoha-cli

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

conoha-cliConoHa 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conoha-cli-0.3.0.tar.gz (22.6 kB view details)

Uploaded Source

File details

Details for the file conoha-cli-0.3.0.tar.gz.

File metadata

  • Download URL: conoha-cli-0.3.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for conoha-cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d07bef4a9364af1afb3a26c66efc59f5013166164dcca64fb0efe780c53f5510
MD5 294f816a6a66505b733769257112db31
BLAKE2b-256 c814a4d07f175e8032d624abf969dec39c433f880c9802e0938d9222d2e2a689

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

1 file

0.0.5

0.0.4

1 file

Supported by

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