#paramiko logfile path should not be changed with multiple calls. The logs seem to in first file regardless
error=""
#The lines below are outside exception loop to be sure to terminate the test case if the network connectivity goes down or there is authentication failure
plt.plot([0,output['frame'][metric_data['metric_count']-1]],[metric_def['min_limit'],metric_def['min_limit']],'r-',lw=2,label='min limit')# Red straight line