Kumar Thangavel | 950a2e8 | 2020-07-10 18:07:33 +0530 | [diff] [blame] | 1 | Sample config options available to configure : |
| 2 | |
| 3 | 1. Single channel with one me and ipmb : |
| 4 | |
| 5 | { |
| 6 | "channels": [ |
| 7 | { |
| 8 | "type": "me", |
| 9 | "slave-path": "/dev/ipmb-4", |
| 10 | "bmc-addr": 32, |
| 11 | "remote-addr": 44 |
| 12 | }, |
| 13 | { |
| 14 | "type": "ipmb", |
| 15 | "slave-path": "/dev/ipmb-9", |
| 16 | "bmc-addr": 32, |
| 17 | "remote-addr": 96 |
| 18 | } |
| 19 | ] |
| 20 | } |
| 21 | |
| 22 | 2. Multiple sub channels with me and ipmb : |
| 23 | |
| 24 | { |
| 25 | "channels": [ |
| 26 | { |
| 27 | "type": "me", |
| 28 | "slave-path": "/dev/ipmb-1", |
| 29 | "bmc-addr": 32, |
| 30 | "remote-addr": 64, |
| 31 | "devIndex": 0 |
| 32 | }, |
| 33 | { |
| 34 | "type": "ipmb", |
| 35 | "slave-path": "/dev/ipmb-3", |
| 36 | "bmc-addr": 32, |
| 37 | "remote-addr": 64, |
| 38 | "devIndex": 0 |
| 39 | }, |
| 40 | { |
| 41 | "type": "me", |
| 42 | "slave-path": "/dev/ipmb-5", |
| 43 | "bmc-addr": 32, |
| 44 | "remote-addr": 64, |
| 45 | "devIndex": 1 |
| 46 | }, |
| 47 | { |
| 48 | "type": "ipmb", |
| 49 | "slave-path": "/dev/ipmb-7", |
| 50 | "bmc-addr": 32, |
| 51 | "remote-addr": 64, |
| 52 | "devIndex": 1 |
| 53 | } |
| 54 | ] |
| 55 | } |
| 56 | |
| 57 | Config fields : |
| 58 | |
| 59 | type : This points to the ChannelType. It can be ME or ipmb channel. |
| 60 | slave-path : The ipmb device path. |
| 61 | bmc-addr : This is BMC slave address to communicate between BMC and device. |
| 62 | remote-addr : This is Remote/requestor slave address to communicate between BMC and device. |
| 63 | devIndex : This devIndex used to identify the particular device/host. |
| 64 | |