Summary: ckpt: Support DNs longer than 255 bytes Review request for Trac Ticket(s): #1574 Peer Reviewer(s): mahesh.va...@oracle.com; anders.wid...@ericsson.com Pull request to: mahesh.va...@oracle.com Affected branch(es): default Development branch: default
-------------------------------- Impacted area Impact y/n -------------------------------- Docs n Build system n RPM/packaging n Configuration files n Startup scripts n SAF services y OpenSAF services n Core libraries n Samples n Tests n Other n Comments (indicate scope for each "y" above): --------------------------------------------- changeset b628569f847672c28dc737689a2ec51acfc04f59 Author: Nhat Pham <nhat.p...@dektech.com.au> Date: Fri, 11 Mar 2016 13:16:05 +0700 cpd: Add support for extended SaNameT [#1574] changeset 5c275f39e162b62cebecbfd0eb838c51c38b018d Author: Nhat Pham <nhat.p...@dektech.com.au> Date: Fri, 11 Mar 2016 13:16:08 +0700 cpnd: Add support for extended SaNameT v1 [#1574] changeset 5b4bd06e5c59c38c6e16e129a391a489b74574d5 Author: Nhat Pham <nhat.p...@dektech.com.au> Date: Fri, 11 Mar 2016 13:16:11 +0700 cpa: Add support for extended SaNameT v1 [#1574] changeset d1ef0241e1f4d4ce5ced2f2abd172740e30ad56d Author: Nhat Pham <nhat.p...@dektech.com.au> Date: Fri, 11 Mar 2016 13:16:21 +0700 cpsv: Add new message to support extended SaNameT v1 [#1574] New messages supporting extended SaNameT are introduce. Encoding and decoding funtions for them are also included. changeset a6df7378b9b5ba388d91193e1a6ade77c3233cd4 Author: Nhat Pham <nhat.p...@dektech.com.au> Date: Fri, 11 Mar 2016 13:16:23 +0700 cpd: Add new mbcsv messages supporting extended SaNameT v1 [#1574] New MBCSV messages supporting extended SaNameT and their encoding/decoding functions are included. changeset f04ed3e13a71d7c8700e50e115a3cf64ac043a13 Author: Nhat Pham <nhat.p...@dektech.com.au> Date: Fri, 11 Mar 2016 13:16:30 +0700 cpsv: Apply new messages supporting extended SaNameT to CPD, CPND, and CPA v1 [#1574] changeset 459d7fdc3636b40f42186b9a215578f7b1925ce4 Author: Nhat Pham <nhat.p...@dektech.com.au> Date: Mon, 14 Mar 2016 09:41:17 +0700 ckpt: Add new test cases to verify long DN feature on CPSV v1 [#1574] Complete diffstat: ------------------ osaf/libs/agents/saf/cpa/Makefile.am | 1 + osaf/libs/agents/saf/cpa/cpa_api.c | 50 +++++++++++-------- osaf/libs/agents/saf/cpa/cpa_db.c | 2 + osaf/libs/agents/saf/cpa/cpa_mds.c | 4 +- osaf/libs/agents/saf/cpa/cpa_proc.c | 2 +- osaf/libs/common/cpsv/cpsv_evt.c | 495 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ osaf/libs/common/cpsv/include/cpa.h | 1 + osaf/libs/common/cpsv/include/cpa_cb.h | 2 +- osaf/libs/common/cpsv/include/cpa_proc.h | 2 +- osaf/libs/common/cpsv/include/cpd.h | 1 + osaf/libs/common/cpsv/include/cpd_cb.h | 17 +++--- osaf/libs/common/cpsv/include/cpd_imm.h | 4 +- osaf/libs/common/cpsv/include/cpd_proc.h | 2 +- osaf/libs/common/cpsv/include/cpnd.h | 1 + osaf/libs/common/cpsv/include/cpnd_cb.h | 5 +- osaf/libs/common/cpsv/include/cpnd_init.h | 3 +- osaf/libs/common/cpsv/include/cpsv_evt.h | 23 +++++++++ osaf/libs/common/cpsv/include/cpsv_shm.h | 6 +- osaf/services/saf/cpsv/cpd/Makefile.am | 1 + osaf/services/saf/cpsv/cpd/cpd_amf.c | 7 +- osaf/services/saf/cpsv/cpd/cpd_db.c | 110 +++++++++++++++++++++++++------------------- osaf/services/saf/cpsv/cpd/cpd_evt.c | 106 ++++++++++++++++++++++++++++--------------- osaf/services/saf/cpsv/cpd/cpd_imm.c | 268 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------- osaf/services/saf/cpsv/cpd/cpd_main.c | 7 ++ osaf/services/saf/cpsv/cpd/cpd_mbcsv.c | 31 ++++++++++++- osaf/services/saf/cpsv/cpd/cpd_mds.c | 84 +++++++++++++++++++++++++++++++-- osaf/services/saf/cpsv/cpd/cpd_proc.c | 197 ++++++++++++++++++++++++++++++++++++++++++++----------------------------------- osaf/services/saf/cpsv/cpd/cpd_red.c | 6 +- osaf/services/saf/cpsv/cpd/cpd_sbevt.c | 57 ++++++++++------------- osaf/services/saf/cpsv/cpnd/Makefile.am | 1 + osaf/services/saf/cpsv/cpnd/cpnd_db.c | 6 +- osaf/services/saf/cpsv/cpnd/cpnd_evt.c | 93 +++++++++++++++++++++++++------------ osaf/services/saf/cpsv/cpnd/cpnd_main.c | 7 ++ osaf/services/saf/cpsv/cpnd/cpnd_mds.c | 84 +++++++++++++++++++++++++++++++-- osaf/services/saf/cpsv/cpnd/cpnd_proc.c | 83 ++++++++++++++++++++++++-------- osaf/services/saf/cpsv/cpnd/cpnd_res.c | 20 ++++---- tests/cpsv/Makefile.am | 1 + tests/cpsv/test_cpa.c | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- tests/cpsv/test_cpa_util.c | 15 ++++++ tests/cpsv/test_cpsv.h | 6 ++ tests/cpsv/test_cpsv_conf.h | 3 + 41 files changed, 1567 insertions(+), 427 deletions(-) Testing Commands: ----------------- export SA_ENABLE_EXTENDED_NAMES=1 immcfg -a longDnsAllowed=1 opensafImm=opensafImm,safApp=safImmService ckpttest 5 55 ckpttest 5 56 ckpttest 5 57 ckpttest 5 58 ckpttest 7 12 Testing, Expected Results: -------------------------- All test pass Conditions of Submission: ------------------------- - Arch Built Started Linux distro ------------------------------------------- mips n n mips64 n n x86 n n x86_64 y y powerpc n n powerpc64 n n Reviewer Checklist: ------------------- [Submitters: make sure that your review doesn't trigger any checkmarks!] Your checkin has not passed review because (see checked entries): ___ Your RR template is generally incomplete; it has too many blank entries that need proper data filled in. ___ You have failed to nominate the proper persons for review and push. ___ Your patches do not have proper short+long header ___ You have grammar/spelling in your header that is unacceptable. ___ You have exceeded a sensible line length in your headers/comments/text. ___ You have failed to put in a proper Trac Ticket # into your commits. ___ You have incorrectly put/left internal data in your comments/files (i.e. internal bug tracking tool IDs, product names etc) ___ You have not given any evidence of testing beyond basic build tests. Demonstrate some level of runtime or other sanity testing. ___ You have ^M present in some of your files. These have to be removed. ___ You have needlessly changed whitespace or added whitespace crimes like trailing spaces, or spaces before tabs. ___ You have mixed real technical changes with whitespace and other cosmetic code cleanup changes. These have to be separate commits. ___ You need to refactor your submission into logical chunks; there is too much content into a single commit. ___ You have extraneous garbage in your review (merge commits etc) ___ You have giant attachments which should never have been sent; Instead you should place your content in a public tree to be pulled. ___ You have too many commits attached to an e-mail; resend as threaded commits, or place in a public tree for a pull. ___ You have resent this content multiple times without a clear indication of what has changed between each re-send. ___ You have failed to adequately and individually address all of the comments and change requests that were proposed in the initial review. ___ You have a misconfigured ~/.hgrc file (i.e. username, email etc) ___ Your computer have a badly configured date and time; confusing the the threaded patch review. ___ Your changes affect IPC mechanism, and you don't present any results for in-service upgradability test. ___ Your changes affect user manual and documentation, your patch series do not contain the patch that updates the Doxygen manual. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel