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