summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-08-02 14:56:07 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-08-06 09:47:57 -0500
commit67733e22e0edb660e03f00898c4a520ed88ce321 (patch)
treee2433a9f06c3b5cea51bd5a73cc4f6ce794764b5 /src/usr
parentc17dc98087ad7fcb80e53bb7ce3b6ea1ff6a26a5 (diff)
downloadtalos-hostboot-67733e22e0edb660e03f00898c4a520ed88ce321.tar.gz
talos-hostboot-67733e22e0edb660e03f00898c4a520ed88ce321.zip
Support for mrwHide attribute from fapi attribute xmls
We are adding a new tag to the fapi xml files that allows the HWP team to indicate that a platInit attribute should be hidden from ServerWiz2. This tag is converted to our existing no_export tag in targeting that is consumed during our push out to the serverwiz repo. Change-Id: I7311c81e6538956f03365f8b3ea2ce93cedec2ff Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63819 Reviewed-by: Christian R. Geddes <crgeddes@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: Jenkins OP HW <op-hw-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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/targeting/xmltohb/fapi_utils.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usr/targeting/xmltohb/fapi_utils.pl b/src/usr/targeting/xmltohb/fapi_utils.pl
index 2769ba583..71e9bd144 100644
--- a/src/usr/targeting/xmltohb/fapi_utils.pl
+++ b/src/usr/targeting/xmltohb/fapi_utils.pl
@@ -207,6 +207,12 @@ sub createAttrFromFapi(\%)
$targattr->{persistency} = "volatile-zeroed";
}
+ #mrwHide: convert to no_export to hide from ServerWiz
+ if( exists $fapiattr->{mrwHide} )
+ {
+ $targattr->{no_export} = {};
+ }
+
#mssUnits: ignore
#mssAccessorName: ignore
#odmVisible: ignore
OpenPOWER on IntegriCloud