Skip to content

nmelo/dpuemu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

dpuemu - BlueField DPU Emulator

The first open-source NVIDIA BlueField DPU emulator for development, testing, and CI/CD without physical hardware.

The Problem

NVIDIA BlueField DPUs require physical hardware for testing. NVIDIA's QEMU container only supports compilation, not runtime testing. There's no simulator, no mock server, no virtual DPU available.

dpuemu solves this.

What is dpuemu?

A lightweight emulator that implements the BlueField DPU management gRPC interface. From the perspective of your management software, it's indistinguishable from a real DPU.

Use Cases

  • Development - Build DPU management tools without hardware access
  • CI/CD - Run integration tests in GitHub Actions, GitLab CI, Jenkins
  • Demos - Show multi-DPU scenarios without a rack of hardware
  • Training - Learn DOCA and BlueField without buying a DPU
  • Fleet simulation - Spin up 100 virtual DPUs in Docker

Modes

Mode Description
Static Respond from fixture files (JSON)
Learning Record responses from real DPU to create fixtures
Proxy Pass-through to real DPU for comparison

Quick Start

# Run emulator with sample fixture
dpuemu serve --fixture=fixtures/bf3-default.json --listen=:50051

# Test with grpcurl
grpcurl -plaintext localhost:50051 agent.v1.DPUAgent/GetSystemInfo

# Spin up 10 virtual DPUs
docker-compose up --scale dpuemu=10

Supported Features

  • System information (model, firmware, DOCA version)
  • OVS bridge and flow table queries
  • DICE/SPDM attestation certificate chains
  • Health checks and connectivity status
  • Instance ID templating for unique identities

Keywords

BlueField-2, BlueField-3, NVIDIA DPU, DOCA SDK, DPU simulator, DPU emulator, SmartNIC emulator, BlueField mock, BlueField test, DOCA development, DPU CI/CD, virtual DPU, DPU without hardware, BlueField development environment, DOCA gRPC, DPU management API

Status

🚧 Coming Soon - Under active development. Star this repo to get notified when it's ready.

Related

License

Apache 2.0

About

BlueField DPU Emulator - Development, testing, and CI/CD without physical hardware

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published