- **status**: accepted --> review
---
** [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:35 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.------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets