Skip to content

zolug/govpp

 
 

Repository files navigation

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:

What to do if you need a different version of vpp:

If you want a version of VPP, you can fork this repo and add it yourself. Because things are very heavily patterned and generated, its really quite easy:

  1. Change default value for ARG VPP_VERSION in Dockerfile to the vpp tag or commit id you want to build.
  2. go generate ./...
  3. Add a GHCR_TOKEN secret to your fork containing a PAT allowing you to push to your Github Container Registry
  4. Push a PR to your fork and merge it. This will push the vpp and vpp-dbg images to your repo.

What to do if you need to patch vpp:

If you want to add patches to vpp simply add them to the patch/ directory.

What to do if you need a different version of govpp

Change the version of govpp in the go.mod file

How the magic works

See How the Magic Works.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 40.6%
  • Dockerfile 35.9%
  • Shell 23.5%