Hi all,
1, In function avm_octet_string_2_entity_path(),
entity_path->Entry[] is filled with each pair of {entity_type, entity_instance}
in string ep[].
However, if the entity_instance equals zero, the line:
entity_path->Entry[count++].EntityInstance = entity_instance;
won't be executed, therefore count remains (not adds one), and the next pair of
{entity_type,
entity_instance} will overwrite the prior. Is it right?
2, Now we try to apply OpenSaf on ATCA chassis. HSM gets the HPI RPT entry by
calling saHpiRptEntryGet,
and the "Entity Path" of entry achieved is like following:
{SAHPI_ENT_ROOT, 0}[repeats several times] {SAHPI_ENT_RACK, 0}
{SAHPI_ENT_ADVANCEDTCA_CHASSIS, 0}
{FRCHPI_ENT_SHELF_MANAGER_SLOT, 1}
{FRCHPI_ENT_PICMG_SHELF_MANAGEMENT_CONTROLLER,8}.
Whereas AvM builds hardware deployment database from NCSSystemBOM.xml with the
"Entity Path" like:
{0,0}[repeats several times] {SAHPI_ENT_ROOT, 0} {SAHPI_ENT_SYSTEM_CHASSIS, 6}
...
The two cannot match. So, how to configure hardware deployment in
NCSSystemBOM.xml for ATCA chassis?
Thanks.
Hu Jingdong
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users