Re: [devel] [PATCH 1 of 1] amfd: Recover the loss of update Admin State after headless [#2210]

2017-02-16 Thread Nagendra Kumar
Ack(Not tested). Please do mention the test cases in " Testing Commands:" Thanks -Nagu > -Original Message- > From: Minh Hon Chau [mailto:minh.c...@dektech.com.au] > Sent: 07 February 2017 08:56 > To: hans.nordeb...@ericsson.com; Nagendra Kumar; Praveen Malviya; > gary@dektech.com.au;

[devel] [PATCH 2 of 3] log: add UML test case to verify alternative destination [#2258]

2017-02-16 Thread Vu Minh Nguyen
src/log/Makefile.am| 4 +++- src/log/apitest/tet_LogOiOps.c | 8 2 files changed, 7 insertions(+), 5 deletions(-) Major changes: 1) Modify Lennart's test cases because enhancing destination configuration validation rules. 2) Add test suite #17 to verify alternative dest

[devel] [PATCH 3 of 3] log: add unit tests to verify interfaces provided by destination handler [#2258]

2017-02-16 Thread Vu Minh Nguyen
src/log/Makefile |4 + src/log/Makefile.am| 19 +++ src/log/tests/Makefile | 20 +++ src/log/tests/lgs_dest_test.cc | 209 + 4 files changed, 252 insertions(+), 0 deletions(-) Unit tests to verify major interfaces

[devel] [PATCH 1 of 3] log: add alternative destinations of log records [#2258]

2017-02-16 Thread Vu Minh Nguyen
src/log/Makefile.am |8 +- src/log/config/logsv_classes.xml |7 +- src/log/logd/lgs_config.cc | 193 +++-- src/log/logd/lgs_config.h|3 +- src/log/logd/lgs_dest.cc | 746 +++ src/log/logd/lgs_dest.h |

[devel] [PATCH 0 of 3] Review Request for log: add alternative destinations of log records [#2258] V3

2017-02-16 Thread Vu Minh Nguyen
Summary: log: add alternative destinations of log records [#2258] Review request for Trac Ticket(s): #2258 Peer Reviewer(s): Lennart, Mahesh, Canh Pull request to: <> Affected branch(es): Default Development branch: Default Impacted area Impact y/n --

Re: [devel] [PATCH 1 of 3] log: add alternative destinations of log records [#2258]

2017-02-16 Thread Lennart Lund
Hi Vu See comments inline tagged [Lennart] General comments: Update code and comments regarding changed delimiters in configuration string from '\n' to ';' Fix incorrect changes and usage of the configuration handler Regards Lennart > -Original Message- > From: Vu Minh Nguyen [mailto

Re: [devel] [PATCH 2 of 2] AMFND: Fix SC failover during headless sync before standby AMFD comes up [#2162]

2017-02-16 Thread minh chau
Hi Nagu, This patch is just for a corner case, where failover happens in between AVD_INIT_DONE and AVD_APP_STATE, we still have to reboot the node if out of cold sync happens. So I think we still have to keep that sentence in Compliance Table. Thanks, Minh On 16/02/17 17:24, Nagendra Kumar wro

Re: [devel] [PATCH 1 of 1] amfd: Recover the loss of update Admin State after headless [#2210]

2017-02-16 Thread minh chau
Hi Nagu, This patch is not a full solution for loss of RTA, it's only for problem reported in #2210, so I only tested the scenario described in this ticket. It's probably hard to see the loss if just following the test scenario. I had to change AVD_SI::set_admin_state in AMFD code not to update

Re: [devel] [PATCH 1 of 1] amfd: do not assert on saAmfSUMaintenanceCampaign modification [#2305]

2017-02-16 Thread praveen malviya
Ack with one minor comment. Thanks, Praveen On 15-Feb-17 7:50 AM, Gary Lee wrote: > src/amf/amfd/su.cc | 12 ++-- > 1 files changed, 10 insertions(+), 2 deletions(-) > > > Someone could change saAmfSUMaintenanceCampaign more than once in a CCB. > We should not assert / cause a node re

Re: [devel] [PATCH 1 of 1] mds: Use sequenceId for message sequence numbers [#2292]

2017-02-16 Thread A V Mahesh
Hi Anders Widell, Can you please clarify below : 1) is this meta sequenceId is rotates after reaching some value ? ( Max value ) 2) is this meta sequenceId persistent even after application respawn ?

Re: [devel] [PATCH 1 of 1] AMFND: Ensure su operational message synchronizes with component failover sequence [#2233]

2017-02-16 Thread praveen malviya
Hi Minh, I have started reviewing this patch. Thanks, Praveen On 15-Feb-17 9:22 AM, minh chau wrote: > Hi all, > > Have you had time to review this patch? > It changes the component failover sequence, so I think we need more time > to look at it. > > Thanks, > Minh > > On 23/01/17 12:28, Minh Ho

Re: [devel] [PATCH 1 of 1] AMFND: Ensure su operational message synchronizes with component failover sequence [#2233]

2017-02-16 Thread praveen malviya
Hi Minh, One quick question: Ticket description says: "Si deps safSi=AmfDemoTwon2 depends safSi=AmfDemoTwon1 depends safSi=AmfDemoTwon" But logs are related to without SIdep. Also in the configuration app3_twon3su3si.xml, SI dep classes are commented. I think ticket description needs correction

Re: [devel] [PATCH 1 of 1] AMFND: Ensure su operational message synchronizes with component failover sequence [#2233]

2017-02-16 Thread Minh Hon CHAU
Hi Praveen, Yes, you are right, I will update the description. Thanks, Minh Quoting praveen malviya : > Hi Minh, > > One quick question: > Ticket description says: > "Si deps safSi=AmfDemoTwon2 depends safSi=AmfDemoTwon1 depends > safSi=AmfDemoTwon" > But logs are related to without SIdep. Al