X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=README.md;h=bc1f89c6ef394eadc8e161290f8650b71ced2241;hb=91b80f35e103943adb4ebbdee890e23131488e57;hp=1df94dfd03a3c5181afdb72753c7cb2e04c9930a;hpb=8160019e32e0c1009d7a98cf965b9bb9bf10f664;p=osm%2Fosmclient.git diff --git a/README.md b/README.md index 1df94df..bc1f89c 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,27 @@ # python-osmclient A python client for osm orchestration +A test commit + # 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. @@ -20,7 +30,7 @@ Example localhost$ export OSM_HOSTNAME=:8008 ``` -# Examples +# Examples ## upload vnfd ```bash @@ -71,6 +81,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)"