summaryrefslogtreecommitdiffstats
path: root/command/channel_auth.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Handle input - Get channel auth capabilitiesRichard Marian Thomaiyar2019-03-121-3/+27
| | | | | | | | | | | | | | | | | 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>
* Convert host-ipmid -> libipmidWilliam A. Kennington III2019-02-191-1/+1
| | | | | | | | | 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>
* Null username support is removed from Get Channel Auth commandTom Joseph2019-02-091-1/+1
| | | | | Change-Id: I9340c9da524831a68192424c68efc7a4910407d7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* netipmid: replace std::cerr with phosphor::logging callsVernon Mauery2018-12-191-2/+0
| | | | | | | | 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>
* netipmid: apply clang-format rulesVernon Mauery2018-11-021-16/+16
| | | | | | | | 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>
* Patch #2 Reducing IPMI logging footprintNagaraju Goruganti2018-04-021-4/+0
| | | | | | | | | | 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>
* Spelling fixesGunnar Mills2017-10-251-1/+1
| | | | | | | | | 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>
* Change the signature of the command handler functions.Tom Joseph2017-04-251-2/+2
| | | | | | | Resolves openbmc/openbmc#857 Change-Id: I0b7ca6665dd89629838a238d77aff67fec1818c7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Get Channel Authentication Capabilities ImplementationTom Joseph2016-12-161-0/+54
Change-Id: Id8fa42814fe210ca8f9dbb14de746c66e391d334 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud