Menu

#3068 SMF: Move the generic IMM ccb handler in SMF to IMM tools as a library

5.21.06
fixed
None
enhancement
imm
tools
major
False
2021-04-06
2019-08-13
elunlen
No

SMF uses an IMM tool for doing modifications of the IMM model. This tool can be used to add, delete and modify IMM objects. In IMM modifications are done by creating CCB. Creating a CCB is a complicated procedure where several IMM APIs are used. There is also a number of rules that has to be followed regarding handling of return codes, errors and retry mechanisms. This tool implements needed sequences and rules and has a defined API that takes full ownersip of input data (no pointers).
This tool is generic and could be used by other services than SMF (has no dependencies to any SMF code) but the code resides in the SMF direcory.
Move this code to a place available to any opensaf service and make it a library.
A patch doing that is attached. This patch is created some time ago but should be possible to use. It must be checked if any modifications have been made after this pach was created.

2 Attachments

Related

Wiki: ChangeLog-5.21.06

Discussion

  • Thang Duc Nguyen

    • status: unassigned --> assigned
    • assigned_to: Thang Duc Nguyen
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
    +0001-osaf-Move-the-immtool-for-modifying-the-IMM-model-to-v2.patch (77.1 kB; application/octet-stream)
     0001-osaf-Move-the-immtool-for-modifying-the-IMM-model-to.patch (67.7 kB; application/octet-stream)
    
     
  • Thang Duc Nguyen

    • Milestone: future --> 5.21.06
     
  • Thang Duc Nguyen

    • status: assigned --> review
     
  • Thang Duc Nguyen

    commit 274fc3feeb1eb0aa0f524374badf0c590f6c86db (HEAD -> develop, origin/develop, ticket-3068)
    Author: thang.d.nguyen thang.d.nguyen@dektech.com.au
    Date: Tue Mar 23 08:48:22 2021 +0700

    osaf: Move the immtool for modifying the IMM model to osaf [#3068]
    
    The local IMM model modification tool in SMF is moved to osaf tool to
    make it globally available.
    
     
  • Thang Duc Nguyen

    • status: review --> fixed
     

Log in to post a comment.