server

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SliceRouterDataplaneVpp    string = "vpp"
	SliceRouterDataplaneKernel string = "kernel"
)

Variables

This section is empty.

Functions

func BootstrapSliceRouterPod

func BootstrapSliceRouterPod() error

Types

type SliceRouterSidecar

type SliceRouterSidecar struct {
	sidecar.UnimplementedSliceRouterSidecarServiceServer
}

SliceRouterSidecar represents the GRPC Server for Slice Router Sidecar.

func (*SliceRouterSidecar) GetRouteInKernel added in v0.4.0

func (*SliceRouterSidecar) GetSliceRouterClientConnectionInfo

func (s *SliceRouterSidecar) GetSliceRouterClientConnectionInfo(ctx context.Context, in *emptypb.Empty) (*sidecar.ClientConnectionInfo, error)

GetClientConnectionInfo requests the slice router sidecar to send connection information of clients that are connected to the slice router. Slice router is the connectivity entry point to the slice. Any pod that wants to be part of the slice connects to the slice router to send and recieve traffic over the slice.

func (*SliceRouterSidecar) UpdateSliceGwConnectionContext

func (s *SliceRouterSidecar) UpdateSliceGwConnectionContext(ctx context.Context, conContext *sidecar.SliceGwConContext) (*sidecar.SidecarResponse, error)

Slice router gets the slice GW connection information from the slice controller. This is needed to install remote cluster subnet routes into the slice router so that inter-cluster traffic can be forwarded to the right slice GW.

Jump to

Keyboard shortcuts

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