changeset:   5606:97eea0f0d2e0
parent:      5604:cff9ab497419
user:        Nagendra Kumar<[email protected]>
date:        Wed Aug 20 09:54:23 2014 +0530
summary:     amfd: correct logic of setting preinstantiable [#989]

changeset:   5607:41511dd41c9f
branch:      opensaf-4.5.x
tag:         tip
parent:      5605:769cbfe63013
user:        Nagendra Kumar<[email protected]>
date:        Wed Aug 20 09:54:57 2014 +0530
summary:     amfd: correct logic of setting preinstantiable [#989]


[staging:97eea0]
[staging:41511d]



---

** [tickets:#989] Amfd: Changing saAmfCompInstantiationLevel result in changing 
saAmfSUPreInstantiable**

**Status:** review
**Milestone:** 4.5.0
**Created:** Sat Aug 16, 2014 08:35 PM UTC by Nagendra Kumar
**Last Updated:** Sat Aug 16, 2014 08:54 PM UTC
**Owner:** Nagendra Kumar

1. Create SU of PI and NPI. Amf sets saAmfSUPreInstantiable to true as there is 
one PI.
2. Change saAmfCompInstantiationLevel of NPI component.
3. Amf changes saAmfSUPreInstantiable to false.

The problem for introduced with CS 5273.
For NPI component :
                        su->remove_comp(comp);
                        comp->su = su;
                        su->add_comp(comp);
When remove_comp() is called the below logic is invoked as curr_preinst_value 
is set to false:
        // if preinst has changed, update IMM and recalculate saAmfSUFailover
        if (curr_preinst_value != old_preinst_value) {
                set_saAmfSUPreInstantiable(curr_preinst_value);



---

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.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to