lacp

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package lacp is a generated VPP binary API for 'lacp' module.

It consists of:

2 messages
1 service

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "lacp"
	// APIVersion is the API version of this module.
	APIVersion = "1.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xec776e02
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

type RPCService interface {
	DumpSwInterfaceLacp(ctx context.Context, in *SwInterfaceLacpDump) (RPCService_DumpSwInterfaceLacpClient, error)
}

RPCService represents RPC service API for lacp module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpSwInterfaceLacpClient

type RPCService_DumpSwInterfaceLacpClient interface {
	Recv() (*SwInterfaceLacpDetails, error)
}

type SwInterfaceLacpDetails

type SwInterfaceLacpDetails struct {
	SwIfIndex             uint32
	InterfaceName         []byte `struc:"[64]byte"`
	RxState               uint32
	TxState               uint32
	MuxState              uint32
	PtxState              uint32
	BondInterfaceName     []byte `struc:"[64]byte"`
	ActorSystemPriority   uint16
	ActorSystem           []byte `struc:"[6]byte"`
	ActorKey              uint16
	ActorPortPriority     uint16
	ActorPortNumber       uint16
	ActorState            uint8
	PartnerSystemPriority uint16
	PartnerSystem         []byte `struc:"[6]byte"`
	PartnerKey            uint16
	PartnerPortPriority   uint16
	PartnerPortNumber     uint16
	PartnerState          uint8
}

SwInterfaceLacpDetails represents VPP binary API message 'sw_interface_lacp_details'.

func (*SwInterfaceLacpDetails) GetCrcString

func (*SwInterfaceLacpDetails) GetCrcString() string

func (*SwInterfaceLacpDetails) GetMessageName

func (*SwInterfaceLacpDetails) GetMessageName() string

func (*SwInterfaceLacpDetails) GetMessageType

func (*SwInterfaceLacpDetails) GetMessageType() api.MessageType

func (*SwInterfaceLacpDetails) Reset

func (m *SwInterfaceLacpDetails) Reset()

type SwInterfaceLacpDump

type SwInterfaceLacpDump struct{}

SwInterfaceLacpDump represents VPP binary API message 'sw_interface_lacp_dump'.

func (*SwInterfaceLacpDump) GetCrcString

func (*SwInterfaceLacpDump) GetCrcString() string

func (*SwInterfaceLacpDump) GetMessageName

func (*SwInterfaceLacpDump) GetMessageName() string

func (*SwInterfaceLacpDump) GetMessageType

func (*SwInterfaceLacpDump) GetMessageType() api.MessageType

func (*SwInterfaceLacpDump) Reset

func (m *SwInterfaceLacpDump) Reset()

Jump to

Keyboard shortcuts

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