vxlan

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package vxlan contains generated bindings for API file vxlan.api.

Contents:

8 messages

Index

Constants

View Source
const (
	APIFile    = "vxlan"
	APIVersion = "1.1.0"
	VersionCrc = 0xa95aa271
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

type RPCService interface {
	SwInterfaceSetVxlanBypass(ctx context.Context, in *SwInterfaceSetVxlanBypass) (*SwInterfaceSetVxlanBypassReply, error)
	VxlanAddDelTunnel(ctx context.Context, in *VxlanAddDelTunnel) (*VxlanAddDelTunnelReply, error)
	VxlanOffloadRx(ctx context.Context, in *VxlanOffloadRx) (*VxlanOffloadRxReply, error)
	VxlanTunnelDump(ctx context.Context, in *VxlanTunnelDump) (RPCService_VxlanTunnelDumpClient, error)
}

RPCService defines RPC service vxlan.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_VxlanTunnelDumpClient

type RPCService_VxlanTunnelDumpClient interface {
	Recv() (*VxlanTunnelDetails, error)
	api.Stream
}

type SwInterfaceSetVxlanBypass

type SwInterfaceSetVxlanBypass struct {
	SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    uint8  `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	Enable    uint8  `binapi:"u8,name=enable" json:"enable,omitempty"`
}

SwInterfaceSetVxlanBypass defines message 'sw_interface_set_vxlan_bypass'.

func (*SwInterfaceSetVxlanBypass) GetCrcString

func (*SwInterfaceSetVxlanBypass) GetCrcString() string

func (*SwInterfaceSetVxlanBypass) GetMessageName

func (*SwInterfaceSetVxlanBypass) GetMessageName() string

func (*SwInterfaceSetVxlanBypass) GetMessageType

func (*SwInterfaceSetVxlanBypass) GetMessageType() api.MessageType

func (*SwInterfaceSetVxlanBypass) Marshal

func (m *SwInterfaceSetVxlanBypass) Marshal(b []byte) ([]byte, error)

func (*SwInterfaceSetVxlanBypass) Reset

func (m *SwInterfaceSetVxlanBypass) Reset()

func (*SwInterfaceSetVxlanBypass) Size

func (m *SwInterfaceSetVxlanBypass) Size() (size int)

func (*SwInterfaceSetVxlanBypass) Unmarshal

func (m *SwInterfaceSetVxlanBypass) Unmarshal(b []byte) error

type SwInterfaceSetVxlanBypassReply

type SwInterfaceSetVxlanBypassReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

SwInterfaceSetVxlanBypassReply defines message 'sw_interface_set_vxlan_bypass_reply'.

func (*SwInterfaceSetVxlanBypassReply) GetCrcString

func (*SwInterfaceSetVxlanBypassReply) GetCrcString() string

func (*SwInterfaceSetVxlanBypassReply) GetMessageName

func (*SwInterfaceSetVxlanBypassReply) GetMessageName() string

func (*SwInterfaceSetVxlanBypassReply) GetMessageType

func (*SwInterfaceSetVxlanBypassReply) Marshal

func (m *SwInterfaceSetVxlanBypassReply) Marshal(b []byte) ([]byte, error)

func (*SwInterfaceSetVxlanBypassReply) Reset

func (m *SwInterfaceSetVxlanBypassReply) Reset()

func (*SwInterfaceSetVxlanBypassReply) Size

func (m *SwInterfaceSetVxlanBypassReply) Size() (size int)

func (*SwInterfaceSetVxlanBypassReply) Unmarshal

func (m *SwInterfaceSetVxlanBypassReply) Unmarshal(b []byte) error

type VxlanAddDelTunnel

type VxlanAddDelTunnel struct {
	IsAdd          uint8  `binapi:"u8,name=is_add" json:"is_add,omitempty"`
	IsIPv6         uint8  `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	Instance       uint32 `binapi:"u32,name=instance" json:"instance,omitempty"`
	SrcAddress     []byte `binapi:"u8[16],name=src_address" json:"src_address,omitempty"`
	DstAddress     []byte `binapi:"u8[16],name=dst_address" json:"dst_address,omitempty"`
	McastSwIfIndex uint32 `binapi:"u32,name=mcast_sw_if_index" json:"mcast_sw_if_index,omitempty"`
	EncapVrfID     uint32 `binapi:"u32,name=encap_vrf_id" json:"encap_vrf_id,omitempty"`
	DecapNextIndex uint32 `binapi:"u32,name=decap_next_index" json:"decap_next_index,omitempty"`
	Vni            uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
}

VxlanAddDelTunnel defines message 'vxlan_add_del_tunnel'.

func (*VxlanAddDelTunnel) GetCrcString

func (*VxlanAddDelTunnel) GetCrcString() string

func (*VxlanAddDelTunnel) GetMessageName

func (*VxlanAddDelTunnel) GetMessageName() string

func (*VxlanAddDelTunnel) GetMessageType

func (*VxlanAddDelTunnel) GetMessageType() api.MessageType

func (*VxlanAddDelTunnel) Marshal

func (m *VxlanAddDelTunnel) Marshal(b []byte) ([]byte, error)

func (*VxlanAddDelTunnel) Reset

func (m *VxlanAddDelTunnel) Reset()

func (*VxlanAddDelTunnel) Size

func (m *VxlanAddDelTunnel) Size() (size int)

func (*VxlanAddDelTunnel) Unmarshal

func (m *VxlanAddDelTunnel) Unmarshal(b []byte) error

type VxlanAddDelTunnelReply

type VxlanAddDelTunnelReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
}

VxlanAddDelTunnelReply defines message 'vxlan_add_del_tunnel_reply'.

func (*VxlanAddDelTunnelReply) GetCrcString

func (*VxlanAddDelTunnelReply) GetCrcString() string

func (*VxlanAddDelTunnelReply) GetMessageName

func (*VxlanAddDelTunnelReply) GetMessageName() string

func (*VxlanAddDelTunnelReply) GetMessageType

func (*VxlanAddDelTunnelReply) GetMessageType() api.MessageType

func (*VxlanAddDelTunnelReply) Marshal

func (m *VxlanAddDelTunnelReply) Marshal(b []byte) ([]byte, error)

func (*VxlanAddDelTunnelReply) Reset

func (m *VxlanAddDelTunnelReply) Reset()

func (*VxlanAddDelTunnelReply) Size

func (m *VxlanAddDelTunnelReply) Size() (size int)

func (*VxlanAddDelTunnelReply) Unmarshal

func (m *VxlanAddDelTunnelReply) Unmarshal(b []byte) error

type VxlanOffloadRx

type VxlanOffloadRx struct {
	HwIfIndex uint32 `binapi:"u32,name=hw_if_index" json:"hw_if_index,omitempty"`
	SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
	Enable    uint8  `binapi:"u8,name=enable" json:"enable,omitempty"`
}

VxlanOffloadRx defines message 'vxlan_offload_rx'.

func (*VxlanOffloadRx) GetCrcString

func (*VxlanOffloadRx) GetCrcString() string

func (*VxlanOffloadRx) GetMessageName

func (*VxlanOffloadRx) GetMessageName() string

func (*VxlanOffloadRx) GetMessageType

func (*VxlanOffloadRx) GetMessageType() api.MessageType

func (*VxlanOffloadRx) Marshal

func (m *VxlanOffloadRx) Marshal(b []byte) ([]byte, error)

func (*VxlanOffloadRx) Reset

func (m *VxlanOffloadRx) Reset()

func (*VxlanOffloadRx) Size

func (m *VxlanOffloadRx) Size() (size int)

func (*VxlanOffloadRx) Unmarshal

func (m *VxlanOffloadRx) Unmarshal(b []byte) error

type VxlanOffloadRxReply

type VxlanOffloadRxReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

VxlanOffloadRxReply defines message 'vxlan_offload_rx_reply'.

func (*VxlanOffloadRxReply) GetCrcString

func (*VxlanOffloadRxReply) GetCrcString() string

func (*VxlanOffloadRxReply) GetMessageName

func (*VxlanOffloadRxReply) GetMessageName() string

func (*VxlanOffloadRxReply) GetMessageType

func (*VxlanOffloadRxReply) GetMessageType() api.MessageType

func (*VxlanOffloadRxReply) Marshal

func (m *VxlanOffloadRxReply) Marshal(b []byte) ([]byte, error)

func (*VxlanOffloadRxReply) Reset

func (m *VxlanOffloadRxReply) Reset()

func (*VxlanOffloadRxReply) Size

func (m *VxlanOffloadRxReply) Size() (size int)

func (*VxlanOffloadRxReply) Unmarshal

func (m *VxlanOffloadRxReply) Unmarshal(b []byte) error

type VxlanTunnelDetails

type VxlanTunnelDetails struct {
	SwIfIndex      uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
	Instance       uint32 `binapi:"u32,name=instance" json:"instance,omitempty"`
	SrcAddress     []byte `binapi:"u8[16],name=src_address" json:"src_address,omitempty"`
	DstAddress     []byte `binapi:"u8[16],name=dst_address" json:"dst_address,omitempty"`
	McastSwIfIndex uint32 `binapi:"u32,name=mcast_sw_if_index" json:"mcast_sw_if_index,omitempty"`
	EncapVrfID     uint32 `binapi:"u32,name=encap_vrf_id" json:"encap_vrf_id,omitempty"`
	DecapNextIndex uint32 `binapi:"u32,name=decap_next_index" json:"decap_next_index,omitempty"`
	Vni            uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
	IsIPv6         uint8  `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
}

VxlanTunnelDetails defines message 'vxlan_tunnel_details'.

func (*VxlanTunnelDetails) GetCrcString

func (*VxlanTunnelDetails) GetCrcString() string

func (*VxlanTunnelDetails) GetMessageName

func (*VxlanTunnelDetails) GetMessageName() string

func (*VxlanTunnelDetails) GetMessageType

func (*VxlanTunnelDetails) GetMessageType() api.MessageType

func (*VxlanTunnelDetails) Marshal

func (m *VxlanTunnelDetails) Marshal(b []byte) ([]byte, error)

func (*VxlanTunnelDetails) Reset

func (m *VxlanTunnelDetails) Reset()

func (*VxlanTunnelDetails) Size

func (m *VxlanTunnelDetails) Size() (size int)

func (*VxlanTunnelDetails) Unmarshal

func (m *VxlanTunnelDetails) Unmarshal(b []byte) error

type VxlanTunnelDump

type VxlanTunnelDump struct {
	SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
}

VxlanTunnelDump defines message 'vxlan_tunnel_dump'.

func (*VxlanTunnelDump) GetCrcString

func (*VxlanTunnelDump) GetCrcString() string

func (*VxlanTunnelDump) GetMessageName

func (*VxlanTunnelDump) GetMessageName() string

func (*VxlanTunnelDump) GetMessageType

func (*VxlanTunnelDump) GetMessageType() api.MessageType

func (*VxlanTunnelDump) Marshal

func (m *VxlanTunnelDump) Marshal(b []byte) ([]byte, error)

func (*VxlanTunnelDump) Reset

func (m *VxlanTunnelDump) Reset()

func (*VxlanTunnelDump) Size

func (m *VxlanTunnelDump) Size() (size int)

func (*VxlanTunnelDump) Unmarshal

func (m *VxlanTunnelDump) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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