Skip to content

Commit

Permalink
Added attribute and target types to support BMC.
Browse files Browse the repository at this point in the history
Change-Id: I0a280a09e9e870a6ce67a346fb701f959a49cec3
RTC:166755
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41718
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
velozr authored and dcrowell77 committed Jun 16, 2017
1 parent bb22513 commit a7f3581
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/usr/targeting/common/xmltohb/attribute_types_openpower.xml
Expand Up @@ -782,4 +782,43 @@ ID for the sensor number returned with the elog. -->
<hbOnly/>
</attribute>

<attribute>
<id>BMC_MANUFACTURER</id>
<description>The manufacturer of the BMC</description>
<simpleType>
<string>
<default>ibm</default>
<sizeInclNull>32</sizeInclNull>
</string>
</simpleType>
<persistency>non-volatile</persistency>
<readable/>
</attribute>

<attribute>
<id>BMC_HW_CHIP_TYPE</id>
<description>The type of hardware of the BMC</description>
<simpleType>
<string>
<default>ast2500</default>
<sizeInclNull>32</sizeInclNull>
</string>
</simpleType>
<persistency>non-volatile</persistency>
<readable/>
</attribute>

<attribute>
<id>BMC_SW_TYPE</id>
<description>The software type of the BMC</description>
<simpleType>
<string>
<default>openbmc</default>
<sizeInclNull>32</sizeInclNull>
</string>
</simpleType>
<persistency>non-volatile</persistency>
<readable/>
</attribute>

</attributes>
8 changes: 8 additions & 0 deletions src/usr/targeting/common/xmltohb/target_types_openpower.xml
Expand Up @@ -116,4 +116,12 @@
<id>unit-core-power9</id>
<attribute><id>IPMI_SENSORS</id></attribute>
</targetTypeExtension>

<targetTypeExtension>
<id>bmc</id>
<attribute><id>BMC_MANUFACTURER</id></attribute>
<attribute><id>BMC_HW_CHIP_TYPE</id></attribute>
<attribute><id>BMC_SW_TYPE</id></attribute>
</targetTypeExtension>

</attributes>

0 comments on commit a7f3581

Please sign in to comment.