Coder Social home page Coder Social logo

naototty / conohacloud-osclient Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 32 KB

Metapackage to install python-openstackclient for Juno release and ConoHa Cloud extensions

License: Apache License 2.0

Python 62.87% Shell 10.21% Dockerfile 18.28% Makefile 8.65%

conohacloud-osclient's Introduction

conohacloud-osclient

Metapackage to install python-openstackclient for Juno release and ConoHa Cloud extensions

pip Install

pip install git+https://github.com/naototty/conohacloud-osclient.git

or

$ git clone https://github.com/naototty/conohacloud-osclient.git
$ cd conohacloud-osclient/
$ pip install -r pip-freeze-centos7-py27.txt

Better Install with virtualenv-wrapper

CentOS7

  1. install virtualenv, virtualenvwrapper
$ sudo yum yum install python-virtualenvwrapper.noarch python3-virtualenv-doc.noarch python-virtualenv.noarch
  1. create and load setup rc_file (for bash)
$ cat > rc_bash_venv_wrapper_setup.sh << __EOF
#!/bin/bash

if [ -f /usr/bin/virtualenvwrapper.sh ]; then
  ## export WORKON_HOME=$HOME/.virtualenvs
  export WORKON_HOME=$HOME/devel/API-test-env/.openstack/.virtualenvs
  export PROJECT_HOME=$HOME/devel/API-test-env

  source /usr/bin/virtualenvwrapper.sh
fi
__EOF

(openstack)[n-gohko@appdev02 API-test-env(ent-main-test-ze#2)]$ cat rc_bash_venv_wrapper_setup.sh
#!/bin/bash

if [ -f /usr/bin/virtualenvwrapper.sh ]; then
  ## export WORKON_HOME=$HOME/.virtualenvs
  export WORKON_HOME=$HOME/devel/API-test-env/.openstack/.virtualenvs
  export PROJECT_HOME=$HOME/devel/API-test-env

  source /usr/bin/virtualenvwrapper.sh
fi

load env.

source rc_bash_venv_wrapper_setup.sh
  1. mkvirtualenv openstack
$ mkvirtualenv openstack
  1. git clone and osc install by virtualenv
$  git clone https://github.com/naototty/conohacloud-osclient.git
$  cd conohacloud-osclient/
$  pip install -r pip-freeze-centos7-py27.txt

Usage

This metapackage will ensure that python-openstackclient and these extensions are installed that are compatible with the ConoHa cloud (OpenStack Juno based):

install_requires
  • os-client-config==1.17
  • keystoneauth1==2.6.0
  • openstacksdk==0.8.5
  • oslo.config==3.9.0

... etc. (Juno release OpenStack Client)

Changed

additional install
  • python-ironicclient==1.3.1 (mitaka)

conohacloud-osclient's People

Contributors

naototty avatar

Watchers

James Cloos avatar  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.