Loading src/main.py +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ class NSController: self.end_time = 0 self.setup_time = 0 def nsc(self, intent_json, slice_id=None, old_service_id=None): def nsc(self, intent_json, slice_id=None, old_service_id=None, old_service_id=None): """ Main Network Slice Controller method to process and realize network slice intents. Loading src/mapper/main.py +2 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,8 @@ def mapper(payload, controller_type="TFS", action="CREATE"): ietf_intent (dict): IETF-formatted network slice intent. controller_type (str): Type of SDN controller. is_update (bool): Whether it is a modification request. controller_type (str): Type of SDN controller. is_update (bool): Whether it is a modification request. Returns: dict or None: Optimal path if planner is enabled; otherwise, None. Loading Loading
src/main.py +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ class NSController: self.end_time = 0 self.setup_time = 0 def nsc(self, intent_json, slice_id=None, old_service_id=None): def nsc(self, intent_json, slice_id=None, old_service_id=None, old_service_id=None): """ Main Network Slice Controller method to process and realize network slice intents. Loading
src/mapper/main.py +2 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,8 @@ def mapper(payload, controller_type="TFS", action="CREATE"): ietf_intent (dict): IETF-formatted network slice intent. controller_type (str): Type of SDN controller. is_update (bool): Whether it is a modification request. controller_type (str): Type of SDN controller. is_update (bool): Whether it is a modification request. Returns: dict or None: Optimal path if planner is enabled; otherwise, None. Loading