ipuplugin

package
v0.0.0-...-a72bf8c Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIpuPlugin

func NewIpuPlugin(port int, brCtlr types.BridgeController, p4rtbin string,
	p4Client types.P4RTClient, servingAddr, servingProto, bridge, intf, p4cpInstall, mode, daemonHostIp, daemonIpuIp string, daemonPort int) types.Runnable

func NewLinuxBridgeController

func NewLinuxBridgeController(bridge string) types.BridgeController

func NewOvsBridgeController

func NewOvsBridgeController(bridge, ovsCliDir string) types.BridgeController

Types

type DevicePluginService

type DevicePluginService struct {
	pb.UnimplementedDeviceServiceServer
}

func NewDevicePluginService

func NewDevicePluginService() *DevicePluginService

func (*DevicePluginService) GetDevices

type ExecutableHandler

type ExecutableHandler interface {
	// contains filtered or unexported methods
}

type ExecutableHandlerImpl

type ExecutableHandlerImpl struct{}

type FXPHandler

type FXPHandler interface {
	// contains filtered or unexported methods
}

type FXPHandlerImpl

type FXPHandlerImpl struct{}

type FileSystemHandler

type FileSystemHandler interface {
	GetDevice(iface string) ([]byte, error)
	GetVendor(iface string) ([]byte, error)
}

type FileSystemHandlerImpl

type FileSystemHandlerImpl struct{}

func (*FileSystemHandlerImpl) GetDevice

func (fs *FileSystemHandlerImpl) GetDevice(iface string) ([]byte, error)

func (*FileSystemHandlerImpl) GetVendor

func (fs *FileSystemHandlerImpl) GetVendor(iface string) ([]byte, error)

type LifeCycleServiceServer

type LifeCycleServiceServer struct {
	pb.UnimplementedLifeCycleServiceServer
	// contains filtered or unexported fields
}

func NewLifeCycleService

func NewLifeCycleService(daemonHostIp, daemonIpuIp string, daemonPort int, mode string, p4rtbin string) *LifeCycleServiceServer

func (*LifeCycleServiceServer) Init

type NetworkFunctionServiceServer

type NetworkFunctionServiceServer struct {
	pb.UnimplementedNetworkFunctionServiceServer
	// contains filtered or unexported fields
}

func NewNetworkFunctionService

func NewNetworkFunctionService(p4rtbin string) *NetworkFunctionServiceServer

func (*NetworkFunctionServiceServer) CreateNetworkFunction

func (s *NetworkFunctionServiceServer) CreateNetworkFunction(ctx context.Context, in *pb.NFRequest) (*pb.Empty, error)

func (*NetworkFunctionServiceServer) DeleteNetworkFunction

func (s *NetworkFunctionServiceServer) DeleteNetworkFunction(ctx context.Context, in *pb.NFRequest) (*pb.Empty, error)

type NetworkHandler

type NetworkHandler interface {
	AddrAdd(link netlink.Link, addr *netlink.Addr) error
	AddrList(link netlink.Link, family int) ([]netlink.Addr, error)
	LinkList() ([]netlink.Link, error)
}

type NetworkHandlerImpl

type NetworkHandlerImpl struct{}

func (*NetworkHandlerImpl) AddrAdd

func (h *NetworkHandlerImpl) AddrAdd(link netlink.Link, addr *netlink.Addr) error

func (*NetworkHandlerImpl) AddrList

func (h *NetworkHandlerImpl) AddrList(link netlink.Link, family int) ([]netlink.Addr, error)
func (h *NetworkHandlerImpl) LinkList() ([]netlink.Link, error)

type SSHHandler

type SSHHandler interface {
	// contains filtered or unexported methods
}

type SSHHandlerImpl

type SSHHandlerImpl struct{}

Jump to

Keyboard shortcuts

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