SEBA-749 Implemented on demand api test action code in openonu adapter
Change-Id: I8c580a2f1c60811cc11ddac4e153ea0dd66e6355
diff --git a/python/adapters/brcm_openomci_onu/brcm_openomci_onu_adapter.py b/python/adapters/brcm_openomci_onu/brcm_openomci_onu_adapter.py
index 087e15b..11de8ca 100644
--- a/python/adapters/brcm_openomci_onu/brcm_openomci_onu_adapter.py
+++ b/python/adapters/brcm_openomci_onu/brcm_openomci_onu_adapter.py
@@ -277,3 +277,14 @@
to_topic=msg.header.to_topic, to_device_id=msg.header.to_device_id)
handler = self.devices_handlers[msg.header.to_device_id]
handler.process_inter_adapter_message(msg)
+
+ def start_omci_test(self, device, uuid):
+ """
+
+ :param device:
+ :return:
+ """
+ self.log.info('Omci-test-action-request-On', request=device)
+ handler = self.devices_handlers[device.id]
+ result = handler.start_omci_test_action(device, uuid)
+ return result