summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/xmltohb/attribute_types.xml
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2018-11-08 11:06:47 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-11-27 13:03:37 -0600
commit63a9aa53dcf3c7ddcff756e694ddcff246b5c9f2 (patch)
tree7a4c94c123a50f14d945f6af235733b235214ca5 /src/usr/targeting/common/xmltohb/attribute_types.xml
parent896f7a9abffa5ece17107e1f653c620d72a82628 (diff)
downloadtalos-hostboot-63a9aa53dcf3c7ddcff756e694ddcff246b5c9f2.tar.gz
talos-hostboot-63a9aa53dcf3c7ddcff756e694ddcff246b5c9f2.zip
Define Parent/Child Relationship for OMIC/OMI targets
This commit puts in the plumbing to have xmltohb.pl look for ATTR_OMIC_PARENT attributes on the OMI targets and with the value of that attribute define a bi-directional relationship between the given OMI target and its defined OMIC parent. Each target in the binary will have pointers to its associated parent/child. When getChildren<OMI> or getParent<OMIC> is called in the FAPI2 api for a OMIC or OMI target respectively, then the Hostboot platform implementation of these functions will route to the new getParentOmicTargetsByState and getChildOmiTargetsByState functions that were defined to perform lookups in the targeting binary for this relationship. Change-Id: I8cd901864a700c9fe575dfa0916d5e78760a7b0c RTC: 172969 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68541 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/attribute_types.xml')
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index b42bf793e..18e7b7588 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -5071,6 +5071,20 @@
</attribute>
<attribute>
+ <description>
+ Physical entity path an OMI's associated OMIC parent target
+ </description>
+ <id>OMIC_PARENT</id>
+ <nativeType>
+ <name>EntityPath</name>
+ </nativeType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <virtual/>
+ <no_export/>
+ </attribute>
+
+ <attribute>
<description>Ordinal ID of a target</description>
<id>ORDINAL_ID</id>
<persistency>non-volatile</persistency>
OpenPOWER on IntegriCloud