govpp is a go binding for the vpp api
This repo provides the go binding for a version of vpp (currently vpp 20.09)
import "github.com/edwarnicke/govpp/binapi"
This repo also provides minimal docker containers for running vpp:
If you want a version of VPP that is not of general issue, you can fork this repo and add it yourself. Because things are very heavily patterned and generated, its really quite easy:
- Change gen.go to utilize the version you want
go generate ./...
- Change the Docker Build Step to your desired vpp version .github/workflows/ci.yaml
- Change the the Docker Push Step to your desired vpp version .github/workflows/ci.yaml
- Add a GHCR_TOKEN secret to your fork containing a PAT allowing you to push to your Github Container Registry