[devel] [PATCH 0 of 1] Review Request for amfd: act on dependent if sponsor gets unassigned in NoRed [#832].

2014-04-02 Thread praveen . malviya
Summary: amfd: act on dependent if sponsor gets unassigned in NoRed [#832] Review request for Trac Ticket(s): AMF #832 Peer Reviewer(s): Hans F., Nagendra Pull request to: <> Affected branch(es): All Development branch: <> Impacted area Impact y/n ---

[devel] [PATCH 1 of 1] amfd: act on dependent if sponsor gets unassigned in NoRed [#832]

2014-04-02 Thread praveen . malviya
osaf/services/saf/amf/amfd/sg_nored_fsm.cc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Problem: Due to fault in stable state in NoRed model, if sponsor goes unassigned then AMF is not unassigning dependent. Reason: Due to fault like node-failover or su-failover in stable state, i

Re: [devel] [PATCH 1 of 1] osaf: Add definition of the new type SaConstStringT [#625]

2014-04-02 Thread Anders Widell
We had a discussion regarding this in TLC and the conclusion was that we go for the originally proposed file name saAis_B_5_14.h for now so that it is consistent with the names other existing header files, and then at a later point we can revisit this issue and rename/consolidate the file names

[devel] [PATCH 0 of 2] Review Request for IMM: add error strings for CCB operations for ERR_NOT_EXIST error [#459]

2014-04-02 Thread Zoran Milinkovic
Summary: IMM: add error strings for CCB operations for ERR_NOT_EXIST error [#459] Review request for Trac Ticket(s): 459 Peer Reviewer(s): Anders, Neelakanta Pull request to: Zoran Affected branch(es): default(4.5) Development branch: default(4.5) Impacted area

[devel] [PATCH 1 of 2] IMM: add error strings for CCB operations for ERR_NOT_EXIST error [#459]

2014-04-02 Thread Zoran Milinkovic
osaf/services/saf/immsv/immnd/ImmModel.cc | 60 +++ osaf/services/saf/immsv/immnd/ImmModel.hh | 5 ++ osaf/services/saf/immsv/immnd/immnd_evt.c | 27 - 3 files changed, 89 insertions(+), 3 deletions(-) When an implementer is detached from an object/cla

[devel] [PATCH 2 of 2] IMMTOOLS: write error strings for ERR_NOT_EXIST error code in immcfg [#459]

2014-04-02 Thread Zoran Milinkovic
osaf/tools/safimm/immcfg/imm_cfg.c | 69 +++-- 1 files changed, 36 insertions(+), 33 deletions(-) diff --git a/osaf/tools/safimm/immcfg/imm_cfg.c b/osaf/tools/safimm/immcfg/imm_cfg.c --- a/osaf/tools/safimm/immcfg/imm_cfg.c +++ b/osaf/tools/safimm/immcfg/imm_cfg

[devel] [PATCH 0 of 1] Review Request for amfd: return TRY_AGAIN for su/node lockin op if su pres state is not appropriate [#807]

2014-04-02 Thread nagendra . k
Summary: amfd: return TRY_AGAIN for su/node lockin op if su pres state is not appropriate [#807] Review request for Trac Ticket(s): #807 Peer Reviewer(s): Hans F, Hans N, Praveen Pull request to: <> Affected branch(es): All Development branch: opensaf-4.3.x Impac

[devel] [PATCH 1 of 1] amfd: return TRY_AGAIN for su/node lockin op if su pres state is not appropriate [#807]

2014-04-02 Thread nagendra . k
osaf/services/saf/avsv/avd/avd_node.c | 9 + osaf/services/saf/avsv/avd/avd_su.c | 8 2 files changed, 17 insertions(+), 0 deletions(-) Problem: When su is either in instantiating/Terminating/restarting state and if either su/node lock-in operation is performed, then it inte

Re: [devel] [PATCH 3 of 3] amfd: remove cast from avd_saImmOiRtObjectCreate [#713]

2014-04-02 Thread Hans Nordebäck
ack, code review only/Rgds. HansN On 04/02/14 07:02, Hans Feldt wrote: > osaf/services/saf/amf/amfd/csi.cc| 3 +-- > osaf/services/saf/amf/amfd/imm.cc| 2 +- > osaf/services/saf/amf/amfd/include/imm.h | 2 +- > osaf/services/saf/amf/amfd/siass.cc | 3 +-- > 4 files ch

Re: [devel] [PATCH 2 of 3] amfd: remove cast from avd_saImmOiRtObjectUpdate [#713]

2014-04-02 Thread Hans Nordebäck
ack, code review only/Rgds. HansN On 04/02/14 07:02, Hans Feldt wrote: > osaf/services/saf/amf/amfd/comp.cc | 23 > osaf/services/saf/amf/amfd/imm.cc| 44 > +++ > osaf/services/saf/amf/amfd/include/imm.h | 2 +- > osaf/services/sa

Re: [devel] [PATCH 1 of 3] amfd: remove cast from avd_class_impl_set [#713]

2014-04-02 Thread Hans Nordebäck
ack, code review only. /Rgds. HansN -Original Message- From: Hans Feldt [mailto:osafde...@gmail.com] Sent: den 2 april 2014 07:03 To: Hans Nordebäck Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 3] amfd: remove cast from avd_class_impl_set [#713] osaf/services/saf/amf/amf

Re: [devel] [PATCH 1 of 1] amfnd: send SUSI response after cleanup of comp [#822]

2014-04-02 Thread praveen malviya
The removed code in err.c - /* -* su-sis may be in assigning/removing state. signal csi -* assign/remove done so that su-si assignment/removal algo can proceed. -*/ - avnd_comp_cmplete_all_assignment(cb, failed_comp); - and /* delete curr info of the failed c

Re: [devel] [PATCH 1 of 1] amfd: return AIS_OK instead of BAD_OP for si-swap admin op [#823]

2014-04-02 Thread Nagendra Kumar
I would also agree with these comments with one additional comment: The below check is not required in complete_siswap(): + + if (su->su_switch == AVSV_SI_TOGGLE_STABLE) + goto done; + As we are not sure the removed code used to set to stable from unstable/stable, because ther

Re: [devel] [PATCH 1 of 1] amfd: return AIS_OK instead of BAD_OP for si-swap admin op [#823]

2014-04-02 Thread praveen malviya
Some comments: 1) In the patch with the change: su_ha_state = avd_su_state_determine(su); - if (su_ha_state == SA_AMF_HA_QUIESCED) { - if (su->su_switch == AVSV_SI_TOGGLE_SWITCH) { - AVD_SU_SI_REL *temp_susi; -

Re: [devel] [PATCH 1 of 1] amfd: return AIS_OK instead of BAD_OP for si-swap admin op [#823]

2014-04-02 Thread Hans Feldt
Please check and comment the attached patch. Thanks, Hans > -Original Message- > From: Nagendra Kumar [mailto:nagendr...@oracle.com] > Sent: den 2 april 2014 09:01 > To: Hans Feldt; Praveen Malviya > Cc: opensaf-devel@lists.sourceforge.net > Subject: RE: [devel] [PATCH 1 of 1] amfd: return

Re: [devel] [PATCH 1 of 1] osaf: Add definition of the new type SaConstStringT [#625]

2014-04-02 Thread Anders Björnerstedt
The direct inclusion prevention is a good idea and should be added to these files. I think the current include file extension for the imm should be kept for now. This mainly to avoid "rocking the boat" in this area unnecessarily. Our users have a hard enough time as it is to grasp the distinction

Re: [devel] [PATCH 1 of 1] amfd: return AIS_OK instead of BAD_OP for si-swap admin op [#823]

2014-04-02 Thread Hans Feldt
Then I guess the admin op will just timeout which is about the same as BAD-OP from the user perspective /Hans > -Original Message- > From: Nagendra Kumar [mailto:nagendr...@oracle.com] > Sent: den 2 april 2014 09:01 > To: Hans Feldt; Praveen Malviya > Cc: opensaf-devel@lists.sourceforge.n