vxlan_gpe

package
v3.5.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Contents: - 10 messages

Index

Constants

View Source
const (
	APIFile    = "vxlan_gpe"
	APIVersion = "2.1.0"
	VersionCrc = 0x3bc06278
)

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_gpe.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_VxlanGpeTunnelDumpClient

type RPCService_VxlanGpeTunnelDumpClient interface {
	Recv() (*VxlanGpeTunnelDetails, error)
	api.Stream
}

type RPCService_VxlanGpeTunnelV2DumpClient

type RPCService_VxlanGpeTunnelV2DumpClient interface {
	Recv() (*VxlanGpeTunnelV2Details, error)
	api.Stream
}

type SwInterfaceSetVxlanGpeBypass

type SwInterfaceSetVxlanGpeBypass 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"`
}

SwInterfaceSetVxlanGpeBypass defines message 'sw_interface_set_vxlan_gpe_bypass'.

func (*SwInterfaceSetVxlanGpeBypass) GetCrcString

func (*SwInterfaceSetVxlanGpeBypass) GetCrcString() string

func (*SwInterfaceSetVxlanGpeBypass) GetMessageName

func (*SwInterfaceSetVxlanGpeBypass) GetMessageName() string

func (*SwInterfaceSetVxlanGpeBypass) GetMessageType

func (*SwInterfaceSetVxlanGpeBypass) GetMessageType() api.MessageType

func (*SwInterfaceSetVxlanGpeBypass) Marshal

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

func (*SwInterfaceSetVxlanGpeBypass) Reset

func (m *SwInterfaceSetVxlanGpeBypass) Reset()

func (*SwInterfaceSetVxlanGpeBypass) Size

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

func (*SwInterfaceSetVxlanGpeBypass) Unmarshal

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

type SwInterfaceSetVxlanGpeBypassReply

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

SwInterfaceSetVxlanGpeBypassReply defines message 'sw_interface_set_vxlan_gpe_bypass_reply'.

func (*SwInterfaceSetVxlanGpeBypassReply) GetCrcString

func (*SwInterfaceSetVxlanGpeBypassReply) GetCrcString() string

func (*SwInterfaceSetVxlanGpeBypassReply) GetMessageName

func (*SwInterfaceSetVxlanGpeBypassReply) GetMessageName() string

func (*SwInterfaceSetVxlanGpeBypassReply) GetMessageType

func (*SwInterfaceSetVxlanGpeBypassReply) Marshal

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

func (*SwInterfaceSetVxlanGpeBypassReply) Reset

func (*SwInterfaceSetVxlanGpeBypassReply) Size

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

func (*SwInterfaceSetVxlanGpeBypassReply) Unmarshal

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

type VxlanGpeAddDelTunnel

type VxlanGpeAddDelTunnel struct {
	Local          ip_types.Address               `binapi:"address,name=local" json:"local,omitempty"`
	Remote         ip_types.Address               `binapi:"address,name=remote" json:"remote,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"`
	DecapVrfID     uint32                         `binapi:"u32,name=decap_vrf_id" json:"decap_vrf_id,omitempty"`
	Protocol       ip_types.IPProto               `binapi:"ip_proto,name=protocol" json:"protocol,omitempty"`
	Vni            uint32                         `binapi:"u32,name=vni" json:"vni,omitempty"`
	IsAdd          bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
}

VxlanGpeAddDelTunnel defines message 'vxlan_gpe_add_del_tunnel'.

func (*VxlanGpeAddDelTunnel) GetCrcString

func (*VxlanGpeAddDelTunnel) GetCrcString() string

func (*VxlanGpeAddDelTunnel) GetMessageName

func (*VxlanGpeAddDelTunnel) GetMessageName() string

func (*VxlanGpeAddDelTunnel) GetMessageType

func (*VxlanGpeAddDelTunnel) GetMessageType() api.MessageType

func (*VxlanGpeAddDelTunnel) Marshal

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

func (*VxlanGpeAddDelTunnel) Reset

func (m *VxlanGpeAddDelTunnel) Reset()

func (*VxlanGpeAddDelTunnel) Size

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

func (*VxlanGpeAddDelTunnel) Unmarshal

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

type VxlanGpeAddDelTunnelReply

type VxlanGpeAddDelTunnelReply 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"`
}

VxlanGpeAddDelTunnelReply defines message 'vxlan_gpe_add_del_tunnel_reply'.

func (*VxlanGpeAddDelTunnelReply) GetCrcString

func (*VxlanGpeAddDelTunnelReply) GetCrcString() string

func (*VxlanGpeAddDelTunnelReply) GetMessageName

func (*VxlanGpeAddDelTunnelReply) GetMessageName() string

func (*VxlanGpeAddDelTunnelReply) GetMessageType

func (*VxlanGpeAddDelTunnelReply) GetMessageType() api.MessageType

func (*VxlanGpeAddDelTunnelReply) Marshal

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

func (*VxlanGpeAddDelTunnelReply) Reset

func (m *VxlanGpeAddDelTunnelReply) Reset()

func (*VxlanGpeAddDelTunnelReply) Size

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

func (*VxlanGpeAddDelTunnelReply) Unmarshal

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

type VxlanGpeAddDelTunnelV2

type VxlanGpeAddDelTunnelV2 struct {
	Local          ip_types.Address               `binapi:"address,name=local" json:"local,omitempty"`
	Remote         ip_types.Address               `binapi:"address,name=remote" json:"remote,omitempty"`
	LocalPort      uint16                         `binapi:"u16,name=local_port" json:"local_port,omitempty"`
	RemotePort     uint16                         `binapi:"u16,name=remote_port" json:"remote_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"`
	DecapVrfID     uint32                         `binapi:"u32,name=decap_vrf_id" json:"decap_vrf_id,omitempty"`
	Protocol       ip_types.IPProto               `binapi:"ip_proto,name=protocol" json:"protocol,omitempty"`
	Vni            uint32                         `binapi:"u32,name=vni" json:"vni,omitempty"`
	IsAdd          bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
}

VxlanGpeAddDelTunnelV2 defines message 'vxlan_gpe_add_del_tunnel_v2'.

func (*VxlanGpeAddDelTunnelV2) GetCrcString

func (*VxlanGpeAddDelTunnelV2) GetCrcString() string

func (*VxlanGpeAddDelTunnelV2) GetMessageName

func (*VxlanGpeAddDelTunnelV2) GetMessageName() string

func (*VxlanGpeAddDelTunnelV2) GetMessageType

func (*VxlanGpeAddDelTunnelV2) GetMessageType() api.MessageType

func (*VxlanGpeAddDelTunnelV2) Marshal

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

func (*VxlanGpeAddDelTunnelV2) Reset

func (m *VxlanGpeAddDelTunnelV2) Reset()

func (*VxlanGpeAddDelTunnelV2) Size

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

func (*VxlanGpeAddDelTunnelV2) Unmarshal

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

type VxlanGpeAddDelTunnelV2Reply

type VxlanGpeAddDelTunnelV2Reply 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"`
}

VxlanGpeAddDelTunnelV2Reply defines message 'vxlan_gpe_add_del_tunnel_v2_reply'.

func (*VxlanGpeAddDelTunnelV2Reply) GetCrcString

func (*VxlanGpeAddDelTunnelV2Reply) GetCrcString() string

func (*VxlanGpeAddDelTunnelV2Reply) GetMessageName

func (*VxlanGpeAddDelTunnelV2Reply) GetMessageName() string

func (*VxlanGpeAddDelTunnelV2Reply) GetMessageType

func (*VxlanGpeAddDelTunnelV2Reply) GetMessageType() api.MessageType

func (*VxlanGpeAddDelTunnelV2Reply) Marshal

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

func (*VxlanGpeAddDelTunnelV2Reply) Reset

func (m *VxlanGpeAddDelTunnelV2Reply) Reset()

func (*VxlanGpeAddDelTunnelV2Reply) Size

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

func (*VxlanGpeAddDelTunnelV2Reply) Unmarshal

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

type VxlanGpeTunnelDetails

type VxlanGpeTunnelDetails struct {
	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Local          ip_types.Address               `binapi:"address,name=local" json:"local,omitempty"`
	Remote         ip_types.Address               `binapi:"address,name=remote" json:"remote,omitempty"`
	Vni            uint32                         `binapi:"u32,name=vni" json:"vni,omitempty"`
	Protocol       ip_types.IPProto               `binapi:"ip_proto,name=protocol" json:"protocol,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"`
	DecapVrfID     uint32                         `binapi:"u32,name=decap_vrf_id" json:"decap_vrf_id,omitempty"`
	IsIPv6         bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}

VxlanGpeTunnelDetails defines message 'vxlan_gpe_tunnel_details'.

func (*VxlanGpeTunnelDetails) GetCrcString

func (*VxlanGpeTunnelDetails) GetCrcString() string

func (*VxlanGpeTunnelDetails) GetMessageName

func (*VxlanGpeTunnelDetails) GetMessageName() string

func (*VxlanGpeTunnelDetails) GetMessageType

func (*VxlanGpeTunnelDetails) GetMessageType() api.MessageType

func (*VxlanGpeTunnelDetails) Marshal

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

func (*VxlanGpeTunnelDetails) Reset

func (m *VxlanGpeTunnelDetails) Reset()

func (*VxlanGpeTunnelDetails) Size

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

func (*VxlanGpeTunnelDetails) Unmarshal

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

type VxlanGpeTunnelDump

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

VxlanGpeTunnelDump defines message 'vxlan_gpe_tunnel_dump'.

func (*VxlanGpeTunnelDump) GetCrcString

func (*VxlanGpeTunnelDump) GetCrcString() string

func (*VxlanGpeTunnelDump) GetMessageName

func (*VxlanGpeTunnelDump) GetMessageName() string

func (*VxlanGpeTunnelDump) GetMessageType

func (*VxlanGpeTunnelDump) GetMessageType() api.MessageType

func (*VxlanGpeTunnelDump) Marshal

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

func (*VxlanGpeTunnelDump) Reset

func (m *VxlanGpeTunnelDump) Reset()

func (*VxlanGpeTunnelDump) Size

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

func (*VxlanGpeTunnelDump) Unmarshal

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

type VxlanGpeTunnelV2Details

type VxlanGpeTunnelV2Details struct {
	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Local          ip_types.Address               `binapi:"address,name=local" json:"local,omitempty"`
	Remote         ip_types.Address               `binapi:"address,name=remote" json:"remote,omitempty"`
	LocalPort      uint16                         `binapi:"u16,name=local_port" json:"local_port,omitempty"`
	RemotePort     uint16                         `binapi:"u16,name=remote_port" json:"remote_port,omitempty"`
	Vni            uint32                         `binapi:"u32,name=vni" json:"vni,omitempty"`
	Protocol       ip_types.IPProto               `binapi:"ip_proto,name=protocol" json:"protocol,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"`
	DecapVrfID     uint32                         `binapi:"u32,name=decap_vrf_id" json:"decap_vrf_id,omitempty"`
	IsIPv6         bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}

VxlanGpeTunnelV2Details defines message 'vxlan_gpe_tunnel_v2_details'.

func (*VxlanGpeTunnelV2Details) GetCrcString

func (*VxlanGpeTunnelV2Details) GetCrcString() string

func (*VxlanGpeTunnelV2Details) GetMessageName

func (*VxlanGpeTunnelV2Details) GetMessageName() string

func (*VxlanGpeTunnelV2Details) GetMessageType

func (*VxlanGpeTunnelV2Details) GetMessageType() api.MessageType

func (*VxlanGpeTunnelV2Details) Marshal

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

func (*VxlanGpeTunnelV2Details) Reset

func (m *VxlanGpeTunnelV2Details) Reset()

func (*VxlanGpeTunnelV2Details) Size

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

func (*VxlanGpeTunnelV2Details) Unmarshal

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

type VxlanGpeTunnelV2Dump

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

VxlanGpeTunnelV2Dump defines message 'vxlan_gpe_tunnel_v2_dump'.

func (*VxlanGpeTunnelV2Dump) GetCrcString

func (*VxlanGpeTunnelV2Dump) GetCrcString() string

func (*VxlanGpeTunnelV2Dump) GetMessageName

func (*VxlanGpeTunnelV2Dump) GetMessageName() string

func (*VxlanGpeTunnelV2Dump) GetMessageType

func (*VxlanGpeTunnelV2Dump) GetMessageType() api.MessageType

func (*VxlanGpeTunnelV2Dump) Marshal

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

func (*VxlanGpeTunnelV2Dump) Reset

func (m *VxlanGpeTunnelV2Dump) Reset()

func (*VxlanGpeTunnelV2Dump) Size

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

func (*VxlanGpeTunnelV2Dump) Unmarshal

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

Jump to

Keyboard shortcuts

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