commit | e8c33d666b43d6a4352be8d0e72cbcb19f7f02c9 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Thu Aug 16 14:37:24 2018 -0700 |
committer | Matteo Scandolo <teo@opennetworking.org> | Thu Aug 16 16:12:17 2018 -0700 |
tree | 5f6bbdec88dbb6978ae9228cd8f80af8ef3491b5 | |
parent | 9d9274203174816fa988a4ab47ef116bf0ce7976 [diff] [blame] |
[SEBA-164] Forcing subscriber auth if onu goes down Change-Id: I6d1b721ac67533fb2b58048666771b50d3a84b2b
diff --git a/xos/synchronizer/steps/sync_att_workflow_driver_service_instance.py b/xos/synchronizer/steps/sync_att_workflow_driver_service_instance.py index 0b9546b..6923062 100644 --- a/xos/synchronizer/steps/sync_att_workflow_driver_service_instance.py +++ b/xos/synchronizer/steps/sync_att_workflow_driver_service_instance.py
@@ -40,6 +40,8 @@ return False whitelisted = matching_entries[0] + + # FIXME if the ONU is not there yet it raise an index error, if that happens raise DeferredException pon_port = ONUDevice.objects.get(serial_number=si.serial_number).pon_port if pon_port.port_no != whitelisted.pon_port_id or si.of_dpid != whitelisted.device_id: log.warn("ONU disable as location don't match", object=str(si), serial_number=si.serial_number,