tree: a8a97c3a20fd060510447a5e960177717b09800d [path history] [tgz]
  1. .clang-format
  2. .gitignore
  3. boost_handler_timeline_vis.js
  4. dbus_pcap_loader.js
  5. dbus_timeline_vis.js
  6. dbus_vis.css
  7. index.html
  8. info_panel.js
  9. initialization.js
  10. ipmi_capture.js
  11. ipmi_parse.js
  12. ipmi_timeline_vis.js
  13. linecount.py
  14. main.js
  15. package.json
  16. README.md
  17. renderer.js
  18. scrnshot.png
  19. timeline_view.js
dbus-vis/README.md

dbus-vis

This program captures & visualizes IPMI traffic on a BMC running OpenBMC. It allows the user to capture & view IPMI requests in a time line format, as well as generate commands that can talk to ipmid or ipmitool to replay those IPMI requests.

Build

This program is based on Electron, and should be compatible with Windows, Linux, Mac and ChromeOS's Linux environment.

The following commands are all run from this folder (where index.html is located.)

To build and run, a user would first need to install node.js and npm (Node.js package manager), and then checkout dbus-pcap to this folder. To install node.js on a Ubuntu/Debian-based system:

First, install npm and node.js using a method that is suitable for your setup.

$ node --version
v10.20.1
$ npm --version
6.14.4

Then, with npm, node.js installed and dbus-pcap downloaded to this folder, run the following commands:

  1. npm install

  2. npm start

Run

Open existing file

  1. Select "Open an existing file"
  2. Click "Open file"
  3. Choose a file (The file should be a text file, and its contents should be dbus-monitor outputs)

Capture

  1. Select "Capture on a BMC"
  2. Fill the Megapede client name in the text box
  3. Choose a capture mode (live or staged)
  4. Click "start capture" and watch the status updates
  5. Click "stop capture" when done
  6. If something happens, manual clean-up might be needed, such as stopping dbus-monitor on the BMC

Image