Commit e43f5c6f authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component - L3NM IETF Slice:

- Bug fix
parent dcf7dbd2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -77,6 +77,11 @@ class L3NM_IETFSlice_ServiceHandler(_ServiceHandler):
            datastore_delta = DataStoreDelta(self.__service)
            candidate_slice = datastore_delta.candidate_data

            if len(candidate_slice) != 1:
                MSG = 'Unsupported number of Slices[{:d}]({:s})'
                raise Exception(MSG.format(len(candidate_slice), str(candidate_slice)))
            candidate_slice = candidate_slice[0]


            # 4. Extract data from SDP matching src/dst node
            candidate_sdps = candidate_slice.get('sdps', dict()).get('sdp', list())