Commit e6ed55fa authored by Claes Sjofors's avatar Claes Sjofors

IO hierarchy under node object can also be a

parent 8f1de6c1
...@@ -2957,7 +2957,7 @@ static pwr_tStatus io_init_agent( ...@@ -2957,7 +2957,7 @@ static pwr_tStatus io_init_agent(
sts = gdh_NameToObjid( io_name, &io_oid); sts = gdh_NameToObjid( io_name, &io_oid);
if ( ODD(sts)) { if ( ODD(sts)) {
sts = gdh_GetObjectClass( io_oid, &io_cid); sts = gdh_GetObjectClass( io_oid, &io_cid);
if ( ODD(sts) && io_cid == pwr_eClass_NodeHier) { if ( ODD(sts) && (io_cid == pwr_eClass_NodeHier || io_cid == pwr_eClass_PlantHier)) {
sts = io_trv_child( io_oid, 0, io_init_rack, ctx, ap, agent_type, iocomm_swap); sts = io_trv_child( io_oid, 0, io_init_rack, ctx, ap, agent_type, iocomm_swap);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment