GithubHelp home page GithubHelp logo

kgws / conoha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from giginc/conoha

0.0 1.0 0.0 11 KB

A command-line interface to the ConoHa.

Home Page: https://pypi.org/project/conoha/

License: MIT License

Makefile 0.40% Python 99.60%

conoha's Introduction

conoha

A command-line interface to the ConoHa.
conohaConoHa をコマンドライン上で操作するために作られた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

conoha's People

Contributors

issys16 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.