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 = 0x2a11ff26 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
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 ¶
func (*SwInterfaceSpanEnableDisableReply) GetMessageType() api.MessageType
Click to show internal directories.
Click to hide internal directories.