summaryrefslogtreecommitdiffstats
path: root/chassishandler.h
Commit message (Collapse)AuthorAgeFilesLines
* boot policy: Support boot parameter #4 (boot info)Tom Joseph2017-10-041-0/+1
| | | | | | | Resolves openbmc/openbmc#2356 Change-Id: If775a01a97f29a60575c03f26d32bba0315af920 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add IPV6 handling for host network settingsRatan Gupta2017-07-251-1/+1
| | | | | Change-Id: I41a35d274476f69681c2516b84900f0e0c358181 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add support for IPMI GetChassisStatus commandNan Li2016-10-311-0/+2
| | | | | | | | | | | | * Factor response to explicitly commented fields * Add GetChassisStatus command to whilelist Note: some fields need furture work. Resolves openbmc/openbmc#439 Change-Id: I7a8d6bfe384f2621c157db379680921db4756fcc Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
* Add IPMI Get-Chassis-Capabilities commandNan Li2016-10-061-0/+1
| | | | | | | | | | | | * Implement response to separately commented fields. * Add to the whitelist. Note: some hardcoded fields need future work. Resolve openbmc/openbmc#438. Change-Id: Ica9a55a14987ddc6b9984c7d3dcb143416ee7e37 Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
* 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