summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbryan <bryan.sullivan@att.com>2017-03-07 06:40:59 -0800
committerbryan <bryan.sullivan@att.com>2017-03-07 06:40:59 -0800
commitaaaa9301f4ddb0d48926cccf7cd89be196b383cb (patch)
tree3f0622bac62ce00a8734c8a2f8df4ba7771d73d8 /tests
parent33547549793608d1fef82d758abe4aecbc874f05 (diff)
Fix VES API version in ves_plugin. Remove redundant steps.
JIRA: VES-1 VES API version should be v3. Removed sed lines that are now set in even_demo.c. Change-Id: Ifd229e031bb9aeffafb2bf90d687f63fca040130 Signed-off-by: bryan <bryan.sullivan@att.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/blueprints/tosca-vnfd-hello-ves/start.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/blueprints/tosca-vnfd-hello-ves/start.sh b/tests/blueprints/tosca-vnfd-hello-ves/start.sh
index b7e74bc..76de81d 100755
--- a/tests/blueprints/tosca-vnfd-hello-ves/start.sh
+++ b/tests/blueprints/tosca-vnfd-hello-ves/start.sh
@@ -52,6 +52,7 @@ setup_collectd () {
echo "$0: Install VES collectd plugin"
git clone https://git.opnfv.org/barometer
+ sudo sed -i -- "s/v1/v3/" barometer/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py
sudo sed -i -- "s/FQDNLookup true/FQDNLookup false/" $conf
sudo sed -i -- "s/#LoadPlugin cpu/LoadPlugin cpu/" $conf
@@ -164,12 +165,6 @@ setup_agent () {
echo "$0: Use vHello_VES blueprint version of agent_demo.c"
cp ves/tests/blueprints/tosca-vnfd-hello-ves/evel_demo.c evel-library/code/evel_demo/evel_demo.c
- echo "$0: Update parameters and build agent demo"
- # This sed command will add a line after the search line
- sed -i -- "s/api_port,/30000,/" evel-library/code/evel_demo/evel_demo.c
- sed -i -- "/api_secure,/{n;s/.*/ \"$username\",/}" evel-library/code/evel_demo/evel_demo.c
- sed -i -- "/\"$username\",/{n;s/.*/ \"$password\",/}" evel-library/code/evel_demo/evel_demo.c
-
echo "$0: Build evel_demo agent"
cd evel-library/bldjobs
make