commit | e99ea2465cde631aaa6774349fd8bec9d3a7c1ad | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@opennetworking.org> | Fri Apr 27 14:46:17 2018 -0700 |
committer | Jonathan Hart <jono@opennetworking.org> | Wed May 02 15:25:01 2018 +0000 |
tree | 4976d10b76478b5c19d6ed0b71969f85ec451c9e | |
parent | ce5fbc6a878b7e72326379dd2a8cc164f3b4c783 [diff] |
Fix disabling simulated ONU. Change-Id: I5193051e22e1b6cea827da91a925bf3fdf339fc5
diff --git a/voltha/adapters/simulated_onu/simulated_onu.py b/voltha/adapters/simulated_onu/simulated_onu.py index 9cc0e87..c2c462c 100644 --- a/voltha/adapters/simulated_onu/simulated_onu.py +++ b/voltha/adapters/simulated_onu/simulated_onu.py
@@ -101,7 +101,8 @@ raise NotImplementedError() def disable_device(self, device): - raise NotImplementedError() + device.oper_status = OperStatus.UNKNOWN + self.adapter_agent.update_device(device) def reenable_device(self, device): raise NotImplementedError()