span

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

It consists of:

4 messages
2 services

Index

Constants

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

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 {
	DumpSwInterfaceSpan(ctx context.Context, in *SwInterfaceSpanDump) (RPCService_DumpSwInterfaceSpanClient, error)
	SwInterfaceSpanEnableDisable(ctx context.Context, in *SwInterfaceSpanEnableDisable) (*SwInterfaceSpanEnableDisableReply, error)
}

RPCService represents RPC service API for span module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpSwInterfaceSpanClient

type RPCService_DumpSwInterfaceSpanClient interface {
	Recv() (*SwInterfaceSpanDetails, error)
}

type SwInterfaceSpanDetails

type SwInterfaceSpanDetails struct {
	SwIfIndexFrom uint32
	SwIfIndexTo   uint32
	State         uint8
	IsL2          uint8
}

SwInterfaceSpanDetails represents VPP binary API message 'sw_interface_span_details'.

func (*SwInterfaceSpanDetails) GetCrcString

func (*SwInterfaceSpanDetails) GetCrcString() string

func (*SwInterfaceSpanDetails) GetMessageName

func (*SwInterfaceSpanDetails) GetMessageName() string

func (*SwInterfaceSpanDetails) GetMessageType

func (*SwInterfaceSpanDetails) GetMessageType() api.MessageType

type SwInterfaceSpanDump

type SwInterfaceSpanDump struct {
	IsL2 uint8
}

SwInterfaceSpanDump represents VPP binary API message 'sw_interface_span_dump'.

func (*SwInterfaceSpanDump) GetCrcString

func (*SwInterfaceSpanDump) GetCrcString() string

func (*SwInterfaceSpanDump) GetMessageName

func (*SwInterfaceSpanDump) GetMessageName() string

func (*SwInterfaceSpanDump) GetMessageType

func (*SwInterfaceSpanDump) GetMessageType() api.MessageType

type SwInterfaceSpanEnableDisable

type SwInterfaceSpanEnableDisable struct {
	SwIfIndexFrom uint32
	SwIfIndexTo   uint32
	State         uint8
	IsL2          uint8
}

SwInterfaceSpanEnableDisable represents VPP binary API message 'sw_interface_span_enable_disable'.

func (*SwInterfaceSpanEnableDisable) GetCrcString

func (*SwInterfaceSpanEnableDisable) GetCrcString() string

func (*SwInterfaceSpanEnableDisable) GetMessageName

func (*SwInterfaceSpanEnableDisable) GetMessageName() string

func (*SwInterfaceSpanEnableDisable) GetMessageType

func (*SwInterfaceSpanEnableDisable) GetMessageType() api.MessageType

type SwInterfaceSpanEnableDisableReply

type SwInterfaceSpanEnableDisableReply struct {
	Retval int32
}

SwInterfaceSpanEnableDisableReply represents VPP binary API message 'sw_interface_span_enable_disable_reply'.

func (*SwInterfaceSpanEnableDisableReply) GetCrcString

func (*SwInterfaceSpanEnableDisableReply) GetCrcString() string

func (*SwInterfaceSpanEnableDisableReply) GetMessageName

func (*SwInterfaceSpanEnableDisableReply) GetMessageName() string

func (*SwInterfaceSpanEnableDisableReply) GetMessageType

Jump to

Keyboard shortcuts

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