diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-08-04 17:10:27 +0530 |
---|---|---|
committer | Al Morton <acm@research.att.com> | 2021-09-29 21:33:46 +0000 |
commit | 48f947e94e36e877aa6889e10cda0bbdcd573ef4 (patch) | |
tree | 29b044162e9d7534f0b42746b26aa42955332917 /systems/pythonlibs/add_prox.sh | |
parent | 220aed1de03317d1ad6f3ebbec9f6b93e44522c7 (diff) |
Integrating DPPD-Prox with Vineperf
This patch adds Integration of DPPD-Prox with Vineperf
Added:
1. Results analysis - bug-fix
2. Restrict to baremetal for this patch.
3. Fix Pylint errors.
4. Copy Rapid private key too.
5. Remove SSH key.
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: I3ea7e6261e3fab06ef829f22153fe247372fc34b
Diffstat (limited to 'systems/pythonlibs/add_prox.sh')
-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) |