summaryrefslogtreecommitdiffstats
path: root/chassishandler.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement Network Settings OverrideRatan Gupta2016-09-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | We want to implement the network settings override functionality. This is an OEM boot parameter selector, using parameter ID 0x61. The first byte of the parameter data is the same as parameter ID 5 (ie, the valid flag in the top bit). Persistency doesn't matter here, as petitboot will not clear out this setting. The rest of the parameter data is a host network settings description. For other BMC firmware, the BMC just treats this as opaque (the BMC will just return the same data (including that data1 byte), in response to a Get System Boot Option). For OpenBMC, we may want the BMC to know how to construct that data; the spec for that is at: http://ozlabs.org/~sam/ipmi-network-format Closes openbmc/openbmc#267 Change-Id: I2af8776718deda97acf90d10504783085ccf7323 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add get/set boot option ipmid command support with correct DBUS property ↵shgoupf2016-01-301-0/+9
| | | | | | | | | | | | | | | | | | | | | handling. 1) Add support for IPMI get/set boot option command. a) boot options stored in dbus property. b) IPMI get boot option command get boot option from the dbus property. c) IPMI set boot option coomand set boot option to the dbus property. 2) Two methods to handle the dbus property set and get: a) dbus_set_property() b) dbus_get_property() 3) The property is stored as a 10 character strings which representsd 5-byte information. 4) ipmid set method is registered and implemented since petitboot will use it to clear the boot options. 5) Get service name via object mapper a) The connection name is got via objectmapper. b) The method used to get the connection name is object_mapper_get_connection(). c) dbus_get_property/dbus_set_property will get the connection name via the above method instead of hard coding. 6) The boot option is made human readable (done by Chris).
* IPMI soft power offvishwa2015-11-241-0/+15
|
* Add support for IPMI Get Boot Options commandAdriana Kobylak2015-11-101-0/+17
Create new Chassis NetFn file and add basic support for OPAL to call the IPMI Get Boot Options command.
OpenPOWER on IntegriCloud