Documentation ¶
Overview ¶
Package lisp_gpe contains generated bindings for API file lisp_gpe.api.
Contents: - 3 structs - 20 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type GpeAddDelFwdEntry
- func (*GpeAddDelFwdEntry) GetCrcString() string
- func (*GpeAddDelFwdEntry) GetMessageName() string
- func (*GpeAddDelFwdEntry) GetMessageType() api.MessageType
- func (m *GpeAddDelFwdEntry) Marshal(b []byte) ([]byte, error)
- func (m *GpeAddDelFwdEntry) Reset()
- func (m *GpeAddDelFwdEntry) Size() (size int)
- func (m *GpeAddDelFwdEntry) Unmarshal(b []byte) error
- type GpeAddDelFwdEntryReply
- func (*GpeAddDelFwdEntryReply) GetCrcString() string
- func (*GpeAddDelFwdEntryReply) GetMessageName() string
- func (*GpeAddDelFwdEntryReply) GetMessageType() api.MessageType
- func (m *GpeAddDelFwdEntryReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeAddDelFwdEntryReply) Reset()
- func (m *GpeAddDelFwdEntryReply) Size() (size int)
- func (m *GpeAddDelFwdEntryReply) Unmarshal(b []byte) error
- type GpeAddDelIface
- func (*GpeAddDelIface) GetCrcString() string
- func (*GpeAddDelIface) GetMessageName() string
- func (*GpeAddDelIface) GetMessageType() api.MessageType
- func (m *GpeAddDelIface) Marshal(b []byte) ([]byte, error)
- func (m *GpeAddDelIface) Reset()
- func (m *GpeAddDelIface) Size() (size int)
- func (m *GpeAddDelIface) Unmarshal(b []byte) error
- type GpeAddDelIfaceReply
- func (*GpeAddDelIfaceReply) GetCrcString() string
- func (*GpeAddDelIfaceReply) GetMessageName() string
- func (*GpeAddDelIfaceReply) GetMessageType() api.MessageType
- func (m *GpeAddDelIfaceReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeAddDelIfaceReply) Reset()
- func (m *GpeAddDelIfaceReply) Size() (size int)
- func (m *GpeAddDelIfaceReply) Unmarshal(b []byte) error
- type GpeAddDelNativeFwdRpath
- func (*GpeAddDelNativeFwdRpath) GetCrcString() string
- func (*GpeAddDelNativeFwdRpath) GetMessageName() string
- func (*GpeAddDelNativeFwdRpath) GetMessageType() api.MessageType
- func (m *GpeAddDelNativeFwdRpath) Marshal(b []byte) ([]byte, error)
- func (m *GpeAddDelNativeFwdRpath) Reset()
- func (m *GpeAddDelNativeFwdRpath) Size() (size int)
- func (m *GpeAddDelNativeFwdRpath) Unmarshal(b []byte) error
- type GpeAddDelNativeFwdRpathReply
- func (*GpeAddDelNativeFwdRpathReply) GetCrcString() string
- func (*GpeAddDelNativeFwdRpathReply) GetMessageName() string
- func (*GpeAddDelNativeFwdRpathReply) GetMessageType() api.MessageType
- func (m *GpeAddDelNativeFwdRpathReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeAddDelNativeFwdRpathReply) Reset()
- func (m *GpeAddDelNativeFwdRpathReply) Size() (size int)
- func (m *GpeAddDelNativeFwdRpathReply) Unmarshal(b []byte) error
- type GpeEnableDisable
- func (*GpeEnableDisable) GetCrcString() string
- func (*GpeEnableDisable) GetMessageName() string
- func (*GpeEnableDisable) GetMessageType() api.MessageType
- func (m *GpeEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *GpeEnableDisable) Reset()
- func (m *GpeEnableDisable) Size() (size int)
- func (m *GpeEnableDisable) Unmarshal(b []byte) error
- type GpeEnableDisableReply
- func (*GpeEnableDisableReply) GetCrcString() string
- func (*GpeEnableDisableReply) GetMessageName() string
- func (*GpeEnableDisableReply) GetMessageType() api.MessageType
- func (m *GpeEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeEnableDisableReply) Reset()
- func (m *GpeEnableDisableReply) Size() (size int)
- func (m *GpeEnableDisableReply) Unmarshal(b []byte) error
- type GpeFwdEntriesGet
- func (*GpeFwdEntriesGet) GetCrcString() string
- func (*GpeFwdEntriesGet) GetMessageName() string
- func (*GpeFwdEntriesGet) GetMessageType() api.MessageType
- func (m *GpeFwdEntriesGet) Marshal(b []byte) ([]byte, error)
- func (m *GpeFwdEntriesGet) Reset()
- func (m *GpeFwdEntriesGet) Size() (size int)
- func (m *GpeFwdEntriesGet) Unmarshal(b []byte) error
- type GpeFwdEntriesGetReply
- func (*GpeFwdEntriesGetReply) GetCrcString() string
- func (*GpeFwdEntriesGetReply) GetMessageName() string
- func (*GpeFwdEntriesGetReply) GetMessageType() api.MessageType
- func (m *GpeFwdEntriesGetReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeFwdEntriesGetReply) Reset()
- func (m *GpeFwdEntriesGetReply) Size() (size int)
- func (m *GpeFwdEntriesGetReply) Unmarshal(b []byte) error
- type GpeFwdEntry
- type GpeFwdEntryPathDetails
- func (*GpeFwdEntryPathDetails) GetCrcString() string
- func (*GpeFwdEntryPathDetails) GetMessageName() string
- func (*GpeFwdEntryPathDetails) GetMessageType() api.MessageType
- func (m *GpeFwdEntryPathDetails) Marshal(b []byte) ([]byte, error)
- func (m *GpeFwdEntryPathDetails) Reset()
- func (m *GpeFwdEntryPathDetails) Size() (size int)
- func (m *GpeFwdEntryPathDetails) Unmarshal(b []byte) error
- type GpeFwdEntryPathDump
- func (*GpeFwdEntryPathDump) GetCrcString() string
- func (*GpeFwdEntryPathDump) GetMessageName() string
- func (*GpeFwdEntryPathDump) GetMessageType() api.MessageType
- func (m *GpeFwdEntryPathDump) Marshal(b []byte) ([]byte, error)
- func (m *GpeFwdEntryPathDump) Reset()
- func (m *GpeFwdEntryPathDump) Size() (size int)
- func (m *GpeFwdEntryPathDump) Unmarshal(b []byte) error
- type GpeFwdEntryVnisGet
- func (*GpeFwdEntryVnisGet) GetCrcString() string
- func (*GpeFwdEntryVnisGet) GetMessageName() string
- func (*GpeFwdEntryVnisGet) GetMessageType() api.MessageType
- func (m *GpeFwdEntryVnisGet) Marshal(b []byte) ([]byte, error)
- func (m *GpeFwdEntryVnisGet) Reset()
- func (m *GpeFwdEntryVnisGet) Size() (size int)
- func (m *GpeFwdEntryVnisGet) Unmarshal(b []byte) error
- type GpeFwdEntryVnisGetReply
- func (*GpeFwdEntryVnisGetReply) GetCrcString() string
- func (*GpeFwdEntryVnisGetReply) GetMessageName() string
- func (*GpeFwdEntryVnisGetReply) GetMessageType() api.MessageType
- func (m *GpeFwdEntryVnisGetReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeFwdEntryVnisGetReply) Reset()
- func (m *GpeFwdEntryVnisGetReply) Size() (size int)
- func (m *GpeFwdEntryVnisGetReply) Unmarshal(b []byte) error
- type GpeGetEncapMode
- func (*GpeGetEncapMode) GetCrcString() string
- func (*GpeGetEncapMode) GetMessageName() string
- func (*GpeGetEncapMode) GetMessageType() api.MessageType
- func (m *GpeGetEncapMode) Marshal(b []byte) ([]byte, error)
- func (m *GpeGetEncapMode) Reset()
- func (m *GpeGetEncapMode) Size() (size int)
- func (m *GpeGetEncapMode) Unmarshal(b []byte) error
- type GpeGetEncapModeReply
- func (*GpeGetEncapModeReply) GetCrcString() string
- func (*GpeGetEncapModeReply) GetMessageName() string
- func (*GpeGetEncapModeReply) GetMessageType() api.MessageType
- func (m *GpeGetEncapModeReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeGetEncapModeReply) Reset()
- func (m *GpeGetEncapModeReply) Size() (size int)
- func (m *GpeGetEncapModeReply) Unmarshal(b []byte) error
- type GpeLocator
- type GpeNativeFwdRpath
- type GpeNativeFwdRpathsGet
- func (*GpeNativeFwdRpathsGet) GetCrcString() string
- func (*GpeNativeFwdRpathsGet) GetMessageName() string
- func (*GpeNativeFwdRpathsGet) GetMessageType() api.MessageType
- func (m *GpeNativeFwdRpathsGet) Marshal(b []byte) ([]byte, error)
- func (m *GpeNativeFwdRpathsGet) Reset()
- func (m *GpeNativeFwdRpathsGet) Size() (size int)
- func (m *GpeNativeFwdRpathsGet) Unmarshal(b []byte) error
- type GpeNativeFwdRpathsGetReply
- func (*GpeNativeFwdRpathsGetReply) GetCrcString() string
- func (*GpeNativeFwdRpathsGetReply) GetMessageName() string
- func (*GpeNativeFwdRpathsGetReply) GetMessageType() api.MessageType
- func (m *GpeNativeFwdRpathsGetReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeNativeFwdRpathsGetReply) Reset()
- func (m *GpeNativeFwdRpathsGetReply) Size() (size int)
- func (m *GpeNativeFwdRpathsGetReply) Unmarshal(b []byte) error
- type GpeSetEncapMode
- func (*GpeSetEncapMode) GetCrcString() string
- func (*GpeSetEncapMode) GetMessageName() string
- func (*GpeSetEncapMode) GetMessageType() api.MessageType
- func (m *GpeSetEncapMode) Marshal(b []byte) ([]byte, error)
- func (m *GpeSetEncapMode) Reset()
- func (m *GpeSetEncapMode) Size() (size int)
- func (m *GpeSetEncapMode) Unmarshal(b []byte) error
- type GpeSetEncapModeReply
- func (*GpeSetEncapModeReply) GetCrcString() string
- func (*GpeSetEncapModeReply) GetMessageName() string
- func (*GpeSetEncapModeReply) GetMessageType() api.MessageType
- func (m *GpeSetEncapModeReply) Marshal(b []byte) ([]byte, error)
- func (m *GpeSetEncapModeReply) Reset()
- func (m *GpeSetEncapModeReply) Size() (size int)
- func (m *GpeSetEncapModeReply) Unmarshal(b []byte) error
- type RPCService
- type RPCService_GpeFwdEntryPathDumpClient
Constants ¶
const ( APIFile = "lisp_gpe" APIVersion = "2.0.0" VersionCrc = 0x92611b0 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type GpeAddDelFwdEntry ¶
type GpeAddDelFwdEntry struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` RmtEid lisp_types.Eid `binapi:"eid,name=rmt_eid" json:"rmt_eid,omitempty"` LclEid lisp_types.Eid `binapi:"eid,name=lcl_eid" json:"lcl_eid,omitempty"` Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"` DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"` Action uint8 `binapi:"u8,name=action" json:"action,omitempty"` LocNum uint32 `binapi:"u32,name=loc_num" json:"-"` Locs []GpeLocator `binapi:"gpe_locator[loc_num],name=locs" json:"locs,omitempty"` }
add or delete GPE tunnel
- is_add - add address if non-zero, else delete
- rmt_eid - remote eid
- lcl_eid - local eid
- vni - virtual network identifier
- dp_table - vrf/bridge domain id
- action - negative action when 0 locators configured
- loc_num - number of locators
- locs - array of remote locators
GpeAddDelFwdEntry defines message 'gpe_add_del_fwd_entry'.
func (*GpeAddDelFwdEntry) GetCrcString ¶
func (*GpeAddDelFwdEntry) GetCrcString() string
func (*GpeAddDelFwdEntry) GetMessageName ¶
func (*GpeAddDelFwdEntry) GetMessageName() string
func (*GpeAddDelFwdEntry) GetMessageType ¶
func (*GpeAddDelFwdEntry) GetMessageType() api.MessageType
func (*GpeAddDelFwdEntry) Reset ¶
func (m *GpeAddDelFwdEntry) Reset()
func (*GpeAddDelFwdEntry) Size ¶
func (m *GpeAddDelFwdEntry) Size() (size int)
func (*GpeAddDelFwdEntry) Unmarshal ¶
func (m *GpeAddDelFwdEntry) Unmarshal(b []byte) error
type GpeAddDelFwdEntryReply ¶
type GpeAddDelFwdEntryReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` FwdEntryIndex uint32 `binapi:"u32,name=fwd_entry_index" json:"fwd_entry_index,omitempty"` }
GpeAddDelFwdEntryReply defines message 'gpe_add_del_fwd_entry_reply'.
func (*GpeAddDelFwdEntryReply) GetCrcString ¶
func (*GpeAddDelFwdEntryReply) GetCrcString() string
func (*GpeAddDelFwdEntryReply) GetMessageName ¶
func (*GpeAddDelFwdEntryReply) GetMessageName() string
func (*GpeAddDelFwdEntryReply) GetMessageType ¶
func (*GpeAddDelFwdEntryReply) GetMessageType() api.MessageType
func (*GpeAddDelFwdEntryReply) Marshal ¶
func (m *GpeAddDelFwdEntryReply) Marshal(b []byte) ([]byte, error)
func (*GpeAddDelFwdEntryReply) Reset ¶
func (m *GpeAddDelFwdEntryReply) Reset()
func (*GpeAddDelFwdEntryReply) Size ¶
func (m *GpeAddDelFwdEntryReply) Size() (size int)
func (*GpeAddDelFwdEntryReply) Unmarshal ¶
func (m *GpeAddDelFwdEntryReply) Unmarshal(b []byte) error
type GpeAddDelIface ¶
type GpeAddDelIface struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` IsL2 bool `binapi:"bool,name=is_l2" json:"is_l2,omitempty"` DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"` Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"` }
add or delete gpe_iface
- is_add - add address if non-zero, else delete
GpeAddDelIface defines message 'gpe_add_del_iface'.
func (*GpeAddDelIface) GetCrcString ¶
func (*GpeAddDelIface) GetCrcString() string
func (*GpeAddDelIface) GetMessageName ¶
func (*GpeAddDelIface) GetMessageName() string
func (*GpeAddDelIface) GetMessageType ¶
func (*GpeAddDelIface) GetMessageType() api.MessageType
func (*GpeAddDelIface) Reset ¶
func (m *GpeAddDelIface) Reset()
func (*GpeAddDelIface) Size ¶
func (m *GpeAddDelIface) Size() (size int)
func (*GpeAddDelIface) Unmarshal ¶
func (m *GpeAddDelIface) Unmarshal(b []byte) error
type GpeAddDelIfaceReply ¶
type GpeAddDelIfaceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
GpeAddDelIfaceReply defines message 'gpe_add_del_iface_reply'.
func (*GpeAddDelIfaceReply) GetCrcString ¶
func (*GpeAddDelIfaceReply) GetCrcString() string
func (*GpeAddDelIfaceReply) GetMessageName ¶
func (*GpeAddDelIfaceReply) GetMessageName() string
func (*GpeAddDelIfaceReply) GetMessageType ¶
func (*GpeAddDelIfaceReply) GetMessageType() api.MessageType
func (*GpeAddDelIfaceReply) Marshal ¶
func (m *GpeAddDelIfaceReply) Marshal(b []byte) ([]byte, error)
func (*GpeAddDelIfaceReply) Reset ¶
func (m *GpeAddDelIfaceReply) Reset()
func (*GpeAddDelIfaceReply) Size ¶
func (m *GpeAddDelIfaceReply) Size() (size int)
func (*GpeAddDelIfaceReply) Unmarshal ¶
func (m *GpeAddDelIfaceReply) Unmarshal(b []byte) error
type GpeAddDelNativeFwdRpath ¶
type GpeAddDelNativeFwdRpath struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` NhSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=nh_sw_if_index" json:"nh_sw_if_index,omitempty"` NhAddr ip_types.Address `binapi:"address,name=nh_addr" json:"nh_addr,omitempty"` }
Add native fwd rpath
- retval - return code
- is_add - flag to indicate add or del
- table_id - table id for route path
- nh_sw_if_index - next-hop sw_if_index (~0 if not set)
- is_ip4 - flag to indicate if nh is ip4
- nh_addr - next hop ip address
GpeAddDelNativeFwdRpath defines message 'gpe_add_del_native_fwd_rpath'.
func (*GpeAddDelNativeFwdRpath) GetCrcString ¶
func (*GpeAddDelNativeFwdRpath) GetCrcString() string
func (*GpeAddDelNativeFwdRpath) GetMessageName ¶
func (*GpeAddDelNativeFwdRpath) GetMessageName() string
func (*GpeAddDelNativeFwdRpath) GetMessageType ¶
func (*GpeAddDelNativeFwdRpath) GetMessageType() api.MessageType
func (*GpeAddDelNativeFwdRpath) Marshal ¶
func (m *GpeAddDelNativeFwdRpath) Marshal(b []byte) ([]byte, error)
func (*GpeAddDelNativeFwdRpath) Reset ¶
func (m *GpeAddDelNativeFwdRpath) Reset()
func (*GpeAddDelNativeFwdRpath) Size ¶
func (m *GpeAddDelNativeFwdRpath) Size() (size int)
func (*GpeAddDelNativeFwdRpath) Unmarshal ¶
func (m *GpeAddDelNativeFwdRpath) Unmarshal(b []byte) error
type GpeAddDelNativeFwdRpathReply ¶
type GpeAddDelNativeFwdRpathReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
GpeAddDelNativeFwdRpathReply defines message 'gpe_add_del_native_fwd_rpath_reply'.
func (*GpeAddDelNativeFwdRpathReply) GetCrcString ¶
func (*GpeAddDelNativeFwdRpathReply) GetCrcString() string
func (*GpeAddDelNativeFwdRpathReply) GetMessageName ¶
func (*GpeAddDelNativeFwdRpathReply) GetMessageName() string
func (*GpeAddDelNativeFwdRpathReply) GetMessageType ¶
func (*GpeAddDelNativeFwdRpathReply) GetMessageType() api.MessageType
func (*GpeAddDelNativeFwdRpathReply) Marshal ¶
func (m *GpeAddDelNativeFwdRpathReply) Marshal(b []byte) ([]byte, error)
func (*GpeAddDelNativeFwdRpathReply) Reset ¶
func (m *GpeAddDelNativeFwdRpathReply) Reset()
func (*GpeAddDelNativeFwdRpathReply) Size ¶
func (m *GpeAddDelNativeFwdRpathReply) Size() (size int)
func (*GpeAddDelNativeFwdRpathReply) Unmarshal ¶
func (m *GpeAddDelNativeFwdRpathReply) Unmarshal(b []byte) error
type GpeEnableDisable ¶
type GpeEnableDisable struct {
IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
}
enable or disable gpe protocol
- is_enable [default=true] - enable protocol if non-zero, else disable
GpeEnableDisable defines message 'gpe_enable_disable'.
func (*GpeEnableDisable) GetCrcString ¶
func (*GpeEnableDisable) GetCrcString() string
func (*GpeEnableDisable) GetMessageName ¶
func (*GpeEnableDisable) GetMessageName() string
func (*GpeEnableDisable) GetMessageType ¶
func (*GpeEnableDisable) GetMessageType() api.MessageType
func (*GpeEnableDisable) Reset ¶
func (m *GpeEnableDisable) Reset()
func (*GpeEnableDisable) Size ¶
func (m *GpeEnableDisable) Size() (size int)
func (*GpeEnableDisable) Unmarshal ¶
func (m *GpeEnableDisable) Unmarshal(b []byte) error
type GpeEnableDisableReply ¶
type GpeEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
GpeEnableDisableReply defines message 'gpe_enable_disable_reply'.
func (*GpeEnableDisableReply) GetCrcString ¶
func (*GpeEnableDisableReply) GetCrcString() string
func (*GpeEnableDisableReply) GetMessageName ¶
func (*GpeEnableDisableReply) GetMessageName() string
func (*GpeEnableDisableReply) GetMessageType ¶
func (*GpeEnableDisableReply) GetMessageType() api.MessageType
func (*GpeEnableDisableReply) Marshal ¶
func (m *GpeEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*GpeEnableDisableReply) Reset ¶
func (m *GpeEnableDisableReply) Reset()
func (*GpeEnableDisableReply) Size ¶
func (m *GpeEnableDisableReply) Size() (size int)
func (*GpeEnableDisableReply) Unmarshal ¶
func (m *GpeEnableDisableReply) Unmarshal(b []byte) error
type GpeFwdEntriesGet ¶
type GpeFwdEntriesGet struct {
Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
}
GpeFwdEntriesGet defines message 'gpe_fwd_entries_get'.
func (*GpeFwdEntriesGet) GetCrcString ¶
func (*GpeFwdEntriesGet) GetCrcString() string
func (*GpeFwdEntriesGet) GetMessageName ¶
func (*GpeFwdEntriesGet) GetMessageName() string
func (*GpeFwdEntriesGet) GetMessageType ¶
func (*GpeFwdEntriesGet) GetMessageType() api.MessageType
func (*GpeFwdEntriesGet) Reset ¶
func (m *GpeFwdEntriesGet) Reset()
func (*GpeFwdEntriesGet) Size ¶
func (m *GpeFwdEntriesGet) Size() (size int)
func (*GpeFwdEntriesGet) Unmarshal ¶
func (m *GpeFwdEntriesGet) Unmarshal(b []byte) error
type GpeFwdEntriesGetReply ¶
type GpeFwdEntriesGetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Count uint32 `binapi:"u32,name=count" json:"-"` Entries []GpeFwdEntry `binapi:"gpe_fwd_entry[count],name=entries" json:"entries,omitempty"` }
GpeFwdEntriesGetReply defines message 'gpe_fwd_entries_get_reply'.
func (*GpeFwdEntriesGetReply) GetCrcString ¶
func (*GpeFwdEntriesGetReply) GetCrcString() string
func (*GpeFwdEntriesGetReply) GetMessageName ¶
func (*GpeFwdEntriesGetReply) GetMessageName() string
func (*GpeFwdEntriesGetReply) GetMessageType ¶
func (*GpeFwdEntriesGetReply) GetMessageType() api.MessageType
func (*GpeFwdEntriesGetReply) Marshal ¶
func (m *GpeFwdEntriesGetReply) Marshal(b []byte) ([]byte, error)
func (*GpeFwdEntriesGetReply) Reset ¶
func (m *GpeFwdEntriesGetReply) Reset()
func (*GpeFwdEntriesGetReply) Size ¶
func (m *GpeFwdEntriesGetReply) Size() (size int)
func (*GpeFwdEntriesGetReply) Unmarshal ¶
func (m *GpeFwdEntriesGetReply) Unmarshal(b []byte) error
type GpeFwdEntry ¶
type GpeFwdEntry struct { FwdEntryIndex uint32 `binapi:"u32,name=fwd_entry_index" json:"fwd_entry_index,omitempty"` DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"` Leid lisp_types.Eid `binapi:"eid,name=leid" json:"leid,omitempty"` Reid lisp_types.Eid `binapi:"eid,name=reid" json:"reid,omitempty"` Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"` Action uint8 `binapi:"u8,name=action" json:"action,omitempty"` }
GpeFwdEntry defines type 'gpe_fwd_entry'.
type GpeFwdEntryPathDetails ¶
type GpeFwdEntryPathDetails struct { LclLoc GpeLocator `binapi:"gpe_locator,name=lcl_loc" json:"lcl_loc,omitempty"` RmtLoc GpeLocator `binapi:"gpe_locator,name=rmt_loc" json:"rmt_loc,omitempty"` }
GpeFwdEntryPathDetails defines message 'gpe_fwd_entry_path_details'.
func (*GpeFwdEntryPathDetails) GetCrcString ¶
func (*GpeFwdEntryPathDetails) GetCrcString() string
func (*GpeFwdEntryPathDetails) GetMessageName ¶
func (*GpeFwdEntryPathDetails) GetMessageName() string
func (*GpeFwdEntryPathDetails) GetMessageType ¶
func (*GpeFwdEntryPathDetails) GetMessageType() api.MessageType
func (*GpeFwdEntryPathDetails) Marshal ¶
func (m *GpeFwdEntryPathDetails) Marshal(b []byte) ([]byte, error)
func (*GpeFwdEntryPathDetails) Reset ¶
func (m *GpeFwdEntryPathDetails) Reset()
func (*GpeFwdEntryPathDetails) Size ¶
func (m *GpeFwdEntryPathDetails) Size() (size int)
func (*GpeFwdEntryPathDetails) Unmarshal ¶
func (m *GpeFwdEntryPathDetails) Unmarshal(b []byte) error
type GpeFwdEntryPathDump ¶
type GpeFwdEntryPathDump struct {
FwdEntryIndex uint32 `binapi:"u32,name=fwd_entry_index" json:"fwd_entry_index,omitempty"`
}
GpeFwdEntryPathDump defines message 'gpe_fwd_entry_path_dump'.
func (*GpeFwdEntryPathDump) GetCrcString ¶
func (*GpeFwdEntryPathDump) GetCrcString() string
func (*GpeFwdEntryPathDump) GetMessageName ¶
func (*GpeFwdEntryPathDump) GetMessageName() string
func (*GpeFwdEntryPathDump) GetMessageType ¶
func (*GpeFwdEntryPathDump) GetMessageType() api.MessageType
func (*GpeFwdEntryPathDump) Marshal ¶
func (m *GpeFwdEntryPathDump) Marshal(b []byte) ([]byte, error)
func (*GpeFwdEntryPathDump) Reset ¶
func (m *GpeFwdEntryPathDump) Reset()
func (*GpeFwdEntryPathDump) Size ¶
func (m *GpeFwdEntryPathDump) Size() (size int)
func (*GpeFwdEntryPathDump) Unmarshal ¶
func (m *GpeFwdEntryPathDump) Unmarshal(b []byte) error
type GpeFwdEntryVnisGet ¶
type GpeFwdEntryVnisGet struct{}
GpeFwdEntryVnisGet defines message 'gpe_fwd_entry_vnis_get'.
func (*GpeFwdEntryVnisGet) GetCrcString ¶
func (*GpeFwdEntryVnisGet) GetCrcString() string
func (*GpeFwdEntryVnisGet) GetMessageName ¶
func (*GpeFwdEntryVnisGet) GetMessageName() string
func (*GpeFwdEntryVnisGet) GetMessageType ¶
func (*GpeFwdEntryVnisGet) GetMessageType() api.MessageType
func (*GpeFwdEntryVnisGet) Reset ¶
func (m *GpeFwdEntryVnisGet) Reset()
func (*GpeFwdEntryVnisGet) Size ¶
func (m *GpeFwdEntryVnisGet) Size() (size int)
func (*GpeFwdEntryVnisGet) Unmarshal ¶
func (m *GpeFwdEntryVnisGet) Unmarshal(b []byte) error
type GpeFwdEntryVnisGetReply ¶
type GpeFwdEntryVnisGetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Count uint32 `binapi:"u32,name=count" json:"-"` Vnis []uint32 `binapi:"u32[count],name=vnis" json:"vnis,omitempty"` }
GpeFwdEntryVnisGetReply defines message 'gpe_fwd_entry_vnis_get_reply'.
func (*GpeFwdEntryVnisGetReply) GetCrcString ¶
func (*GpeFwdEntryVnisGetReply) GetCrcString() string
func (*GpeFwdEntryVnisGetReply) GetMessageName ¶
func (*GpeFwdEntryVnisGetReply) GetMessageName() string
func (*GpeFwdEntryVnisGetReply) GetMessageType ¶
func (*GpeFwdEntryVnisGetReply) GetMessageType() api.MessageType
func (*GpeFwdEntryVnisGetReply) Marshal ¶
func (m *GpeFwdEntryVnisGetReply) Marshal(b []byte) ([]byte, error)
func (*GpeFwdEntryVnisGetReply) Reset ¶
func (m *GpeFwdEntryVnisGetReply) Reset()
func (*GpeFwdEntryVnisGetReply) Size ¶
func (m *GpeFwdEntryVnisGetReply) Size() (size int)
func (*GpeFwdEntryVnisGetReply) Unmarshal ¶
func (m *GpeFwdEntryVnisGetReply) Unmarshal(b []byte) error
type GpeGetEncapMode ¶
type GpeGetEncapMode struct{}
get GPE encapsulation mode
- mode - LISP (value 0) or VXLAN (value 1)
GpeGetEncapMode defines message 'gpe_get_encap_mode'.
func (*GpeGetEncapMode) GetCrcString ¶
func (*GpeGetEncapMode) GetCrcString() string
func (*GpeGetEncapMode) GetMessageName ¶
func (*GpeGetEncapMode) GetMessageName() string
func (*GpeGetEncapMode) GetMessageType ¶
func (*GpeGetEncapMode) GetMessageType() api.MessageType
func (*GpeGetEncapMode) Reset ¶
func (m *GpeGetEncapMode) Reset()
func (*GpeGetEncapMode) Size ¶
func (m *GpeGetEncapMode) Size() (size int)
func (*GpeGetEncapMode) Unmarshal ¶
func (m *GpeGetEncapMode) Unmarshal(b []byte) error
type GpeGetEncapModeReply ¶
type GpeGetEncapModeReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` EncapMode uint8 `binapi:"u8,name=encap_mode" json:"encap_mode,omitempty"` }
Reply for set_encap_mode
- retval - return code
- encap_mode - GPE encapsulation mode
GpeGetEncapModeReply defines message 'gpe_get_encap_mode_reply'.
func (*GpeGetEncapModeReply) GetCrcString ¶
func (*GpeGetEncapModeReply) GetCrcString() string
func (*GpeGetEncapModeReply) GetMessageName ¶
func (*GpeGetEncapModeReply) GetMessageName() string
func (*GpeGetEncapModeReply) GetMessageType ¶
func (*GpeGetEncapModeReply) GetMessageType() api.MessageType
func (*GpeGetEncapModeReply) Marshal ¶
func (m *GpeGetEncapModeReply) Marshal(b []byte) ([]byte, error)
func (*GpeGetEncapModeReply) Reset ¶
func (m *GpeGetEncapModeReply) Reset()
func (*GpeGetEncapModeReply) Size ¶
func (m *GpeGetEncapModeReply) Size() (size int)
func (*GpeGetEncapModeReply) Unmarshal ¶
func (m *GpeGetEncapModeReply) Unmarshal(b []byte) error
type GpeLocator ¶
type GpeLocator struct { Weight uint8 `binapi:"u8,name=weight" json:"weight,omitempty"` Addr ip_types.Address `binapi:"address,name=addr" json:"addr,omitempty"` }
GpeLocator defines type 'gpe_locator'.
type GpeNativeFwdRpath ¶
type GpeNativeFwdRpath struct { FibIndex uint32 `binapi:"u32,name=fib_index" json:"fib_index,omitempty"` NhSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=nh_sw_if_index" json:"nh_sw_if_index,omitempty"` NhAddr ip_types.Address `binapi:"address,name=nh_addr" json:"nh_addr,omitempty"` }
GpeNativeFwdRpath defines type 'gpe_native_fwd_rpath'.
type GpeNativeFwdRpathsGet ¶
type GpeNativeFwdRpathsGet struct {
IsIP4 bool `binapi:"bool,name=is_ip4" json:"is_ip4,omitempty"`
}
get GPE native fwd rpath GpeNativeFwdRpathsGet defines message 'gpe_native_fwd_rpaths_get'.
func (*GpeNativeFwdRpathsGet) GetCrcString ¶
func (*GpeNativeFwdRpathsGet) GetCrcString() string
func (*GpeNativeFwdRpathsGet) GetMessageName ¶
func (*GpeNativeFwdRpathsGet) GetMessageName() string
func (*GpeNativeFwdRpathsGet) GetMessageType ¶
func (*GpeNativeFwdRpathsGet) GetMessageType() api.MessageType
func (*GpeNativeFwdRpathsGet) Marshal ¶
func (m *GpeNativeFwdRpathsGet) Marshal(b []byte) ([]byte, error)
func (*GpeNativeFwdRpathsGet) Reset ¶
func (m *GpeNativeFwdRpathsGet) Reset()
func (*GpeNativeFwdRpathsGet) Size ¶
func (m *GpeNativeFwdRpathsGet) Size() (size int)
func (*GpeNativeFwdRpathsGet) Unmarshal ¶
func (m *GpeNativeFwdRpathsGet) Unmarshal(b []byte) error
type GpeNativeFwdRpathsGetReply ¶
type GpeNativeFwdRpathsGetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Count uint32 `binapi:"u32,name=count" json:"-"` Entries []GpeNativeFwdRpath `binapi:"gpe_native_fwd_rpath[count],name=entries" json:"entries,omitempty"` }
Reply for get native fwd rpath
- retval - return code
- table_id - table id for route path
- nh_sw_if_index - next-hop sw_if_index (~0 if not set)
- nh_addr - next hop address
GpeNativeFwdRpathsGetReply defines message 'gpe_native_fwd_rpaths_get_reply'.
func (*GpeNativeFwdRpathsGetReply) GetCrcString ¶
func (*GpeNativeFwdRpathsGetReply) GetCrcString() string
func (*GpeNativeFwdRpathsGetReply) GetMessageName ¶
func (*GpeNativeFwdRpathsGetReply) GetMessageName() string
func (*GpeNativeFwdRpathsGetReply) GetMessageType ¶
func (*GpeNativeFwdRpathsGetReply) GetMessageType() api.MessageType
func (*GpeNativeFwdRpathsGetReply) Marshal ¶
func (m *GpeNativeFwdRpathsGetReply) Marshal(b []byte) ([]byte, error)
func (*GpeNativeFwdRpathsGetReply) Reset ¶
func (m *GpeNativeFwdRpathsGetReply) Reset()
func (*GpeNativeFwdRpathsGetReply) Size ¶
func (m *GpeNativeFwdRpathsGetReply) Size() (size int)
func (*GpeNativeFwdRpathsGetReply) Unmarshal ¶
func (m *GpeNativeFwdRpathsGetReply) Unmarshal(b []byte) error
type GpeSetEncapMode ¶
type GpeSetEncapMode struct {
IsVxlan bool `binapi:"bool,name=is_vxlan" json:"is_vxlan,omitempty"`
}
Set GPE encapsulation mode
- mode - LISP (value 0) or VXLAN (value 1)
GpeSetEncapMode defines message 'gpe_set_encap_mode'.
func (*GpeSetEncapMode) GetCrcString ¶
func (*GpeSetEncapMode) GetCrcString() string
func (*GpeSetEncapMode) GetMessageName ¶
func (*GpeSetEncapMode) GetMessageName() string
func (*GpeSetEncapMode) GetMessageType ¶
func (*GpeSetEncapMode) GetMessageType() api.MessageType
func (*GpeSetEncapMode) Reset ¶
func (m *GpeSetEncapMode) Reset()
func (*GpeSetEncapMode) Size ¶
func (m *GpeSetEncapMode) Size() (size int)
func (*GpeSetEncapMode) Unmarshal ¶
func (m *GpeSetEncapMode) Unmarshal(b []byte) error
type GpeSetEncapModeReply ¶
type GpeSetEncapModeReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
GpeSetEncapModeReply defines message 'gpe_set_encap_mode_reply'.
func (*GpeSetEncapModeReply) GetCrcString ¶
func (*GpeSetEncapModeReply) GetCrcString() string
func (*GpeSetEncapModeReply) GetMessageName ¶
func (*GpeSetEncapModeReply) GetMessageName() string
func (*GpeSetEncapModeReply) GetMessageType ¶
func (*GpeSetEncapModeReply) GetMessageType() api.MessageType
func (*GpeSetEncapModeReply) Marshal ¶
func (m *GpeSetEncapModeReply) Marshal(b []byte) ([]byte, error)
func (*GpeSetEncapModeReply) Reset ¶
func (m *GpeSetEncapModeReply) Reset()
func (*GpeSetEncapModeReply) Size ¶
func (m *GpeSetEncapModeReply) Size() (size int)
func (*GpeSetEncapModeReply) Unmarshal ¶
func (m *GpeSetEncapModeReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { GpeAddDelFwdEntry(ctx context.Context, in *GpeAddDelFwdEntry) (*GpeAddDelFwdEntryReply, error) GpeAddDelIface(ctx context.Context, in *GpeAddDelIface) (*GpeAddDelIfaceReply, error) GpeAddDelNativeFwdRpath(ctx context.Context, in *GpeAddDelNativeFwdRpath) (*GpeAddDelNativeFwdRpathReply, error) GpeEnableDisable(ctx context.Context, in *GpeEnableDisable) (*GpeEnableDisableReply, error) GpeFwdEntriesGet(ctx context.Context, in *GpeFwdEntriesGet) (*GpeFwdEntriesGetReply, error) GpeFwdEntryPathDump(ctx context.Context, in *GpeFwdEntryPathDump) (RPCService_GpeFwdEntryPathDumpClient, error) GpeFwdEntryVnisGet(ctx context.Context, in *GpeFwdEntryVnisGet) (*GpeFwdEntryVnisGetReply, error) GpeGetEncapMode(ctx context.Context, in *GpeGetEncapMode) (*GpeGetEncapModeReply, error) GpeNativeFwdRpathsGet(ctx context.Context, in *GpeNativeFwdRpathsGet) (*GpeNativeFwdRpathsGetReply, error) GpeSetEncapMode(ctx context.Context, in *GpeSetEncapMode) (*GpeSetEncapModeReply, error) }
RPCService defines RPC service lisp_gpe.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_GpeFwdEntryPathDumpClient ¶
type RPCService_GpeFwdEntryPathDumpClient interface { Recv() (*GpeFwdEntryPathDetails, error) api.Stream }