osaf/services/saf/amf/amfd/include/sg.h | 13 +++++++++---- osaf/services/saf/amf/amfd/include/su.h | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/osaf/services/saf/amf/amfd/include/sg.h b/osaf/services/saf/amf/amfd/include/sg.h --- a/osaf/services/saf/amf/amfd/include/sg.h +++ b/osaf/services/saf/amf/amfd/include/sg.h @@ -181,10 +181,13 @@ * Checkpointing - Sent as a one time update. */ - AVD_SU *list_of_su; /* the list of service units in this - * group in the descending order of - * the rank. - */ + /* the list of service units in this + * group in the descending order of + * the rank. + */ + std::vector<AVD_SU*> list_of_su; + AVD_SU* first_su(); + AVD_SI *list_of_si; /* the list of service instances in * this group in the descending order * of the rank. @@ -404,6 +407,8 @@ bool is_sg_serviceable_outside_ng(const AVD_AMF_NG *ng); SaAisErrorT check_sg_stability(); bool ng_using_saAmfSGAdminState; + + uint32_t term_su_list_in_reverse(); private: // disallow copy and assign, TODO(hafe) add common macro for this AVD_SG(const AVD_SG&); diff --git a/osaf/services/saf/amf/amfd/include/su.h b/osaf/services/saf/amf/amfd/include/su.h --- a/osaf/services/saf/amf/amfd/include/su.h +++ b/osaf/services/saf/amf/amfd/include/su.h @@ -93,7 +93,6 @@ // TODO: use some container for the comp list AVD_COMP *list_of_comp; /* the list of components in this SU */ - AVD_SU *sg_list_su_next; /* the next SU in the SG */ AVD_SUTYPE *su_type; AVD_SU *su_list_su_type_next; @@ -137,6 +136,7 @@ bool any_susi_fsm_in_unasgn(); bool any_susi_fsm_in_modify(); SaAisErrorT check_su_stability(); + private: void initialize(); void send_attribute_update(AVSV_AMF_SU_ATTR_ID attrib_id); ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel