Re: [devel] [PATCH 1/1] pyosaf: High level python interfaces for IMM [#2602]

2017-10-27 Thread Quyen Dao
Hi Hieu, Ack. Tested with basic scenarios. Thanks, Quyen On 10/27/2017 9:46 PM, Hieu Nguyen wrote: --- python/Makefile.am |4 +- python/pyosaf/utils/immoi/__init__.py| 456 ++ python/pyosaf/utils/immoi/implementer.py | 1009

Re: [devel] [PATCH 1/1] pyosaf: High level python interfaces for IMM [#2602]

2017-10-27 Thread Quyen Dao
Hi Hieu, Please see my comments marked with [Quyen] Thanks, Quyen On 10/26/2017 3:21 PM, Hieu Nguyen wrote: --- python/pyosaf/utils/immoi/__init__.py| 275 +--- python/pyosaf/utils/immoi/implementer.py | 1006 -- python/pyosaf/utils/immom/__init__.py

Re: [devel] [PATCH 1/1] pyosaf: High level python interfaces for LOG [#2602]

2017-10-27 Thread Quyen Dao
Hi Hoa, Ack from me. Tested with some basic scenarios. Thanks, Quyen On 10/27/2017 6:14 PM, Hoa Le wrote: Improved implementation of LOG pyosaf utils The following comments shall be removed when the patch is pushed. - This is the 3rd patch in the series of patches to improve the

Re: [devel] [PATCH 1/1] pyosaf: High level python interfaces for CLM [#2602]

2017-10-27 Thread Quyen Dao
Hi Long Ack from me. Tested with some basic scenarios. Thanks, Quyen On 10/27/2017 5:26 PM, Long H Buu Nguyen wrote: - Add more error handling - Refactor clm code - Keep raising exceptions for existing python methods - Add __version__ attribute to utils --- python/pyosaf/utils/__init__.py

Re: [devel] [PATCH 1/1] pyosaf: High level python interfaces for LOG [#2602]

2017-10-27 Thread Quyen Dao
Hi Hoa, Please find my comments marked with [Quyen] Thanks, Quyen On 10/26/2017 3:33 PM, Hoa Le wrote: Improved implementation of LOG pyosaf utils The following comments shall be removed when the patch is pushed. - This is the 3rd patch in the series of patches to improve the

Re: [devel] [PATCH 1/1] pyosaf: retry SAF initialize() function with original version [#2524]

2017-10-17 Thread Quyen Dao
Hi Hieu, Ack from me. Thanks, Quyen On 10/17/2017 12:47 PM, Hieu Nguyen wrote: --- python/pyosaf/utils/__init__.py | 44 +++ python/pyosaf/utils/clm/__init__.py | 11 + python/pyosaf/utils/immoi/__init__.py | 7 +++---

Re: [devel] [PATCH 1/1] pyosaf: decorate function does not handle version struct in initialize functions [#2524]

2017-10-16 Thread Quyen Dao
Hi Hieu, Please see my comment marked with [Quyen]. Thanks, Quyen On 10/5/2017 5:26 PM, Hieu Nguyen wrote: --- python/pyosaf/utils/__init__.py | 38 +++ python/pyosaf/utils/clm/__init__.py | 18 -

Re: [devel] [PATCH 1/1] pyosaf: Raise ValueError instead NoneType Exception [#1410]

2017-10-16 Thread Quyen Dao
Hi Hieu, Ack from me. Thanks, Quyen On 10/17/2017 10:01 AM, Hieu Nguyen wrote: --- python/pyosaf/utils/immom/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyosaf/utils/immom/object.py b/python/pyosaf/utils/immom/object.py index c2924d3..7d8ece8

Re: [devel] [PATCH 1/1] pyosaf: Invalid exception used in ImmObject (object.py) [#1410]

2017-10-16 Thread Quyen Dao
Hi Hieu, Please see my minor comment marked with [Quyen] Thanks, Quyen On 10/3/2017 10:50 AM, Hieu Nguyen wrote: --- python/pyosaf/utils/immom/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyosaf/utils/immom/object.py

Re: [devel] [PATCH 1/1] amf: Improve SC status change callback style [#2594]

2017-10-05 Thread Quyen Dao
Hi, If there is no more comment, this patch will be pushed by next Monday (2017-10-09) Thanks, Quyen On 9/26/2017 12:54 PM, Gary Lee wrote: Ack Thanks Gary On 26/9/17, 2:56 pm, "Quyen Dao" <quyen@dektech.com.au> wrote: Make SC status change callback style

[devel] [PATCH 1/1] amf: Improve SC status change callback style [#2594]

2017-09-25 Thread Quyen Dao
Make SC status change callback style to be consistent with other AMF callbacks * Define an alias named OsafAmfSCStatusChangeCallbackT for the SC status change callback type * Use osafAmfSCStatusChangeCallback as callback name * Change "OsafAmfSCStatusT state" to "OsafAmfSCStatusT status" ---

[devel] [PATCH 0/1] Review Request for amf: Improve SC status change callback style [#2594]

2017-09-25 Thread Quyen Dao
Summary: amf: Improve SC status change callback style [#2594] Review request for Ticket(s): 2594 Peer Reviewer(s): Gary, Hans, Praveen, Ravi Pull request to: Gary Affected branch(es): develop Development branch: ticket-2594 Base revision: f3ef8eebf44f0eab4dcc65f83fe3119a77ef5067 Personal

Re: [devel] [PATCH 1 of 1] pyosaf: Add __str__ method into non extended SaNameT class [#1737]

2016-08-23 Thread Quyen Dao
Hi, If no more comment, it will be pushed by tomorrow (2016/08/25) Thanks, Quyen -Original Message- From: Hans Nordebäck [mailto:hans.nordeb...@ericsson.com] Sent: Wednesday, August 10, 2016 7:27 PM To: Quyen Dao <quyen@dektech.com.au>; srikanth.revan...@oracle.com Cc: o

Re: [devel] [PATCH 1 of 1] pyosaf: Add __str__ method into non extended SaNameT class [#1737]

2016-08-04 Thread Quyen Dao
Hi, Please help review! Thanks, Quyen -Original Message- From: Quyen Dao [mailto:quyen@dektech.com.au] Sent: Wednesday, May 25, 2016 11:45 AM To: hans.nordeb...@ericsson.com; srikanth.revan...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [devel] [PATCH 1 of 1] pyosaf

[devel] [PATCH 0 of 1] Review Request for pyosaf: Add __str__ method into non extended SaNameT class [#1737]

2016-05-24 Thread Quyen Dao
Other n Comments (indicate scope for each "y" above): - <> changeset ea5807b590dbbaa235b5f368f7a0dd660e0fd214 Author: Quyen Dao <quyen@dektech.com.au> Date: Wed, 25 May 2016 10:52:46 +0700 pyos

[devel] [PATCH 1 of 1] pyosaf: Add __str__ method into non extended SaNameT class [#1737]

2016-05-24 Thread Quyen Dao
python/pyosaf/saAis.py | 5 + python/pyosaf/saImm.py | 2 +- python/pyosaf/saNtf.py | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) with this change, user can call str(sa_name_t_obj) to convert SaNameT to str without caring it's extended or non extended. unmarshalSaImmValue

Re: [devel] [PATCH 1 of 1] amfd: do not checkpoint the nway sg fsm in case of no change [#1697]

2016-03-31 Thread Quyen Dao
Hi Praveen, Please see my comments inline. Thanks, Quyen -Original Message- From: praveen malviya [mailto:praveen.malv...@oracle.com] Sent: Thursday, March 31, 2016 3:32 PM To: Quyen Dao; 'Hans Nordebäck'; gary@dektech.com.au; nagendr...@oracle.com Cc: opensaf-devel

Re: [devel] [PATCH 1 of 1] pyosaf: Add support for extended SaNameT in saAis.py [#1676]

2016-03-10 Thread Quyen Dao
Hi Srikanth and Johan, Could you please help review this patch? Thanks, Quyen -Original Message- From: Quyen Dao [mailto:quyen@dektech.com.au] Sent: Wednesday, February 03, 2016 4:01 PM To: hans.nordeb...@ericsson.com; srikanth.revan...@oracle.com; johan.o.martens...@ericsson.com

[devel] [PATCH 1 of 1] amfd: do not checkpoint the nway sg fsm in case of no change [#1697]

2016-03-09 Thread Quyen Dao
osaf/services/saf/amf/amfd/sg_nway_fsm.cc | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) After the nway application AMF entities are created, active amfd calls avd_sg_nway_si_assign function to assign any unassigned SI but all SUs are locked so no SI are assigned and the FSM is

[devel] [PATCH 1 of 1] pyosaf: Add support for extended SaNameT in saAis.py [#1676]

2016-02-03 Thread Quyen Dao
python/pyosaf/saAis.py | 45 - 1 files changed, 36 insertions(+), 9 deletions(-) Set enviroment variable SA_ENABLE_EXTENDED_NAMES to 1 in order to use this extended SaNameT diff --git a/python/pyosaf/saAis.py b/python/pyosaf/saAis.py ---

[devel] [PATCH 0 of 1] Review Request for pyosaf: Add support for extended SaNameT in saAis.py [#1676]

2016-02-03 Thread Quyen Dao
n Other Y Comments (indicate scope for each "y" above): - <> changeset 1325333fe6225fe133d14c3f759c63c32e74f859 Author: Quyen Dao <quyen@dektech.com.au> Date: Wed, 03 Feb 2016 14:21:47 +0700

Re: [devel] [PATCH 2 of 2] amfnd: fix amfnd crash due to inst failure of a restarting npi comp [#1587]

2016-01-11 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Friday, January 08, 2016 8:27 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au; minh.c...@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 2] amfnd: fix continuous restart of a inst_failed comp during su restart[#1556]

2016-01-11 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Friday, January 08, 2016 8:27 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au; minh.c...@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 1] amfd: fix amfd crash during modification of comp global attributes[#1612]

2015-12-24 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Thursday, December 24, 2015 1:34 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 1] amfd: fix amfd crash during modification of saAmfSGSuHostNodeGroup [#1594]

2015-12-10 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Thursday, December 10, 2015 1:43 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 1] amfd: fix amfd assert during modification of comp attributes v2 [#1592]

2015-11-26 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Wednesday, November 25, 2015 1:21 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au Cc:

[devel] [PATCH 0 of 1] Review Request for AMF: Add directory and Makefile.am for amfa and amfnd unit test [#1610]

2015-11-25 Thread Quyen Dao
n Other n Comments (indicate scope for each "y" above): - <> changeset 56a846d07f0093202d11bb89347e60709369bdfa Author: Quyen Dao <quyen@dektech.com.au> Date: Thu, 26 Nov 2015 14:25:0

[devel] [PATCH 1 of 1] Setup directory and Makefile.am for amfa and amfnd google unit test [#1610]

2015-11-25 Thread Quyen Dao
configure.ac | 2 + osaf/libs/agents/saf/amfa/Makefile.am | 2 +- osaf/libs/agents/saf/amfa/tests/Makefile.am | 35 +++ osaf/services/saf/amf/amfnd/Makefile.am | 2 +- osaf/services/saf/amf/amfnd/tests/Makefile.am |

Re: [devel] [PATCH 1 of 1] amfd: fix amfd assert during modofication of comp attributes [#1592]

2015-11-24 Thread Quyen Dao
Hi Praveen, I got the below error when compiling the latest changeset with your patch. comp.cc:1189:30: error: 'value' may be used uninitialized in this function [-Werror=maybe-uninitialized] name = *((SaNameT *)value); ^ comp.cc:897:9: note: 'value' was

Re: [devel] [PATCH 1 of 1] amfd: fix amfd crash during attribute modification in compType [#1593]

2015-11-24 Thread Quyen Dao
Hi Praveen, When the cluster starts, the saAmfCtDefInstantiationLevel is . root@SC-1:~# immlist -a saAmfCtDefInstantiationLevel safVersion=4.0.0,safCompType=OpenSafCompTypeAMFWDOG saAmfCtDefInstantiationLevel= If I change saAmfCtDefInstantiationLevel to 1 then change it back to . It

Re: [devel] [PATCH 1 of 1] amfd: change saAmfSIPrefActiveAssignments after adjusting assignments [#1489]

2015-11-18 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Wednesday, November 18, 2015 12:42 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 1] amfd: fix SHUTTING_DOWN state validation during standby AMFD initialization [#1560]

2015-11-17 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Tuesday, November 17, 2015 3:57 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 1] amfd: fix amfd crash during node attribute modification [#1591]

2015-11-10 Thread Quyen Dao
Hi Praveen, Ack (Test only) Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Tuesday, November 10, 2015 5:45 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com; quyen@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 2] amfd: fix SU presence state transition during restart admin op [#1518]

2015-10-22 Thread Quyen Dao
Hi Praveen, Ack (Test only). Tested 2 patches with the latest changeset (changeset: 7033:e03de11423ca) on default branch. Thanks, Quyen -Original Message- From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com] Sent: Wednesday, October 21, 2015 7:39 PM To:

Re: [devel] [PATCH 1 of 2] amfd: fix SU presence state transition during restart admin op [#1518]

2015-10-21 Thread Quyen Dao
Hi Praveen, I applied 2 patches on top of changeset: 7019:f378a750ff34. The presence state transition works correctly during admin SU restart. BUT the new code change causes the amfnd crash when restarting the NPI comp. Here are the backtrace and syslog. Backtrace (gdb) bt full #0

Re: [devel] [PATCH 1 of 1] amfd: do not assign SUs on locked nodes when ng is deleted. [#1507]

2015-10-15 Thread Quyen Dao
Hi Praveen, Ack (Test only). Thanks, Quyen Subject: [devel] [PATCH 1 of 1] amfd: do not assign SUs on locked nodes when ng is deleted. [#1507] Date: Tue, 29 Sep 2015 12:37:07 +0530 From: praveen.malv...@oracle.com To: hans.nordeb...@ericsson.com, nagendr...@oracle.com,

Re: [devel] [PATCH 1 of 1] amfd: fix comp term_failed state alarm [#1473]

2015-09-29 Thread Quyen Dao
Hi Praveen, Ack (Test only) Thanks, Quyen -Original Message- From: praveen malviya [mailto:praveen.malv...@oracle.com] Sent: Monday, September 28, 2015 4:25 PM To: hans.nordeb...@ericsson.com; nagendr...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [devel] [PATCH 1

Re: [devel] [PATCH 1 of 1] amfd: ignore invalid operations on nodegroup [#1389]

2015-07-13 Thread Quyen Dao
Hi Gary, Ack from me (Test only) Regards, Quyen -Original Message- From: Gary Lee [mailto:gary@dektech.com.au] Sent: Thursday, July 09, 2015 5:44 PM To: praveen.malv...@oracle.com; nagendr...@oracle.com; quyen@dektech.com.au; gary@dektech.com.au Cc:

Re: [devel] [PATCH 1 of 1] amfd: ignore unlocked node during unlock-in op on ng [#1389]

2015-06-26 Thread Quyen Dao
Hi Praveen, I applied your patch on top of latest changeset 6631:593bc933f80c on default branch and tried to verify by following steps: 1. Start cluster 2. Load the NWayActive model (AppConfig-nwayactive.xml) and unlock-in then unlock all the SUs 3. Create a node group containing PL-3 and PL-4