diff options
Diffstat (limited to 'systems')
-rwxr-xr-x | systems/pythonlibs/add_prox.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/systems/pythonlibs/add_prox.sh b/systems/pythonlibs/add_prox.sh new file mode 100755 index 00000000..36d15ad4 --- /dev/null +++ b/systems/pythonlibs/add_prox.sh @@ -0,0 +1,14 @@ +VINEPERFENV_DIR="$HOME/vsperfenv" + +if [ ! -d "$VINEPERFENV_DIR" ] ; then + echo "Directory $VINEPERFENV_DIR should exists. Please complete normal installation process" + exit +fi + +(source "$VINEPERFENV_DIR"/bin/activate +git clone https://gerrit.opnfv.org/gerrit/samplevnf /tmp/samplevnf +cd /tmp/samplevnf/VNFs/DPPD-PROX/helper-scripts/rapid +python setup.py build +python setup.py install +cp rapid_rsa_key ~/.ssh/ +rm -rf /tmp/samplevnf) |