Commit 1a9e3753 authored by Pablo Armingol's avatar Pablo Armingol
Browse files

Merge branch 'feat/31-tid-new-realizer-for-e2e-optical-slices' of...

Merge branch 'feat/31-tid-new-realizer-for-e2e-optical-slices' of https://labs.etsi.org/rep/tfs/nsc into feat/31-tid-new-realizer-for-e2e-optical-slices
parents c69150ca 783ed7c7
Loading
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -52,10 +52,6 @@ def build_response(intent, response, controller_type = None):
    source = safe_get(intent, ["ietf-network-slice-service:network-slice-services","slice-service",0,"sdps","sdp",0,"id"])
    destination = safe_get(intent, ["ietf-network-slice-service:network-slice-services","slice-service",0,"sdps","sdp",1,"id"])
    vlan = safe_get(intent, ["ietf-network-slice-service:network-slice-services","slice-service",0,"sdps","sdp",0,"service-match-criteria","match-criterion",0,"match-type", 0, "vlan", 0])

    if not id or not source or not destination:
        return response

    qos_requirements = []

    # Populate response with QoS requirements and VLAN from intent