The alarm is raised on the active amfd, so it should be cleared by the active 
amfd.
The code below can get the alarm cleared after removing the app, tested by 
amfdemo app.

diff ../../osaf/services/saf/amf/amfd/si.cc 
../../osaf/services/saf/amf/amfd/si.cc.ori
375,378d374
<       if(si->alarm_sent && avd_cb->avail_state_avd == SA_AMF_HA_ACTIVE)
<       {
<               avd_alarm_clear(&si->name, SA_AMF_NTFID_SI_UNASSIGNED, 
SA_NTF_SOFTWARE_ERROR);
<       }



---

** [tickets:#610] AMF: auto clear unassigned alarms when application is 
removed**

**Status:** unassigned
**Created:** Thu Oct 31, 2013 07:12 AM UTC by Hans Feldt
**Last Updated:** Thu Oct 31, 2013 07:12 AM UTC
**Owner:** nobody

Today, removing an application will generate an "Service Instance Unassigned" 
alarm as the application is shutdown.

AMF should automatically clear the alarm when the SI is about to be removed.


---

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.
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to