if tenant_id:
result, _ = self.db.get_table(FROM='tenants', SELECT=('uuid',), WHERE={'uuid': tenant_id, "enabled": True})
if result <= 0:
- raise ovimException("set_network error, no tenant founded", -result)
+ raise ovimException("set_network error, no tenant found", -result)
bridge_net = None
# check valid params
port_mapping_data = self.get_of_port_mappings(columns, db_filter)
if not len(port_mapping_data):
- raise ovimException("No port mapping founded for '{}'".format(str(db_filter)),
+ raise ovimException("No port mapping found for '{}'".format(str(db_filter)),
HTTP_Not_Found)
elif len(port_mapping_data) > 1:
raise ovimException("Wrong port data was given, please check pci, region & compute id data",
if [[ -z $component_id ]]
then #process not started or finished
[[ $log_lines -ge 2 ]] && echo -n "ERROR, it has exited." && break
- #started because writted serveral lines at log so report error
+ #started because writted several lines at log so report error
fi
[[ -n $logfile ]] && grep -q "Listening for switch connections" ${logfile} && sleep 1 && break
sleep 1
if [[ -z $component_id ]]
then #process not started or finished
[[ $log_lines -ge 2 ]] && echo -n "ERROR, it has exited." && break
- #started because writted serveral lines at log so report error
+ #started because writted several lines at log so report error
fi
[[ -n $logfile_console ]] && grep -q "Listening on port" ${logfile_console} && sleep 1 && break
sleep 1
if [[ -z $component_id ]]
then #process not started or finished
[[ $log_lines -ge 2 ]] && echo -n "ERROR, it has exited." && break
- #started because writted serveral lines at log so report error
+ #started because writted several lines at log so report error
fi
[[ -n $logfile ]] && [[ ${om_component} == flow ]] && grep -q "Listening for switch connections" ${logfile} && sleep 1 && break
[[ -n $logfile ]] && [[ ${om_component} != flow ]] && grep -q "open${om_component}d ready" ${logfile} && break
def search_host_in_env_var():
"""
Search for OPENVIM_TEST_HOST_X env var declare by pre_create_host fixture with the host id after creation.
- :return: All env vars founded
+ :return: All env vars found
"""
return search('OPENVIM_TEST_HOST_')