vxlan

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by govpp binapi-generator DO NOT EDIT. Package vxlan represents the VPP binary API of the 'vxlan' VPP module. Generated from '/usr/share/vpp/api/vxlan.api.json'

Index

Constants

This section is empty.

Variables

View Source
var Consts = map[string]reflect.Value{}
View Source
var Functions = map[string]reflect.Value{
	"NewSwInterfaceSetVxlanBypass":      reflect.ValueOf(NewSwInterfaceSetVxlanBypass),
	"NewSwInterfaceSetVxlanBypassReply": reflect.ValueOf(NewSwInterfaceSetVxlanBypassReply),
	"NewVxlanAddDelTunnel":              reflect.ValueOf(NewVxlanAddDelTunnel),
	"NewVxlanAddDelTunnelReply":         reflect.ValueOf(NewVxlanAddDelTunnelReply),
	"NewVxlanTunnelDetails":             reflect.ValueOf(NewVxlanTunnelDetails),
	"NewVxlanTunnelDump":                reflect.ValueOf(NewVxlanTunnelDump),
}
View Source
var Types = map[string]reflect.Type{
	"SwInterfaceSetVxlanBypass":      reflect.TypeOf((*SwInterfaceSetVxlanBypass)(nil)).Elem(),
	"SwInterfaceSetVxlanBypassReply": reflect.TypeOf((*SwInterfaceSetVxlanBypassReply)(nil)).Elem(),
	"VxlanAddDelTunnel":              reflect.TypeOf((*VxlanAddDelTunnel)(nil)).Elem(),
	"VxlanAddDelTunnelReply":         reflect.TypeOf((*VxlanAddDelTunnelReply)(nil)).Elem(),
	"VxlanTunnelDetails":             reflect.TypeOf((*VxlanTunnelDetails)(nil)).Elem(),
	"VxlanTunnelDump":                reflect.TypeOf((*VxlanTunnelDump)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewSwInterfaceSetVxlanBypass

func NewSwInterfaceSetVxlanBypass() api.Message

func NewSwInterfaceSetVxlanBypassReply

func NewSwInterfaceSetVxlanBypassReply() api.Message

func NewVxlanAddDelTunnel

func NewVxlanAddDelTunnel() api.Message

func NewVxlanAddDelTunnelReply

func NewVxlanAddDelTunnelReply() api.Message

func NewVxlanTunnelDetails

func NewVxlanTunnelDetails() api.Message

func NewVxlanTunnelDump

func NewVxlanTunnelDump() api.Message

Types

type SwInterfaceSetVxlanBypass

type SwInterfaceSetVxlanBypass struct {
	SwIfIndex uint32
	IsIpv6    uint8
	Enable    uint8
}

SwInterfaceSetVxlanBypass represents the VPP binary API message 'sw_interface_set_vxlan_bypass'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 170:

"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 the VPP binary API message 'sw_interface_set_vxlan_bypass_reply'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 200:

"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 the VPP binary API message 'vxlan_add_del_tunnel'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 18:

"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 the VPP binary API message 'vxlan_add_del_tunnel_reply'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 74:

"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 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 the VPP binary API message 'vxlan_tunnel_details'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 118:

"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 the VPP binary API message 'vxlan_tunnel_dump'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 96:

"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