Hi Gary,
00 and 02 of 12 patch series missing. Please send them too or
confirm they are not required.
Thanks
-Nagu
> -----Original Message-----
> From: Gary Lee [mailto:[email protected]]
> Sent: 17 September 2015 10:53
> To: [email protected]; Praveen Malviya; Nagendra Kumar;
> [email protected]; [email protected]
> Cc: [email protected]
> Subject: [PATCH 01 of 12] amfd: convert list_of_su to std::vector [#1142]
>
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel