All contained comps within an SU are all started at the same time regardless
of instantiation level.
We don't break out of the loop when instantiating the contained comps.
Break out of the loop after the first one.
---
src/amf/amfnd/susm.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amf/amfnd/susm.cc b/src/amf/amfnd/susm.cc
index ae025b8a0..c023c8d21 100644
--- a/src/amf/amfnd/susm.cc
+++ b/src/amf/amfnd/susm.cc
@@ -2117,6 +2117,7 @@ uint32_t avnd_su_pres_uninst_suinst_hdler(AVND_CB *cb,
AVND_SU *su,
curr_comp->name.c_str());
goto done;
}
+ break;
} else {
TRACE("no active container available; not instantiating
contained");
goto done;
--
2.17.2
-----------------------------------------------------------------------------------------------------------------------
Notice: This e-mail together with any attachments may contain information of
Ribbon Communications Inc. that
is confidential and/or proprietary for the sole use of the intended recipient.
Any review, disclosure, reliance or
distribution by others or forwarding without express permission is strictly
prohibited. If you are not the intended
recipient, please notify the sender immediately and then delete all copies,
including any attachments.
-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel