[VOL-2512]:changes to add onu_id and intf_id as part of onu dgi
Change-Id: I987d47d69547efc75a505f61eca3554aedad5ec2
diff --git a/agent/src/indications.cc b/agent/src/indications.cc
index 3b7a92e..c9f112e 100644
--- a/agent/src/indications.cc
+++ b/agent/src/indications.cc
@@ -358,7 +358,11 @@
case BCMOLT_ONU_AUTO_SUBGROUP_DGI:
{
bcmolt_onu_dgi* dgi_data = (bcmolt_onu_dgi *)msg;
+ bcmolt_onu_key *key = &((bcmolt_onu_dgi *)msg)->key;
+
dgi_ind->set_status(alarm_status_to_string(dgi_data->data.alarm_status));
+ dgi_ind->set_intf_id(key->pon_ni);
+ dgi_ind->set_onu_id(key->onu_id);
alarm_ind->set_allocated_dying_gasp_ind(dgi_ind);
ind.set_allocated_alarm_ind(alarm_ind);