diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py index c695e646b419b36f6a44d88e3f7f9432a3d8f484..a3b96c6d9691b3b58cf15a5cf45ae7ac3e360ec0 100644 --- a/inventory_provider/tasks/worker.py +++ b/inventory_provider/tasks/worker.py @@ -1124,8 +1124,9 @@ def transform_ims_data(data): elif 'sid' in details: if len(circuits) > 1: if port_circuit != circ: - # we don't know which circuit - # to give the SID in this case, so skip + # if this is not the physical port circuit + # related to this port, then we don't want to + # assign the SID to this circuit, so skip. continue # assign the SID from the port to this circuit