geneve

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

It consists of:

6 messages
3 services

Index

Constants

View Source
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

func AllMessages() []api.Message

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

type GeneveAddDelTunnelReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

type SwInterfaceSetGeneveBypass struct {
	SwIfIndex uint32
	IsIPv6    uint8
	Enable    uint8
}

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) Reset

Jump to

Keyboard shortcuts

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