mestery / ipdk-plugin

IPDK Docker CNM using tap ports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Go 100.0%