lldp

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 lldp is a generated VPP binary API for 'lldp' module.

It consists of:

4 messages
2 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "lldp"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xabb21dd0
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type LldpConfig

type LldpConfig struct {
	SystemName []byte `struc:"[256]byte"`
	TxHold     uint32
	TxInterval uint32
}

LldpConfig represents VPP binary API message 'lldp_config'.

func (*LldpConfig) GetCrcString

func (*LldpConfig) GetCrcString() string

func (*LldpConfig) GetMessageName

func (*LldpConfig) GetMessageName() string

func (*LldpConfig) GetMessageType

func (*LldpConfig) GetMessageType() api.MessageType

func (*LldpConfig) Reset

func (m *LldpConfig) Reset()

type LldpConfigReply

type LldpConfigReply struct {
	Retval int32
}

LldpConfigReply represents VPP binary API message 'lldp_config_reply'.

func (*LldpConfigReply) GetCrcString

func (*LldpConfigReply) GetCrcString() string

func (*LldpConfigReply) GetMessageName

func (*LldpConfigReply) GetMessageName() string

func (*LldpConfigReply) GetMessageType

func (*LldpConfigReply) GetMessageType() api.MessageType

func (*LldpConfigReply) Reset

func (m *LldpConfigReply) Reset()

type RPCService

type RPCService interface {
	LldpConfig(ctx context.Context, in *LldpConfig) (*LldpConfigReply, error)
	SwInterfaceSetLldp(ctx context.Context, in *SwInterfaceSetLldp) (*SwInterfaceSetLldpReply, error)
}

RPCService represents RPC service API for lldp module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type SwInterfaceSetLldp

type SwInterfaceSetLldp struct {
	SwIfIndex uint32
	PortDesc  []byte `struc:"[256]byte"`
	MgmtIP4   []byte `struc:"[4]byte"`
	MgmtIP6   []byte `struc:"[16]byte"`
	MgmtOid   []byte `struc:"[128]byte"`
	Enable    uint8
}

SwInterfaceSetLldp represents VPP binary API message 'sw_interface_set_lldp'.

func (*SwInterfaceSetLldp) GetCrcString

func (*SwInterfaceSetLldp) GetCrcString() string

func (*SwInterfaceSetLldp) GetMessageName

func (*SwInterfaceSetLldp) GetMessageName() string

func (*SwInterfaceSetLldp) GetMessageType

func (*SwInterfaceSetLldp) GetMessageType() api.MessageType

func (*SwInterfaceSetLldp) Reset

func (m *SwInterfaceSetLldp) Reset()

type SwInterfaceSetLldpReply

type SwInterfaceSetLldpReply struct {
	Retval int32
}

SwInterfaceSetLldpReply represents VPP binary API message 'sw_interface_set_lldp_reply'.

func (*SwInterfaceSetLldpReply) GetCrcString

func (*SwInterfaceSetLldpReply) GetCrcString() string

func (*SwInterfaceSetLldpReply) GetMessageName

func (*SwInterfaceSetLldpReply) GetMessageName() string

func (*SwInterfaceSetLldpReply) GetMessageType

func (*SwInterfaceSetLldpReply) GetMessageType() api.MessageType

func (*SwInterfaceSetLldpReply) Reset

func (m *SwInterfaceSetLldpReply) Reset()

Jump to

Keyboard shortcuts

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