From f9119ed34fd76d273fbe0aed8e4b54ad5fb910ea Mon Sep 17 00:00:00 2001 From: bryan Date: Mon, 6 Mar 2017 12:37:36 -0800 Subject: vHello_VES bug fixes as below JIRA: VES-1 start.sh: correct customization of collector.conf. vHello_VES.sh: Fix monitor and start_collectd functions. Update instructions to match. Output VDU IPs as hint for subsequent actions. Change-Id: I76424fb30d56a81195dcec2a5b7f892d2f4675c6 Signed-off-by: bryan --- tests/blueprints/tosca-vnfd-hello-ves/start.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/blueprints/tosca-vnfd-hello-ves') diff --git a/tests/blueprints/tosca-vnfd-hello-ves/start.sh b/tests/blueprints/tosca-vnfd-hello-ves/start.sh index daaaf80..e5f8797 100755 --- a/tests/blueprints/tosca-vnfd-hello-ves/start.sh +++ b/tests/blueprints/tosca-vnfd-hello-ves/start.sh @@ -196,8 +196,10 @@ setup_monitor () { sudo chown ubuntu /home/ubuntu/ cd /home/ubuntu/ git clone https://github.com/att/evel-test-collector.git - sed -i -- "s/vel_username = /vel_username = $username/" evel-test-collector/config/collector.conf - sed -i -- "s/vel_password = /vel_password = $password/" evel-test-collector/config/collector.conf + sed -i -- "s/vel_username = /vel_username = $1/" evel-test-collector/config/collector.conf + sed -i -- "s/vel_password = /vel_password = $2/" evel-test-collector/config/collector.conf + sed -i -- "s~vel_path = vendor_event_listener/~vel_path = ~" evel-test-collector/config/collector.conf + sed -i -- "s/vel_topic_name = example_vnf/vel_topic_name = /" evel-test-collector/config/collector.conf sed -i -- "/vel_topic_name = /a vdu3_id = $vdu3_id" evel-test-collector/config/collector.conf sed -i -- "/vel_topic_name = /a vdu2_id = $vdu2_id" evel-test-collector/config/collector.conf sed -i -- "/vel_topic_name = /a vdu1_id = $vdu1_id" evel-test-collector/config/collector.conf -- cgit 1.2.3-korg