Skip to content

mestery/ipdk-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipdk-plugin CI

ipdk ebpf docker network plugin

This is a simple Docker CNI which integrates with the IPDK project. Specifically, it works with the IPDK P4 eBPF backend.

For more information about IPDK:

The docker plugin is used to create veth ports between the P4-eBPF switch namespace and the container's namespace.

How to use this plugin

Build the plugin:

$ go get
$ go build

Ensure that your plugin is discoverable

$ sudo cp ipdk.json /etc/docker/plugins/

Start the plugin

$ sudo ./ipdk-plugin &

To run the plugin such that it exposes a GW port into the host where docker is running, add -hostports to the command line:

$ sudo ./ipdk-plugin -hostports &

Note: Enable password less sudo to ensure the plugin will run in the background without prompting.

About

IPDK Docker CNM using tap ports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages