summaryrefslogtreecommitdiffstats
path: root/tests/blueprints
diff options
context:
space:
mode:
authorbryan <bryan.sullivan@att.com>2017-03-06 12:37:36 -0800
committerbryan <bryan.sullivan@att.com>2017-03-06 12:37:36 -0800
commitf9119ed34fd76d273fbe0aed8e4b54ad5fb910ea (patch)
tree8090fbbeae8f160d25bdbc48e48aa19878697fa2 /tests/blueprints
parent186ffae2257713b6a57d6bd156fa131592da334d (diff)
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 <bryan.sullivan@att.com>
Diffstat (limited to 'tests/blueprints')
-rwxr-xr-xtests/blueprints/tosca-vnfd-hello-ves/start.sh6
1 files changed, 4 insertions, 2 deletions
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