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 ...
|
f4c4dcf4 | 29-Jan-2018 |
Kowalski, Kamil <kamil.kowalski@intel.com> |
Introduce Redfish Error messages definitions
Added a python script that should be use to generate error_messages.cpp na .hpp files. These files as are not subject to change in a dynamic manner, shou
Introduce Redfish Error messages definitions
Added a python script that should be use to generate error_messages.cpp na .hpp files. These files as are not subject to change in a dynamic manner, should be regenerated only when MessageRegistry changes.
Tested on x86 Ubuntu VM and Wolfpass platform: a) No regression in BMCWeb interface - Went through WebUI observed no changes in functionality b) No regression in Redfish functionality - Went through nodes and observed no changes in functionality - Sessions now return error messages in addition to HTTP codes
Change-Id: I4aba9ee247b6cd2c46a9c158d14bdc7546e9b11b Signed-off-by: Kowalski, Kamil <kamil.kowalski@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
c7070ac2 | 27-Mar-2018 |
Kowalski, Kamil <kamil.kowalski@intel.com> |
Added VLAN Object to EthernetInterface schema
VLAN object added to EthernetInterface schema which is visible when Ethernet Interface is a VLAN interface.
Does not break anything on Wolfpass or x86.
Added VLAN Object to EthernetInterface schema
VLAN object added to EthernetInterface schema which is visible when Ethernet Interface is a VLAN interface.
Does not break anything on Wolfpass or x86. BMCWeb working
Change-Id: I965c484e6e120568db4e6542d2b48f8a7fb54fd0 Signed-off-by: Kowalski, Kamil <kamil.kowalski@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
9391bb9c | 19-Mar-2018 |
Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com> |
Enabling Ethernet Interfaces, and Ethernet Interfaces Collection Schemas
Commit provides Schemas for: * Single Eth Interface (GET) * Eth Interface Collection (GET)
Both are using EthernetProvider,
Enabling Ethernet Interfaces, and Ethernet Interfaces Collection Schemas
Commit provides Schemas for: * Single Eth Interface (GET) * Eth Interface Collection (GET)
Both are using EthernetProvider, which delivers data available from xyz.openbmc_project.Network
It was tested: * Regression (no regression in web server behaviour) * Memory Leaks (no leaks detected via valgrind) * Compiling multiple arch (x86, ASPEED) * Service Validator pass all available schemas
Change-Id: Idee321cb294f48b59f7740512bbe416cf10236c0 Signed-off-by: Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
6c233015 | 15-Mar-2018 |
Ed Tanous <ed.tanous@intel.com> |
Minor fixes to make redfish pass compliance tests
1. Role members needs to be an array, not an object 2. Fix accounts schema to use the new user manager 3. Remove "status" field hardcodes 4. Hardcod
Minor fixes to make redfish pass compliance tests
1. Role members needs to be an array, not an object 2. Fix accounts schema to use the new user manager 3. Remove "status" field hardcodes 4. Hardcode chassisType to rackmount for now 5. Work around bug in get sub routes 6. Add ID to SessionService Schema
Change-Id: Ibb13d6ace747ac028e840638868c3a01d65dedfa Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
e37f8451 | 09-Mar-2018 |
Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com> |
Adding Chassis and ChassisCollection Schemas to Redfish
This commit: * removes previous redfish_v1 Chassis implementation * Adds Chassis and ChassisCollection implementation as Node way * Adds Chass
Adding Chassis and ChassisCollection Schemas to Redfish
This commit: * removes previous redfish_v1 Chassis implementation * Adds Chassis and ChassisCollection implementation as Node way * Adds Chassis Provider class for retrieving data from EntityManager
It was tested: * Wolfpass run, to see if previous functionality was not broken * Service Validator, which did not unveil any regression, and did verified that implemented schemas are complient.
Change-Id: I75a9545a0abd8b85d6ce72329c523fc076affc28 Signed-off-by: Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com>
show more ...
|
3ebd75f7 | 05-Mar-2018 |
Ed Tanous <ed.tanous@intel.com> |
Make a few changes to privileges commit
1. Create char* overloads for the things that need it. 2. Fix up a couple errant moves 3. Use the gtest APIs for testing container membership, rather than sor
Make a few changes to privileges commit
1. Create char* overloads for the things that need it. 2. Fix up a couple errant moves 3. Use the gtest APIs for testing container membership, rather than sort 4. Move the index management to vector rather than map to avoid a lookup 5. Remove errant use of .at() 6. Move privilege comparison into the privilege class, in order to keep the bitset implementation private. This removes the requirment on the forward declaration of PrivilegeProvider, and the use of friend class 7. Remove unimplemented override strcutures. Feel free to add them back once implemented 8. Make setSignlePrivilege return a code if the set failed 9. Remove the need for an extra construction of a blank privileges object for things that require no privileges.
Tested by: updating unit tests with the appropriate APIs. Relevant unit tests pass
Change-Id: Ie9cde003b6c865979b4cac086379d0a3473896ce Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
9c310685 | 09-Feb-2018 |
Borawski.Lukasz <lukasz.borawski@intel.com> |
Redfish Manager and ManagerCollection
Node version of the Manager and ManagerCollection implementation.
Change-Id: I693fa57add670fb0ecfc0cf0046e06142571c543 Signed-off-by: Borawski.Lukasz <luka
Redfish Manager and ManagerCollection
Node version of the Manager and ManagerCollection implementation.
Change-Id: I693fa57add670fb0ecfc0cf0046e06142571c543 Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com>
show more ...
|
5d27b854 | 08-Feb-2018 |
Borawski.Lukasz <lukasz.borawski@intel.com> |
Redfish SessionService
- added node version of the SessionService implementation - added a default timeout member and a get timeout method to the SessionStore class
Change-Id: I532080789b3d687208
Redfish SessionService
- added node version of the SessionService implementation - added a default timeout member and a get timeout method to the SessionStore class
Change-Id: I532080789b3d687208510f8b748402735ed888d8 Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com>
show more ...
|
70141561 | 24-Jan-2018 |
Borawski.Lukasz <lukasz.borawski@intel.com> |
Redfish NetworkProtocol
Node version of the NetworkProtocol implementation.
Change-Id: I6f52dca4e530917a5b815a32f1222b481059aa23 Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com> |
c1a46bd2 | 08-Feb-2018 |
Borawski.Lukasz <lukasz.borawski@intel.com> |
Improved Refish subroutes
- getSubroutes() is now a method of the Node class - getSubroutes() is called only once per node at construction time, not at each GET request - template parameter remove
Improved Refish subroutes
- getSubroutes() is now a method of the Node class - getSubroutes() is called only once per node at construction time, not at each GET request - template parameter removed from the Node class
Change-Id: Ie4eb8766717aae566c13c295458fe0dba8ab84c0 Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com>
show more ...
|
43a095ab | 19-Feb-2018 |
Borawski.Lukasz <lukasz.borawski@intel.com> |
Privilege implementation change
- privilege_registry.json has been removed - PrivilegeProvider class has been removed - default privileges for nodes are now hard-coded - privilege overriding feature
Privilege implementation change
- privilege_registry.json has been removed - PrivilegeProvider class has been removed - default privileges for nodes are now hard-coded - privilege overriding feature is not yet implemented
Change-Id: Ic9fdfa1c692c1abd26e339e2a8c702fc4aebd19f Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com>
show more ...
|
88d16c9a | 02-Feb-2018 |
Lewanczyk, Dawid <dawid.lewanczyk@intel.com> |
AccountService
Initial version moved to separate node.
Change-Id: I3fe4e2eb00bcb754ea81de0a0656f4de9eb9156c Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com> |
aecb47a4 | 25-Jan-2018 |
Borawski.Lukasz <lukasz.borawski@intel.com> |
Redfish privileges
Redfish privilege authorization subsystem controlled by the privilege_registy.json configuration file.
PropertyOverrides, SubordinateOverrides and ResourceURIOverrides are not ye
Redfish privileges
Redfish privilege authorization subsystem controlled by the privilege_registy.json configuration file.
PropertyOverrides, SubordinateOverrides and ResourceURIOverrides are not yet implemented.
Change-Id: I4d5670d557f4da172460ada3512e015830dab667 Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
4e49bd4b | 25-Jan-2018 |
Lewanczyk, Dawid <dawid.lewanczyk@intel.com> |
Roles
Move roles and roles collection to new class based implementation
Change-Id: I70f39bf8289fb45483a1e7f2c4eb3dbc1c7a7090 Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com> Signed-off-b
Roles
Move roles and roles collection to new class based implementation
Change-Id: I70f39bf8289fb45483a1e7f2c4eb3dbc1c7a7090 Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|
2b7981f6 | 31-Jan-2018 |
Kowalski, Kamil <kamil.kowalski@intel.com> |
Session and SessionCollection
New Redfish-Core nodes added (removed from redfish_v1.hpp) - Session and SessionCollection. Tested manually on x86 VM and Wolfpass Platform. Behavior almost identical t
Session and SessionCollection
New Redfish-Core nodes added (removed from redfish_v1.hpp) - Session and SessionCollection. Tested manually on x86 VM and Wolfpass Platform. Behavior almost identical to what was before - differences: - SessionCollection - now only returns TIMEOUT presistence sessions, not SINGLE - Aquiring sessions from session storage now applies timeouts
Change-Id: I68bf4fa7fa1c8371216a7d4daa30bbfb653cfa72 Signed-off-by: Kowalski, Kamil <kamil.kowalski@intel.com>
show more ...
|
b6df6dc7 | 24-Jan-2018 |
Borawski.Lukasz <lukasz.borawski@intel.com> |
Service Root
Change-Id: Ibf9d463802d77014852a92ecfcb8096324f3670f Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com> |