From aaaa9301f4ddb0d48926cccf7cd89be196b383cb Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 7 Mar 2017 06:40:59 -0800 Subject: 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 --- tests/blueprints/tosca-vnfd-hello-ves/start.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests') 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 -- cgit 1.2.3-korg