#
099fb097 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I862ed296ce1f42dba7047a74540d9004ad78130c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
7b7f25f7 |
| 04-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-b
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I4aabaafe997e13c10d655a83a9ef0071ad11126e
show more ...
|
#
be1470cc |
| 04-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
Fix cppcheck warnings
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ibe6b12e81292c655f0ab1420159521c2e6991e37
|
#
bc8958fe |
| 03-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
Update to latest clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id:
Update to latest clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I1e06864afc29ce7de463e62fa2a0eb6f70e8fd93
show more ...
|
#
60d6e4ed |
| 26-Jul-2021 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
Add Get Channel Cipher Suites Command Get Channel Cipher Suites Command is already implemented in phosphor-ipmi-host, but it needs to be implemented in phosphor-ipmi-net to be able t
Add Get Channel Cipher Suites Command Get Channel Cipher Suites Command is already implemented in phosphor-ipmi-host, but it needs to be implemented in phosphor-ipmi-net to be able to provide it as a pre-session command for discovering the available cipher suites before initiating the session. Without this, ipmitool will have a ten second timeout while attempting to get the list of available cipher suites. At the same time, netipmid will show the following messages in the journal: netipmid[8261]: Table: refuse to forward session-zero command Tested: ran ipmitool and saw that it did not require a timeout ipmitool -U <user> -P <pw> -I lanplus -H <host> mc info Change-Id: Iec1b6fc3262647b82acce0cba607b99e86b74985 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
41ff9b51 |
| 11-Jun-2021 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
make internal command functor match external The internal command functor was getting passed a const message::Handler& instead of a std::shared_ptr<message::Handler> which will not w
make internal command functor match external The internal command functor was getting passed a const message::Handler& instead of a std::shared_ptr<message::Handler> which will not work with an upcoming patch that needs the functor to be able to modify the Handler object. Also, it is convenient to have the same signature for both types of handlers. Tested: run ipmitool to see that behavior does not change. Change-Id: Ie8660e4d16bd66eccc282aef2594b88c25b847db Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
052b7cf3 |
| 08-May-2019 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
Set the current interface number based on the channel name Now that netipmid is launched with -c <channel_name>, it is possible to look up the channel number for the 'current channel' 0x
Set the current interface number based on the channel name Now that netipmid is launched with -c <channel_name>, it is possible to look up the channel number for the 'current channel' 0x0e for commands that get handled for session init/fini. This is needed for tools that request channel access info for the current channel. Tested-by: run ipmitool to establish a session, using -vvvvv see that the get channel auth command returns the correct channel ID. In this config, eth0 is channel 3 and eth1 is channel 1. As is evident by the highlighted <0X> byte in each of the returned responses, the value of the current channel byte went from a hard-coded value 03 to a value that changed with the current channel. Before: ipmitool -H <ip of eth0> ... mc info ... >> sending packet (23 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18 c8 81 00 38 0e 04 35 << received packet (31 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c 63 20 00 38 00<03>80 04 02 00 00 00 00 1f 00 ipmitool -H <ip of eth1> ... mc info ... >> sending packet (23 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18 c8 81 00 38 0e 04 35 << received packet (31 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c 63 20 00 38 00<03>80 04 02 00 00 00 00 1f 00 After: ipmitool -H <ip of eth0> ... mc info ... >> sending packet (23 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18 c8 81 00 38 8e 04 b5 << received packet (31 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c 63 20 00 38 00<03>80 04 02 00 00 00 00 1f 00 ipmitool -H <ip of eth1> ... mc info ... >> sending packet (23 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18 c8 81 00 38 8e 04 b5 << received packet (31 bytes) 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c 63 20 00 38 00<01>80 04 02 00 00 00 00 21 00 Change-Id: I743260a6924606b9ad3eeb8b49bda424dc0ba3d7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
716d1efe |
| 11-Mar-2019 |
Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> |
Handle input - Get channel auth capabilities Handle channel number input in Get Channel authentication capabilities command. Validate input params, and return data accordingly
Handle input - Get channel auth capabilities Handle channel number input in Get Channel authentication capabilities command. Validate input params, and return data accordingly Tested: 1. Verifid RMCP+ successful session establishement 2. ipmitool -I lanplus -H x.x.x.x -U root -P 0penBmc raw 6 0x38 1 4 with response 01 80 04 02 00 00 00 00 3. Verified negative tests like invalid length, invalid field, invalid channel number (Sessionless) Change-Id: Id8b4068b94ead281f00282fd709a3f7944887201 Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
show more ...
|
#
4f09eaee |
| 12-Feb-2019 |
William A. Kennington III <wak@google.com> |
Convert host-ipmid -> libipmid phosphor-host-ipmid now exposes a library along with headers for interfacing with the ipmi daemon. Compile and link against the new library. C
Convert host-ipmid -> libipmid phosphor-host-ipmid now exposes a library along with headers for interfacing with the ipmi daemon. Compile and link against the new library. Change-Id: Ifb914004df2b73cff913bf653db14ff2e710434f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
615e4fd3 |
| 09-Feb-2019 |
Tom Joseph <tomjoseph@in.ibm.com> |
Null username support is removed from Get Channel Auth command Change-Id: I9340c9da524831a68192424c68efc7a4910407d7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
fc37e59e |
| 19-Dec-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
netipmid: replace std::cerr with phosphor::logging calls This is part of a cleanup and standardization effort of code to get existing code up to date. Change-Id: I0c982ef8d7afa2
netipmid: replace std::cerr with phosphor::logging calls This is part of a cleanup and standardization effort of code to get existing code up to date. Change-Id: I0c982ef8d7afa2f56a9cd204bb8ac3112769641c Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
9e801a2b |
| 12-Oct-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
netipmid: apply clang-format rules Lots of whitespace change. Let clang-format do its job and keep the code looking nice. Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7
netipmid: apply clang-format rules Lots of whitespace change. Let clang-format do its job and keep the code looking nice. Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
1d9d4166 |
| 22-Mar-2018 |
Nagaraju Goruganti <ngorugan@in.ibm.com> |
Patch #2 Reducing IPMI logging footprint net-ipmid is noisy in terms of journal logging. A small step towards cleaning that up. Partially Resolves openbmc/openbmc#2507
Patch #2 Reducing IPMI logging footprint net-ipmid is noisy in terms of journal logging. A small step towards cleaning that up. Partially Resolves openbmc/openbmc#2507 Change-Id: I78e0286fb37086373c86dca276c0948f4595cb0a Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
show more ...
|
#
541aee76 |
| 25-Oct-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Spelling fixes 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.
Spelling fixes 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: I951ec38ae08ba0b20733dce1300546f4a7541eff Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
18a45e9d |
| 11-Apr-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Change the signature of the command handler functions. Resolves openbmc/openbmc#857 Change-Id: I0b7ca6665dd89629838a238d77aff67fec1818c7 Signed-off-by: Tom Joseph <tomjoseph@in.
Change the signature of the command handler functions. Resolves openbmc/openbmc#857 Change-Id: I0b7ca6665dd89629838a238d77aff67fec1818c7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|
#
4a8f34dc |
| 06-Dec-2016 |
Tom Joseph <tomjoseph@in.ibm.com> |
Get Channel Authentication Capabilities Implementation Change-Id: Id8fa42814fe210ca8f9dbb14de746c66e391d334 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|