summaryrefslogtreecommitdiffstats
path: root/lib/types
diff options
context:
space:
mode:
authorSam Mendoza-Jonas <sam@mendozajonas.com>2016-01-29 15:16:34 +1100
committerSam Mendoza-Jonas <sam@mendozajonas.com>2016-02-10 16:21:08 +1100
commitd531395a3ff60730238854b127925978f6eab289 (patch)
treee2dcc3ec892e43c0a3a2f5f03020a85f7fda7a31 /lib/types
parentd974c3c39237c8e94bb3a51d3511d18dea01043e (diff)
downloadtalos-petitboot-d531395a3ff60730238854b127925978f6eab289.tar.gz
talos-petitboot-d531395a3ff60730238854b127925978f6eab289.zip
Retrieve BMC version info via IPMI
On BMC machines the "Get Device ID" and "Get BMC Golden Side Version" IPMI commands are available. If possible retrieve some interesting version numbers and display them in the System Information screen. Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib/types')
-rw-r--r--lib/types/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
index db4d892..63c1c7c 100644
--- a/lib/types/types.h
+++ b/lib/types/types.h
@@ -97,6 +97,10 @@ struct system_info {
char **platform_other;
unsigned int n_current;
unsigned int n_other;
+ char **bmc_current;
+ char **bmc_golden;
+ unsigned int n_bmc_current;
+ unsigned int n_bmc_golden;
uint8_t *bmc_mac;
struct interface_info **interfaces;
unsigned int n_interfaces;
OpenPOWER on IntegriCloud