summaryrefslogtreecommitdiffstats
path: root/transporthandler.hpp
Commit message (Collapse)AuthorAgeFilesLines
* move types.hpp to ipmid/types.hpp for exportVernon Mauery2019-03-251-2/+1
| | | | | | | | | | types.hpp is required by utility.hpp, which is exported, so it needs to be exported as well. This moves it to the include/libipmid directory, changes the Makefile to export it, and changes all the files that include it so it can be found in the right place. Change-Id: I30ec365446e4de466c266ec4faa327478460ec05 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* transporthandler: Add IPV6 LAN parameters to enumPatrick Venture2019-02-021-3/+50
| | | | | | | | Add the IPV6 LAN parameters to the enum. These commands are not yet supported. Change-Id: I9847fe7c70ef66a2f0138ba79651376c011a2273 Signed-off-by: Patrick Venture <venture@google.com>
* transporthandler: LanParam enum -> enum classWilliam A. Kennington III2018-11-261-10/+10
| | | | | | | | | | | We should be using enum classes instead of enums to avoid poluting the global scope. Tested: Built and run through unit tests. Change-Id: Iec72f04b5cbf91814d0055c670bcc509eb30a821 Signed-off-by: William A. Kennington III <wak@google.com>
* transporthandler: Convert ints to enumWilliam A. Kennington III2018-11-261-11/+14
| | | | | | | | | | | | We want to be able to identify unique LanParams for each of the different sub-queries. These make more semantic sense as an enum than individual ints. Tested: Built and run through unit test suite. Change-Id: Ieb304f2f866215776e8d3e264b07ea110c639efc Signed-off-by: William A. Kennington III <wak@google.com>
* add .clang-formatPatrick Venture2018-09-071-10/+11
| | | | | Change-Id: I7c2a527b4751a560703a61fcbe9638b150546af5 Signed-off-by: Patrick Venture <venture@google.com>
* Implement RMCP+ cipher parameters in Get LAN Config parametersTom Joseph2018-04-181-0/+2
| | | | | Change-Id: Ic78965be94b1ba31149a05a29c1a768f06b492e4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* SetLan: Apply the network changes once the timer expiresRatan Gupta2018-03-201-0/+18
| | | | | | | | | | | | Start the timer once the set in progress parameter set to set complete as part of Set LAN Configuration Parameters command. Resolves openbmc/openbmc#2932 Resolves openbmc/openbmc#2993 Change-Id: Ie6f3b331531da23c74fa44bb52fa1ddccffabd13 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* multiple channel configuration supportPatrick Venture2017-12-121-0/+10
| | | | | | | | | | | | | | Previously, the ipmi daemon only supported eth0 and hard-coded it to channel 1. This allows one to map via a configuration. The channel number provided is checked against a configuration to retrieve the ethernet device identifier, e.g. eth0. Tested: Ran on a quanta-q71l and was able to properly set MAC, IP, Netmask, Gateway IP, and then verified the data was set for the eth1 via `ip addr show eth1`. Change-Id: I92f63188297304e9454fd0d6fe32bc6cf84bb181 Signed-off-by: Patrick Venture <venture@google.com>
* transporthandler: lan_set_in_progress to per channelPatrick Venture2017-11-221-0/+7
| | | | | | | | | The IPMI specification indicates that this value is per channel, therefore goes in the channelconfig object. Change-Id: Iab5861651518ac80d797faa9d9f092933cc1886e Signed-off-by: Patrick Venture <venture@google.com>
* GetLan: Support for get/set of ipsrc parameterRatan Gupta2017-09-081-0/+3
| | | | | Change-Id: Id9c52bb0963c5924f80f9e273b53ed5556b16a2c Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add support for vlan(set lan command)Ratan Gupta2017-08-131-1/+8
| | | | | | | Resolves openbmc/openbmc#1899 Change-Id: I3c436045676bc96e5d91fd9420509bc991549a13 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Move LAN handling commands to the new xyz interfacesRatan Gupta2017-08-131-0/+41
Change-Id: I4631c79c171883e5f0d531cfb5957a09496e4b3a Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud