Commit 9765f112 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

fix: Update allowed links for E2E controller and modify connection retrieval in SimapUpdater

parent 4a0cffcf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
# limitations under the License.

ALLOWED_LINKS_PER_CONTROLLER = {
    'e2e'      : { 'L1', 'L2', 'L3', 'L4'    },
    'e2e'      : { 'L1', 'L2',    },
    'agg'      : { 'L3', 'L4', 'L13', 'L14'  },
    'trans-pkt': { 'L5', 'L6', 'L9',  'L10'  },
    # The remaining can not be monitored therefore they are not included in the allowed links for the controllers
+1 −1
Original line number Diff line number Diff line
@@ -716,7 +716,7 @@ class EventDispatcher(BaseEventDispatcher):
            Tuple of ( domain_name, processed_links) or None if failed
        """
        # Get the connection object
        connection = self._object_cache.get(CachedEntities.CONNECTION, connection_uuid)
        connection = self._object_cache.get(CachedEntities.CONNECTION, connection_uuid, auto_retrieve=False)
        if connection is None:
            LOGGER.warning('Connection {:s} not found in cache'.format(connection_uuid))
            return None