diff options
author | blsaws <bryan.sullivan@att.com> | 2016-10-12 18:06:02 -0700 |
---|---|---|
committer | blsaws <bryan.sullivan@att.com> | 2016-10-12 18:06:02 -0700 |
commit | 84ec269ef1a3685b10525f7925264300c0367e25 (patch) | |
tree | 58d8feaf6306ea70402d018e2ced0ba73ba13fca /tests/vHello_VES.sh | |
parent | 39ddc27a31d3e12b51db88ddace64135399d3e35 (diff) |
Add baseline of agent code
JIRA: VES-1
Change-Id: I43f852d61a8c821bd5099c5a9b02d8a65caa19dd
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'tests/vHello_VES.sh')
-rw-r--r-- | tests/vHello_VES.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/vHello_VES.sh b/tests/vHello_VES.sh index 7c65199..32ac092 100644 --- a/tests/vHello_VES.sh +++ b/tests/vHello_VES.sh @@ -252,6 +252,9 @@ collector () { VDU2_IP=$(openstack server show $VDU2_ID | awk "/ addresses / { print \$6 }") VDU2_URL="http://$VUD2_IP:30000" + echo "$0: Stop the VES Collector in VDU2 if running" + ssh -i /tmp/tacker/vHello.pem -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$VDU2_IP "sudo kill $(ps -ef | grep evel-test-collector | awk '{print $2}')" + echo "$0: Start the VES Collector in VDU2" ssh -i /tmp/tacker/vHello.pem -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$VDU2_IP << EOF cd /home/ubuntu/ |