commit | c5c558f06af369c68c852206156b25ef9ace936c | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Fri Nov 02 10:33:40 2018 -0700 |
committer | Matteo Scandolo <teo@opennetworking.org> | Fri Nov 02 13:12:45 2018 -0700 |
tree | 84aa9791326345a7d24a189b96956c7440b31216 | |
parent | 74f63309291140fe338e4c8e8859ec425382bac6 [diff] [blame] |
[SEBA-311] Disabling ONU device when an entry is removed from the whitelist Change-Id: I81dde41f1970bfb242841aae63eb78beceade73c
diff --git a/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py b/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py index 3fb05dd..525d6ce 100644 --- a/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py +++ b/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py
@@ -45,8 +45,9 @@ # if it's disabled it means someone has disabled it self.validate_onu_state(si) else: - # just clean the status + # clean the status and verify that the ONU is actually disabled si.status_message = "ONU has been disabled" + self.update_onu(si.serial_number, "DISABLED") # handling the subscriber status subscriber = self.get_subscriber(si.serial_number)