vxlan

package
v2.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package vxlan is a generated from VPP binary API module 'vxlan'.

 It contains following objects:
	  8 messages
	  4 services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services added in v1.8.1

type Services interface {
	DumpVxlanTunnel(*VxlanTunnelDump) ([]*VxlanTunnelDetails, error)
	SwInterfaceSetVxlanBypass(*SwInterfaceSetVxlanBypass) (*SwInterfaceSetVxlanBypassReply, error)
	VxlanAddDelTunnel(*VxlanAddDelTunnel) (*VxlanAddDelTunnelReply, error)
	VxlanOffloadRx(*VxlanOffloadRx) (*VxlanOffloadRxReply, error)
}

Services represents VPP binary API services:

"services": {
    "vxlan_tunnel_dump": {
        "reply": "vxlan_tunnel_details",
        "stream": true
    },
    "vxlan_add_del_tunnel": {
        "reply": "vxlan_add_del_tunnel_reply"
    },
    "sw_interface_set_vxlan_bypass": {
        "reply": "sw_interface_set_vxlan_bypass_reply"
    },
    "vxlan_offload_rx": {
        "reply": "vxlan_offload_rx_reply"
    }
},

type SwInterfaceSetVxlanBypass

type SwInterfaceSetVxlanBypass struct {
	SwIfIndex uint32
	IsIPv6    uint8
	Enable    uint8
}

SwInterfaceSetVxlanBypass represents VPP binary API message 'sw_interface_set_vxlan_bypass':

"sw_interface_set_vxlan_bypass",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "enable"
],
{
    "crc": "0xe74ca095"
}

func (*SwInterfaceSetVxlanBypass) GetCrcString

func (*SwInterfaceSetVxlanBypass) GetCrcString() string

func (*SwInterfaceSetVxlanBypass) GetMessageName

func (*SwInterfaceSetVxlanBypass) GetMessageName() string

func (*SwInterfaceSetVxlanBypass) GetMessageType

func (*SwInterfaceSetVxlanBypass) GetMessageType() api.MessageType

type SwInterfaceSetVxlanBypassReply

type SwInterfaceSetVxlanBypassReply struct {
	Retval int32
}

SwInterfaceSetVxlanBypassReply represents VPP binary API message 'sw_interface_set_vxlan_bypass_reply':

"sw_interface_set_vxlan_bypass_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*SwInterfaceSetVxlanBypassReply) GetCrcString

func (*SwInterfaceSetVxlanBypassReply) GetCrcString() string

func (*SwInterfaceSetVxlanBypassReply) GetMessageName

func (*SwInterfaceSetVxlanBypassReply) GetMessageName() string

func (*SwInterfaceSetVxlanBypassReply) GetMessageType

type VxlanAddDelTunnel

type VxlanAddDelTunnel struct {
	IsAdd          uint8
	IsIPv6         uint8
	Instance       uint32
	SrcAddress     []byte `struc:"[16]byte"`
	DstAddress     []byte `struc:"[16]byte"`
	McastSwIfIndex uint32
	EncapVrfID     uint32
	DecapNextIndex uint32
	Vni            uint32
}

VxlanAddDelTunnel represents VPP binary API message 'vxlan_add_del_tunnel':

"vxlan_add_del_tunnel",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_add"
],
[
    "u8",
    "is_ipv6"
],
[
    "u32",
    "instance"
],
[
    "u8",
    "src_address",
    16
],
[
    "u8",
    "dst_address",
    16
],
[
    "u32",
    "mcast_sw_if_index"
],
[
    "u32",
    "encap_vrf_id"
],
[
    "u32",
    "decap_next_index"
],
[
    "u32",
    "vni"
],
{
    "crc": "0x00f4bdd0"
}

func (*VxlanAddDelTunnel) GetCrcString

func (*VxlanAddDelTunnel) GetCrcString() string

func (*VxlanAddDelTunnel) GetMessageName

func (*VxlanAddDelTunnel) GetMessageName() string

func (*VxlanAddDelTunnel) GetMessageType

func (*VxlanAddDelTunnel) GetMessageType() api.MessageType

type VxlanAddDelTunnelReply

type VxlanAddDelTunnelReply struct {
	Retval    int32
	SwIfIndex uint32
}

VxlanAddDelTunnelReply represents VPP binary API message 'vxlan_add_del_tunnel_reply':

"vxlan_add_del_tunnel_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0xfda5941f"
}

func (*VxlanAddDelTunnelReply) GetCrcString

func (*VxlanAddDelTunnelReply) GetCrcString() string

func (*VxlanAddDelTunnelReply) GetMessageName

func (*VxlanAddDelTunnelReply) GetMessageName() string

func (*VxlanAddDelTunnelReply) GetMessageType

func (*VxlanAddDelTunnelReply) GetMessageType() api.MessageType

type VxlanOffloadRx

type VxlanOffloadRx struct {
	HwIfIndex uint32
	SwIfIndex uint32
	Enable    uint8
}

VxlanOffloadRx represents VPP binary API message 'vxlan_offload_rx':

"vxlan_offload_rx",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "hw_if_index"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "enable"
],
{
    "crc": "0xf0b08786"
}

func (*VxlanOffloadRx) GetCrcString

func (*VxlanOffloadRx) GetCrcString() string

func (*VxlanOffloadRx) GetMessageName

func (*VxlanOffloadRx) GetMessageName() string

func (*VxlanOffloadRx) GetMessageType

func (*VxlanOffloadRx) GetMessageType() api.MessageType

type VxlanOffloadRxReply

type VxlanOffloadRxReply struct {
	Retval int32
}

VxlanOffloadRxReply represents VPP binary API message 'vxlan_offload_rx_reply':

"vxlan_offload_rx_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*VxlanOffloadRxReply) GetCrcString

func (*VxlanOffloadRxReply) GetCrcString() string

func (*VxlanOffloadRxReply) GetMessageName

func (*VxlanOffloadRxReply) GetMessageName() string

func (*VxlanOffloadRxReply) GetMessageType

func (*VxlanOffloadRxReply) GetMessageType() api.MessageType

type VxlanTunnelDetails

type VxlanTunnelDetails struct {
	SwIfIndex      uint32
	Instance       uint32
	SrcAddress     []byte `struc:"[16]byte"`
	DstAddress     []byte `struc:"[16]byte"`
	McastSwIfIndex uint32
	EncapVrfID     uint32
	DecapNextIndex uint32
	Vni            uint32
	IsIPv6         uint8
}

VxlanTunnelDetails represents VPP binary API message 'vxlan_tunnel_details':

"vxlan_tunnel_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "instance"
],
[
    "u8",
    "src_address",
    16
],
[
    "u8",
    "dst_address",
    16
],
[
    "u32",
    "mcast_sw_if_index"
],
[
    "u32",
    "encap_vrf_id"
],
[
    "u32",
    "decap_next_index"
],
[
    "u32",
    "vni"
],
[
    "u8",
    "is_ipv6"
],
{
    "crc": "0xce38e127"
}

func (*VxlanTunnelDetails) GetCrcString

func (*VxlanTunnelDetails) GetCrcString() string

func (*VxlanTunnelDetails) GetMessageName

func (*VxlanTunnelDetails) GetMessageName() string

func (*VxlanTunnelDetails) GetMessageType

func (*VxlanTunnelDetails) GetMessageType() api.MessageType

type VxlanTunnelDump

type VxlanTunnelDump struct {
	SwIfIndex uint32
}

VxlanTunnelDump represents VPP binary API message 'vxlan_tunnel_dump':

"vxlan_tunnel_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0x529cb13f"
}

func (*VxlanTunnelDump) GetCrcString

func (*VxlanTunnelDump) GetCrcString() string

func (*VxlanTunnelDump) GetMessageName

func (*VxlanTunnelDump) GetMessageName() string

func (*VxlanTunnelDump) GetMessageType

func (*VxlanTunnelDump) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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