Difference between revisions of "GoVPP"
Ondrej-fabry (Talk | contribs) (Removed inactive committers) |
Ondrej-fabry (Talk | contribs) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|jiraName=GOVPP | |jiraName=GOVPP | ||
|mailingList=[https://lists.fd.io/mailman/listinfo/govpp-dev govpp-dev@lists.fd.io] | |mailingList=[https://lists.fd.io/mailman/listinfo/govpp-dev govpp-dev@lists.fd.io] | ||
− | |projectLead= | + | |projectLead= Ondrej Fabry |
|committers= | |committers= | ||
+ | * Ondrej Fabry | ||
+ | * Vladimir Lavor | ||
* Jan Medved | * Jan Medved | ||
* Rastislav Szabo | * Rastislav Szabo | ||
− | * | + | * Nathan Skrzypczak |
}} | }} | ||
Line 18: | Line 20: | ||
* [https://wiki.fd.io/images/f/fa/GoVPP-intro.pdf GoVPP Inroduction Slides] | * [https://wiki.fd.io/images/f/fa/GoVPP-intro.pdf GoVPP Inroduction Slides] | ||
− | == | + | == Get Involved == |
+ | |||
+ | * [[GoVPP/Meeting|GoVPP Meeting]] | ||
+ | * GoVPP Slack Channel: [https://fdio-project.slack.com/messages/C01905FGAQ0 fdio-project #govpp] | ||
+ | * [https://lists.fd.io/mailman/listinfo/govpp-dev Join the GoVPP Mailing List] | ||
+ | * [[GoVPP/Release Plans/Release Plan 22.06|GoVPP Release Plan 22.06]] | ||
+ | |||
+ | Note: Slack is the preferred application for GoVPP developer and user communications. | ||
+ | |||
+ | == Project Contacts == | ||
+ | |||
<!-- Name and email of the project contact --> | <!-- Name and email of the project contact --> | ||
− | * [mailto: | + | * [mailto:ofabry@cisco.com Ondrej Fabry] |
− | * [mailto: | + | * [mailto:vlavor@cisco.com Vladimir Lavor] |
== Scope == | == Scope == | ||
Line 32: | Line 44: | ||
# GoVPP API packages: | # GoVPP API packages: | ||
#* api: high-level API for communication with govpp core using Go channels | #* api: high-level API for communication with govpp core using Go channels | ||
− | #* core: main functionality of the govpp, sends and receives the messages to/from VPP using the adapter, | + | #* core: main functionality of the govpp, sends and receives the messages to/from VPP using the adapter, encodes them and forwards them between the client Go channels and the VPP |
#* adapter: the adapter between the govpp core and the VPP, responsible for sending and receiving binary-encoded data via shared memory, leverages VPP pneum library | #* adapter: the adapter between the govpp core and the VPP, responsible for sending and receiving binary-encoded data via shared memory, leverages VPP pneum library | ||
− | # Other code to ease the adoption of | + | # Other code to ease the adoption of FD.io by Go users |
# Supporting code: | # Supporting code: | ||
#* examples | #* examples | ||
Line 47: | Line 59: | ||
== Performance == | == Performance == | ||
According to the [https://wiki.fd.io/view/GoVPP/Performance performance benchmark] results, GoVPP is currently able to handle more than 250 000 binary API requests per second via the asynchronous API on a standard laptop. More details: [https://wiki.fd.io/view/GoVPP/Performance] | According to the [https://wiki.fd.io/view/GoVPP/Performance performance benchmark] results, GoVPP is currently able to handle more than 250 000 binary API requests per second via the asynchronous API on a standard laptop. More details: [https://wiki.fd.io/view/GoVPP/Performance] | ||
− | |||
− | |||
− | |||
== Devel == | == Devel == | ||
− | * Go | + | * Adding Go module dependency: |
− | go get | + | go get go.fd.io/govpp |
− | * Installing | + | * Installing VPP binary API generator: |
− | go install | + | go install go.fd.io/govpp/cmd/binapi-generator@latest |
* [https://blog.golang.org/generate go generate] rule for generating binary API bindings: | * [https://blog.golang.org/generate go generate] rule for generating binary API bindings: | ||
− | //go:generate | + | //go:generate binapi-generator --input=/usr/share/vpp/api --output-dir=./binapi |
+ | |||
+ | * [https://github.com/FDio/govpp/blob/master/README.md README.md] | ||
+ | |||
+ | * Auto-generated documentation on [https://pkg.go.dev/go.fd.io/govpp GoDoc] | ||
− | * [ | + | == Previous Release Plans == |
+ | * [[GoVPP/Release Plans/Release Plan 17.07|GoVPP Release Plan 17.07]] | ||
− | + | == List of all subpages (used or unused) == | |
− | + | {{Special:PrefixIndex |prefix=GoVPP|hideredirects=1}} |
Latest revision as of 09:16, 14 March 2023
GoVPP Facts |
Project Lead: Ondrej Fabry
Repository: git clone https://gerrit.fd.io/r/govpp |
Contents
Intro
GoVPP is a Golang toolset for VPP management. It consists of a set of Golang packages that provide the API for VPP management based on the Go bindings generated from the VPP binary APIs. It can be used as the foundation for any VPP management/control plane written in Go.
Apart from the packages providing the API and tools allowing to write VPP management applications in Go from scratch, the project also aims to provide a cloud-native VPP management agent that can be used in VPP-based container infrastructure.
Get Involved
- GoVPP Meeting
- GoVPP Slack Channel: fdio-project #govpp
- Join the GoVPP Mailing List
- GoVPP Release Plan 22.06
Note: Slack is the preferred application for GoVPP developer and user communications.
Project Contacts
Scope
GoVPP project scope:
- Go bindings generator:
- generates Go structs from binary API definitions in JSON
- annotates the generated Go bindings so they can be marshalled / unmarshalled to/from binary data as understood by VPP
- GoVPP API packages:
- api: high-level API for communication with govpp core using Go channels
- core: main functionality of the govpp, sends and receives the messages to/from VPP using the adapter, encodes them and forwards them between the client Go channels and the VPP
- adapter: the adapter between the govpp core and the VPP, responsible for sending and receiving binary-encoded data via shared memory, leverages VPP pneum library
- Other code to ease the adoption of FD.io by Go users
- Supporting code:
- examples
- unit tests
Out of scope:
- Generator of JSON definitions of VPP binary APIs
- vppapiclient (former pneum) library used to send & receive binary-encoded data to/from VPP
Performance
According to the performance benchmark results, GoVPP is currently able to handle more than 250 000 binary API requests per second via the asynchronous API on a standard laptop. More details: [1]
Devel
- Adding Go module dependency:
go get go.fd.io/govpp
- Installing VPP binary API generator:
go install go.fd.io/govpp/cmd/binapi-generator@latest
- go generate rule for generating binary API bindings:
//go:generate binapi-generator --input=/usr/share/vpp/api --output-dir=./binapi
- Auto-generated documentation on GoDoc
Previous Release Plans
List of all subpages (used or unused)
GoVPP | GoVPP/Meeting | GoVPP/Performance |
GoVPP/Release Plans/Release Plan 17.07 | GoVPP/gerrit-review |