Documentation ¶
Overview ¶
Package nsim is a generated VPP binary API for 'nsim' module.
It consists of:
6 messages 3 services
Index ¶
Constants ¶
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 ¶
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) GetCrcString() string
func (*NsimCrossConnectEnableDisableReply) GetMessageName ¶
func (*NsimCrossConnectEnableDisableReply) GetMessageName() string
func (*NsimCrossConnectEnableDisableReply) GetMessageType ¶
func (*NsimCrossConnectEnableDisableReply) GetMessageType() api.MessageType
func (*NsimCrossConnectEnableDisableReply) Reset ¶
func (m *NsimCrossConnectEnableDisableReply) Reset()
type NsimOutputFeatureEnableDisable ¶
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) GetMessageType() api.MessageType
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) GetCrcString() string
func (*NsimOutputFeatureEnableDisableReply) GetMessageName ¶
func (*NsimOutputFeatureEnableDisableReply) GetMessageName() string
func (*NsimOutputFeatureEnableDisableReply) GetMessageType ¶
func (*NsimOutputFeatureEnableDisableReply) GetMessageType() api.MessageType
func (*NsimOutputFeatureEnableDisableReply) Reset ¶
func (m *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