- **Type**: defect --> enhancement


---

** [tickets:#619] The length of the attribute list may be less than the 
instances of additional info fields in NTFIMCN notification**

**Status:** unassigned
**Milestone:** future
**Created:** Tue Nov 12, 2013 06:33 AM UTC by Sirisha Alla
**Last Updated:** Tue Nov 12, 2013 08:59 AM UTC
**Owner:** nobody

Point 2 of Section 3.1.4 of OpenSAF_Extensions_PR.odt says:

2. The length of the attribute list is the same as the amount of instances of 
additional info fields

But the above statement is not true for all the cases. Possible cases which 
does not fall under the above statement:

a) multivalued attributes
b) The number of attributes that have ATTR_NOTIFY flag specified is greater 
than the number of attributes for which we have provided value while creating 
the object. 

Notification output for (b):

eventType = SA_NTF_OBJECT_CREATION
notificationObject = "attrName_testSA_registerSA_Node_37_69"
notifyingObject = "safApp=OpenSaf"
notificationClassId = 32993.8.0 (0x0)
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION

numAdditionalInfo: 7
- additionalInfo: 0 -
 infoId = 0
 infoType = 11
 infoValue = "SaImmAttrAdminOwnerName"
- additionalInfo: 1 -
 infoId = 1
 infoType = 11
 infoValue = "SaImmAttrClassName"
- additionalInfo: 2 -
 infoId = 2
 infoType = 11
 infoValue = "SaImmOiCcbIdT"
- additionalInfo: 3 -
 infoId = 3
 infoType = 11
 infoValue = "ccbLast"
- additionalInfo: 4 -
 infoId = 4
 infoType = 11
 infoValue = "attrName5"
- additionalInfo: 5 -
 infoId = 5
 infoType = 11
 infoValue = "attrName3"
- additionalInfo: 6 -
 infoId = 6
 infoType = 11
 infoValue = "attrName2"

numAttributes: 5
- Attribute ID: 0 -
 Attribute Type: (11) SA_NTF_VALUE_STRING
 Attribute Value: "exowner"
- Attribute ID: 1 -
 Attribute Type: (11) SA_NTF_VALUE_STRING
 Attribute Value: "testSA_registerSA_Node_37_69"
- Attribute ID: 2 -
 Attribute Type: (7) SA_NTF_VALUE_UINT64
 Attribute Value: 8
- Attribute ID: 3 -
 Attribute Type: (4) SA_NTF_VALUE_UINT32
 Attribute Value: 1
- Attribute ID: 5 -
 Attribute Type: (11) SA_NTF_VALUE_STRING
 Attribute Value: "attrname3" 

In the above mentioned notification, attrName2 and attrName5 are not present in 
the attribute list since a value has not been specified during object creation. 
numAdditionalInfo and numAttributes do not match.



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to