summaryrefslogtreecommitdiffstats
path: root/sol/sol_manager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* netipmid: move sol console sockets to asioVernon Mauery2019-02-011-30/+23
| | | | | | | | Rewrite the SOL console sockets use boost::asio. This reduces code size and ties better into the main asio io loop. Change-Id: Ia79b9aa3fa3c7ce1ddd9b609b032160a88394f8c Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* netipmid: apply clang-format rulesVernon Mauery2018-11-021-205/+206
| | | | | | | | 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>
* Support SOL parameter channel numberTom Joseph2018-04-041-0/+10
| | | | | | | | | | | | Even though channel number is an optional parameter, the ipmitool shows in the output the channel as 14(0x0e). 0x0e is reserved to indicate in the command, the channel on which the command is received. So the default channel number 1 is returned. Resolves openbmc/openbmc#2959 Change-Id: Ifd069886d4ea8e9ba5c90ca015be39ebdece413d Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* explicit use of std::vector instead of buffer/BufferVernon Mauery2017-12-051-1/+1
| | | | | | | | | | There were several scoped 'using buffer = std::vector<uint8_t>;' in header files. This consolidates the code base to use std::vector<uint8_t> instead of buffer or Buffer. This makes the code easier to read and debug. Change-Id: I918a0f6ca9b8e4b9d331175dccff45cbf4c8379d Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Add SOL configuration parameters to SOL Managers.Tom Joseph2017-05-081-0/+50
| | | | | | | | | Add Set In Progress, SOL Enable, Force SOL Payload Encryption, Force SOL Payload Authentication and SOL Privilege Level SOL Configuration parameters as SOL Manager properties. Change-Id: Ic8c2f172df8ce92e2ef5675493e2843824746b47 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Change accumulateInterval and retryInterval to std::chrono units.Tom Joseph2017-05-081-11/+14
| | | | | Change-Id: I5e1234ee141323a1feb6460a9424226f96bc7522 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Remove hostConsole fd from the event loop.Tom Joseph2017-05-081-7/+1
| | | | | | | | The fd is registered in the sd_event_loop, so as part of cleanup of the customFD the fd is removed from the event loop. Change-Id: Idfc07375ae330c82755fb1d08c8f181410cf917f Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Defintion of SOL ManagerTom Joseph2017-04-241-0/+215
The SOL Manager class is responsible for managing SOL instances and configuration parameters. It provides interfaces to start and stop SOL payload instances and get handle to context object. It also provides API to write to the host console socket. Change-Id: Iea51832398d81c8ddf6fadcbb8b7e6735a3b4ebc Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud