vxlan

package
v3.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Contents:

14 messages

Index

Constants

View Source
const (
	APIFile    = "vxlan"
	APIVersion = "2.1.0"
	VersionCrc = 0x95381587
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

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 RPCService_VxlanTunnelV2DumpClient

type RPCService_VxlanTunnelV2DumpClient interface {
	Recv() (*VxlanTunnelV2Details, error)
	api.Stream
}

type SwInterfaceSetVxlanBypass

type SwInterfaceSetVxlanBypass struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IsIPv6    bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
	Enable    bool                           `binapi:"bool,name=enable,default=true" 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          bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Instance       uint32                         `binapi:"u32,name=instance" json:"instance,omitempty"`
	SrcAddress     ip_types.Address               `binapi:"address,name=src_address" json:"src_address,omitempty"`
	DstAddress     ip_types.Address               `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
	McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,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 interface_types.InterfaceIndex `binapi:"interface_index,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 VxlanAddDelTunnelV2

type VxlanAddDelTunnelV2 struct {
	IsAdd          bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Instance       uint32                         `binapi:"u32,name=instance,default=4294967295" json:"instance,omitempty"`
	SrcAddress     ip_types.Address               `binapi:"address,name=src_address" json:"src_address,omitempty"`
	DstAddress     ip_types.Address               `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
	SrcPort        uint16                         `binapi:"u16,name=src_port" json:"src_port,omitempty"`
	DstPort        uint16                         `binapi:"u16,name=dst_port" json:"dst_port,omitempty"`
	McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,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"`
}

VxlanAddDelTunnelV2 defines message 'vxlan_add_del_tunnel_v2'.

func (*VxlanAddDelTunnelV2) GetCrcString

func (*VxlanAddDelTunnelV2) GetCrcString() string

func (*VxlanAddDelTunnelV2) GetMessageName

func (*VxlanAddDelTunnelV2) GetMessageName() string

func (*VxlanAddDelTunnelV2) GetMessageType

func (*VxlanAddDelTunnelV2) GetMessageType() api.MessageType

func (*VxlanAddDelTunnelV2) Marshal

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

func (*VxlanAddDelTunnelV2) Reset

func (m *VxlanAddDelTunnelV2) Reset()

func (*VxlanAddDelTunnelV2) Size

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

func (*VxlanAddDelTunnelV2) Unmarshal

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

type VxlanAddDelTunnelV2Reply

type VxlanAddDelTunnelV2Reply struct {
	Retval    int32                          `binapi:"i32,name=retval" json:"retval,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

VxlanAddDelTunnelV2Reply defines message 'vxlan_add_del_tunnel_v2_reply'.

func (*VxlanAddDelTunnelV2Reply) GetCrcString

func (*VxlanAddDelTunnelV2Reply) GetCrcString() string

func (*VxlanAddDelTunnelV2Reply) GetMessageName

func (*VxlanAddDelTunnelV2Reply) GetMessageName() string

func (*VxlanAddDelTunnelV2Reply) GetMessageType

func (*VxlanAddDelTunnelV2Reply) GetMessageType() api.MessageType

func (*VxlanAddDelTunnelV2Reply) Marshal

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

func (*VxlanAddDelTunnelV2Reply) Reset

func (m *VxlanAddDelTunnelV2Reply) Reset()

func (*VxlanAddDelTunnelV2Reply) Size

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

func (*VxlanAddDelTunnelV2Reply) Unmarshal

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

type VxlanAddDelTunnelV3

type VxlanAddDelTunnelV3 struct {
	IsAdd          bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Instance       uint32                         `binapi:"u32,name=instance,default=4294967295" json:"instance,omitempty"`
	SrcAddress     ip_types.Address               `binapi:"address,name=src_address" json:"src_address,omitempty"`
	DstAddress     ip_types.Address               `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
	SrcPort        uint16                         `binapi:"u16,name=src_port" json:"src_port,omitempty"`
	DstPort        uint16                         `binapi:"u16,name=dst_port" json:"dst_port,omitempty"`
	McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,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"`
	IsL3           bool                           `binapi:"bool,name=is_l3,default=false" json:"is_l3,omitempty"`
}

VxlanAddDelTunnelV3 defines message 'vxlan_add_del_tunnel_v3'.

func (*VxlanAddDelTunnelV3) GetCrcString

func (*VxlanAddDelTunnelV3) GetCrcString() string

func (*VxlanAddDelTunnelV3) GetMessageName

func (*VxlanAddDelTunnelV3) GetMessageName() string

func (*VxlanAddDelTunnelV3) GetMessageType

func (*VxlanAddDelTunnelV3) GetMessageType() api.MessageType

func (*VxlanAddDelTunnelV3) Marshal

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

func (*VxlanAddDelTunnelV3) Reset

func (m *VxlanAddDelTunnelV3) Reset()

func (*VxlanAddDelTunnelV3) Size

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

func (*VxlanAddDelTunnelV3) Unmarshal

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

type VxlanAddDelTunnelV3Reply

type VxlanAddDelTunnelV3Reply struct {
	Retval    int32                          `binapi:"i32,name=retval" json:"retval,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

VxlanAddDelTunnelV3Reply defines message 'vxlan_add_del_tunnel_v3_reply'.

func (*VxlanAddDelTunnelV3Reply) GetCrcString

func (*VxlanAddDelTunnelV3Reply) GetCrcString() string

func (*VxlanAddDelTunnelV3Reply) GetMessageName

func (*VxlanAddDelTunnelV3Reply) GetMessageName() string

func (*VxlanAddDelTunnelV3Reply) GetMessageType

func (*VxlanAddDelTunnelV3Reply) GetMessageType() api.MessageType

func (*VxlanAddDelTunnelV3Reply) Marshal

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

func (*VxlanAddDelTunnelV3Reply) Reset

func (m *VxlanAddDelTunnelV3Reply) Reset()

func (*VxlanAddDelTunnelV3Reply) Size

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

func (*VxlanAddDelTunnelV3Reply) Unmarshal

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

type VxlanOffloadRx

type VxlanOffloadRx struct {
	HwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=hw_if_index" json:"hw_if_index,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Enable    bool                           `binapi:"bool,name=enable,default=true" 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      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Instance       uint32                         `binapi:"u32,name=instance" json:"instance,omitempty"`
	SrcAddress     ip_types.Address               `binapi:"address,name=src_address" json:"src_address,omitempty"`
	DstAddress     ip_types.Address               `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
	McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,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"`
}

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 interface_types.InterfaceIndex `binapi:"interface_index,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

type VxlanTunnelV2Details

type VxlanTunnelV2Details struct {
	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Instance       uint32                         `binapi:"u32,name=instance" json:"instance,omitempty"`
	SrcAddress     ip_types.Address               `binapi:"address,name=src_address" json:"src_address,omitempty"`
	DstAddress     ip_types.Address               `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
	SrcPort        uint16                         `binapi:"u16,name=src_port" json:"src_port,omitempty"`
	DstPort        uint16                         `binapi:"u16,name=dst_port" json:"dst_port,omitempty"`
	McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,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"`
}

VxlanTunnelV2Details defines message 'vxlan_tunnel_v2_details'.

func (*VxlanTunnelV2Details) GetCrcString

func (*VxlanTunnelV2Details) GetCrcString() string

func (*VxlanTunnelV2Details) GetMessageName

func (*VxlanTunnelV2Details) GetMessageName() string

func (*VxlanTunnelV2Details) GetMessageType

func (*VxlanTunnelV2Details) GetMessageType() api.MessageType

func (*VxlanTunnelV2Details) Marshal

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

func (*VxlanTunnelV2Details) Reset

func (m *VxlanTunnelV2Details) Reset()

func (*VxlanTunnelV2Details) Size

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

func (*VxlanTunnelV2Details) Unmarshal

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

type VxlanTunnelV2Dump

type VxlanTunnelV2Dump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

VxlanTunnelV2Dump defines message 'vxlan_tunnel_v2_dump'.

func (*VxlanTunnelV2Dump) GetCrcString

func (*VxlanTunnelV2Dump) GetCrcString() string

func (*VxlanTunnelV2Dump) GetMessageName

func (*VxlanTunnelV2Dump) GetMessageName() string

func (*VxlanTunnelV2Dump) GetMessageType

func (*VxlanTunnelV2Dump) GetMessageType() api.MessageType

func (*VxlanTunnelV2Dump) Marshal

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

func (*VxlanTunnelV2Dump) Reset

func (m *VxlanTunnelV2Dump) Reset()

func (*VxlanTunnelV2Dump) Size

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

func (*VxlanTunnelV2Dump) Unmarshal

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

Jump to

Keyboard shortcuts

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