When run the amf-demo in samples/amf/sa_aware, the "osafCsiAttributeChangeCallback" callback function wasn't invoked.
Steps to reproduce:
1. Install amf_demo into /opt/amf_demo
2. Install amf_demo_script into /opt/amf_demo
3. Load configuration: immcfg -f AppConfig-2N.xml
4. Unlock instantiation:
amf-adm unlock-in safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
amf-adm unlock-in safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
5. Unlock:
amf-adm unlock safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
amf-adm unlock safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
6. Run below command for invocation of CSI Attribute Change Callback :
immcfg -a saAmfCSIAttriValue+=CCCC safCsiAttr=AmfDemo1,safCsi=AmfDemo,safSi=AmfDemo,safApp=AmfDemo1
Diff:
Lack of EDU_EXIT in src/amf/common/d2nedu.c