Summary: imm: add support for replacement SaNameT with SaStringT [#643] Review request for Trac Ticket(s): 643 Peer Reviewer(s): Neelakanta, Anders Pull request to: Zoran Affected branch(es): default(4.6) Development branch: default(4.6)
-------------------------------- 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 ba80cc0b2c5a516d7c3dce419c2dcd8cdb68dc9c Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Fri, 06 Feb 2015 10:32:20 +0100 imm: add new API functions for replacement SaNameT with SaStringT [#643] New functions with suffix "_o3" are added. New functions should replace usage SaNameT with easier use of SaStringT type. SA_IMM_ATTR_DN is a new flag that can be used only with SaStringT type, and it's meaning with SaStringT is same as SaNameT. NO_DANGLING feature applies to attributes with SA_IMM_ATTR_DN flag. changeset 762533080475462dd22bf6ae932e499297732233 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Fri, 06 Feb 2015 10:36:12 +0100 imm: service support for replacement SaNameT with SaStringT [#643] IMM service support for replacement SaNameT type with SaStringT. SA_IMM_ATTR_DN is a new flag that can be used only with SaStringT type, and it's meaning with SaStringT is same as SaNameT. The logic for NO_DANGLING feature on attributes with SA_IMM_ATTR_DN flag is implemented in IMM service. changeset 72e9fc034788fd65a5e052fc993491241badc052 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Fri, 06 Feb 2015 10:43:07 +0100 immtools: support for replacement SaNameT with SaStringT in IMM tools [#643] Support for replacement SaNameT with SaStringT is added to IMM tools. changeset 24a70fc4046f7dfe54d1a9ba29e64ce6f5813ec5 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Fri, 06 Feb 2015 10:45:32 +0100 immtest: add tests for replacement SaNameT with SaStringT [#643] New tests for replacement SaNameT with SaStringT are added to immoitest and immomtest. Added Files: ------------ osaf/libs/saf/include/saImmOi_A_2_15.h osaf/libs/saf/include/saImmOm_A_2_15.h osaf/services/saf/immsv/schema/SAI-AIS-IMM-XSD-A.02.15.xsd tests/immsv/implementer/test_saImmOiSaStringT.c tests/immsv/management/test_saImmOmSaStringT.c Complete diffstat: ------------------ osaf/libs/agents/saf/imma/imma_cb.h | 3 + osaf/libs/agents/saf/imma/imma_def.h | 2 +- osaf/libs/agents/saf/imma/imma_oi_api.c | 324 ++++++++++++++++++++++++++++++++++---------- osaf/libs/agents/saf/imma/imma_om_api.c | 731 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------- osaf/libs/agents/saf/imma/imma_proc.c | 195 +++++++++++++++++++------- osaf/libs/common/immsv/immsv_evt.c | 40 +++++- osaf/libs/common/immsv/include/immpbe_dump.hh | 2 +- osaf/libs/common/immsv/include/immsv_api.h | 1 + osaf/libs/common/immsv/include/immsv_evt.h | 3 + osaf/libs/common/immsv/include/immsv_evt_model.h | 1 + osaf/libs/saf/include/saImmOi_A_2_11.h | 2 + osaf/libs/saf/include/saImmOi_A_2_15.h | 122 +++++++++++++++++ osaf/libs/saf/include/saImmOm_A_2_14.h | 2 + osaf/libs/saf/include/saImmOm_A_2_15.h | 168 +++++++++++++++++++++++ osaf/services/saf/immsv/immloadd/imm_loader.cc | 11 +- osaf/services/saf/immsv/immloadd/imm_pbe_load.cc | 2 +- osaf/services/saf/immsv/immnd/ImmModel.cc | 546 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------- osaf/services/saf/immsv/immnd/ImmModel.hh | 1 + osaf/services/saf/immsv/immnd/immnd_evt.c | 21 ++- osaf/services/saf/immsv/immnd/immnd_init.h | 1 + osaf/services/saf/immsv/schema/SAI-AIS-IMM-XSD-A.02.15.xsd | 181 +++++++++++++++++++++++++ osaf/tools/safimm/immadm/imm_admin.c | 2 +- osaf/tools/safimm/immcfg/imm_cfg.c | 2 +- osaf/tools/safimm/immcfg/imm_import.cc | 7 +- osaf/tools/safimm/immdump/imm_xmlw_dump.cc | 9 + osaf/tools/safimm/immfind/imm_find.c | 2 +- osaf/tools/safimm/immlist/imm_list.c | 8 +- tests/immsv/common/immtest.c | 4 +- tests/immsv/implementer/Makefile.am | 1 + tests/immsv/implementer/test_cleanup.c | 3 + tests/immsv/implementer/test_saImmOiClassImplementerSet.c | 2 - tests/immsv/implementer/test_saImmOiImplementerSet.c | 6 - tests/immsv/implementer/test_saImmOiLongDn.c | 4 - tests/immsv/implementer/test_saImmOiSaStringT.c | 1029 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/immsv/management/Makefile.am | 1 + tests/immsv/management/test_cleanup.c | 3 + tests/immsv/management/test_saImmOmCcbObjectCreate_2.c | 4 - tests/immsv/management/test_saImmOmCcbObjectModify_2.c | 2 - tests/immsv/management/test_saImmOmSaStringT.c | 419 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 39 files changed, 3405 insertions(+), 462 deletions(-) Testing Commands: ----------------- immoitest immomtest Testing, Expected Results: -------------------------- Both immoitest and immomtest must pass all tests Conditions of Submission: ------------------------- Ack from Neelakanta and Anders Arch Built Started Linux distro ------------------------------------------- mips n n mips64 n n x86 n n x86_64 n n 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. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel