osaf/services/saf/amf/amfnd/err.cc | 6 ++++++
osaf/services/saf/amf/amfnd/include/avnd_comp.h | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/osaf/services/saf/amf/amfnd/err.cc
b/osaf/services/saf/amf/amfnd/err.cc
--- a/osaf/services/saf/amf/amfnd/err.cc
+++ b/osaf/services/saf/amf/amfnd/err.cc
@@ -371,6 +371,12 @@ uint32_t avnd_err_process(AVND_CB *cb, A
/* if time's not specified, use current time TBD */
if (err_info->src != AVND_ERR_SRC_REP)
m_GET_TIME_STAMP(comp->err_info.detect_time);
+ else {
+ /* Inform AMFD to generate ErrorReport() notification */
+ avnd_di_uns32_upd_send(AVSV_SA_AMF_COMP,
saAmfCompRecoveryOnError_ID,
+ &comp->name, err_info->rec_rcvr.raw);
+ comp->error_report_ntf = true;
+ }
m_AVND_SEND_CKPT_UPDT_ASYNC_UPDT(cb, comp, AVND_CKPT_COMP_ERR_INFO);
diff --git a/osaf/services/saf/amf/amfnd/include/avnd_comp.h
b/osaf/services/saf/amf/amfnd/include/avnd_comp.h
--- a/osaf/services/saf/amf/amfnd/include/avnd_comp.h
+++ b/osaf/services/saf/amf/amfnd/include/avnd_comp.h
@@ -361,6 +361,7 @@ typedef struct avnd_comp_tag {
bool assigned_flag; /* Used in finding multiple csi for a single comp
while csi mod.*/
bool pending_delete; /* Used in deleting component when su is in
instantiated state.*/
+ bool error_report_ntf;
} AVND_COMP;
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel