vxlan_gpe

package
v3.3.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Contents:

6 messages

Index

Constants

View Source
const (
	APIFile    = "vxlan_gpe"
	APIVersion = "2.0.0"
	VersionCrc = 0x8295f28f
)

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 {
	SwInterfaceSetVxlanGpeBypass(ctx context.Context, in *SwInterfaceSetVxlanGpeBypass) (*SwInterfaceSetVxlanGpeBypassReply, error)
	VxlanGpeAddDelTunnel(ctx context.Context, in *VxlanGpeAddDelTunnel) (*VxlanGpeAddDelTunnelReply, error)
	VxlanGpeTunnelDump(ctx context.Context, in *VxlanGpeTunnelDump) (RPCService_VxlanGpeTunnelDumpClient, error)
}

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

Jump to

Keyboard shortcuts

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