nsim

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

It consists of:

6 messages
3 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "nsim"
	// APIVersion is the API version of this module.
	APIVersion = "2.1.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x760acaa
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type NsimConfigure

type NsimConfigure struct {
	DelayInUsec              uint32
	AveragePacketSize        uint32
	BandwidthInBitsPerSecond uint64
	PacketsPerDrop           uint32
}

NsimConfigure represents VPP binary API message 'nsim_configure'.

func (*NsimConfigure) GetCrcString

func (*NsimConfigure) GetCrcString() string

func (*NsimConfigure) GetMessageName

func (*NsimConfigure) GetMessageName() string

func (*NsimConfigure) GetMessageType

func (*NsimConfigure) GetMessageType() api.MessageType

func (*NsimConfigure) Reset

func (m *NsimConfigure) Reset()

type NsimConfigureReply

type NsimConfigureReply struct {
	Retval int32
}

NsimConfigureReply represents VPP binary API message 'nsim_configure_reply'.

func (*NsimConfigureReply) GetCrcString

func (*NsimConfigureReply) GetCrcString() string

func (*NsimConfigureReply) GetMessageName

func (*NsimConfigureReply) GetMessageName() string

func (*NsimConfigureReply) GetMessageType

func (*NsimConfigureReply) GetMessageType() api.MessageType

func (*NsimConfigureReply) Reset

func (m *NsimConfigureReply) Reset()

type NsimCrossConnectEnableDisable

type NsimCrossConnectEnableDisable struct {
	EnableDisable uint8
	SwIfIndex0    uint32
	SwIfIndex1    uint32
}

NsimCrossConnectEnableDisable represents VPP binary API message 'nsim_cross_connect_enable_disable'.

func (*NsimCrossConnectEnableDisable) GetCrcString

func (*NsimCrossConnectEnableDisable) GetCrcString() string

func (*NsimCrossConnectEnableDisable) GetMessageName

func (*NsimCrossConnectEnableDisable) GetMessageName() string

func (*NsimCrossConnectEnableDisable) GetMessageType

func (*NsimCrossConnectEnableDisable) GetMessageType() api.MessageType

func (*NsimCrossConnectEnableDisable) Reset

func (m *NsimCrossConnectEnableDisable) Reset()

type NsimCrossConnectEnableDisableReply

type NsimCrossConnectEnableDisableReply struct {
	Retval int32
}

NsimCrossConnectEnableDisableReply represents VPP binary API message 'nsim_cross_connect_enable_disable_reply'.

func (*NsimCrossConnectEnableDisableReply) GetCrcString

func (*NsimCrossConnectEnableDisableReply) GetMessageName

func (*NsimCrossConnectEnableDisableReply) GetMessageName() string

func (*NsimCrossConnectEnableDisableReply) GetMessageType

func (*NsimCrossConnectEnableDisableReply) Reset

type NsimOutputFeatureEnableDisable

type NsimOutputFeatureEnableDisable struct {
	EnableDisable uint8
	SwIfIndex     uint32
}

NsimOutputFeatureEnableDisable represents VPP binary API message 'nsim_output_feature_enable_disable'.

func (*NsimOutputFeatureEnableDisable) GetCrcString

func (*NsimOutputFeatureEnableDisable) GetCrcString() string

func (*NsimOutputFeatureEnableDisable) GetMessageName

func (*NsimOutputFeatureEnableDisable) GetMessageName() string

func (*NsimOutputFeatureEnableDisable) GetMessageType

func (*NsimOutputFeatureEnableDisable) Reset

func (m *NsimOutputFeatureEnableDisable) Reset()

type NsimOutputFeatureEnableDisableReply

type NsimOutputFeatureEnableDisableReply struct {
	Retval int32
}

NsimOutputFeatureEnableDisableReply represents VPP binary API message 'nsim_output_feature_enable_disable_reply'.

func (*NsimOutputFeatureEnableDisableReply) GetCrcString

func (*NsimOutputFeatureEnableDisableReply) GetMessageName

func (*NsimOutputFeatureEnableDisableReply) GetMessageName() string

func (*NsimOutputFeatureEnableDisableReply) GetMessageType

func (*NsimOutputFeatureEnableDisableReply) Reset

type RPCService

type RPCService interface {
	NsimConfigure(ctx context.Context, in *NsimConfigure) (*NsimConfigureReply, error)
	NsimCrossConnectEnableDisable(ctx context.Context, in *NsimCrossConnectEnableDisable) (*NsimCrossConnectEnableDisableReply, error)
	NsimOutputFeatureEnableDisable(ctx context.Context, in *NsimOutputFeatureEnableDisable) (*NsimOutputFeatureEnableDisableReply, error)
}

RPCService represents RPC service API for nsim module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

Jump to

Keyboard shortcuts

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