Documentation ¶
Overview ¶
Package geneve contains generated bindings for API file geneve.api.
Contents:
8 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type GeneveAddDelTunnel
- func (*GeneveAddDelTunnel) GetCrcString() string
- func (*GeneveAddDelTunnel) GetMessageName() string
- func (*GeneveAddDelTunnel) GetMessageType() api.MessageType
- func (m *GeneveAddDelTunnel) Marshal(b []byte) ([]byte, error)
- func (m *GeneveAddDelTunnel) Reset()
- func (m *GeneveAddDelTunnel) Size() (size int)
- func (m *GeneveAddDelTunnel) Unmarshal(b []byte) error
- type GeneveAddDelTunnel2
- func (*GeneveAddDelTunnel2) GetCrcString() string
- func (*GeneveAddDelTunnel2) GetMessageName() string
- func (*GeneveAddDelTunnel2) GetMessageType() api.MessageType
- func (m *GeneveAddDelTunnel2) Marshal(b []byte) ([]byte, error)
- func (m *GeneveAddDelTunnel2) Reset()
- func (m *GeneveAddDelTunnel2) Size() (size int)
- func (m *GeneveAddDelTunnel2) Unmarshal(b []byte) error
- type GeneveAddDelTunnel2Reply
- func (*GeneveAddDelTunnel2Reply) GetCrcString() string
- func (*GeneveAddDelTunnel2Reply) GetMessageName() string
- func (*GeneveAddDelTunnel2Reply) GetMessageType() api.MessageType
- func (m *GeneveAddDelTunnel2Reply) Marshal(b []byte) ([]byte, error)
- func (m *GeneveAddDelTunnel2Reply) Reset()
- func (m *GeneveAddDelTunnel2Reply) Size() (size int)
- func (m *GeneveAddDelTunnel2Reply) Unmarshal(b []byte) error
- type GeneveAddDelTunnelReply
- func (*GeneveAddDelTunnelReply) GetCrcString() string
- func (*GeneveAddDelTunnelReply) GetMessageName() string
- func (*GeneveAddDelTunnelReply) GetMessageType() api.MessageType
- func (m *GeneveAddDelTunnelReply) Marshal(b []byte) ([]byte, error)
- func (m *GeneveAddDelTunnelReply) Reset()
- func (m *GeneveAddDelTunnelReply) Size() (size int)
- func (m *GeneveAddDelTunnelReply) Unmarshal(b []byte) error
- type GeneveTunnelDetails
- func (*GeneveTunnelDetails) GetCrcString() string
- func (*GeneveTunnelDetails) GetMessageName() string
- func (*GeneveTunnelDetails) GetMessageType() api.MessageType
- func (m *GeneveTunnelDetails) Marshal(b []byte) ([]byte, error)
- func (m *GeneveTunnelDetails) Reset()
- func (m *GeneveTunnelDetails) Size() (size int)
- func (m *GeneveTunnelDetails) Unmarshal(b []byte) error
- type GeneveTunnelDump
- func (*GeneveTunnelDump) GetCrcString() string
- func (*GeneveTunnelDump) GetMessageName() string
- func (*GeneveTunnelDump) GetMessageType() api.MessageType
- func (m *GeneveTunnelDump) Marshal(b []byte) ([]byte, error)
- func (m *GeneveTunnelDump) Reset()
- func (m *GeneveTunnelDump) Size() (size int)
- func (m *GeneveTunnelDump) Unmarshal(b []byte) error
- type RPCService
- type RPCService_GeneveTunnelDumpClient
- type SwInterfaceSetGeneveBypass
- func (*SwInterfaceSetGeneveBypass) GetCrcString() string
- func (*SwInterfaceSetGeneveBypass) GetMessageName() string
- func (*SwInterfaceSetGeneveBypass) GetMessageType() api.MessageType
- func (m *SwInterfaceSetGeneveBypass) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetGeneveBypass) Reset()
- func (m *SwInterfaceSetGeneveBypass) Size() (size int)
- func (m *SwInterfaceSetGeneveBypass) Unmarshal(b []byte) error
- type SwInterfaceSetGeneveBypassReply
- func (*SwInterfaceSetGeneveBypassReply) GetCrcString() string
- func (*SwInterfaceSetGeneveBypassReply) GetMessageName() string
- func (*SwInterfaceSetGeneveBypassReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetGeneveBypassReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetGeneveBypassReply) Reset()
- func (m *SwInterfaceSetGeneveBypassReply) Size() (size int)
- func (m *SwInterfaceSetGeneveBypassReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "geneve" APIVersion = "2.1.0" VersionCrc = 0xe3dbb8a3 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type GeneveAddDelTunnel ¶
type GeneveAddDelTunnel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` LocalAddress ip_types.Address `binapi:"address,name=local_address" json:"local_address,omitempty"` RemoteAddress ip_types.Address `binapi:"address,name=remote_address" json:"remote_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"` }
GeneveAddDelTunnel defines message 'geneve_add_del_tunnel'. Deprecated: the message will be removed in the future versions
func (*GeneveAddDelTunnel) GetCrcString ¶
func (*GeneveAddDelTunnel) GetCrcString() string
func (*GeneveAddDelTunnel) GetMessageName ¶
func (*GeneveAddDelTunnel) GetMessageName() string
func (*GeneveAddDelTunnel) GetMessageType ¶
func (*GeneveAddDelTunnel) GetMessageType() api.MessageType
func (*GeneveAddDelTunnel) Reset ¶
func (m *GeneveAddDelTunnel) Reset()
func (*GeneveAddDelTunnel) Size ¶
func (m *GeneveAddDelTunnel) Size() (size int)
func (*GeneveAddDelTunnel) Unmarshal ¶
func (m *GeneveAddDelTunnel) Unmarshal(b []byte) error
type GeneveAddDelTunnel2 ¶
type GeneveAddDelTunnel2 struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` LocalAddress ip_types.Address `binapi:"address,name=local_address" json:"local_address,omitempty"` RemoteAddress ip_types.Address `binapi:"address,name=remote_address" json:"remote_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"` L3Mode bool `binapi:"bool,name=l3_mode" json:"l3_mode,omitempty"` }
GeneveAddDelTunnel2 defines message 'geneve_add_del_tunnel2'.
func (*GeneveAddDelTunnel2) GetCrcString ¶
func (*GeneveAddDelTunnel2) GetCrcString() string
func (*GeneveAddDelTunnel2) GetMessageName ¶
func (*GeneveAddDelTunnel2) GetMessageName() string
func (*GeneveAddDelTunnel2) GetMessageType ¶
func (*GeneveAddDelTunnel2) GetMessageType() api.MessageType
func (*GeneveAddDelTunnel2) Marshal ¶
func (m *GeneveAddDelTunnel2) Marshal(b []byte) ([]byte, error)
func (*GeneveAddDelTunnel2) Reset ¶
func (m *GeneveAddDelTunnel2) Reset()
func (*GeneveAddDelTunnel2) Size ¶
func (m *GeneveAddDelTunnel2) Size() (size int)
func (*GeneveAddDelTunnel2) Unmarshal ¶
func (m *GeneveAddDelTunnel2) Unmarshal(b []byte) error
type GeneveAddDelTunnel2Reply ¶
type GeneveAddDelTunnel2Reply 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"` }
GeneveAddDelTunnel2Reply defines message 'geneve_add_del_tunnel2_reply'.
func (*GeneveAddDelTunnel2Reply) GetCrcString ¶
func (*GeneveAddDelTunnel2Reply) GetCrcString() string
func (*GeneveAddDelTunnel2Reply) GetMessageName ¶
func (*GeneveAddDelTunnel2Reply) GetMessageName() string
func (*GeneveAddDelTunnel2Reply) GetMessageType ¶
func (*GeneveAddDelTunnel2Reply) GetMessageType() api.MessageType
func (*GeneveAddDelTunnel2Reply) Marshal ¶
func (m *GeneveAddDelTunnel2Reply) Marshal(b []byte) ([]byte, error)
func (*GeneveAddDelTunnel2Reply) Reset ¶
func (m *GeneveAddDelTunnel2Reply) Reset()
func (*GeneveAddDelTunnel2Reply) Size ¶
func (m *GeneveAddDelTunnel2Reply) Size() (size int)
func (*GeneveAddDelTunnel2Reply) Unmarshal ¶
func (m *GeneveAddDelTunnel2Reply) Unmarshal(b []byte) error
type GeneveAddDelTunnelReply ¶
type GeneveAddDelTunnelReply 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"` }
GeneveAddDelTunnelReply defines message 'geneve_add_del_tunnel_reply'.
func (*GeneveAddDelTunnelReply) GetCrcString ¶
func (*GeneveAddDelTunnelReply) GetCrcString() string
func (*GeneveAddDelTunnelReply) GetMessageName ¶
func (*GeneveAddDelTunnelReply) GetMessageName() string
func (*GeneveAddDelTunnelReply) GetMessageType ¶
func (*GeneveAddDelTunnelReply) GetMessageType() api.MessageType
func (*GeneveAddDelTunnelReply) Marshal ¶
func (m *GeneveAddDelTunnelReply) Marshal(b []byte) ([]byte, error)
func (*GeneveAddDelTunnelReply) Reset ¶
func (m *GeneveAddDelTunnelReply) Reset()
func (*GeneveAddDelTunnelReply) Size ¶
func (m *GeneveAddDelTunnelReply) Size() (size int)
func (*GeneveAddDelTunnelReply) Unmarshal ¶
func (m *GeneveAddDelTunnelReply) Unmarshal(b []byte) error
type GeneveTunnelDetails ¶
type GeneveTunnelDetails struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,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"` }
GeneveTunnelDetails defines message 'geneve_tunnel_details'.
func (*GeneveTunnelDetails) GetCrcString ¶
func (*GeneveTunnelDetails) GetCrcString() string
func (*GeneveTunnelDetails) GetMessageName ¶
func (*GeneveTunnelDetails) GetMessageName() string
func (*GeneveTunnelDetails) GetMessageType ¶
func (*GeneveTunnelDetails) GetMessageType() api.MessageType
func (*GeneveTunnelDetails) Marshal ¶
func (m *GeneveTunnelDetails) Marshal(b []byte) ([]byte, error)
func (*GeneveTunnelDetails) Reset ¶
func (m *GeneveTunnelDetails) Reset()
func (*GeneveTunnelDetails) Size ¶
func (m *GeneveTunnelDetails) Size() (size int)
func (*GeneveTunnelDetails) Unmarshal ¶
func (m *GeneveTunnelDetails) Unmarshal(b []byte) error
type GeneveTunnelDump ¶
type GeneveTunnelDump struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
GeneveTunnelDump defines message 'geneve_tunnel_dump'.
func (*GeneveTunnelDump) GetCrcString ¶
func (*GeneveTunnelDump) GetCrcString() string
func (*GeneveTunnelDump) GetMessageName ¶
func (*GeneveTunnelDump) GetMessageName() string
func (*GeneveTunnelDump) GetMessageType ¶
func (*GeneveTunnelDump) GetMessageType() api.MessageType
func (*GeneveTunnelDump) Reset ¶
func (m *GeneveTunnelDump) Reset()
func (*GeneveTunnelDump) Size ¶
func (m *GeneveTunnelDump) Size() (size int)
func (*GeneveTunnelDump) Unmarshal ¶
func (m *GeneveTunnelDump) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { GeneveAddDelTunnel(ctx context.Context, in *GeneveAddDelTunnel) (*GeneveAddDelTunnelReply, error) GeneveAddDelTunnel2(ctx context.Context, in *GeneveAddDelTunnel2) (*GeneveAddDelTunnel2Reply, error) GeneveTunnelDump(ctx context.Context, in *GeneveTunnelDump) (RPCService_GeneveTunnelDumpClient, error) SwInterfaceSetGeneveBypass(ctx context.Context, in *SwInterfaceSetGeneveBypass) (*SwInterfaceSetGeneveBypassReply, error) }
RPCService defines RPC service geneve.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_GeneveTunnelDumpClient ¶
type RPCService_GeneveTunnelDumpClient interface { Recv() (*GeneveTunnelDetails, error) api.Stream }
type SwInterfaceSetGeneveBypass ¶
type SwInterfaceSetGeneveBypass 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" json:"enable,omitempty"` }
SwInterfaceSetGeneveBypass defines message 'sw_interface_set_geneve_bypass'.
func (*SwInterfaceSetGeneveBypass) GetCrcString ¶
func (*SwInterfaceSetGeneveBypass) GetCrcString() string
func (*SwInterfaceSetGeneveBypass) GetMessageName ¶
func (*SwInterfaceSetGeneveBypass) GetMessageName() string
func (*SwInterfaceSetGeneveBypass) GetMessageType ¶
func (*SwInterfaceSetGeneveBypass) GetMessageType() api.MessageType
func (*SwInterfaceSetGeneveBypass) Marshal ¶
func (m *SwInterfaceSetGeneveBypass) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetGeneveBypass) Reset ¶
func (m *SwInterfaceSetGeneveBypass) Reset()
func (*SwInterfaceSetGeneveBypass) Size ¶
func (m *SwInterfaceSetGeneveBypass) Size() (size int)
func (*SwInterfaceSetGeneveBypass) Unmarshal ¶
func (m *SwInterfaceSetGeneveBypass) Unmarshal(b []byte) error
type SwInterfaceSetGeneveBypassReply ¶
type SwInterfaceSetGeneveBypassReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetGeneveBypassReply defines message 'sw_interface_set_geneve_bypass_reply'.
func (*SwInterfaceSetGeneveBypassReply) GetCrcString ¶
func (*SwInterfaceSetGeneveBypassReply) GetCrcString() string
func (*SwInterfaceSetGeneveBypassReply) GetMessageName ¶
func (*SwInterfaceSetGeneveBypassReply) GetMessageName() string
func (*SwInterfaceSetGeneveBypassReply) GetMessageType ¶
func (*SwInterfaceSetGeneveBypassReply) GetMessageType() api.MessageType
func (*SwInterfaceSetGeneveBypassReply) Marshal ¶
func (m *SwInterfaceSetGeneveBypassReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetGeneveBypassReply) Reset ¶
func (m *SwInterfaceSetGeneveBypassReply) Reset()
func (*SwInterfaceSetGeneveBypassReply) Size ¶
func (m *SwInterfaceSetGeneveBypassReply) Size() (size int)
func (*SwInterfaceSetGeneveBypassReply) Unmarshal ¶
func (m *SwInterfaceSetGeneveBypassReply) Unmarshal(b []byte) error