X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=README.md;fp=README.md;h=43e838d5a0e3f7bebf7d87cbe9d0c0f08b4855fd;hb=b6ab5da8fa0f29fba2b71177a909ab814ba190fb;hp=b742339d730e1fb2f6d13733f443fe10e305f037;hpb=4647303cb33ad0836523035eefa8060e28169a3d;p=osm%2Fosmclient.git diff --git a/README.md b/README.md index b742339..43e838d 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,23 @@ A python client for osm orchestration # Installation -## Install dependencies +## python-osmclient +### Install dependencies ```bash -sudo apt-get install python-dev libcurl4-gnutls-dev python-pip libgnutls-dev python-prettytable   +sudo apt-get install python-dev libcurl4-gnutls-dev python-pip libgnutls-dev python-prettytable   sudo pip install pycurl ``` -## Install python-osmclient +### Install python-osmclient sudo pip install git+https://github.com/mfmarche/python-osmclient + +## Snap +```bash +apt install snapd +snap install osmclient --channel=beta +``` + # Setup Set the OSM_HOSTNAME variable to the host of the osm server. @@ -21,7 +29,7 @@ Example localhost$ export OSM_HOSTNAME=:8008 ``` -# Examples +# Examples ## upload vnfd ```bash @@ -72,6 +80,5 @@ localhost$ osm ns-list # Bash Completion python-osmclient uses [click](http://click.pocoo.org/5/). You can setup bash completion by putting this in your .bashrc: - - eval "$(_OSM_COMPLETE=source osm)" + eval "$(_OSM_COMPLETE=source osm)"