xref: /openbmc/ipmbbridge/README.md (revision 0195f75c)
1Sample config options available to configure :
2
31. Single channel with one me and ipmb :
4
5```json
6{
7  "channels": [
8    {
9      "type": "me",
10      "slave-path": "/dev/ipmb-4",
11      "bmc-addr": 32,
12      "remote-addr": 44
13    },
14    {
15      "type": "ipmb",
16      "slave-path": "/dev/ipmb-9",
17      "bmc-addr": 32,
18      "remote-addr": 96
19    }
20  ]
21}
22```
23
242. Multiple sub channels with me and ipmb :
25
26```json
27{
28  "channels": [
29    {
30      "type": "me",
31      "slave-path": "/dev/ipmb-1",
32      "bmc-addr": 32,
33      "remote-addr": 64,
34      "devIndex": 0
35    },
36    {
37      "type": "ipmb",
38      "slave-path": "/dev/ipmb-3",
39      "bmc-addr": 32,
40      "remote-addr": 64,
41      "devIndex": 0
42    },
43    {
44      "type": "me",
45      "slave-path": "/dev/ipmb-5",
46      "bmc-addr": 32,
47      "remote-addr": 64,
48      "devIndex": 1
49    },
50    {
51      "type": "ipmb",
52      "slave-path": "/dev/ipmb-7",
53      "bmc-addr": 32,
54      "remote-addr": 64,
55      "devIndex": 1
56    }
57  ]
58}
59```
60
61```text
62Config fields :
63
64type          : This points to the ChannelType. It can be ME or ipmb channel.
65slave-path    : The ipmb device path.
66bmc-addr      : This is BMC target address to communicate between BMC and device.
67remote-addr   : This is Remote/requester target address to communicate between BMC and device.
68devIndex      : This devIndex used to identify the particular device/host.
69```
70