Ticket #718 (assigned defect)
CSI attribute management has changed in OpenSAF 4.0 beta3
| Reported by: | karin.holm@… | Owned by: | hafe |
|---|---|---|---|
| Priority: | major | Milestone: | 4.0.0-M3 |
| Component: | AvSv | Version: | 4.0-B3 |
| Keywords: | Cc: | ||
| patch waiting for maintainer: | yes |
Description
Using Appconfig.xml you specified CSI attributes in SI with the following syntax:
<nameValue name="logFile" value="/home/saf-demo/notif.log"/>
This was received in the amfCSISetCallback as:
CSI attribute name = "logFile", value = "/home/saf-demo/notif.log".
With beta 3 release of OpenSAF the CSI attribute is specified as the following IMM object:
<object class="SaAmfCSIAttribute">
<dn>safCsiAttr=logFile,safCsi=ntfSubscribeApp,safSi=SC-NWayActive,safApp=ntfSubscribeApp</dn>
<attr>
<name>saAmfCSIAttriValue</name>
<value>/home/saf-demo/notif.log</value>
</attr>
</object>
and recieved in received in the amfCSISetCallback as:
CSI attribute name = "safCsiAttr=logFile,safCsi=ntfSubscribeApp,safSi=SC-NWayActive,safApp=ntfSubscribeApp", value = "/home/saf-demo/notif.log".
This is quite a change in behavior and makes it hard to code a component independent of the configuration (need to know exactly how it will be configured).
Shall the whole dn for the CSI attribute be used as name in the amfCSISetCallback call?
should not just the name part of the dn for the CSI attribute be used instead?
