Documentation ¶
Overview ¶
Package vxlan contains generated bindings for API file vxlan.api.
Contents:
8 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type RPCService
- type RPCService_VxlanTunnelDumpClient
- type SwInterfaceSetVxlanBypass
- func (*SwInterfaceSetVxlanBypass) GetCrcString() string
- func (*SwInterfaceSetVxlanBypass) GetMessageName() string
- func (*SwInterfaceSetVxlanBypass) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVxlanBypass) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVxlanBypass) Reset()
- func (m *SwInterfaceSetVxlanBypass) Size() (size int)
- func (m *SwInterfaceSetVxlanBypass) Unmarshal(b []byte) error
- type SwInterfaceSetVxlanBypassReply
- func (*SwInterfaceSetVxlanBypassReply) GetCrcString() string
- func (*SwInterfaceSetVxlanBypassReply) GetMessageName() string
- func (*SwInterfaceSetVxlanBypassReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVxlanBypassReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVxlanBypassReply) Reset()
- func (m *SwInterfaceSetVxlanBypassReply) Size() (size int)
- func (m *SwInterfaceSetVxlanBypassReply) Unmarshal(b []byte) error
- type VxlanAddDelTunnel
- func (*VxlanAddDelTunnel) GetCrcString() string
- func (*VxlanAddDelTunnel) GetMessageName() string
- func (*VxlanAddDelTunnel) GetMessageType() api.MessageType
- func (m *VxlanAddDelTunnel) Marshal(b []byte) ([]byte, error)
- func (m *VxlanAddDelTunnel) Reset()
- func (m *VxlanAddDelTunnel) Size() (size int)
- func (m *VxlanAddDelTunnel) Unmarshal(b []byte) error
- type VxlanAddDelTunnelReply
- func (*VxlanAddDelTunnelReply) GetCrcString() string
- func (*VxlanAddDelTunnelReply) GetMessageName() string
- func (*VxlanAddDelTunnelReply) GetMessageType() api.MessageType
- func (m *VxlanAddDelTunnelReply) Marshal(b []byte) ([]byte, error)
- func (m *VxlanAddDelTunnelReply) Reset()
- func (m *VxlanAddDelTunnelReply) Size() (size int)
- func (m *VxlanAddDelTunnelReply) Unmarshal(b []byte) error
- type VxlanOffloadRx
- func (*VxlanOffloadRx) GetCrcString() string
- func (*VxlanOffloadRx) GetMessageName() string
- func (*VxlanOffloadRx) GetMessageType() api.MessageType
- func (m *VxlanOffloadRx) Marshal(b []byte) ([]byte, error)
- func (m *VxlanOffloadRx) Reset()
- func (m *VxlanOffloadRx) Size() (size int)
- func (m *VxlanOffloadRx) Unmarshal(b []byte) error
- type VxlanOffloadRxReply
- func (*VxlanOffloadRxReply) GetCrcString() string
- func (*VxlanOffloadRxReply) GetMessageName() string
- func (*VxlanOffloadRxReply) GetMessageType() api.MessageType
- func (m *VxlanOffloadRxReply) Marshal(b []byte) ([]byte, error)
- func (m *VxlanOffloadRxReply) Reset()
- func (m *VxlanOffloadRxReply) Size() (size int)
- func (m *VxlanOffloadRxReply) Unmarshal(b []byte) error
- type VxlanTunnelDetails
- func (*VxlanTunnelDetails) GetCrcString() string
- func (*VxlanTunnelDetails) GetMessageName() string
- func (*VxlanTunnelDetails) GetMessageType() api.MessageType
- func (m *VxlanTunnelDetails) Marshal(b []byte) ([]byte, error)
- func (m *VxlanTunnelDetails) Reset()
- func (m *VxlanTunnelDetails) Size() (size int)
- func (m *VxlanTunnelDetails) Unmarshal(b []byte) error
- type VxlanTunnelDump
- func (*VxlanTunnelDump) GetCrcString() string
- func (*VxlanTunnelDump) GetMessageName() string
- func (*VxlanTunnelDump) GetMessageType() api.MessageType
- func (m *VxlanTunnelDump) Marshal(b []byte) ([]byte, error)
- func (m *VxlanTunnelDump) Reset()
- func (m *VxlanTunnelDump) Size() (size int)
- func (m *VxlanTunnelDump) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "vxlan" APIVersion = "2.0.0" VersionCrc = 0xf11ad29f )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { SwInterfaceSetVxlanBypass(ctx context.Context, in *SwInterfaceSetVxlanBypass) (*SwInterfaceSetVxlanBypassReply, error) VxlanAddDelTunnel(ctx context.Context, in *VxlanAddDelTunnel) (*VxlanAddDelTunnelReply, error) VxlanOffloadRx(ctx context.Context, in *VxlanOffloadRx) (*VxlanOffloadRxReply, error) VxlanTunnelDump(ctx context.Context, in *VxlanTunnelDump) (RPCService_VxlanTunnelDumpClient, error) }
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 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) GetMessageType() api.MessageType
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) 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 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) 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) 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) Reset ¶
func (m *VxlanTunnelDump) Reset()
func (*VxlanTunnelDump) Size ¶
func (m *VxlanTunnelDump) Size() (size int)
func (*VxlanTunnelDump) Unmarshal ¶
func (m *VxlanTunnelDump) Unmarshal(b []byte) error