Documentation ¶
Overview ¶
Package lisp_gpe is a generated VPP binary API for 'lisp_gpe' module.
It consists of:
3 types 20 messages 10 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type GpeAddDelFwdEntry
- type GpeAddDelFwdEntryReply
- type GpeAddDelIface
- type GpeAddDelIfaceReply
- type GpeAddDelNativeFwdRpath
- type GpeAddDelNativeFwdRpathReply
- type GpeEnableDisable
- type GpeEnableDisableReply
- type GpeFwdEntriesGet
- type GpeFwdEntriesGetReply
- type GpeFwdEntry
- type GpeFwdEntryPathDetails
- type GpeFwdEntryPathDump
- type GpeFwdEntryVnisGet
- type GpeFwdEntryVnisGetReply
- type GpeGetEncapMode
- type GpeGetEncapModeReply
- type GpeLocator
- type GpeNativeFwdRpath
- type GpeNativeFwdRpathsGet
- type GpeNativeFwdRpathsGetReply
- type GpeSetEncapMode
- type GpeSetEncapModeReply
- type RPCService
- type RPCService_DumpGpeFwdEntryPathClient
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "lisp_gpe" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xc6e77c9 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type GpeAddDelFwdEntry ¶
type GpeAddDelFwdEntry struct { IsAdd uint8 EidType uint8 RmtEid []byte `struc:"[16]byte"` LclEid []byte `struc:"[16]byte"` RmtLen uint8 LclLen uint8 Vni uint32 DpTable uint32 Action uint8 LocNum uint32 `struc:"sizeof=Locs"` Locs []GpeLocator }
GpeAddDelFwdEntry represents VPP binary API message 'gpe_add_del_fwd_entry'.
func (*GpeAddDelFwdEntry) GetCrcString ¶
func (*GpeAddDelFwdEntry) GetCrcString() string
func (*GpeAddDelFwdEntry) GetMessageName ¶
func (*GpeAddDelFwdEntry) GetMessageName() string
func (*GpeAddDelFwdEntry) GetMessageType ¶
func (*GpeAddDelFwdEntry) GetMessageType() api.MessageType
func (*GpeAddDelFwdEntry) Reset ¶
func (m *GpeAddDelFwdEntry) Reset()
type GpeAddDelFwdEntryReply ¶
GpeAddDelFwdEntryReply represents VPP binary API message 'gpe_add_del_fwd_entry_reply'.
func (*GpeAddDelFwdEntryReply) GetCrcString ¶
func (*GpeAddDelFwdEntryReply) GetCrcString() string
func (*GpeAddDelFwdEntryReply) GetMessageName ¶
func (*GpeAddDelFwdEntryReply) GetMessageName() string
func (*GpeAddDelFwdEntryReply) GetMessageType ¶
func (*GpeAddDelFwdEntryReply) GetMessageType() api.MessageType
func (*GpeAddDelFwdEntryReply) Reset ¶
func (m *GpeAddDelFwdEntryReply) Reset()
type GpeAddDelIface ¶
GpeAddDelIface represents VPP binary API message 'gpe_add_del_iface'.
func (*GpeAddDelIface) GetCrcString ¶
func (*GpeAddDelIface) GetCrcString() string
func (*GpeAddDelIface) GetMessageName ¶
func (*GpeAddDelIface) GetMessageName() string
func (*GpeAddDelIface) GetMessageType ¶
func (*GpeAddDelIface) GetMessageType() api.MessageType
func (*GpeAddDelIface) Reset ¶
func (m *GpeAddDelIface) Reset()
type GpeAddDelIfaceReply ¶
type GpeAddDelIfaceReply struct {
Retval int32
}
GpeAddDelIfaceReply represents VPP binary API message 'gpe_add_del_iface_reply'.
func (*GpeAddDelIfaceReply) GetCrcString ¶
func (*GpeAddDelIfaceReply) GetCrcString() string
func (*GpeAddDelIfaceReply) GetMessageName ¶
func (*GpeAddDelIfaceReply) GetMessageName() string
func (*GpeAddDelIfaceReply) GetMessageType ¶
func (*GpeAddDelIfaceReply) GetMessageType() api.MessageType
func (*GpeAddDelIfaceReply) Reset ¶
func (m *GpeAddDelIfaceReply) Reset()
type GpeAddDelNativeFwdRpath ¶
type GpeAddDelNativeFwdRpath struct { IsAdd uint8 TableID uint32 NhSwIfIndex uint32 IsIP4 uint8 NhAddr []byte `struc:"[16]byte"` }
GpeAddDelNativeFwdRpath represents VPP binary API message 'gpe_add_del_native_fwd_rpath'.
func (*GpeAddDelNativeFwdRpath) GetCrcString ¶
func (*GpeAddDelNativeFwdRpath) GetCrcString() string
func (*GpeAddDelNativeFwdRpath) GetMessageName ¶
func (*GpeAddDelNativeFwdRpath) GetMessageName() string
func (*GpeAddDelNativeFwdRpath) GetMessageType ¶
func (*GpeAddDelNativeFwdRpath) GetMessageType() api.MessageType
func (*GpeAddDelNativeFwdRpath) Reset ¶
func (m *GpeAddDelNativeFwdRpath) Reset()
type GpeAddDelNativeFwdRpathReply ¶
type GpeAddDelNativeFwdRpathReply struct {
Retval int32
}
GpeAddDelNativeFwdRpathReply represents VPP binary API message 'gpe_add_del_native_fwd_rpath_reply'.
func (*GpeAddDelNativeFwdRpathReply) GetCrcString ¶
func (*GpeAddDelNativeFwdRpathReply) GetCrcString() string
func (*GpeAddDelNativeFwdRpathReply) GetMessageName ¶
func (*GpeAddDelNativeFwdRpathReply) GetMessageName() string
func (*GpeAddDelNativeFwdRpathReply) GetMessageType ¶
func (*GpeAddDelNativeFwdRpathReply) GetMessageType() api.MessageType
func (*GpeAddDelNativeFwdRpathReply) Reset ¶
func (m *GpeAddDelNativeFwdRpathReply) Reset()
type GpeEnableDisable ¶
type GpeEnableDisable struct {
IsEn uint8
}
GpeEnableDisable represents VPP binary API message 'gpe_enable_disable'.
func (*GpeEnableDisable) GetCrcString ¶
func (*GpeEnableDisable) GetCrcString() string
func (*GpeEnableDisable) GetMessageName ¶
func (*GpeEnableDisable) GetMessageName() string
func (*GpeEnableDisable) GetMessageType ¶
func (*GpeEnableDisable) GetMessageType() api.MessageType
func (*GpeEnableDisable) Reset ¶
func (m *GpeEnableDisable) Reset()
type GpeEnableDisableReply ¶
type GpeEnableDisableReply struct {
Retval int32
}
GpeEnableDisableReply represents VPP binary API message 'gpe_enable_disable_reply'.
func (*GpeEnableDisableReply) GetCrcString ¶
func (*GpeEnableDisableReply) GetCrcString() string
func (*GpeEnableDisableReply) GetMessageName ¶
func (*GpeEnableDisableReply) GetMessageName() string
func (*GpeEnableDisableReply) GetMessageType ¶
func (*GpeEnableDisableReply) GetMessageType() api.MessageType
func (*GpeEnableDisableReply) Reset ¶
func (m *GpeEnableDisableReply) Reset()
type GpeFwdEntriesGet ¶
type GpeFwdEntriesGet struct {
Vni uint32
}
GpeFwdEntriesGet represents VPP binary API message 'gpe_fwd_entries_get'.
func (*GpeFwdEntriesGet) GetCrcString ¶
func (*GpeFwdEntriesGet) GetCrcString() string
func (*GpeFwdEntriesGet) GetMessageName ¶
func (*GpeFwdEntriesGet) GetMessageName() string
func (*GpeFwdEntriesGet) GetMessageType ¶
func (*GpeFwdEntriesGet) GetMessageType() api.MessageType
func (*GpeFwdEntriesGet) Reset ¶
func (m *GpeFwdEntriesGet) Reset()
type GpeFwdEntriesGetReply ¶
type GpeFwdEntriesGetReply struct { Retval int32 Count uint32 `struc:"sizeof=Entries"` Entries []GpeFwdEntry }
GpeFwdEntriesGetReply represents VPP binary API message 'gpe_fwd_entries_get_reply'.
func (*GpeFwdEntriesGetReply) GetCrcString ¶
func (*GpeFwdEntriesGetReply) GetCrcString() string
func (*GpeFwdEntriesGetReply) GetMessageName ¶
func (*GpeFwdEntriesGetReply) GetMessageName() string
func (*GpeFwdEntriesGetReply) GetMessageType ¶
func (*GpeFwdEntriesGetReply) GetMessageType() api.MessageType
func (*GpeFwdEntriesGetReply) Reset ¶
func (m *GpeFwdEntriesGetReply) Reset()
type GpeFwdEntry ¶
type GpeFwdEntry struct { FwdEntryIndex uint32 DpTable uint32 EidType uint8 LeidPrefixLen uint8 ReidPrefixLen uint8 Leid []byte `struc:"[16]byte"` Reid []byte `struc:"[16]byte"` Vni uint32 Action uint8 }
GpeFwdEntry represents VPP binary API type 'gpe_fwd_entry'.
func (*GpeFwdEntry) GetTypeName ¶
func (*GpeFwdEntry) GetTypeName() string
type GpeFwdEntryPathDetails ¶
type GpeFwdEntryPathDetails struct { LclLoc GpeLocator RmtLoc GpeLocator }
GpeFwdEntryPathDetails represents VPP binary API message 'gpe_fwd_entry_path_details'.
func (*GpeFwdEntryPathDetails) GetCrcString ¶
func (*GpeFwdEntryPathDetails) GetCrcString() string
func (*GpeFwdEntryPathDetails) GetMessageName ¶
func (*GpeFwdEntryPathDetails) GetMessageName() string
func (*GpeFwdEntryPathDetails) GetMessageType ¶
func (*GpeFwdEntryPathDetails) GetMessageType() api.MessageType
func (*GpeFwdEntryPathDetails) Reset ¶
func (m *GpeFwdEntryPathDetails) Reset()
type GpeFwdEntryPathDump ¶
type GpeFwdEntryPathDump struct {
FwdEntryIndex uint32
}
GpeFwdEntryPathDump represents VPP binary API message 'gpe_fwd_entry_path_dump'.
func (*GpeFwdEntryPathDump) GetCrcString ¶
func (*GpeFwdEntryPathDump) GetCrcString() string
func (*GpeFwdEntryPathDump) GetMessageName ¶
func (*GpeFwdEntryPathDump) GetMessageName() string
func (*GpeFwdEntryPathDump) GetMessageType ¶
func (*GpeFwdEntryPathDump) GetMessageType() api.MessageType
func (*GpeFwdEntryPathDump) Reset ¶
func (m *GpeFwdEntryPathDump) Reset()
type GpeFwdEntryVnisGet ¶
type GpeFwdEntryVnisGet struct{}
GpeFwdEntryVnisGet represents VPP binary API message 'gpe_fwd_entry_vnis_get'.
func (*GpeFwdEntryVnisGet) GetCrcString ¶
func (*GpeFwdEntryVnisGet) GetCrcString() string
func (*GpeFwdEntryVnisGet) GetMessageName ¶
func (*GpeFwdEntryVnisGet) GetMessageName() string
func (*GpeFwdEntryVnisGet) GetMessageType ¶
func (*GpeFwdEntryVnisGet) GetMessageType() api.MessageType
func (*GpeFwdEntryVnisGet) Reset ¶
func (m *GpeFwdEntryVnisGet) Reset()
type GpeFwdEntryVnisGetReply ¶
type GpeFwdEntryVnisGetReply struct { Retval int32 Count uint32 `struc:"sizeof=Vnis"` Vnis []uint32 }
GpeFwdEntryVnisGetReply represents VPP binary API message 'gpe_fwd_entry_vnis_get_reply'.
func (*GpeFwdEntryVnisGetReply) GetCrcString ¶
func (*GpeFwdEntryVnisGetReply) GetCrcString() string
func (*GpeFwdEntryVnisGetReply) GetMessageName ¶
func (*GpeFwdEntryVnisGetReply) GetMessageName() string
func (*GpeFwdEntryVnisGetReply) GetMessageType ¶
func (*GpeFwdEntryVnisGetReply) GetMessageType() api.MessageType
func (*GpeFwdEntryVnisGetReply) Reset ¶
func (m *GpeFwdEntryVnisGetReply) Reset()
type GpeGetEncapMode ¶
type GpeGetEncapMode struct{}
GpeGetEncapMode represents VPP binary API message 'gpe_get_encap_mode'.
func (*GpeGetEncapMode) GetCrcString ¶
func (*GpeGetEncapMode) GetCrcString() string
func (*GpeGetEncapMode) GetMessageName ¶
func (*GpeGetEncapMode) GetMessageName() string
func (*GpeGetEncapMode) GetMessageType ¶
func (*GpeGetEncapMode) GetMessageType() api.MessageType
func (*GpeGetEncapMode) Reset ¶
func (m *GpeGetEncapMode) Reset()
type GpeGetEncapModeReply ¶
GpeGetEncapModeReply represents VPP binary API message 'gpe_get_encap_mode_reply'.
func (*GpeGetEncapModeReply) GetCrcString ¶
func (*GpeGetEncapModeReply) GetCrcString() string
func (*GpeGetEncapModeReply) GetMessageName ¶
func (*GpeGetEncapModeReply) GetMessageName() string
func (*GpeGetEncapModeReply) GetMessageType ¶
func (*GpeGetEncapModeReply) GetMessageType() api.MessageType
func (*GpeGetEncapModeReply) Reset ¶
func (m *GpeGetEncapModeReply) Reset()
type GpeLocator ¶
GpeLocator represents VPP binary API type 'gpe_locator'.
func (*GpeLocator) GetTypeName ¶
func (*GpeLocator) GetTypeName() string
type GpeNativeFwdRpath ¶
type GpeNativeFwdRpath struct { FibIndex uint32 NhSwIfIndex uint32 IsIP4 uint8 NhAddr []byte `struc:"[16]byte"` }
GpeNativeFwdRpath represents VPP binary API type 'gpe_native_fwd_rpath'.
func (*GpeNativeFwdRpath) GetTypeName ¶
func (*GpeNativeFwdRpath) GetTypeName() string
type GpeNativeFwdRpathsGet ¶
type GpeNativeFwdRpathsGet struct {
IsIP4 uint8
}
GpeNativeFwdRpathsGet represents VPP binary API message 'gpe_native_fwd_rpaths_get'.
func (*GpeNativeFwdRpathsGet) GetCrcString ¶
func (*GpeNativeFwdRpathsGet) GetCrcString() string
func (*GpeNativeFwdRpathsGet) GetMessageName ¶
func (*GpeNativeFwdRpathsGet) GetMessageName() string
func (*GpeNativeFwdRpathsGet) GetMessageType ¶
func (*GpeNativeFwdRpathsGet) GetMessageType() api.MessageType
func (*GpeNativeFwdRpathsGet) Reset ¶
func (m *GpeNativeFwdRpathsGet) Reset()
type GpeNativeFwdRpathsGetReply ¶
type GpeNativeFwdRpathsGetReply struct { Retval int32 Count uint32 `struc:"sizeof=Entries"` Entries []GpeNativeFwdRpath }
GpeNativeFwdRpathsGetReply represents VPP binary API message 'gpe_native_fwd_rpaths_get_reply'.
func (*GpeNativeFwdRpathsGetReply) GetCrcString ¶
func (*GpeNativeFwdRpathsGetReply) GetCrcString() string
func (*GpeNativeFwdRpathsGetReply) GetMessageName ¶
func (*GpeNativeFwdRpathsGetReply) GetMessageName() string
func (*GpeNativeFwdRpathsGetReply) GetMessageType ¶
func (*GpeNativeFwdRpathsGetReply) GetMessageType() api.MessageType
func (*GpeNativeFwdRpathsGetReply) Reset ¶
func (m *GpeNativeFwdRpathsGetReply) Reset()
type GpeSetEncapMode ¶
type GpeSetEncapMode struct {
Mode uint8
}
GpeSetEncapMode represents VPP binary API message 'gpe_set_encap_mode'.
func (*GpeSetEncapMode) GetCrcString ¶
func (*GpeSetEncapMode) GetCrcString() string
func (*GpeSetEncapMode) GetMessageName ¶
func (*GpeSetEncapMode) GetMessageName() string
func (*GpeSetEncapMode) GetMessageType ¶
func (*GpeSetEncapMode) GetMessageType() api.MessageType
func (*GpeSetEncapMode) Reset ¶
func (m *GpeSetEncapMode) Reset()
type GpeSetEncapModeReply ¶
type GpeSetEncapModeReply struct {
Retval int32
}
GpeSetEncapModeReply represents VPP binary API message 'gpe_set_encap_mode_reply'.
func (*GpeSetEncapModeReply) GetCrcString ¶
func (*GpeSetEncapModeReply) GetCrcString() string
func (*GpeSetEncapModeReply) GetMessageName ¶
func (*GpeSetEncapModeReply) GetMessageName() string
func (*GpeSetEncapModeReply) GetMessageType ¶
func (*GpeSetEncapModeReply) GetMessageType() api.MessageType
func (*GpeSetEncapModeReply) Reset ¶
func (m *GpeSetEncapModeReply) Reset()
type RPCService ¶
type RPCService interface { DumpGpeFwdEntryPath(ctx context.Context, in *GpeFwdEntryPathDump) (RPCService_DumpGpeFwdEntryPathClient, error) GpeAddDelFwdEntry(ctx context.Context, in *GpeAddDelFwdEntry) (*GpeAddDelFwdEntryReply, error) GpeAddDelIface(ctx context.Context, in *GpeAddDelIface) (*GpeAddDelIfaceReply, error) GpeAddDelNativeFwdRpath(ctx context.Context, in *GpeAddDelNativeFwdRpath) (*GpeAddDelNativeFwdRpathReply, error) GpeEnableDisable(ctx context.Context, in *GpeEnableDisable) (*GpeEnableDisableReply, error) GpeFwdEntriesGet(ctx context.Context, in *GpeFwdEntriesGet) (*GpeFwdEntriesGetReply, error) GpeFwdEntryVnisGet(ctx context.Context, in *GpeFwdEntryVnisGet) (*GpeFwdEntryVnisGetReply, error) GpeGetEncapMode(ctx context.Context, in *GpeGetEncapMode) (*GpeGetEncapModeReply, error) GpeNativeFwdRpathsGet(ctx context.Context, in *GpeNativeFwdRpathsGet) (*GpeNativeFwdRpathsGetReply, error) GpeSetEncapMode(ctx context.Context, in *GpeSetEncapMode) (*GpeSetEncapModeReply, error) }
RPCService represents RPC service API for lisp_gpe module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpGpeFwdEntryPathClient ¶
type RPCService_DumpGpeFwdEntryPathClient interface {
Recv() (*GpeFwdEntryPathDetails, error)
}