Loading src/simap_connector/service/simap_updater/SimapUpdater.py +4 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,9 @@ class EventDispatcher(BaseEventDispatcher): topology = self._object_cache.get(CachedEntities.TOPOLOGY, topology_uuid) topology_name = topology.name supporting_network_ids = list() if topology_name != DEFAULT_TOPOLOGY_NAME: supporting_network_ids = [DEFAULT_TOPOLOGY_NAME] supporting_network_ids.append(DEFAULT_TOPOLOGY_NAME) # Theoretically it should be create(), but given we have multiple clients # updating same SIMAP server, use update to skip tricks on get-check-create-or-update. Loading @@ -112,8 +113,9 @@ class EventDispatcher(BaseEventDispatcher): topology = self._object_cache.get(CachedEntities.TOPOLOGY, topology_uuid) topology_name = topology.name supporting_network_ids = list() if topology_name != DEFAULT_TOPOLOGY_NAME: supporting_network_ids = [DEFAULT_TOPOLOGY_NAME] supporting_network_ids.append(DEFAULT_TOPOLOGY_NAME) # Theoretically it should be create(), but given we have multiple clients # updating same SIMAP server, use update to skip tricks on get-check-create-or-update. Loading Loading
src/simap_connector/service/simap_updater/SimapUpdater.py +4 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,9 @@ class EventDispatcher(BaseEventDispatcher): topology = self._object_cache.get(CachedEntities.TOPOLOGY, topology_uuid) topology_name = topology.name supporting_network_ids = list() if topology_name != DEFAULT_TOPOLOGY_NAME: supporting_network_ids = [DEFAULT_TOPOLOGY_NAME] supporting_network_ids.append(DEFAULT_TOPOLOGY_NAME) # Theoretically it should be create(), but given we have multiple clients # updating same SIMAP server, use update to skip tricks on get-check-create-or-update. Loading @@ -112,8 +113,9 @@ class EventDispatcher(BaseEventDispatcher): topology = self._object_cache.get(CachedEntities.TOPOLOGY, topology_uuid) topology_name = topology.name supporting_network_ids = list() if topology_name != DEFAULT_TOPOLOGY_NAME: supporting_network_ids = [DEFAULT_TOPOLOGY_NAME] supporting_network_ids.append(DEFAULT_TOPOLOGY_NAME) # Theoretically it should be create(), but given we have multiple clients # updating same SIMAP server, use update to skip tricks on get-check-create-or-update. Loading