Skip to content

tinkerbell/pbnj

main
Switch branches/tags
Code

Latest commit

## Description

Create client.Thing spans in bmc.go functions that do the heavy lifting.

## Why is this needed

Fixes: #122 

## How Has This Been Tested?

- [x] Manually

## How are existing users impacted? What migration steps/scripts do we need?

If you're sending otel spans, now you'll send more.

## Checklist:

I have:

- [ ] updated the documentation and/or roadmap (if required)
- [ ] added unit or e2e tests
- [ ] provided instructions on how to upgrade
7fc90cf

Git stats

Files

Permalink
Failed to load latest commit information.

PBNJ

For each commit and PR stability

This repository is Experimental meaning that it's based on untested ideas or techniques and not yet established or finalized or involves a radically new and innovative style! This means that support is best effort (at best!) and we strongly encourage you to NOT use this in production.

Description

This service handles BMC interactions.

  • machine and BMC power on/off/reset
  • setting next boot device
  • user management
  • setting BMC network source

The gRPC PBnJ server listens by default on port 50051. This can be started with pbnj server. Use pbnj server --help for more runtime details.

Usage

Container

Build

make image

Run

# default gRPC port is 50051
make run-image

Local

Build

# builds the binary and puts it in ./bin/
make build

Run

# default gRPC port is 50051; does a `go run` of the code base
make run-server

Authorization

Documentation on enabling authorization can be found here.

Contributing

See the contributors guide here.

Website

For complete documentation, please visit the Tinkerbell project hosted at tinkerbell.org.