Skip to content
Snippets Groups Projects
Commit 62093d79 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Optical Controller component:

- Added log message to debug issue
parent f9fcd9ff
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!223Resolve "Fix OFC'24 end-to-end test for Optical Controller component"
......@@ -85,6 +85,7 @@ class AddFlexLightpath(Resource):
if rsa is not None:
flow_id, optical_band_id = rsa.rsa_fs_computation(src, dst, bitrate, bidir, band)
print (f"flow_id {flow_id} and optical_band_id {optical_band_id} ")
LOGGER.warning('flow_id={:s} rsa.db_flows={:s}'.format(str(flow_id), str(rsa.db_flows)))
if flow_id is not None:
if rsa.db_flows[flow_id]["op-mode"] == 0:
return 'No path found', 404
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment