aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts
diff options
context:
space:
mode:
authorJohnson Li <johnson.li@intel.com>2017-09-22 10:57:16 +0800
committerJohnson Li <johnson.li@intel.com>2017-09-22 11:44:12 +0800
commite6c2c0cf83c90801273233594ff3d946e5407d33 (patch)
treecc4b4e9a386fb46105d5781a836289d87e180c2d /vnfs/vCPE/scripts
parent2b048ca69a0fb3b8a76746a1d6cb8cf5075a73c5 (diff)
Upgrade VES library from 4.2 to 5.x
Issue-ID: INT-80 Change-Id: I6ae3cabf62c85a8da85c8a4623db4aae0e5e4281 Signed-off-by: Johnson Li <johnson.li@intel.com>
Diffstat (limited to 'vnfs/vCPE/scripts')
-rw-r--r--vnfs/vCPE/scripts/v_gmux_install.sh19
1 files changed, 9 insertions, 10 deletions
diff --git a/vnfs/vCPE/scripts/v_gmux_install.sh b/vnfs/vCPE/scripts/v_gmux_install.sh
index e7d39377..9ab81403 100644
--- a/vnfs/vCPE/scripts/v_gmux_install.sh
+++ b/vnfs/vCPE/scripts/v_gmux_install.sh
@@ -71,7 +71,7 @@ apt-get install --allow-unauthenticated -y wget openjdk-8-jdk apt-transport-http
sleep 1
# Install the tools required for download codes
-apt-get install -y expect git patch
+apt-get install -y expect git patch make
#Download and build the VPP codes
cd /opt
@@ -81,28 +81,27 @@ wget -O Vpp-Add-VES-agent-for-vG-MUX.patch ${VPP_PATCH_URL}
cd vpp
patch -p1 < ../Vpp-Add-VES-agent-for-vG-MUX.patch
expect -c "
- set timeout 60;
spawn make install-dep;
expect {
\"Do you want to continue?*\" {send \"Y\r\"; interact}
}
"
-cd build-root
-./bootstrap.sh
-make V=0 PLATFORM=vpp TAG=vpp install-deb
-
# Install the evel-library first since we need the lib
cd /opt
apt-get install -y libcurl4-openssl-dev
-git clone https://github.com/att/evel-library.git
-cd evel-library/bldjobs
+git clone http://gerrit.onap.org/r/demo
+cd demo/vnfs/VES5.0/evel/evel-library/bldjobs
make
-cp /opt/evel-library/libs/libevel.so /usr/lib
+cp ../libs/x86_64/libevel.so /usr/lib
ldconfig
-# Install the VPP package
cd /opt/vpp/build-root
+./bootstrap.sh
+make V=0 PLATFORM=vpp TAG=vpp install-deb
+
+# Install the VPP package
+apt install -y python-ply-lex-3.5 python-ply-yacc-3.5 python-pycparser python-cffi
dpkg -i *.deb
systemctl stop vpp