Adding log message for LockStateFsm with wrong ClassID or EntityID, otherwise silently ignored
Change-Id: I7f95813fc9e99c5dadc7a0930819eaf18e5ed192
diff --git a/internal/pkg/onuadaptercore/uniportadmin.go b/internal/pkg/onuadaptercore/uniportadmin.go
index d05843a..69f3792 100644
--- a/internal/pkg/onuadaptercore/uniportadmin.go
+++ b/internal/pkg/onuadaptercore/uniportadmin.go
@@ -332,6 +332,9 @@
oFsm.omciLockResponseReceived <- true
}
}
+ } else {
+ logger.Warnf(ctx, "LockStateFsm - Received SetResponse Data for %s with wrong classID or entityID ",
+ log.Fields{"device-id": oFsm.deviceID, "data-fields": msgObj}, msgObj.EntityClass)
}
} else {
logger.Errorw(ctx, "LockStateFsm - Rx OMCI unhandled MsgType", log.Fields{"omciMsgType": msg.OmciMsg.MessageType})