MCPcopy Index your code
hub / github.com/danderson/netboot

github.com/danderson/netboot @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
355 symbols 1,172 edges 57 files 128 documented · 36%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Netboot, packages and utilities for network booting

This repository contains Go implementations of network protocols used in booting machines over the network, as well as utilites built on top of these libraries.

This project is no longer actively developed. I'm glad if you find it useful, but don't expect any significant changes.

Programs

  • Pixiecore: Command line all-in-one tool for easy netbooting

Libraries

The canonical import path for Go packages in this repository is go.universe.tf/netboot.

  • pcap: Pure Go implementation of reading and writing pcap files.
  • dhcp4: DHCPv4 library providing the low-level bits of a DHCP client/server (packet marshaling, RFC-compliant packet transmission semantics).
  • tftp: Read-only TFTP server implementation.
  • pixiecore: Go library for Pixiecore tool functionality. Every stability warning in this repository applies double for this package.

Extension points exported contracts — how you extend this code

Booter (Interface)
A Booter provides boot instructions and files for machines. Due to the stateless nature of various boot protocols, Boot [2 …
pixiecore/pixiecore.go
BootConfiguration (Interface)
BootConfiguration implementation provides values for dhcp options served to dhcp clients [2 implementers]
dhcp6/boot_configuration.go
AddressPool (Interface)
AddressPool keeps track of assigned and available ip address in an address pool [1 implementers]
dhcp6/address_pool.go
Handler (FuncType)
A Handler provides bytes for a file. If size is non-zero, it must be equal to the number of bytes in file. The server w
tftp/tftp.go

Core symbols most depended-on inside this repo

fatalf
called by 73
pixiecore/cli/cli.go
Add
called by 44
dhcp6/options.go
String
called by 41
pixiecore/logging.go
Close
called by 26
dhcp4/conn.go
log
called by 24
pixiecore/logging.go
Uint16
called by 24
dhcp4/options.go
MakeOption
called by 22
dhcp6/options.go
debug
called by 20
pixiecore/logging.go

Shape

Method 156
Function 151
Struct 29
TypeAlias 13
Interface 4
FuncType 2

Languages

Go100%

Modules by API surface

dhcp6/options.go26 symbols
dhcp4/conn.go22 symbols
dhcp6/packet_builder_test.go16 symbols
dhcp4/options.go15 symbols
pixiecore/pixiecore.go14 symbols
pixiecore/booters.go14 symbols
dhcp6/pool/random_address_pool.go14 symbols
tftp/tftp.go13 symbols
dhcp6/packet_builder.go13 symbols
pixiecore/boot_configuration.go11 symbols
pixiecore/http_test.go10 symbols
tftp/interop_test.go9 symbols

For agents

$ claude mcp add netboot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact