[VOL-4384] intf-id standardization for alarm indications.
For detailed description: https://jira.opencord.org/browse/VOL-4384
Change-Id: I51a9cbd5c42d21c6c5ba111193b801a9a8bfcbcd
diff --git a/VERSION b/VERSION
index 7d280e2..c492825 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.5.5
+3.5.6
diff --git a/internal/pkg/core/openolt_eventmgr.go b/internal/pkg/core/openolt_eventmgr.go
index d91371a..02a4c70 100644
--- a/internal/pkg/core/openolt_eventmgr.go
+++ b/internal/pkg/core/openolt_eventmgr.go
@@ -301,7 +301,7 @@
context := make(map[string]string)
/* Populating event context */
- context[ContextOltPonIntfID] = strconv.FormatUint(uint64(oltLos.IntfId), base10)
+ context[ContextOltPonIntfID] = strconv.FormatUint(uint64(ponIntdID), base10)
/* Populating device event body */
de.Context = context
de.ResourceId = deviceID
@@ -332,7 +332,7 @@
if err := em.eventProxy.SendDeviceEvent(ctx, &de, voltha.EventCategory_COMMUNICATION, voltha.EventSubCategory_PON, raisedTs); err != nil {
return err
}
- logger.Debugw(ctx, "olt-los-event-sent-to-kafka", log.Fields{"intf-id": oltLos.IntfId})
+ logger.Debugw(ctx, "olt-los-event-sent-to-kafka", log.Fields{"intf-id": ponIntdID})
return nil
}