commit | c0c82749ce8a1b333ebf7385f32d5ca4184026cb | [log] [tgz] |
---|---|---|
author | Shad Ansari <shad@opennetworking.org> | Wed Mar 06 22:16:14 2019 -0800 |
committer | Shad Ansari <shad@opennetworking.org> | Wed Mar 06 22:16:14 2019 -0800 |
tree | 59368a039c7fa6b52a1afe59b15b2a9c71328652 | |
parent | c915a44340c3a64d99791302c3ffc7aed8847e4c [diff] |
Fix bug - include logical_device_id in alarms Change-Id: I01615d3c8476df9e4e1f1d6dc5fc6f7452df0776
diff --git a/voltha/adapters/openolt/openolt_data_model.py b/voltha/adapters/openolt/openolt_data_model.py index 00ffaa4..33b5a77 100644 --- a/voltha/adapters/openolt/openolt_data_model.py +++ b/voltha/adapters/openolt/openolt_data_model.py
@@ -419,7 +419,9 @@ return onu_device def create_alarm(self, **kwargs): - return self.adapter_agent.create_alarm(**kwargs) + return self.adapter_agent.create_alarm( + logical_device_id=self.logical_device_id, + **kwargs) def submit_alarm(self, alarm_event): self.adapter_agent.submit_alarm(self.device.id, alarm_event)