vpp-dataplane

module
v3.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0

README

Calico VPP dataplane

This repository contains the source for Calico's VPP dataplane integration. The integration is in incubation status, with significant development in progress.

Integration goals

The main goal of this integration is to accelerate the networking of k8s clusters that use Calico thanks to FD.io VPP. Nodes running the VPP dataplane provide faster networking to their pods, without requiring any changes to the applications running in the pods.

This integration aims to be as transparent as possible. In particular, the VPP dataplane does not have any additional requirements compared to regular Calico. All the networking configuration, including traffic encapsulation, IP Pools, BGP Configuration, etc. is done through regular Calico means. As a result, the docs present in this repository will only describe the VPP-specific elements.

VPP-enabled nodes are entirely compatible with regular Calico nodes - meaning that it is possible to have a cluster with some VPP-enabled nodes and some regular nodes. This makes it easy to migrate a cluster from Linux or eBPF Calico networking to VPP-accelerated networking.

In addition to that, the VPP Dataplane provides some additional features that are not available in Calico. For instance :

  • We support very fast container traffic encryption with IPsec
  • SRv6 is also supported for node to node transport
  • Network intensive applications can also require memif packet interfaces for optimized user-space networking.
  • Network intensive endpoint applications (using TCP, TLS, UDP, QUIC, ...) can consume the VPP Hoststack with the VPP Client Library VCL
  • Containerized network functions requiring multiple high speed interfaces can leverage multinet

Finally, our goal is to make the deployment of Calico-VPP as simple as applying a YAML file through kubectl.

Get Started Using Calico/VPP

Software Architecture

For technical details about the Calico-VPP integration, see the VPP dataplane implementation details.

Contributing

Contributions to this code are welcome!

Before starting, make sure you've read the Calico contributor guide.

You can follow the guide to setup a kind based development cluster

Or refer to the developer documentation in this repository

License

Calico binaries are licensed under the Apache v2.0 license, with the exception of some GPL licensed eBPF programs.

Calico imports packages with a number of apache-compatible licenses. For more information, see licenses. In addition, the base container image contains pre-packaged software with a variety of licenses.

Directories

Path Synopsis
calico-vpp-agent
cmd
cni
scripts
test
generated
Code generated by vpplink DO NOT EDIT.
Code generated by vpplink DO NOT EDIT.
generated/bindings/abf
Package abf contains generated bindings for API file abf.api.
Package abf contains generated bindings for API file abf.api.
generated/bindings/acl
Package acl contains generated bindings for API file acl.api.
Package acl contains generated bindings for API file acl.api.
generated/bindings/acl_types
Package acl_types contains generated bindings for API file acl_types.api.
Package acl_types contains generated bindings for API file acl_types.api.
generated/bindings/af_packet
Package af_packet contains generated bindings for API file af_packet.api.
Package af_packet contains generated bindings for API file af_packet.api.
generated/bindings/af_xdp
Package af_xdp contains generated bindings for API file af_xdp.api.
Package af_xdp contains generated bindings for API file af_xdp.api.
generated/bindings/arp
Package arp contains generated bindings for API file arp.api.
Package arp contains generated bindings for API file arp.api.
generated/bindings/avf
Package avf contains generated bindings for API file avf.api.
Package avf contains generated bindings for API file avf.api.
generated/bindings/capo
Package capo contains generated bindings for API file capo.api.
Package capo contains generated bindings for API file capo.api.
generated/bindings/classify
Package classify contains generated bindings for API file classify.api.
Package classify contains generated bindings for API file classify.api.
generated/bindings/cnat
Package cnat contains generated bindings for API file cnat.api.
Package cnat contains generated bindings for API file cnat.api.
generated/bindings/crypto_sw_scheduler
Package crypto_sw_scheduler contains generated bindings for API file crypto_sw_scheduler.api.
Package crypto_sw_scheduler contains generated bindings for API file crypto_sw_scheduler.api.
generated/bindings/ethernet_types
Package ethernet_types contains generated bindings for API file ethernet_types.api.
Package ethernet_types contains generated bindings for API file ethernet_types.api.
generated/bindings/feature
Package feature contains generated bindings for API file feature.api.
Package feature contains generated bindings for API file feature.api.
generated/bindings/fib_types
Package fib_types contains generated bindings for API file fib_types.api.
Package fib_types contains generated bindings for API file fib_types.api.
generated/bindings/gso
Package gso contains generated bindings for API file gso.api.
Package gso contains generated bindings for API file gso.api.
generated/bindings/ikev2
Package ikev2 contains generated bindings for API file ikev2.api.
Package ikev2 contains generated bindings for API file ikev2.api.
generated/bindings/ikev2_types
Package ikev2_types contains generated bindings for API file ikev2_types.api.
Package ikev2_types contains generated bindings for API file ikev2_types.api.
generated/bindings/interface
Package interfaces contains generated bindings for API file interface.api.
Package interfaces contains generated bindings for API file interface.api.
generated/bindings/interface_types
Package interface_types contains generated bindings for API file interface_types.api.
Package interface_types contains generated bindings for API file interface_types.api.
generated/bindings/ip
Package ip contains generated bindings for API file ip.api.
Package ip contains generated bindings for API file ip.api.
generated/bindings/ip6_nd
Package ip6_nd contains generated bindings for API file ip6_nd.api.
Package ip6_nd contains generated bindings for API file ip6_nd.api.
generated/bindings/ip_neighbor
Package ip_neighbor contains generated bindings for API file ip_neighbor.api.
Package ip_neighbor contains generated bindings for API file ip_neighbor.api.
generated/bindings/ip_session_redirect
Package ip_session_redirect contains generated bindings for API file ip_session_redirect.api.
Package ip_session_redirect contains generated bindings for API file ip_session_redirect.api.
generated/bindings/ip_types
Package ip_types contains generated bindings for API file ip_types.api.
Package ip_types contains generated bindings for API file ip_types.api.
generated/bindings/ipip
Package ipip contains generated bindings for API file ipip.api.
Package ipip contains generated bindings for API file ipip.api.
generated/bindings/ipsec
Package ipsec contains generated bindings for API file ipsec.api.
Package ipsec contains generated bindings for API file ipsec.api.
generated/bindings/ipsec_types
Package ipsec_types contains generated bindings for API file ipsec_types.api.
Package ipsec_types contains generated bindings for API file ipsec_types.api.
generated/bindings/memclnt
Package memclnt contains generated bindings for API file memclnt.api.
Package memclnt contains generated bindings for API file memclnt.api.
generated/bindings/memif
Package memif contains generated bindings for API file memif.api.
Package memif contains generated bindings for API file memif.api.
generated/bindings/mfib_types
Package mfib_types contains generated bindings for API file mfib_types.api.
Package mfib_types contains generated bindings for API file mfib_types.api.
generated/bindings/nat44_ed
Package nat44_ed contains generated bindings for API file nat44_ed.api.
Package nat44_ed contains generated bindings for API file nat44_ed.api.
generated/bindings/nat_types
Package nat_types contains generated bindings for API file nat_types.api.
Package nat_types contains generated bindings for API file nat_types.api.
generated/bindings/pbl
Package pbl contains generated bindings for API file pbl.api.
Package pbl contains generated bindings for API file pbl.api.
generated/bindings/pci_types
Package pci_types contains generated bindings for API file pci_types.api.
Package pci_types contains generated bindings for API file pci_types.api.
generated/bindings/punt
Package punt contains generated bindings for API file punt.api.
Package punt contains generated bindings for API file punt.api.
generated/bindings/rdma
Package rdma contains generated bindings for API file rdma.api.
Package rdma contains generated bindings for API file rdma.api.
generated/bindings/session
Package session contains generated bindings for API file session.api.
Package session contains generated bindings for API file session.api.
generated/bindings/sr
Package sr contains generated bindings for API file sr.api.
Package sr contains generated bindings for API file sr.api.
generated/bindings/sr_types
Package sr_types contains generated bindings for API file sr_types.api.
Package sr_types contains generated bindings for API file sr_types.api.
generated/bindings/tapv2
Package tapv2 contains generated bindings for API file tapv2.api.
Package tapv2 contains generated bindings for API file tapv2.api.
generated/bindings/tunnel_types
Package tunnel_types contains generated bindings for API file tunnel_types.api.
Package tunnel_types contains generated bindings for API file tunnel_types.api.
generated/bindings/urpf
Package urpf contains generated bindings for API file urpf.api.
Package urpf contains generated bindings for API file urpf.api.
generated/bindings/virtio
Package virtio contains generated bindings for API file virtio.api.
Package virtio contains generated bindings for API file virtio.api.
generated/bindings/vlib
Package vlib contains generated bindings for API file vlib.api.
Package vlib contains generated bindings for API file vlib.api.
generated/bindings/vmxnet3
Package vmxnet3 contains generated bindings for API file vmxnet3.api.
Package vmxnet3 contains generated bindings for API file vmxnet3.api.
generated/bindings/vpe
Package vpe contains generated bindings for API file vpe.api.
Package vpe contains generated bindings for API file vpe.api.
generated/bindings/vpe_types
Package vpe_types contains generated bindings for API file vpe_types.api.
Package vpe_types contains generated bindings for API file vpe_types.api.
generated/bindings/vxlan
Package vxlan contains generated bindings for API file vxlan.api.
Package vxlan contains generated bindings for API file vxlan.api.
generated/bindings/wireguard
Package wireguard contains generated bindings for API file wireguard.api.
Package wireguard contains generated bindings for API file wireguard.api.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL