Skip to content

Commit

Permalink
Merge pull request #14 from bortok/ixvision-zta
Browse files Browse the repository at this point in the history
ixvision-zta
  • Loading branch information
bortok authored Feb 12, 2019
2 parents 08b9f03 + 84ecb2e commit b03a761
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ Create virtual environment called `ixvision` in a directory of your choice:

Download VisionNPB library from GitHub:

cd "$PYENV_DIR"; git clone https://github.com/OpenIxia/VisionNPB.git
cd "$PYENV_DIR"; git clone https://github.com/bortok/VisionNPB.git

Clone IxVision-ZTA repository

git clone git@github.com:bortok/ixvision-ztp.git
git clone git@github.com:bortok/ixvision-zta.git

Download pre-requisite packages:

pip install -r ixvision-ztp/requirements.txt
pip install -r ixvision-zta/requirements.txt

Test by exporting a config from an NPB, using default credentials (you might need to change those):

Expand All @@ -48,7 +48,7 @@ Test by exporting a config from an NPB, using default credentials (you might nee

Test by inquering system information

"$PYENV_DIR/ixvision-ztp/ixvztp" -u $WEB_API_USERNAME -p $WEB_API_PASSWORD -d $DEVICE_IP sysinfo
"$PYENV_DIR/ixvision-zta/ixvztp" -u $WEB_API_USERNAME -p $WEB_API_PASSWORD -d $DEVICE_IP sysinfo


## Usage
Expand All @@ -58,7 +58,7 @@ Initialize python environment (you might need to adopt this to your setup, depen
export PYENV=ixvision
cd $PYENV; export PYENV_DIR=`pwd`
. "$PYENV_DIR/bin/activate"
PATH="$PYENV_DIR/ixvision-ztp":$PATH
PATH="$PYENV_DIR/ixvision-zta":$PATH

Remember to use proper credentials

Expand Down

0 comments on commit b03a761

Please sign in to comment.