== AMF integration with IMM == This page contains development information related to AMF Integration with IMM; which is OpenSAF Release 4 work item covered by these tickets: #161, #617, #612, #700 & #701. === Developer Repositories === * Ashwini Kumar: * Hans Feldt: http://devel.opensaf.org/hg/opensaf-avsv-oi-hafe/ * Nagendra Kumar: http://devel.opensaf.org/hg/opensaf-avsv-oi-nagu/ === Work Items === || '''Item''' || '''Owner''' || '''Beta''' || '''Status'''|| || Create AMF B.04 model for OpenSAF MW || Hans || 3 || Done || || Read AMF B.04 configuration from IMM || Hans || 3 || Done || || Create generic OI dispatcher for AVD || Hans || 3 || Done || || Create generic framework for CCB callbacks || Nags || 3 || Done || || Added CCB callbacks handling for create/modify/delete || Nags || 3 || Done || || Support for Node admin operations || Ashwini || 3 || Done || || Respond to runtime attribute update callbacks || Hans || 3 || Done || || Rename avsv_demo to amf_demo, remove LEAP dependency and create imm.xml || Hans || 3 || Done || || SI assignments created/deleted in IMM || Hans || 3 || Done || || CSI assignments created/deleted in IMM || Nags || 3 || Done || || Runtime attributes updated in IMM || Nags || 3 || Done || || Send AMF Model for MW (Review) || Hans || 3 || Done || || Disable "External proxied component" support (broken) || Hans || 3 || Done || || Create avsv local main() for AVD & AvND || Hans || 3 || Done || || RDA triggered fail over for LOG, NTF & IMMD || Hans || 3 || Done || || Support for SU admin operations || Ashwini || 3 || Done || || Support change of !SaAmfCompType attribute of comp || Hans || 3 || Done || || AMF usability scripts (packaged in tools rpm) || Hans || 3 || Done || || Testing functional, failover || All || 3,4 || Done for beta3 || || Move avsv header files to proper location || Hans || 4 || Done || || !NodeGroup support || Ashwini/Hans || 4 || Done || || Convert all logging/tracing in AMF to use Logtrace API || All || 4 || Ongoing || || Dynamic changes to AMF Model (for Application entities, no delete) || Hans || 4 || Done || || Support for !SaAmfNodeSwBundle (build execution path from) || Hans || 4 || Committed, some comments remains to be resolved || || AVM & BAM removal || Hans || 4 || Ongoing || || Relax order of object creation in CCB || Hans || 4 || Ongoing || || Support for Node admin operations || Ashwini || 4 || Review 2 pending || || Support for SG admin operations || || 4 || || || Revise handling of runtime attributes (e.g. admin state) || || 4 || || || Improve Logtrace API || Hans || 4 || || || Support for CSI dependencies ||Nagendra || 4 || || || Align impl. of SI dependency class (impl) ||Nags || 4 || || || Align impl. of SI Ranked SU || || 4 || || || Splitting imm.xml in per-service imm.xml || Hans || 4 || || || Open Issue: Any impact on AMF model because of modularity || Mario || 4 || || || Package !AvSv demo as rpm || Jonathan? || 4 || || || Dynamic configuration of !AvSv Demo HA model || Hans? || 4 || || || Enable "External proxied component" support || Nags || 4 || || || Support of Component Admin restart || Nags|| 4 || || || Support modification of saAmfSUMaintenanceCampaign (SMF req) || || 5 || || || Modify "External proxied component" configuration reading to local IMM-db rather than AVNd-AVNd checkpointing || Nags || 5 || || || Support change of types || || 5 || || || Support for Application admin operations || || 5 || || || Dynamic changes to AMF Model (for MW Entities) || || 5 || || || Correct deviation of type for saClmNodeID (config->runtime) || || 5 || || || Support for dynamic deletion of objects || || 5 || || || Tool/script to support generation of initial config (imm.xml) for cluster sizes for OpenSAF AMF Entities (1-X nodes) (#700) || || || || || Tool/script to support dynamic changes to OpenASF cluster size (for MW enities) (#701) || || || || === Additional Ideas (Hans) === * Divide scap into two processes: opensaf_amfd & opensaf_amfnd? pcap would become opensaf_amfnd. Makes sense after the AMF-CLM split. * AvD-AvND protocol could be more logical, what is SET-LED? Why not have an admin-state-set message and let avnd handle lock-instantiation etc * Old bugs needs a permanent solution: * Ticket: #210: I suggest that we add a node_type attribute to the CLM-NODE-UP message, then AVD can determine if it should start heart beats or not. How does the AMF-CLM split affect this problem, will we still have heart beats? * Ticket #689: Probably timer memory has been freed. * Ticket: #579 * I would like traces always written to an internal circular buffer. That makes the last execution visible in a core dump. Kind of a black box recorder. Should not be hard to extend logtrace to handle that. Will need enter/leave tracing in most functions. * We need an AMF monitor that can handle that pcap dies. It need to reboot the node. This is needed in a PC cluster (non HPI managed).