Commit af7c7845 authored by Javier Velázquez's avatar Javier Velázquez
Browse files

Merge branch 'feat/38-tid-audate-service-fot-e2e-optical-intents' of...

Merge branch 'feat/38-tid-audate-service-fot-e2e-optical-intents' of https://labs.etsi.org/rep/tfs/nsc into feat/38-tid-audate-service-fot-e2e-optical-intents
parents 341d529a 30b378f1
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.

+2 −0
Original line number Diff line number Diff line
@@ -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.