Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
668 changes: 668 additions & 0 deletions calico-vpp-agent/capture/capture_server.go

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions calico-vpp-agent/cmd/calico_vpp_dataplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"

"github.com/projectcalico/vpp-dataplane/v3/calico-vpp-agent/capture"
"github.com/projectcalico/vpp-dataplane/v3/calico-vpp-agent/cni"
"github.com/projectcalico/vpp-dataplane/v3/calico-vpp-agent/common"
"github.com/projectcalico/vpp-dataplane/v3/calico-vpp-agent/connectivity"
Expand Down Expand Up @@ -162,6 +163,7 @@ func main() {
}
connectivityServer := connectivity.NewConnectivityServer(vpp, felixServer, clientv3, log.WithFields(logrus.Fields{"subcomponent": "connectivity"}))
cniServer := cni.NewCNIServer(vpp, felixServer, log.WithFields(logrus.Fields{"component": "cni"}))
captureServer := capture.NewCaptureServer(vpp, log.WithFields(logrus.Fields{"component": "capture"}))

/* Pubsub should now be registered */

Expand Down Expand Up @@ -263,6 +265,7 @@ func main() {
Go(routingServer.ServeRouting)
Go(serviceServer.ServeService)
Go(cniServer.ServeCNI)
Go(captureServer.ServeCapture)

// watch LocalSID if SRv6 is enabled
if *config.GetCalicoVppFeatureGates().SRv6Enabled {
Expand Down
Loading