summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincenzo Riccobene <vincenzox.m.riccobene@intel.com>2016-03-09 13:47:47 +0000
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-03-22 13:40:36 +0000
commitc281ce82f3aa4300cc210969aa70fbdccc3809c6 (patch)
treeb7167cb865cae0f51cf265046500deefdbecba72
parentf68b699e2994d6d0d8c5d021cea2718a19825945 (diff)
Bug Fix - select specific commit for smcroute within the vTC VM
Change-Id: I515c6355546758365346fab5babc3a0810de1f4a Signed-off-by: Vincenzo Riccobene <vincenzox.m.riccobene@intel.com> (cherry picked from commit 67a0722e9d6de8e9c772ddb4778ab53af9f9c9fd)
-rw-r--r--yardstick/vTC/apexlake/heat_templates/vTC.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/yardstick/vTC/apexlake/heat_templates/vTC.yaml b/yardstick/vTC/apexlake/heat_templates/vTC.yaml
index e0163e872..3bc4dcdfb 100644
--- a/yardstick/vTC/apexlake/heat_templates/vTC.yaml
+++ b/yardstick/vTC/apexlake/heat_templates/vTC.yaml
@@ -1,5 +1,5 @@
heat_template_version: 2014-10-16
-description: HOT template to deploy a vitual Traffic Classifier
+description: HOT template to deploy a virtual Traffic Classifier
parameters:
default_net:
@@ -70,7 +70,7 @@ resources:
# Creation of a user
echo "Creating custom user..."
useradd clouduser -g admin -s /bin/bash -m
- echo clouduser:secrete | chpasswd
+ echo clouduser:yardstick | chpasswd
echo "Enabling ssh password login..."
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
service ssh restart
@@ -81,19 +81,20 @@ resources:
ifconfig eth2 up
dhclient eth1
dhclient eth2
+ sed -i 's/localhost/localhost vtc/g' /etc/hosts
# Install vTC Dependencies
apt-get update
apt-get install -y git build-essential gcc libnuma-dev bison flex byacc libjson0-dev libcurl4-gnutls-dev jq dh-autoreconf libpcap-dev libpulse-dev libtool pkg-config
apt-get install -y byacc libtool libcurl4-openssl-dev
- sed -i 's/localhost/localhost vtc/g' /etc/hosts
cd /home/clouduser
# Setup multicast
echo mgroup from eth1 group 224.192.16.1 > /etc/smcroute.conf
git clone https://github.com/troglobit/smcroute.git
cd smcroute
+ git reset --hard c3f5c56
sed -i 's/aclocal-1.11/aclocal/g' ./autogen.sh
sed -i 's/automake-1.11/automake/g' ./autogen.sh
./autogen.sh