summaryrefslogtreecommitdiffstats
path: root/sol
Commit message (Collapse)AuthorAgeFilesLines
* 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-082-24/+16
| | | | | Change-Id: I5e1234ee141323a1feb6460a9424226f96bc7522 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Correct the parameters for SOLContext constructor.Tom Joseph2017-05-081-1/+1
| | | | | Change-Id: I3643e6b55d195f255815fa47adf02a5db0da6838 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Remove hostConsole fd from the event loop.Tom Joseph2017-05-082-9/+11
| | | | | | | | 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>
* Add function to send outbound SOL payloadTom Joseph2017-04-251-0/+5
| | | | | Change-Id: I63213034110c0a550b43e1cbc0115b1312821e3d Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add resendPayload functionTom Joseph2017-04-241-0/+8
| | | | | | | Resolves openbmc/openbmc#856 Change-Id: I957ce889500840c067e97537e825571cfb77e1c4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Implement API to send SOL payload when console data is availableTom Joseph2017-04-241-0/+33
| | | | | Change-Id: I7869d389b589c59e0c76000da9bfd72b9e67c064 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Implement API to prepare response for inbound SOL payloadTom Joseph2017-04-241-3/+43
| | | | | Change-Id: Ied9811e7e3176c5edf99fa299549ea1d14e9555f Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Implement API to handle inbound SOL PayloadTom Joseph2017-04-242-0/+197
| | | | | Change-Id: I4bcb98568d84ba384ac11b7777d936c7d5fc124e Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Implement API to stop a payload instanceTom Joseph2017-04-241-0/+21
| | | | | Change-Id: I8cf7a85f651e5a4377f8e64cbb32932f452a234e Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add API to start a SOL payload instanceTom Joseph2017-04-241-0/+37
| | | | | Change-Id: I3c87936350c9e3d7c4eb97b4c720295652aff9c4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Implement function to write to host console socketTom Joseph2017-04-241-0/+34
| | | | | Change-Id: I92b9550d9b6d458bbafebfff08552db5b2ab78e6 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Implement Host Console socket InitTom Joseph2017-04-241-0/+44
| | | | | | | This API would initialise the host console socket file descriptor Change-Id: Ied7bdc1c4fbee060ec693d8bab3c7bade6edf365 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>
* Definition for SOL Context ClassTom Joseph2017-04-241-0/+189
| | | | | | | | | | SOL context class provides interfaces for operations on a SOL payload instance, to send data to a remote console and receive SOL payload from a remote console, retry SOL payload. It manages the sequence numbers related to the SOL and the retry count. Change-Id: If3926a98bf9435779f4d6d7d564f48c576bf1f24 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Implement Host Console BufferTom Joseph2017-04-241-0/+74
Implement host console buffer to buffer host data and provide interfaces to read the buffer, write to the buffer and erase the buffer Change-Id: I67bec738dee6fa3b22c30aaefe5056edf4fb937c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud