saiserver

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IngressVRFTable  = "ingress-vrf"
	FIBV4Table       = "fib-v4"
	FIBV6Table       = "fib-v6"
	SRCMACTable      = "port-mac"
	FIBSelectorTable = "fib-selector"
	NeighborTable    = "neighbor"
	NHGTable         = "nhg-table"
	NHTable          = "nh-table"

	PreIngressActionTable = "preingress-table"
	IngressActionTable    = "ingress-table"
	EgressActionTable     = "egress-action-table"
	NHActionTable         = "nh-action"
	TunnelEncap           = "tunnel-encap"
	MyMacTable            = "my-mac-table"

	VlanTable     = "vlan"
	DefaultVlanId = 4095 // An reserved VLAN ID used as the default VLAN ID for internal usage.
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	saipb.UnimplementedEntrypointServer
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, mgr *attrmgr.AttrMgr, s *grpc.Server, opts *dplaneopts.Options) (*Server, error)

func (Server) ID

func (fc Server) ID() string

func (*Server) Initialize

func (*Server) ObjectTypeQuery

func (*Server) Reset

func (s *Server) Reset(ctx context.Context) error

Directories

Path Synopsis
Package attrmgr contains a SAI attribute key/value store.
Package attrmgr contains a SAI attribute key/value store.

Jump to

Keyboard shortcuts

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