Documentation
¶
Overview ¶
Package vxlan_gbp contains generated bindings for API file vxlan_gbp.api.
Contents:
1 enum 1 struct 6 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type RPCService
- type RPCService_VxlanGbpTunnelDumpClient
- type SwInterfaceSetVxlanGbpBypass
- func (*SwInterfaceSetVxlanGbpBypass) GetCrcString() string
- func (*SwInterfaceSetVxlanGbpBypass) GetMessageName() string
- func (*SwInterfaceSetVxlanGbpBypass) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVxlanGbpBypass) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVxlanGbpBypass) Reset()
- func (m *SwInterfaceSetVxlanGbpBypass) Size() (size int)
- func (m *SwInterfaceSetVxlanGbpBypass) Unmarshal(b []byte) error
- type SwInterfaceSetVxlanGbpBypassReply
- func (*SwInterfaceSetVxlanGbpBypassReply) GetCrcString() string
- func (*SwInterfaceSetVxlanGbpBypassReply) GetMessageName() string
- func (*SwInterfaceSetVxlanGbpBypassReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVxlanGbpBypassReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVxlanGbpBypassReply) Reset()
- func (m *SwInterfaceSetVxlanGbpBypassReply) Size() (size int)
- func (m *SwInterfaceSetVxlanGbpBypassReply) Unmarshal(b []byte) error
- type VxlanGbpAPITunnelMode
- type VxlanGbpTunnel
- type VxlanGbpTunnelAddDel
- func (*VxlanGbpTunnelAddDel) GetCrcString() string
- func (*VxlanGbpTunnelAddDel) GetMessageName() string
- func (*VxlanGbpTunnelAddDel) GetMessageType() api.MessageType
- func (m *VxlanGbpTunnelAddDel) Marshal(b []byte) ([]byte, error)
- func (m *VxlanGbpTunnelAddDel) Reset()
- func (m *VxlanGbpTunnelAddDel) Size() (size int)
- func (m *VxlanGbpTunnelAddDel) Unmarshal(b []byte) error
- type VxlanGbpTunnelAddDelReply
- func (*VxlanGbpTunnelAddDelReply) GetCrcString() string
- func (*VxlanGbpTunnelAddDelReply) GetMessageName() string
- func (*VxlanGbpTunnelAddDelReply) GetMessageType() api.MessageType
- func (m *VxlanGbpTunnelAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *VxlanGbpTunnelAddDelReply) Reset()
- func (m *VxlanGbpTunnelAddDelReply) Size() (size int)
- func (m *VxlanGbpTunnelAddDelReply) Unmarshal(b []byte) error
- type VxlanGbpTunnelDetails
- func (*VxlanGbpTunnelDetails) GetCrcString() string
- func (*VxlanGbpTunnelDetails) GetMessageName() string
- func (*VxlanGbpTunnelDetails) GetMessageType() api.MessageType
- func (m *VxlanGbpTunnelDetails) Marshal(b []byte) ([]byte, error)
- func (m *VxlanGbpTunnelDetails) Reset()
- func (m *VxlanGbpTunnelDetails) Size() (size int)
- func (m *VxlanGbpTunnelDetails) Unmarshal(b []byte) error
- type VxlanGbpTunnelDump
- func (*VxlanGbpTunnelDump) GetCrcString() string
- func (*VxlanGbpTunnelDump) GetMessageName() string
- func (*VxlanGbpTunnelDump) GetMessageType() api.MessageType
- func (m *VxlanGbpTunnelDump) Marshal(b []byte) ([]byte, error)
- func (m *VxlanGbpTunnelDump) Reset()
- func (m *VxlanGbpTunnelDump) Size() (size int)
- func (m *VxlanGbpTunnelDump) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "vxlan_gbp" APIVersion = "1.1.1" VersionCrc = 0xb40203a1 )
Variables ¶
var ( VxlanGbpAPITunnelMode_name = map[uint32]string{ 1: "VXLAN_GBP_API_TUNNEL_MODE_L2", 2: "VXLAN_GBP_API_TUNNEL_MODE_L3", } VxlanGbpAPITunnelMode_value = map[string]uint32{ "VXLAN_GBP_API_TUNNEL_MODE_L2": 1, "VXLAN_GBP_API_TUNNEL_MODE_L3": 2, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { SwInterfaceSetVxlanGbpBypass(ctx context.Context, in *SwInterfaceSetVxlanGbpBypass) (*SwInterfaceSetVxlanGbpBypassReply, error) VxlanGbpTunnelAddDel(ctx context.Context, in *VxlanGbpTunnelAddDel) (*VxlanGbpTunnelAddDelReply, error) VxlanGbpTunnelDump(ctx context.Context, in *VxlanGbpTunnelDump) (RPCService_VxlanGbpTunnelDumpClient, error) }
RPCService defines RPC service vxlan_gbp.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_VxlanGbpTunnelDumpClient ¶
type RPCService_VxlanGbpTunnelDumpClient interface { Recv() (*VxlanGbpTunnelDetails, error) api.Stream }
type SwInterfaceSetVxlanGbpBypass ¶
type SwInterfaceSetVxlanGbpBypass 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"` }
SwInterfaceSetVxlanGbpBypass defines message 'sw_interface_set_vxlan_gbp_bypass'. InProgress: the message form may change in the future versions
func (*SwInterfaceSetVxlanGbpBypass) GetCrcString ¶
func (*SwInterfaceSetVxlanGbpBypass) GetCrcString() string
func (*SwInterfaceSetVxlanGbpBypass) GetMessageName ¶
func (*SwInterfaceSetVxlanGbpBypass) GetMessageName() string
func (*SwInterfaceSetVxlanGbpBypass) GetMessageType ¶
func (*SwInterfaceSetVxlanGbpBypass) GetMessageType() api.MessageType
func (*SwInterfaceSetVxlanGbpBypass) Marshal ¶
func (m *SwInterfaceSetVxlanGbpBypass) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetVxlanGbpBypass) Reset ¶
func (m *SwInterfaceSetVxlanGbpBypass) Reset()
func (*SwInterfaceSetVxlanGbpBypass) Size ¶
func (m *SwInterfaceSetVxlanGbpBypass) Size() (size int)
func (*SwInterfaceSetVxlanGbpBypass) Unmarshal ¶
func (m *SwInterfaceSetVxlanGbpBypass) Unmarshal(b []byte) error
type SwInterfaceSetVxlanGbpBypassReply ¶
type SwInterfaceSetVxlanGbpBypassReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetVxlanGbpBypassReply defines message 'sw_interface_set_vxlan_gbp_bypass_reply'. InProgress: the message form may change in the future versions
func (*SwInterfaceSetVxlanGbpBypassReply) GetCrcString ¶
func (*SwInterfaceSetVxlanGbpBypassReply) GetCrcString() string
func (*SwInterfaceSetVxlanGbpBypassReply) GetMessageName ¶
func (*SwInterfaceSetVxlanGbpBypassReply) GetMessageName() string
func (*SwInterfaceSetVxlanGbpBypassReply) GetMessageType ¶
func (*SwInterfaceSetVxlanGbpBypassReply) GetMessageType() api.MessageType
func (*SwInterfaceSetVxlanGbpBypassReply) Marshal ¶
func (m *SwInterfaceSetVxlanGbpBypassReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetVxlanGbpBypassReply) Reset ¶
func (m *SwInterfaceSetVxlanGbpBypassReply) Reset()
func (*SwInterfaceSetVxlanGbpBypassReply) Size ¶
func (m *SwInterfaceSetVxlanGbpBypassReply) Size() (size int)
func (*SwInterfaceSetVxlanGbpBypassReply) Unmarshal ¶
func (m *SwInterfaceSetVxlanGbpBypassReply) Unmarshal(b []byte) error
type VxlanGbpAPITunnelMode ¶
type VxlanGbpAPITunnelMode uint32
VxlanGbpAPITunnelMode defines enum 'vxlan_gbp_api_tunnel_mode'.
const ( VXLAN_GBP_API_TUNNEL_MODE_L2 VxlanGbpAPITunnelMode = 1 VXLAN_GBP_API_TUNNEL_MODE_L3 VxlanGbpAPITunnelMode = 2 )
func (VxlanGbpAPITunnelMode) String ¶
func (x VxlanGbpAPITunnelMode) String() string
type VxlanGbpTunnel ¶
type VxlanGbpTunnel struct { Instance uint32 `binapi:"u32,name=instance" json:"instance,omitempty"` Src ip_types.Address `binapi:"address,name=src" json:"src,omitempty"` Dst ip_types.Address `binapi:"address,name=dst" json:"dst,omitempty"` McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=mcast_sw_if_index" json:"mcast_sw_if_index,omitempty"` EncapTableID uint32 `binapi:"u32,name=encap_table_id" json:"encap_table_id,omitempty"` Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Mode VxlanGbpAPITunnelMode `binapi:"vxlan_gbp_api_tunnel_mode,name=mode" json:"mode,omitempty"` }
VxlanGbpTunnel defines type 'vxlan_gbp_tunnel'.
type VxlanGbpTunnelAddDel ¶
type VxlanGbpTunnelAddDel struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` Tunnel VxlanGbpTunnel `binapi:"vxlan_gbp_tunnel,name=tunnel" json:"tunnel,omitempty"` }
VxlanGbpTunnelAddDel defines message 'vxlan_gbp_tunnel_add_del'. InProgress: the message form may change in the future versions
func (*VxlanGbpTunnelAddDel) GetCrcString ¶
func (*VxlanGbpTunnelAddDel) GetCrcString() string
func (*VxlanGbpTunnelAddDel) GetMessageName ¶
func (*VxlanGbpTunnelAddDel) GetMessageName() string
func (*VxlanGbpTunnelAddDel) GetMessageType ¶
func (*VxlanGbpTunnelAddDel) GetMessageType() api.MessageType
func (*VxlanGbpTunnelAddDel) Marshal ¶
func (m *VxlanGbpTunnelAddDel) Marshal(b []byte) ([]byte, error)
func (*VxlanGbpTunnelAddDel) Reset ¶
func (m *VxlanGbpTunnelAddDel) Reset()
func (*VxlanGbpTunnelAddDel) Size ¶
func (m *VxlanGbpTunnelAddDel) Size() (size int)
func (*VxlanGbpTunnelAddDel) Unmarshal ¶
func (m *VxlanGbpTunnelAddDel) Unmarshal(b []byte) error
type VxlanGbpTunnelAddDelReply ¶
type VxlanGbpTunnelAddDelReply 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"` }
VxlanGbpTunnelAddDelReply defines message 'vxlan_gbp_tunnel_add_del_reply'. InProgress: the message form may change in the future versions
func (*VxlanGbpTunnelAddDelReply) GetCrcString ¶
func (*VxlanGbpTunnelAddDelReply) GetCrcString() string
func (*VxlanGbpTunnelAddDelReply) GetMessageName ¶
func (*VxlanGbpTunnelAddDelReply) GetMessageName() string
func (*VxlanGbpTunnelAddDelReply) GetMessageType ¶
func (*VxlanGbpTunnelAddDelReply) GetMessageType() api.MessageType
func (*VxlanGbpTunnelAddDelReply) Marshal ¶
func (m *VxlanGbpTunnelAddDelReply) Marshal(b []byte) ([]byte, error)
func (*VxlanGbpTunnelAddDelReply) Reset ¶
func (m *VxlanGbpTunnelAddDelReply) Reset()
func (*VxlanGbpTunnelAddDelReply) Size ¶
func (m *VxlanGbpTunnelAddDelReply) Size() (size int)
func (*VxlanGbpTunnelAddDelReply) Unmarshal ¶
func (m *VxlanGbpTunnelAddDelReply) Unmarshal(b []byte) error
type VxlanGbpTunnelDetails ¶
type VxlanGbpTunnelDetails struct {
Tunnel VxlanGbpTunnel `binapi:"vxlan_gbp_tunnel,name=tunnel" json:"tunnel,omitempty"`
}
VxlanGbpTunnelDetails defines message 'vxlan_gbp_tunnel_details'. InProgress: the message form may change in the future versions
func (*VxlanGbpTunnelDetails) GetCrcString ¶
func (*VxlanGbpTunnelDetails) GetCrcString() string
func (*VxlanGbpTunnelDetails) GetMessageName ¶
func (*VxlanGbpTunnelDetails) GetMessageName() string
func (*VxlanGbpTunnelDetails) GetMessageType ¶
func (*VxlanGbpTunnelDetails) GetMessageType() api.MessageType
func (*VxlanGbpTunnelDetails) Marshal ¶
func (m *VxlanGbpTunnelDetails) Marshal(b []byte) ([]byte, error)
func (*VxlanGbpTunnelDetails) Reset ¶
func (m *VxlanGbpTunnelDetails) Reset()
func (*VxlanGbpTunnelDetails) Size ¶
func (m *VxlanGbpTunnelDetails) Size() (size int)
func (*VxlanGbpTunnelDetails) Unmarshal ¶
func (m *VxlanGbpTunnelDetails) Unmarshal(b []byte) error
type VxlanGbpTunnelDump ¶
type VxlanGbpTunnelDump struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"`
}
VxlanGbpTunnelDump defines message 'vxlan_gbp_tunnel_dump'. InProgress: the message form may change in the future versions
func (*VxlanGbpTunnelDump) GetCrcString ¶
func (*VxlanGbpTunnelDump) GetCrcString() string
func (*VxlanGbpTunnelDump) GetMessageName ¶
func (*VxlanGbpTunnelDump) GetMessageName() string
func (*VxlanGbpTunnelDump) GetMessageType ¶
func (*VxlanGbpTunnelDump) GetMessageType() api.MessageType
func (*VxlanGbpTunnelDump) Reset ¶
func (m *VxlanGbpTunnelDump) Reset()
func (*VxlanGbpTunnelDump) Size ¶
func (m *VxlanGbpTunnelDump) Size() (size int)
func (*VxlanGbpTunnelDump) Unmarshal ¶
func (m *VxlanGbpTunnelDump) Unmarshal(b []byte) error