Unsolved
This post is more than 5 years old
11 Posts
0
2307
February 28th, 2018 02:00
Custom Dynmodel Issue: MR3-E-PROPAGATED_ATTR_NOT_FOUND_DYN-For property
Hi there,
for the below dynmodel i can see the following log entries. As the attribute is instrumented, polled and notifying on the test device as expected, i am not sure about these entries, its impact and how to improve to get rid of. We do have other dynmodels with the same behaviour.
Thanks for any input in advance.
Kind regards
Robert
Log:
DYN-W-CLASS_REFINE_CREATED- Interface PowerSupply refined from sc_PS_Fault_CiscoFRU.mdl:11
:
DYN-W-CLASS_REFINE_CREATED- Interface PowerSupply_Fault_CiscoEntityFRU refined from sc_PS_Fault_CiscoFRU.mdl:1
:
MR3-E-PROPAGATED_ATTR_NOT_FOUND_DYN-For property 'PowerSupply::cefcFRUCurrent' propagated attribute 'cefcFRUCurrent' not found in related class 'PowerSupply_Fault_CiscoEntityFRU'. Check that the attribute's definition in the dynamic model has correct propagated attribute.; in file "/work/redcurrent/DMT-9.4.2.X/8/smarts/repos/mr/prop.c" at line 862
MR-PROPERTY_NOT_FOUND-Specified property 'cefcFRUCurrent' not found in class; in file "/work/redcurrent/DMT-9.4.2.X/8/smarts/repos/mr/classdef.c" at line 2508
Dynmodel:
refine interface PowerSupply_Fault_CiscoEntityFRU
{
instrument SNMP {
cefcFRUCurrent = "1.3.6.1.4.1.9.9.117.1.1.2.1.3"
};
readonly instrumented attribute int cefcFRUCurrent
"a current measurement, on the system power supply primary output, expressed in cefcPowerUnits.";
}
refine interface PowerSupply
{
propagate attribute int cefcFRUCurrent
"a current measurement, on the system power supply primary output, expressed in cefcPowerUnits."
= PowerSupply_Fault_CiscoEntityFRU, InstrumentedBy, cefcFRUCurrent;
event PowerLoss
"No Power attached"
= cefcFRUCurrent == 0;
export PowerLoss;
}
SeanPopham
54 Posts
0
March 1st, 2018 07:00
Robert,
Please understand in support we don't support writing dynamic model code and have very limited knowledge. We will at look into the what your experiencing and try to provide some direction, but it will be very limited.
Kind Regards,
Sean