| commit | d9e2e6d0b51556937cb047a2ba0b0f5b09214bc7 | [log] [tgz] |
|---|---|---|
| author | Deepak Kodihalli <deepak.kodihalli.83@gmail.com> | Mon Feb 17 12:07:26 2025 +0530 |
| committer | Deepak Kodihalli <deepak.kodihalli.83@gmail.com> | Mon Feb 17 12:32:48 2025 +0530 |
| tree | cb83928a6f77f5ec95eebd387ec7335a37ff7395 | |
| parent | 8107a29fee3af2e46a598a476f32b2a31dbf2d0d [diff] |
Integrate gpu-telemetry into build of nsmd Fixes JIRA https:// Signed-off-by: Deepak Kodihalli <deepak.kodihalli.83@gmail.com>
Source an NvBMC ARM/x86 SDK.
meson build && ninja -C build
To ensure code consistency and formatting standards in the CI pipeline, clang-format-17 needs to be installed. Follow the steps below to install clang-format-17 on your system:
# Update the package list sudo apt update # Install wget if not already installed sudo apt install wget # Download the LLVM installation script wget https://apt.llvm.org/llvm.sh # Make the script executable sudo chmod +x llvm.sh # Run the script to install LLVM version 17 sudo ./llvm.sh 17 # Install clang-format-17 sudo apt install clang-format-17
This will install clang-format-17 on your system, enabling it for use in the CI pipeline.
Successful build should generate three binary artifacts.
A Daemon that can discover NSM endpoint, gather telemetry data from the endpoints, and can publish them to D-Bus or similar IPC services, for consumer services like bmcweb.
nsmtool is a client tool that acts as a NSM requester which can be invoked from the BMC. nsmtool sends the request message and parse the response message & display it in readable format.
A mockup NSM responder that can be used for development purpose. Its primary usage is to test nsmd and nsmtool features on an emulator like QEMU. The mockup NSM responder includes modified MCTP control and demux daemon, user can create a emulated MCTP endpoint by providing a json file to modified MCTP control daemon to expose the emulated MCTP Endpoint to D-Bus.
The mockup NSM responder listens to demux unix socket for the request from nsmd/nsmtool and returns the respond through modified MCTP demux daemon.