#
1b6b96c5
|
| 30-Nov-2018 |
Ed Tanous <ed.tanous@intel.com> |
Remove custom version of getPtr
Now that sdbusplus variant supports std::get_if, we can remove our custom, mapbox namespaced implementation that does the same thing.
Change-Id: I854c473003e28e41dd4
Remove custom version of getPtr
Now that sdbusplus variant supports std::get_if, we can remove our custom, mapbox namespaced implementation that does the same thing.
Change-Id: I854c473003e28e41dd45dba08ca683433f1c1774 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
5f7d88c4
|
| 14-Nov-2018 |
Ed Tanous <ed.tanous@intel.com> |
Make chassis errors return the appropriate message
Previously, chassis errors would only return 500, and a blank body. This change causes chassis errors to return the appropriate internalError imple
Make chassis errors return the appropriate message
Previously, chassis errors would only return 500, and a blank body. This change causes chassis errors to return the appropriate internalError implementation.
Change-Id: I75454c334a0bd4870725bc9381a68af08e3eab80 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
2474adfa
|
| 05-Sep-2018 |
Ed Tanous <ed.tanous@intel.com> |
Chassis: Power: Support get PowerSupply and Voltages sensors information.
cherry-picked from: https://github.com/ampere-openbmc/bmcweb/commit/a20f8b17c1efb92b9a8e95e8867d945bc6177804
Sensor module
Chassis: Power: Support get PowerSupply and Voltages sensors information.
cherry-picked from: https://github.com/ampere-openbmc/bmcweb/commit/a20f8b17c1efb92b9a8e95e8867d945bc6177804
Sensor module adds sensorType:"power" to retrieve power supply sensor information. This applicable to Power schema version 1.2.1
Limit: - Not retrieve PowerControl information yet. - Need to get UpperThresholdFatal and LowerThresholdFatal value.
Tested: Browser and redfishtool Command test: redfishtool -A Basic -S Always --rhost=$bmc_ip -u $bmc_user -p $bmc_password Chassis -I 1 Power
Redmine ID: #2145.
Change-Id: Ifd4a7495c216f894f46610c02d3e8a8e3988dfaa Signed-off-by: Tung Vu <tung.vu@amperecomputing.com>
Chassis: Thermal and Power: Correct @odata.id information
cherry-picked from: https://github.com/ampere-openbmc/bmcweb/commit/ae95b0db60e5e680819c9f9b0c6d61caf66b14cf
Allocate @odata.id of schema in correct way. Sensor module is general interface not used for specific schema.
Tested: Browser and redfishtool Command test: - redfishtool -A Basic -S Always --rhost=$bmc_ip -u $bmc_user -p $bmc_password Chassis -I 1 Power - redfishtool -A Basic -S Always --rhost=$bmc_ip -u $bmc_user -p $bmc_password Chassis -I 1 Thermal
Redmine ID: #2145 & #2146
Change-Id: I265bbb366c323f39fb6d4ac4f7cccfed4382e98d Signed-off-by: Tung Vu <tung.vu@amperecomputing.com>
Chassis: Correct @odata.id for specific Chassis sub-node.
cherry-picked from: https://github.com/ampere-openbmc/bmcweb/commit/3eaa53a395ad9275042893413cbefc78f52310e5
Currently there are Thermal and Power sub-nodes of Chassis node, correct @odata.id information for each sub-node in JSON payload.
Tested: Browser and redfishtool Command test: - redfishtool -A Basic -S Always --rhost=$bmc_ip -u $bmc_user -p $bmc_password Chassis Thermal -I 1 - redfishtool -A Basic -S Always --rhost=$bmc_ip -u $bmc_user -p $bmc_password Chassis Power -I 1
Change-Id: I2f831ed40926e85c0b6d1cfa7d759eb0b9321daa Signed-off-by: Tung Vu <tung.vu@amperecomputing.com> Signed-off-by: Jennifer Lee <jennifer1.lee@intel.com>
show more ...
|
#
f12894f8
|
| 09-Oct-2018 |
Jason M. Bills <jason.m.bills@linux.intel.com> |
Improve the Redfish error reporting interface
Makes the Redfish error reporting interface automatically handle setting the http status and JSON content in the response object.
When using an AsyncRe
Improve the Redfish error reporting interface
Makes the Redfish error reporting interface automatically handle setting the http status and JSON content in the response object.
When using an AsyncResp object, this allows for simply calling the Redfish error and returning.
Change-Id: Icfdce2de763225f070e8dd61e591f296703f46bb Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
show more ...
|
#
6f6d0d32
|
| 12-Oct-2018 |
Ed Tanous <ed.tanous@intel.com> |
Implement fan PWM reading through redfish
This patchset implements the ability to be able to read the PWM output values from redfish under the Thermal schema. to be able to map fan outputs to redfis
Implement fan PWM reading through redfish
This patchset implements the ability to be able to read the PWM output values from redfish under the Thermal schema. to be able to map fan outputs to redfish.
Change-Id: I858d81ef61183722390a073fa925416d17da5fec Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
1abe55ef
|
| 05-Sep-2018 |
Ed Tanous <ed.tanous@intel.com> |
Move to clang-format-6.0
This commit moves the codebase to the lastest clang-format file from upstream, as well as clang-format-6.0.
Change-Id: Ice8313468097c0c42317fbb9e10ddf036e8cff4c Signed-off-
Move to clang-format-6.0
This commit moves the codebase to the lastest clang-format file from upstream, as well as clang-format-6.0.
Change-Id: Ice8313468097c0c42317fbb9e10ddf036e8cff4c Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
d76323e5
|
| 07-Aug-2018 |
Ed Tanous <ed.tanous@intel.com> |
Last round of variable renames
A few patches were in flight when we did the great variable renaming. This catches all the patches that have been merged since
Change-Id: Ie9642a4812b2a679ffa01ce540f
Last round of variable renames
A few patches were in flight when we did the great variable renaming. This catches all the patches that have been merged since
Change-Id: Ie9642a4812b2a679ffa01ce540f5c4515a4c710b Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
55c7b7a2
|
| 22-May-2018 |
Ed Tanous <ed.tanous@intel.com> |
Move over to upstream c++ style
This patchset moves bmcweb over to the upstream style naming conventions for variables, classes, and functions, as well as imposes the latest clang-format file.
This
Move over to upstream c++ style
This patchset moves bmcweb over to the upstream style naming conventions for variables, classes, and functions, as well as imposes the latest clang-format file.
This changeset was mostly built automatically by the included .clang-tidy file, which has the ability to autoformat and auto rename variables. At some point in the future I would like to see this in greater use, but for now, we will impose it on bmcweb, and see how it goes.
Tested: Code still compiles, and appears to run, although other issues are possible and likely.
Change-Id: If422a2e36df924e897736b3feffa89f411d9dac1 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
03b5bae3
|
| 06-Jul-2018 |
James Feist <james.feist@linux.intel.com> |
Move Sensors path to sensors
Upstream uses lowercase paths, fix it.
Change-Id: Ia8dc522fdd59cbbde015049ca772347fb9d2c991 Signed-off-by: James Feist <james.feist@linux.intel.com>
|
#
7885954a
|
| 11-Jun-2018 |
Lewanczyk, Dawid <dawid.lewanczyk@intel.com> |
Update sensors to reflect changes after switching to sdbusplus
- GetManagedObjects should be call only on service root path - additional fixes for RSV
Change-Id: I4e345e57b081d7683fd8f3f4efa23fe409
Update sensors to reflect changes after switching to sdbusplus
- GetManagedObjects should be call only on service root path - additional fixes for RSV
Change-Id: I4e345e57b081d7683fd8f3f4efa23fe4091ce41e Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com>
show more ...
|
#
588c3f0d
|
| 03-Apr-2018 |
Kowalski, Kamil <kamil.kowalski@intel.com> |
Implemented PATCH for EthernetInterface VLAN and HostName fields
Implemented PATCH request handling in EthernetInterface schema. Currently only VLAN and HostName patching is implemented - IP changes
Implemented PATCH for EthernetInterface VLAN and HostName fields
Implemented PATCH request handling in EthernetInterface schema. Currently only VLAN and HostName patching is implemented - IP changes will be introduced in further patchsets.
This code does not change existing functionality - only expands it. Tested on real hardware and x86 VM. Works fine, passes RedfishSchemaValidator.
Change-Id: I8de4ee5e859218823b07cc11845f7ef6782d7171 Signed-off-by: Kowalski, Kamil <kamil.kowalski@intel.com>
show more ...
|
#
e0d918bc
|
| 27-Mar-2018 |
Ed Tanous <ed.tanous@intel.com> |
Boost beast
This commit is the beginings of attempting to transition away from crow, and toward boost::beast. Unit tests are passing, and implementation appears to be slightly faster than crow.
Ch
Boost beast
This commit is the beginings of attempting to transition away from crow, and toward boost::beast. Unit tests are passing, and implementation appears to be slightly faster than crow.
Change-Id: Ic8d946dc7a04f514c67b1098f181eee1ced69171
show more ...
|
#
daf36e2e
|
| 20-Apr-2018 |
Ed Tanous <ed.tanous@intel.com> |
Move thermal interfaces to new schema
With the change to entity manager, move the thermal componets to the proper inventory manager interfaces
Change-Id: I520e65b1df53ca8d3fbc12253882ae69b708bbbf S
Move thermal interfaces to new schema
With the change to entity manager, move the thermal componets to the proper inventory manager interfaces
Change-Id: I520e65b1df53ca8d3fbc12253882ae69b708bbbf Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
aa2e59c1
|
| 12-Apr-2018 |
Ed Tanous <ed.tanous@intel.com> |
Move bmcweb over to sdbusplus
This patchset moves bmcweb from using boost-dbus over entirely to sdbusplus. This has some nice improvements in performance (about 30% of CPU cycles saved in dbus tran
Move bmcweb over to sdbusplus
This patchset moves bmcweb from using boost-dbus over entirely to sdbusplus. This has some nice improvements in performance (about 30% of CPU cycles saved in dbus transactions), as well as makes this project manuver closer to the upstream way of thinking.
Changes to bmcweb are largely ceremonial, and fall into a few categories: 1. Moves async_method_call instances to the new format, and deletes any use of the "endpoint" object in leiu of the sdbusplus style interface 2. sdbus object_path object doesn't allow access to the string directly, so code that uses it moves to explicit casts. 3. The mapbox variant, while attempting to recreate boost::variant, misses a T* get<T*>() method implementation, which allows using variant without exceptions. Currently, there is an overload for mapbox::get_ptr implementation which replecates the functionality.
Tested by: Booting the bmcweb on a target, iterating through redfish basic phosphor-webui usage, and websockets usage
Change-Id: I2d95882908d6eb6dba00b9219a221dd96449ca7b Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
#
274fad5a
|
| 13-Jun-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Spelling fixes in redfish-core
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
C
Spelling fixes in redfish-core
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2.
Change-Id: Iaac459596247a9063350a129d0458ebe0c0e39ce Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
08777fb0
|
| 22-Mar-2018 |
Lewanczyk, Dawid <dawid.lewanczyk@intel.com> |
Introduce Thermal schema
Changes: -redfish.hpp add thermal node installation -thermal.hpp add thermal schema for chassis -sensor.hpp add support for retrieving: temperature, and fan
Verification:
Introduce Thermal schema
Changes: -redfish.hpp add thermal node installation -thermal.hpp add thermal schema for chassis -sensor.hpp add support for retrieving: temperature, and fan
Verification: -web server: no regression -RSV: pass -build on x86 and ASPEED
This patchset builds on Dawids original.
Change-Id: Ia8e40edff3c722fa02a161248bcdf602e36e3e62 Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|