Loading src/service/service/tools/OpticalTools.py +3 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ from common.Settings import ( find_environment_variables, get_env_var_name ) from common.tools.grpc.Tools import grpc_message_to_json_string from common.tools.object_factory.Context import json_context_id from common.tools.object_factory.Topology import json_topology_id from context.client.ContextClient import ContextClient from service.service.service_handler_api.SettingsHandler import SettingsHandler Loading Loading @@ -384,7 +385,8 @@ def adapt_reply( devices, service, reply_json, context_id : str, topology_id : str, optical_band_txt ) -> PathCompReply: opt_reply = PathCompReply() topo = TopologyId(**json_topology_id(topology_id, context_id)) topo = TopologyId(**json_topology_id(topology_id, context_id=json_context_id(context_id))) #add optical band connection first rules_ob = [] ob_id = 0 Loading Loading
src/service/service/tools/OpticalTools.py +3 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ from common.Settings import ( find_environment_variables, get_env_var_name ) from common.tools.grpc.Tools import grpc_message_to_json_string from common.tools.object_factory.Context import json_context_id from common.tools.object_factory.Topology import json_topology_id from context.client.ContextClient import ContextClient from service.service.service_handler_api.SettingsHandler import SettingsHandler Loading Loading @@ -384,7 +385,8 @@ def adapt_reply( devices, service, reply_json, context_id : str, topology_id : str, optical_band_txt ) -> PathCompReply: opt_reply = PathCompReply() topo = TopologyId(**json_topology_id(topology_id, context_id)) topo = TopologyId(**json_topology_id(topology_id, context_id=json_context_id(context_id))) #add optical band connection first rules_ob = [] ob_id = 0 Loading