Search DtServiceInstance with complete serial number
Change-Id: I014914490da0fd4f7ef8768ebca8c9ae7347b7ad
diff --git a/xos/synchronizer/helpers.py b/xos/synchronizer/helpers.py
index d228890..c1ee9fc 100755
--- a/xos/synchronizer/helpers.py
+++ b/xos/synchronizer/helpers.py
@@ -65,8 +65,7 @@
def find_or_create_dt_si(model_accessor, log, event):
try:
dt_si = model_accessor.DtWorkflowDriverServiceInstance.objects.get(
- # FIXME: in this way we support a single UNI port per ONU
- serial_number=event["serialNumber"].split("-")[0]
+ serial_number=event["serialNumber"]
)
log.debug("DtHelpers: Found existing DtWorkflowDriverServiceInstance", si=dt_si)
except IndexError: