Documentation ¶
Overview ¶
Package forwarder provides interpose endpoint implementation for ovs forwarder which provides kernel and smartnic endpoints
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKernelServer ¶
func NewKernelServer(ctx context.Context, name string, authzServer networkservice.NetworkServiceServer, authzMonitorServer networkservice.MonitorConnectionServer, tokenGenerator token.GeneratorFunc, clientURL *url.URL, bridgeName string, tunnelIPCidr net.IP, dialTimeout time.Duration, l2Connections map[string]*ovsutil.L2ConnectionPoint, options ...Option) (endpoint.Endpoint, error)
NewKernelServer - returns kernel implementation of the ovsconnectns network service
func NewSriovServer ¶
func NewSriovServer(ctx context.Context, name string, authzServer networkservice.NetworkServiceServer, authzMonitorServer networkservice.MonitorConnectionServer, tokenGenerator token.GeneratorFunc, clientURL *url.URL, bridgeName string, tunnelIPCidr net.IP, pciPool resourcepool.PCIPool, resourcePool resourcepool.ResourcePool, sriovConfig *config.Config, dialTimeout time.Duration, l2Connections map[string]*ovsutil.L2ConnectionPoint, options ...Option) (endpoint.Endpoint, error)
NewSriovServer - returns sriov implementation of the ovsconnectns network service
Types ¶
type Option ¶ added in v1.13.0
type Option func(o *forwarderOptions)
Option is an option pattern for forwarder chain elements
func WithDialOptions ¶ added in v1.13.0
func WithDialOptions(opts ...grpc.DialOption) Option
WithDialOptions sets dial options
func WithVxlanOptions ¶ added in v1.13.0
WithVxlanOptions sets vxlan option
Click to show internal directories.
Click to hide internal directories.