Ack Thanks -Nagu
> -----Original Message----- > From: Hans Feldt [mailto:osafde...@gmail.com] > Sent: 28 February 2014 13:25 > To: Praveen Malviya; Nagendra Kumar; hans.nordeb...@ericsson.com > Cc: opensaf-devel@lists.sourceforge.net > Subject: [PATCH 4 of 4] amfd: auto clear comp cleanup failed alarm [#538] > > osaf/services/saf/amf/amfd/comp.cc | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > > diff --git a/osaf/services/saf/amf/amfd/comp.cc > b/osaf/services/saf/amf/amfd/comp.cc > --- a/osaf/services/saf/amf/amfd/comp.cc > +++ b/osaf/services/saf/amf/amfd/comp.cc > @@ -91,6 +91,12 @@ void avd_comp_pres_state_set(AVD_COMP *c > avd_pres_state_name[comp->saAmfCompPresenceState], > avd_pres_state_name[pres_state]); > > + if ((comp->saAmfCompPresenceState == > SA_AMF_PRESENCE_TERMINATION_FAILED) && > + (pres_state == > SA_AMF_PRESENCE_UNINSTANTIATED)){ > + avd_alarm_clear(&comp->comp_info.name, > + SA_AMF_NTFID_COMP_CLEANUP_FAILED, > SA_NTF_SOFTWARE_ERROR); > + } > + > comp->saAmfCompPresenceState = pres_state; > avd_saImmOiRtObjectUpdate(&comp->comp_info.name, > > const_cast<SaImmAttrNameT>("saAmfCompPresenceState"), ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel