Inside connection handler, we ought to do something like this when connectivity is not possible between requested nodes:
connectivity = temanager.requests_connectivity(traffic_matrix)
if connectivity is False:
return "Connectivity is not possible", 400
Would be nicer if we can return an error message with a little more detail (why connectivity is not possible, between which nodes, etc) and in JSON format.
Inside connection handler, we ought to do something like this when connectivity is not possible between requested nodes:
Would be nicer if we can return an error message with a little more detail (why connectivity is not possible, between which nodes, etc) and in JSON format.