Menu

#2925 ntf: NtfReader create the list of notification with searchcriteria is not correct

5.19.01
fixed
None
defect
ntf
d
major
False
2019-01-09
2018-09-13
Canh Truong
No

Produce issue:
root@SC-1:~# ntfread -v -b 5 -E 1536740946933049001
=== Sep 12 15:13:25 - Alarm ===
notificationID = 40
subscriptionId = 0
eventType = SA_NTF_ALARM_COMMUNICATION
notificationObject.length = 20
notificationObject = "AMF BLABLA Component"
notifyingObject.length = 17
notifyingObject = "AMF BLABLA Entity"
notificationClassId = 193.0.0 (0x0)
eventTime = 1536740005778900000 (Wed Sep 12 15:13:25 ICT 2018)
lengthAdditionalText = 29
additionalText = "this is additional text info"
probableCause = SA_NTF_BANDWIDTH_REDUCED
perceivedSeverity = SA_NTF_SEVERITY_WARNING

=== Sep 12 15:13:30 - Alarm ===
notificationID = 41
subscriptionId = 0
eventType = SA_NTF_ALARM_COMMUNICATION
notificationObject.length = 20
notificationObject = "AMF BLABLA Component"
notifyingObject.length = 17
notifyingObject = "AMF BLABLA Entity"
notificationClassId = 193.0.0 (0x0)
eventTime = 1536740010370495000 (Wed Sep 12 15:13:30 ICT 2018)
lengthAdditionalText = 29
additionalText = "this is additional text info"
probableCause = SA_NTF_BANDWIDTH_REDUCED
perceivedSeverity = SA_NTF_SEVERITY_WARNING

=== Sep 12 15:29:06 - Alarm ===
notificationID = 42
subscriptionId = 0
eventType = SA_NTF_ALARM_COMMUNICATION
notificationObject.length = 20
notificationObject = "AMF BLABLA Component"
notifyingObject.length = 17
notifyingObject = "AMF BLABLA Entity"
notificationClassId = 193.0.0 (0x0)
eventTime = 1536740946933049000 (Wed Sep 12 15:29:06 ICT 2018)
lengthAdditionalText = 29
additionalText = "this is additional text info"
probableCause = SA_NTF_BANDWIDTH_REDUCED
perceivedSeverity = SA_NTF_SEVERITY_WARNING

There are 3 notifications that happens before the eventtime = 1536740946933049001 and no notification happen affter this event time, but the 3 notification is still read while the result should be no notification with this command.

Related

Wiki: ChangeLog-5.19.01

Discussion

  • Canh Truong

    Canh Truong - 2018-09-20
    • status: accepted --> review
     
  • Canh Truong

    Canh Truong - 2018-09-20
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -46,5 +46,5 @@
     perceivedSeverity = SA_NTF_SEVERITY_WARNING
    
    -There are 3 notifications that happens before the eventtime = 1536740946933049001, but it is still read while the result should be no notification with this command.
    +There are 3 notifications that happens before the eventtime = 1536740946933049001 and no notification happen affter this event time, but the 3 notification  is still read while the result should be no notification with this command.
    
     
  • Gary Lee

    Gary Lee - 2018-09-29
    • Milestone: 5.18.09 --> 5.18.12
     
  • Minh Hon Chau

    Minh Hon Chau - 2018-10-05
    • status: review --> fixed
     
  • Minh Hon Chau

    Minh Hon Chau - 2018-10-05

    [develop]
    commit 07336929aae355f31a32f8c97ec26f095323cdfa
    Author: Canh Van Truong canh.v.truong@dektech.com.au
    Date: Fri Oct 5 19:18:06 2018 +1000

    ntf: Refactor NtfReader filter to fix incorrect searchcriteria [#2925]
    
     

Log in to post a comment.