Documentation ¶
Overview ¶
Package geneve is a generated VPP binary API for 'geneve' module.
It consists of:
6 messages 3 services
Index ¶
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "geneve" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xe0ad9743 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type GeneveAddDelTunnel ¶
type GeneveAddDelTunnel struct { IsAdd uint8 IsIPv6 uint8 LocalAddress []byte `struc:"[16]byte"` RemoteAddress []byte `struc:"[16]byte"` McastSwIfIndex uint32 EncapVrfID uint32 DecapNextIndex uint32 Vni uint32 }
GeneveAddDelTunnel represents VPP binary API message 'geneve_add_del_tunnel'.
func (*GeneveAddDelTunnel) GetCrcString ¶
func (*GeneveAddDelTunnel) GetCrcString() string
func (*GeneveAddDelTunnel) GetMessageName ¶
func (*GeneveAddDelTunnel) GetMessageName() string
func (*GeneveAddDelTunnel) GetMessageType ¶
func (*GeneveAddDelTunnel) GetMessageType() api.MessageType
func (*GeneveAddDelTunnel) Reset ¶
func (m *GeneveAddDelTunnel) Reset()
type GeneveAddDelTunnelReply ¶
GeneveAddDelTunnelReply represents VPP binary API message 'geneve_add_del_tunnel_reply'.
func (*GeneveAddDelTunnelReply) GetCrcString ¶
func (*GeneveAddDelTunnelReply) GetCrcString() string
func (*GeneveAddDelTunnelReply) GetMessageName ¶
func (*GeneveAddDelTunnelReply) GetMessageName() string
func (*GeneveAddDelTunnelReply) GetMessageType ¶
func (*GeneveAddDelTunnelReply) GetMessageType() api.MessageType
func (*GeneveAddDelTunnelReply) Reset ¶
func (m *GeneveAddDelTunnelReply) Reset()
type GeneveTunnelDetails ¶
type GeneveTunnelDetails struct { SwIfIndex uint32 SrcAddress []byte `struc:"[16]byte"` DstAddress []byte `struc:"[16]byte"` McastSwIfIndex uint32 EncapVrfID uint32 DecapNextIndex uint32 Vni uint32 IsIPv6 uint8 }
GeneveTunnelDetails represents VPP binary API message 'geneve_tunnel_details'.
func (*GeneveTunnelDetails) GetCrcString ¶
func (*GeneveTunnelDetails) GetCrcString() string
func (*GeneveTunnelDetails) GetMessageName ¶
func (*GeneveTunnelDetails) GetMessageName() string
func (*GeneveTunnelDetails) GetMessageType ¶
func (*GeneveTunnelDetails) GetMessageType() api.MessageType
func (*GeneveTunnelDetails) Reset ¶
func (m *GeneveTunnelDetails) Reset()
type GeneveTunnelDump ¶
type GeneveTunnelDump struct {
SwIfIndex uint32
}
GeneveTunnelDump represents VPP binary API message 'geneve_tunnel_dump'.
func (*GeneveTunnelDump) GetCrcString ¶
func (*GeneveTunnelDump) GetCrcString() string
func (*GeneveTunnelDump) GetMessageName ¶
func (*GeneveTunnelDump) GetMessageName() string
func (*GeneveTunnelDump) GetMessageType ¶
func (*GeneveTunnelDump) GetMessageType() api.MessageType
func (*GeneveTunnelDump) Reset ¶
func (m *GeneveTunnelDump) Reset()
type RPCService ¶
type RPCService interface { DumpGeneveTunnel(ctx context.Context, in *GeneveTunnelDump) (RPCService_DumpGeneveTunnelClient, error) GeneveAddDelTunnel(ctx context.Context, in *GeneveAddDelTunnel) (*GeneveAddDelTunnelReply, error) SwInterfaceSetGeneveBypass(ctx context.Context, in *SwInterfaceSetGeneveBypass) (*SwInterfaceSetGeneveBypassReply, error) }
RPCService represents RPC service API for geneve module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpGeneveTunnelClient ¶
type RPCService_DumpGeneveTunnelClient interface {
Recv() (*GeneveTunnelDetails, error)
}
type SwInterfaceSetGeneveBypass ¶
SwInterfaceSetGeneveBypass represents VPP binary API message 'sw_interface_set_geneve_bypass'.
func (*SwInterfaceSetGeneveBypass) GetCrcString ¶
func (*SwInterfaceSetGeneveBypass) GetCrcString() string
func (*SwInterfaceSetGeneveBypass) GetMessageName ¶
func (*SwInterfaceSetGeneveBypass) GetMessageName() string
func (*SwInterfaceSetGeneveBypass) GetMessageType ¶
func (*SwInterfaceSetGeneveBypass) GetMessageType() api.MessageType
func (*SwInterfaceSetGeneveBypass) Reset ¶
func (m *SwInterfaceSetGeneveBypass) Reset()
type SwInterfaceSetGeneveBypassReply ¶
type SwInterfaceSetGeneveBypassReply struct {
Retval int32
}
SwInterfaceSetGeneveBypassReply represents VPP binary API message 'sw_interface_set_geneve_bypass_reply'.
func (*SwInterfaceSetGeneveBypassReply) GetCrcString ¶
func (*SwInterfaceSetGeneveBypassReply) GetCrcString() string
func (*SwInterfaceSetGeneveBypassReply) GetMessageName ¶
func (*SwInterfaceSetGeneveBypassReply) GetMessageName() string
func (*SwInterfaceSetGeneveBypassReply) GetMessageType ¶
func (*SwInterfaceSetGeneveBypassReply) GetMessageType() api.MessageType
func (*SwInterfaceSetGeneveBypassReply) Reset ¶
func (m *SwInterfaceSetGeneveBypassReply) Reset()