| commit | cc76925e5bcfd3e1abc89bc8e0ae55e10df05961 | [log] [tgz] |
|---|---|---|
| author | vijayabharathix shetty <vijayabharathix.shetty@intel.com> | Thu Feb 27 17:52:20 2020 +0000 |
| committer | Tom Joseph <tomjoseph@in.ibm.com> | Thu Mar 12 14:13:15 2020 +0000 |
| tree | 030bcf5543d060c033e1c531b2b986563ca08dcb | |
| parent | a8be7dc839e1dbf561dd255a4ee1e7b6fb091c8e [diff] |
transporthandler:Change for set and get lan config
This patch allows to use self/current channel(0x0E) as input parameter
in set and get lan configuration commands
Tested:
Before:
Command: ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw 0x0c
0x01 0x0E 0xC7 0x01 0x01 0x31 0x71 0x71 0x71 0x71 071 0x71
0x71 0x71 0x71 0x71 0x71 0x71 0x71 0x71
Response: Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0
cmd=0x1 rsp=0xff): Unspecified error
Command: ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw 0x0c
0x02 0x0E 0x16 0x00 0x00
Response: Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0
cmd=0x2 rsp=0xff): Unspecified error
After:
Command: ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw 0x0c
0x01 0x0E 0xC7 0x01 0x01 0x31 0x71 0x71 0x71 0x71 071 0x71 0x71
0x71 0x71 0x71 0x71 0x71 0x71 0x71
Response: //success
Command: ipmitool -I lanplus -H <BMC-IP> -U <User> -P <Pwd> raw 0x0c
0x02 0x0E 0x16 0x00 0x00
Response: 11 02
Signed-off-by: vijayabharathix shetty <vijayabharathix.shetty@intel.com>
Change-Id: Icdffe4b95ade13a4beb9953d8f1994cbadc64993
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.