zedrouter

package
v0.0.0-...-585d944 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ps *pubsub.PubSub, logger *logrus.Logger, log *base.LogObject, args []string, baseDir string) int

Types

type RPCServer

type RPCServer struct {
	// contains filtered or unexported fields
}

RPCServer receives RPC calls from eve-bridge CNI and dispatches them to the main event loop of zedrouter.

func (*RPCServer) CheckPodConnection

func (h *RPCServer) CheckPodConnection(
	args cnirpc.CheckPodConnectionArgs, retval *cnirpc.CheckPodConnectionRetval) error

CheckPodConnection : check if the given connection between pod and network instance is configured successfully.

func (*RPCServer) ConnectPodAtL2

func (h *RPCServer) ConnectPodAtL2(
	args cnirpc.ConnectPodAtL2Args, retval *cnirpc.ConnectPodAtL2Retval) error

ConnectPodAtL2 : establish L2 connection between pod and network instance.

func (*RPCServer) ConnectPodAtL3

func (h *RPCServer) ConnectPodAtL3(
	args cnirpc.ConnectPodAtL3Args, retval *cnirpc.ConnectPodAtL3Retval) error

ConnectPodAtL3 : establish L3 connection between pod and network instance. Typically, it is used after ConnectPodAtL2 to elevate existing L2 connection into L3 by applying the submitted IP settings.

func (*RPCServer) DisconnectPod

func (h *RPCServer) DisconnectPod(
	args cnirpc.DisconnectPodArgs, retval *cnirpc.DisconnectPodRetval) error

DisconnectPod : un-configure the given connection between pod and network instance.

Jump to

Keyboard shortcuts

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