lisp

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Contents: - 1 enum - 1 struct - 60 messages

Index

Constants

View Source
const (
	APIFile    = "lisp"
	APIVersion = "2.0.0"
	VersionCrc = 0xcb04530f
)

Variables

View Source
var (
	LispLocatorSetFilter_name = map[uint8]string{
		0: "LISP_LOCATOR_SET_FILTER_API_ALL",
		1: "LISP_LOCATOR_SET_FILTER_API_LOCAL",
		2: "LISP_LOCATOR_SET_FILTER_API_REMOTE",
	}
	LispLocatorSetFilter_value = map[string]uint8{
		"LISP_LOCATOR_SET_FILTER_API_ALL":    0,
		"LISP_LOCATOR_SET_FILTER_API_LOCAL":  1,
		"LISP_LOCATOR_SET_FILTER_API_REMOTE": 2,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type LispAddDelAdjacency

type LispAddDelAdjacency struct {
	IsAdd bool           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Vni   uint32         `binapi:"u32,name=vni" json:"vni,omitempty"`
	Reid  lisp_types.Eid `binapi:"eid,name=reid" json:"reid,omitempty"`
	Leid  lisp_types.Eid `binapi:"eid,name=leid" json:"leid,omitempty"`
}

add or delete LISP adjacency adjacency

  • is_add - add address if non-zero, else delete
  • vni - virtual network instance
  • reid - remote EID
  • leid - local EID

LispAddDelAdjacency defines message 'lisp_add_del_adjacency'.

func (*LispAddDelAdjacency) GetCrcString

func (*LispAddDelAdjacency) GetCrcString() string

func (*LispAddDelAdjacency) GetMessageName

func (*LispAddDelAdjacency) GetMessageName() string

func (*LispAddDelAdjacency) GetMessageType

func (*LispAddDelAdjacency) GetMessageType() api.MessageType

func (*LispAddDelAdjacency) Marshal

func (m *LispAddDelAdjacency) Marshal(b []byte) ([]byte, error)

func (*LispAddDelAdjacency) Reset

func (m *LispAddDelAdjacency) Reset()

func (*LispAddDelAdjacency) Size

func (m *LispAddDelAdjacency) Size() (size int)

func (*LispAddDelAdjacency) Unmarshal

func (m *LispAddDelAdjacency) Unmarshal(b []byte) error

type LispAddDelAdjacencyReply

type LispAddDelAdjacencyReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispAddDelAdjacencyReply defines message 'lisp_add_del_adjacency_reply'.

func (*LispAddDelAdjacencyReply) GetCrcString

func (*LispAddDelAdjacencyReply) GetCrcString() string

func (*LispAddDelAdjacencyReply) GetMessageName

func (*LispAddDelAdjacencyReply) GetMessageName() string

func (*LispAddDelAdjacencyReply) GetMessageType

func (*LispAddDelAdjacencyReply) GetMessageType() api.MessageType

func (*LispAddDelAdjacencyReply) Marshal

func (m *LispAddDelAdjacencyReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelAdjacencyReply) Reset

func (m *LispAddDelAdjacencyReply) Reset()

func (*LispAddDelAdjacencyReply) Size

func (m *LispAddDelAdjacencyReply) Size() (size int)

func (*LispAddDelAdjacencyReply) Unmarshal

func (m *LispAddDelAdjacencyReply) Unmarshal(b []byte) error

type LispAddDelLocalEid

type LispAddDelLocalEid struct {
	IsAdd          bool               `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Eid            lisp_types.Eid     `binapi:"eid,name=eid" json:"eid,omitempty"`
	LocatorSetName string             `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
	Vni            uint32             `binapi:"u32,name=vni" json:"vni,omitempty"`
	Key            lisp_types.HmacKey `binapi:"hmac_key,name=key" json:"key,omitempty"`
}

add or delete lisp eid-table

  • is_add - add address if non-zero, else delete
  • eid - endpoint identifier
  • locator_set_name - name of locator_set to add/del eid-table
  • vni - virtual network instance
  • key - secret key

LispAddDelLocalEid defines message 'lisp_add_del_local_eid'.

func (*LispAddDelLocalEid) GetCrcString

func (*LispAddDelLocalEid) GetCrcString() string

func (*LispAddDelLocalEid) GetMessageName

func (*LispAddDelLocalEid) GetMessageName() string

func (*LispAddDelLocalEid) GetMessageType

func (*LispAddDelLocalEid) GetMessageType() api.MessageType

func (*LispAddDelLocalEid) Marshal

func (m *LispAddDelLocalEid) Marshal(b []byte) ([]byte, error)

func (*LispAddDelLocalEid) Reset

func (m *LispAddDelLocalEid) Reset()

func (*LispAddDelLocalEid) Size

func (m *LispAddDelLocalEid) Size() (size int)

func (*LispAddDelLocalEid) Unmarshal

func (m *LispAddDelLocalEid) Unmarshal(b []byte) error

type LispAddDelLocalEidReply

type LispAddDelLocalEidReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispAddDelLocalEidReply defines message 'lisp_add_del_local_eid_reply'.

func (*LispAddDelLocalEidReply) GetCrcString

func (*LispAddDelLocalEidReply) GetCrcString() string

func (*LispAddDelLocalEidReply) GetMessageName

func (*LispAddDelLocalEidReply) GetMessageName() string

func (*LispAddDelLocalEidReply) GetMessageType

func (*LispAddDelLocalEidReply) GetMessageType() api.MessageType

func (*LispAddDelLocalEidReply) Marshal

func (m *LispAddDelLocalEidReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelLocalEidReply) Reset

func (m *LispAddDelLocalEidReply) Reset()

func (*LispAddDelLocalEidReply) Size

func (m *LispAddDelLocalEidReply) Size() (size int)

func (*LispAddDelLocalEidReply) Unmarshal

func (m *LispAddDelLocalEidReply) Unmarshal(b []byte) error

type LispAddDelLocator

type LispAddDelLocator struct {
	IsAdd          bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	LocatorSetName string                         `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Priority       uint8                          `binapi:"u8,name=priority" json:"priority,omitempty"`
	Weight         uint8                          `binapi:"u8,name=weight" json:"weight,omitempty"`
}

add or delete locator for locator_set

  • is_add - add address if non-zero, else delete
  • locator_set_name - name of locator_set to add/del locator
  • sw_if_index - index of the interface
  • priority - priority of the lisp locator
  • weight - weight of the lisp locator

LispAddDelLocator defines message 'lisp_add_del_locator'.

func (*LispAddDelLocator) GetCrcString

func (*LispAddDelLocator) GetCrcString() string

func (*LispAddDelLocator) GetMessageName

func (*LispAddDelLocator) GetMessageName() string

func (*LispAddDelLocator) GetMessageType

func (*LispAddDelLocator) GetMessageType() api.MessageType

func (*LispAddDelLocator) Marshal

func (m *LispAddDelLocator) Marshal(b []byte) ([]byte, error)

func (*LispAddDelLocator) Reset

func (m *LispAddDelLocator) Reset()

func (*LispAddDelLocator) Size

func (m *LispAddDelLocator) Size() (size int)

func (*LispAddDelLocator) Unmarshal

func (m *LispAddDelLocator) Unmarshal(b []byte) error

type LispAddDelLocatorReply

type LispAddDelLocatorReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispAddDelLocatorReply defines message 'lisp_add_del_locator_reply'.

func (*LispAddDelLocatorReply) GetCrcString

func (*LispAddDelLocatorReply) GetCrcString() string

func (*LispAddDelLocatorReply) GetMessageName

func (*LispAddDelLocatorReply) GetMessageName() string

func (*LispAddDelLocatorReply) GetMessageType

func (*LispAddDelLocatorReply) GetMessageType() api.MessageType

func (*LispAddDelLocatorReply) Marshal

func (m *LispAddDelLocatorReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelLocatorReply) Reset

func (m *LispAddDelLocatorReply) Reset()

func (*LispAddDelLocatorReply) Size

func (m *LispAddDelLocatorReply) Size() (size int)

func (*LispAddDelLocatorReply) Unmarshal

func (m *LispAddDelLocatorReply) Unmarshal(b []byte) error

type LispAddDelLocatorSet

type LispAddDelLocatorSet struct {
	IsAdd          bool                      `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	LocatorSetName string                    `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
	LocatorNum     uint32                    `binapi:"u32,name=locator_num" json:"-"`
	Locators       []lisp_types.LocalLocator `binapi:"local_locator[locator_num],name=locators" json:"locators,omitempty"`
}

add or delete locator_set

  • is_add - add address if non-zero, else delete
  • locator_set_name - locator name
  • locator_num - number of locators
  • locators - LISP locator records

LispAddDelLocatorSet defines message 'lisp_add_del_locator_set'.

func (*LispAddDelLocatorSet) GetCrcString

func (*LispAddDelLocatorSet) GetCrcString() string

func (*LispAddDelLocatorSet) GetMessageName

func (*LispAddDelLocatorSet) GetMessageName() string

func (*LispAddDelLocatorSet) GetMessageType

func (*LispAddDelLocatorSet) GetMessageType() api.MessageType

func (*LispAddDelLocatorSet) Marshal

func (m *LispAddDelLocatorSet) Marshal(b []byte) ([]byte, error)

func (*LispAddDelLocatorSet) Reset

func (m *LispAddDelLocatorSet) Reset()

func (*LispAddDelLocatorSet) Size

func (m *LispAddDelLocatorSet) Size() (size int)

func (*LispAddDelLocatorSet) Unmarshal

func (m *LispAddDelLocatorSet) Unmarshal(b []byte) error

type LispAddDelLocatorSetReply

type LispAddDelLocatorSetReply struct {
	Retval  int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	LsIndex uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
}

Reply for locator_set add/del

  • retval - return code
  • ls_index - locator set index

LispAddDelLocatorSetReply defines message 'lisp_add_del_locator_set_reply'.

func (*LispAddDelLocatorSetReply) GetCrcString

func (*LispAddDelLocatorSetReply) GetCrcString() string

func (*LispAddDelLocatorSetReply) GetMessageName

func (*LispAddDelLocatorSetReply) GetMessageName() string

func (*LispAddDelLocatorSetReply) GetMessageType

func (*LispAddDelLocatorSetReply) GetMessageType() api.MessageType

func (*LispAddDelLocatorSetReply) Marshal

func (m *LispAddDelLocatorSetReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelLocatorSetReply) Reset

func (m *LispAddDelLocatorSetReply) Reset()

func (*LispAddDelLocatorSetReply) Size

func (m *LispAddDelLocatorSetReply) Size() (size int)

func (*LispAddDelLocatorSetReply) Unmarshal

func (m *LispAddDelLocatorSetReply) Unmarshal(b []byte) error

type LispAddDelMapRequestItrRlocs

type LispAddDelMapRequestItrRlocs struct {
	IsAdd          bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	LocatorSetName string `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
}

add or delete map request itr rlocs

  • is_add - add address if non-zero, else delete
  • locator_set_name - locator set name

LispAddDelMapRequestItrRlocs defines message 'lisp_add_del_map_request_itr_rlocs'.

func (*LispAddDelMapRequestItrRlocs) GetCrcString

func (*LispAddDelMapRequestItrRlocs) GetCrcString() string

func (*LispAddDelMapRequestItrRlocs) GetMessageName

func (*LispAddDelMapRequestItrRlocs) GetMessageName() string

func (*LispAddDelMapRequestItrRlocs) GetMessageType

func (*LispAddDelMapRequestItrRlocs) GetMessageType() api.MessageType

func (*LispAddDelMapRequestItrRlocs) Marshal

func (m *LispAddDelMapRequestItrRlocs) Marshal(b []byte) ([]byte, error)

func (*LispAddDelMapRequestItrRlocs) Reset

func (m *LispAddDelMapRequestItrRlocs) Reset()

func (*LispAddDelMapRequestItrRlocs) Size

func (m *LispAddDelMapRequestItrRlocs) Size() (size int)

func (*LispAddDelMapRequestItrRlocs) Unmarshal

func (m *LispAddDelMapRequestItrRlocs) Unmarshal(b []byte) error

type LispAddDelMapRequestItrRlocsReply

type LispAddDelMapRequestItrRlocsReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispAddDelMapRequestItrRlocsReply defines message 'lisp_add_del_map_request_itr_rlocs_reply'.

func (*LispAddDelMapRequestItrRlocsReply) GetCrcString

func (*LispAddDelMapRequestItrRlocsReply) GetCrcString() string

func (*LispAddDelMapRequestItrRlocsReply) GetMessageName

func (*LispAddDelMapRequestItrRlocsReply) GetMessageName() string

func (*LispAddDelMapRequestItrRlocsReply) GetMessageType

func (*LispAddDelMapRequestItrRlocsReply) Marshal

func (m *LispAddDelMapRequestItrRlocsReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelMapRequestItrRlocsReply) Reset

func (*LispAddDelMapRequestItrRlocsReply) Size

func (m *LispAddDelMapRequestItrRlocsReply) Size() (size int)

func (*LispAddDelMapRequestItrRlocsReply) Unmarshal

func (m *LispAddDelMapRequestItrRlocsReply) Unmarshal(b []byte) error

type LispAddDelMapResolver

type LispAddDelMapResolver struct {
	IsAdd     bool             `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
}

add or delete map-resolver

  • is_add - add address if non-zero, else delete
  • ip_address - ip address

LispAddDelMapResolver defines message 'lisp_add_del_map_resolver'.

func (*LispAddDelMapResolver) GetCrcString

func (*LispAddDelMapResolver) GetCrcString() string

func (*LispAddDelMapResolver) GetMessageName

func (*LispAddDelMapResolver) GetMessageName() string

func (*LispAddDelMapResolver) GetMessageType

func (*LispAddDelMapResolver) GetMessageType() api.MessageType

func (*LispAddDelMapResolver) Marshal

func (m *LispAddDelMapResolver) Marshal(b []byte) ([]byte, error)

func (*LispAddDelMapResolver) Reset

func (m *LispAddDelMapResolver) Reset()

func (*LispAddDelMapResolver) Size

func (m *LispAddDelMapResolver) Size() (size int)

func (*LispAddDelMapResolver) Unmarshal

func (m *LispAddDelMapResolver) Unmarshal(b []byte) error

type LispAddDelMapResolverReply

type LispAddDelMapResolverReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispAddDelMapResolverReply defines message 'lisp_add_del_map_resolver_reply'.

func (*LispAddDelMapResolverReply) GetCrcString

func (*LispAddDelMapResolverReply) GetCrcString() string

func (*LispAddDelMapResolverReply) GetMessageName

func (*LispAddDelMapResolverReply) GetMessageName() string

func (*LispAddDelMapResolverReply) GetMessageType

func (*LispAddDelMapResolverReply) GetMessageType() api.MessageType

func (*LispAddDelMapResolverReply) Marshal

func (m *LispAddDelMapResolverReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelMapResolverReply) Reset

func (m *LispAddDelMapResolverReply) Reset()

func (*LispAddDelMapResolverReply) Size

func (m *LispAddDelMapResolverReply) Size() (size int)

func (*LispAddDelMapResolverReply) Unmarshal

func (m *LispAddDelMapResolverReply) Unmarshal(b []byte) error

type LispAddDelMapServer

type LispAddDelMapServer struct {
	IsAdd     bool             `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
}

Add/delete map server

  • is_add - add address if non-zero; delete otherwise
  • ip_address - map server IP address

LispAddDelMapServer defines message 'lisp_add_del_map_server'.

func (*LispAddDelMapServer) GetCrcString

func (*LispAddDelMapServer) GetCrcString() string

func (*LispAddDelMapServer) GetMessageName

func (*LispAddDelMapServer) GetMessageName() string

func (*LispAddDelMapServer) GetMessageType

func (*LispAddDelMapServer) GetMessageType() api.MessageType

func (*LispAddDelMapServer) Marshal

func (m *LispAddDelMapServer) Marshal(b []byte) ([]byte, error)

func (*LispAddDelMapServer) Reset

func (m *LispAddDelMapServer) Reset()

func (*LispAddDelMapServer) Size

func (m *LispAddDelMapServer) Size() (size int)

func (*LispAddDelMapServer) Unmarshal

func (m *LispAddDelMapServer) Unmarshal(b []byte) error

type LispAddDelMapServerReply

type LispAddDelMapServerReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispAddDelMapServerReply defines message 'lisp_add_del_map_server_reply'.

func (*LispAddDelMapServerReply) GetCrcString

func (*LispAddDelMapServerReply) GetCrcString() string

func (*LispAddDelMapServerReply) GetMessageName

func (*LispAddDelMapServerReply) GetMessageName() string

func (*LispAddDelMapServerReply) GetMessageType

func (*LispAddDelMapServerReply) GetMessageType() api.MessageType

func (*LispAddDelMapServerReply) Marshal

func (m *LispAddDelMapServerReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelMapServerReply) Reset

func (m *LispAddDelMapServerReply) Reset()

func (*LispAddDelMapServerReply) Size

func (m *LispAddDelMapServerReply) Size() (size int)

func (*LispAddDelMapServerReply) Unmarshal

func (m *LispAddDelMapServerReply) Unmarshal(b []byte) error

type LispAddDelRemoteMapping

type LispAddDelRemoteMapping struct {
	IsAdd    bool                       `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IsSrcDst bool                       `binapi:"bool,name=is_src_dst" json:"is_src_dst,omitempty"`
	DelAll   bool                       `binapi:"bool,name=del_all" json:"del_all,omitempty"`
	Vni      uint32                     `binapi:"u32,name=vni" json:"vni,omitempty"`
	Action   uint8                      `binapi:"u8,name=action" json:"action,omitempty"`
	Deid     lisp_types.Eid             `binapi:"eid,name=deid" json:"deid,omitempty"`
	Seid     lisp_types.Eid             `binapi:"eid,name=seid" json:"seid,omitempty"`
	RlocNum  uint32                     `binapi:"u32,name=rloc_num" json:"-"`
	Rlocs    []lisp_types.RemoteLocator `binapi:"remote_locator[rloc_num],name=rlocs" json:"rlocs,omitempty"`
}

add or delete remote static mapping

  • is_add - add address if non-zero, else delete
  • is_src_dst - flag indicating src/dst based routing policy
  • del_all - if set, delete all remote mappings
  • vni - virtual network instance
  • action - negative map-reply action
  • deid - dst EID
  • seid - src EID, valid only if is_src_dst is enabled
  • rloc_num - number of remote locators
  • rlocs - remote locator records

LispAddDelRemoteMapping defines message 'lisp_add_del_remote_mapping'.

func (*LispAddDelRemoteMapping) GetCrcString

func (*LispAddDelRemoteMapping) GetCrcString() string

func (*LispAddDelRemoteMapping) GetMessageName

func (*LispAddDelRemoteMapping) GetMessageName() string

func (*LispAddDelRemoteMapping) GetMessageType

func (*LispAddDelRemoteMapping) GetMessageType() api.MessageType

func (*LispAddDelRemoteMapping) Marshal

func (m *LispAddDelRemoteMapping) Marshal(b []byte) ([]byte, error)

func (*LispAddDelRemoteMapping) Reset

func (m *LispAddDelRemoteMapping) Reset()

func (*LispAddDelRemoteMapping) Size

func (m *LispAddDelRemoteMapping) Size() (size int)

func (*LispAddDelRemoteMapping) Unmarshal

func (m *LispAddDelRemoteMapping) Unmarshal(b []byte) error

type LispAddDelRemoteMappingReply

type LispAddDelRemoteMappingReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispAddDelRemoteMappingReply defines message 'lisp_add_del_remote_mapping_reply'.

func (*LispAddDelRemoteMappingReply) GetCrcString

func (*LispAddDelRemoteMappingReply) GetCrcString() string

func (*LispAddDelRemoteMappingReply) GetMessageName

func (*LispAddDelRemoteMappingReply) GetMessageName() string

func (*LispAddDelRemoteMappingReply) GetMessageType

func (*LispAddDelRemoteMappingReply) GetMessageType() api.MessageType

func (*LispAddDelRemoteMappingReply) Marshal

func (m *LispAddDelRemoteMappingReply) Marshal(b []byte) ([]byte, error)

func (*LispAddDelRemoteMappingReply) Reset

func (m *LispAddDelRemoteMappingReply) Reset()

func (*LispAddDelRemoteMappingReply) Size

func (m *LispAddDelRemoteMappingReply) Size() (size int)

func (*LispAddDelRemoteMappingReply) Unmarshal

func (m *LispAddDelRemoteMappingReply) Unmarshal(b []byte) error

type LispAdjacenciesGet

type LispAdjacenciesGet struct {
	Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
}

Request for LISP adjacencies

  • vni - filter adjacencies by VNI

LispAdjacenciesGet defines message 'lisp_adjacencies_get'.

func (*LispAdjacenciesGet) GetCrcString

func (*LispAdjacenciesGet) GetCrcString() string

func (*LispAdjacenciesGet) GetMessageName

func (*LispAdjacenciesGet) GetMessageName() string

func (*LispAdjacenciesGet) GetMessageType

func (*LispAdjacenciesGet) GetMessageType() api.MessageType

func (*LispAdjacenciesGet) Marshal

func (m *LispAdjacenciesGet) Marshal(b []byte) ([]byte, error)

func (*LispAdjacenciesGet) Reset

func (m *LispAdjacenciesGet) Reset()

func (*LispAdjacenciesGet) Size

func (m *LispAdjacenciesGet) Size() (size int)

func (*LispAdjacenciesGet) Unmarshal

func (m *LispAdjacenciesGet) Unmarshal(b []byte) error

type LispAdjacenciesGetReply

type LispAdjacenciesGetReply struct {
	Retval      int32           `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count       uint32          `binapi:"u32,name=count" json:"-"`
	Adjacencies []LispAdjacency `binapi:"lisp_adjacency[count],name=adjacencies" json:"adjacencies,omitempty"`
}

LISP adjacency reply

  • count - number of adjacencies
  • adjacencies - array of adjacencies

LispAdjacenciesGetReply defines message 'lisp_adjacencies_get_reply'.

func (*LispAdjacenciesGetReply) GetCrcString

func (*LispAdjacenciesGetReply) GetCrcString() string

func (*LispAdjacenciesGetReply) GetMessageName

func (*LispAdjacenciesGetReply) GetMessageName() string

func (*LispAdjacenciesGetReply) GetMessageType

func (*LispAdjacenciesGetReply) GetMessageType() api.MessageType

func (*LispAdjacenciesGetReply) Marshal

func (m *LispAdjacenciesGetReply) Marshal(b []byte) ([]byte, error)

func (*LispAdjacenciesGetReply) Reset

func (m *LispAdjacenciesGetReply) Reset()

func (*LispAdjacenciesGetReply) Size

func (m *LispAdjacenciesGetReply) Size() (size int)

func (*LispAdjacenciesGetReply) Unmarshal

func (m *LispAdjacenciesGetReply) Unmarshal(b []byte) error

type LispAdjacency

type LispAdjacency struct {
	Reid lisp_types.Eid `binapi:"eid,name=reid" json:"reid,omitempty"`
	Leid lisp_types.Eid `binapi:"eid,name=leid" json:"leid,omitempty"`
}

LispAdjacency defines type 'lisp_adjacency'.

type LispEidTableAddDelMap

type LispEidTableAddDelMap struct {
	IsAdd   bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Vni     uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
	DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"`
	IsL2    bool   `binapi:"bool,name=is_l2" json:"is_l2,omitempty"`
}

map/unmap vni/bd_index to vrf

  • is_add - add or delete mapping
  • dp_table - virtual network id/bridge domain index
  • vrf - vrf

LispEidTableAddDelMap defines message 'lisp_eid_table_add_del_map'.

func (*LispEidTableAddDelMap) GetCrcString

func (*LispEidTableAddDelMap) GetCrcString() string

func (*LispEidTableAddDelMap) GetMessageName

func (*LispEidTableAddDelMap) GetMessageName() string

func (*LispEidTableAddDelMap) GetMessageType

func (*LispEidTableAddDelMap) GetMessageType() api.MessageType

func (*LispEidTableAddDelMap) Marshal

func (m *LispEidTableAddDelMap) Marshal(b []byte) ([]byte, error)

func (*LispEidTableAddDelMap) Reset

func (m *LispEidTableAddDelMap) Reset()

func (*LispEidTableAddDelMap) Size

func (m *LispEidTableAddDelMap) Size() (size int)

func (*LispEidTableAddDelMap) Unmarshal

func (m *LispEidTableAddDelMap) Unmarshal(b []byte) error

type LispEidTableAddDelMapReply

type LispEidTableAddDelMapReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispEidTableAddDelMapReply defines message 'lisp_eid_table_add_del_map_reply'.

func (*LispEidTableAddDelMapReply) GetCrcString

func (*LispEidTableAddDelMapReply) GetCrcString() string

func (*LispEidTableAddDelMapReply) GetMessageName

func (*LispEidTableAddDelMapReply) GetMessageName() string

func (*LispEidTableAddDelMapReply) GetMessageType

func (*LispEidTableAddDelMapReply) GetMessageType() api.MessageType

func (*LispEidTableAddDelMapReply) Marshal

func (m *LispEidTableAddDelMapReply) Marshal(b []byte) ([]byte, error)

func (*LispEidTableAddDelMapReply) Reset

func (m *LispEidTableAddDelMapReply) Reset()

func (*LispEidTableAddDelMapReply) Size

func (m *LispEidTableAddDelMapReply) Size() (size int)

func (*LispEidTableAddDelMapReply) Unmarshal

func (m *LispEidTableAddDelMapReply) Unmarshal(b []byte) error

type LispEidTableDetails

type LispEidTableDetails struct {
	LocatorSetIndex uint32             `binapi:"u32,name=locator_set_index" json:"locator_set_index,omitempty"`
	Action          uint8              `binapi:"u8,name=action" json:"action,omitempty"`
	IsLocal         bool               `binapi:"bool,name=is_local" json:"is_local,omitempty"`
	IsSrcDst        bool               `binapi:"bool,name=is_src_dst" json:"is_src_dst,omitempty"`
	Vni             uint32             `binapi:"u32,name=vni" json:"vni,omitempty"`
	Deid            lisp_types.Eid     `binapi:"eid,name=deid" json:"deid,omitempty"`
	Seid            lisp_types.Eid     `binapi:"eid,name=seid" json:"seid,omitempty"`
	TTL             uint32             `binapi:"u32,name=ttl" json:"ttl,omitempty"`
	Authoritative   uint8              `binapi:"u8,name=authoritative" json:"authoritative,omitempty"`
	Key             lisp_types.HmacKey `binapi:"hmac_key,name=key" json:"key,omitempty"`
}

Dump lisp eid-table

  • locator_set_index - index of locator_set, if ~0 then the mapping is negative
  • action - negative map request action
  • is_local - local if non-zero, else remote
  • is_src_dst - EID is type of source/destination
  • deid - dst EID
  • seid - src EID
  • vni - virtual network instance
  • ttl - time to live
  • authoritative - authoritative
  • key_id HMAC_NO_KEY 0 HMAC_SHA_1_96 1 HMAC_SHA_256_128 2
  • key - secret key

LispEidTableDetails defines message 'lisp_eid_table_details'.

func (*LispEidTableDetails) GetCrcString

func (*LispEidTableDetails) GetCrcString() string

func (*LispEidTableDetails) GetMessageName

func (*LispEidTableDetails) GetMessageName() string

func (*LispEidTableDetails) GetMessageType

func (*LispEidTableDetails) GetMessageType() api.MessageType

func (*LispEidTableDetails) Marshal

func (m *LispEidTableDetails) Marshal(b []byte) ([]byte, error)

func (*LispEidTableDetails) Reset

func (m *LispEidTableDetails) Reset()

func (*LispEidTableDetails) Size

func (m *LispEidTableDetails) Size() (size int)

func (*LispEidTableDetails) Unmarshal

func (m *LispEidTableDetails) Unmarshal(b []byte) error

type LispEidTableDump

type LispEidTableDump struct {
	EidSet       uint8                `binapi:"u8,name=eid_set" json:"eid_set,omitempty"`
	PrefixLength uint8                `binapi:"u8,name=prefix_length" json:"prefix_length,omitempty"`
	Vni          uint32               `binapi:"u32,name=vni" json:"vni,omitempty"`
	Eid          lisp_types.Eid       `binapi:"eid,name=eid" json:"eid,omitempty"`
	Filter       LispLocatorSetFilter `binapi:"lisp_locator_set_filter,name=filter" json:"filter,omitempty"`
}

Request for eid table summary status

  • eid_set - if non-zero request info about specific mapping
  • vni - virtual network instance; valid only if eid_set != 0
  • prefix_length - prefix length if EID is IP address; valid only if eid_set != 0
  • eid - endpoint identifier
  • filter - filter type; Support values: 0: all eid 1: local eid 2: remote eid

LispEidTableDump defines message 'lisp_eid_table_dump'.

func (*LispEidTableDump) GetCrcString

func (*LispEidTableDump) GetCrcString() string

func (*LispEidTableDump) GetMessageName

func (*LispEidTableDump) GetMessageName() string

func (*LispEidTableDump) GetMessageType

func (*LispEidTableDump) GetMessageType() api.MessageType

func (*LispEidTableDump) Marshal

func (m *LispEidTableDump) Marshal(b []byte) ([]byte, error)

func (*LispEidTableDump) Reset

func (m *LispEidTableDump) Reset()

func (*LispEidTableDump) Size

func (m *LispEidTableDump) Size() (size int)

func (*LispEidTableDump) Unmarshal

func (m *LispEidTableDump) Unmarshal(b []byte) error

type LispEidTableMapDetails

type LispEidTableMapDetails struct {
	Vni     uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
	DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"`
}

Shows relationship between vni and vrf/bd

  • dp_table - VRF index or bridge domain index
  • vni - virtual network instance

LispEidTableMapDetails defines message 'lisp_eid_table_map_details'.

func (*LispEidTableMapDetails) GetCrcString

func (*LispEidTableMapDetails) GetCrcString() string

func (*LispEidTableMapDetails) GetMessageName

func (*LispEidTableMapDetails) GetMessageName() string

func (*LispEidTableMapDetails) GetMessageType

func (*LispEidTableMapDetails) GetMessageType() api.MessageType

func (*LispEidTableMapDetails) Marshal

func (m *LispEidTableMapDetails) Marshal(b []byte) ([]byte, error)

func (*LispEidTableMapDetails) Reset

func (m *LispEidTableMapDetails) Reset()

func (*LispEidTableMapDetails) Size

func (m *LispEidTableMapDetails) Size() (size int)

func (*LispEidTableMapDetails) Unmarshal

func (m *LispEidTableMapDetails) Unmarshal(b []byte) error

type LispEidTableMapDump

type LispEidTableMapDump struct {
	IsL2 bool `binapi:"bool,name=is_l2" json:"is_l2,omitempty"`
}

Request for lisp_eid_table_map_details

  • is_l2 - if set dump vni/bd mappings else vni/vrf

LispEidTableMapDump defines message 'lisp_eid_table_map_dump'.

func (*LispEidTableMapDump) GetCrcString

func (*LispEidTableMapDump) GetCrcString() string

func (*LispEidTableMapDump) GetMessageName

func (*LispEidTableMapDump) GetMessageName() string

func (*LispEidTableMapDump) GetMessageType

func (*LispEidTableMapDump) GetMessageType() api.MessageType

func (*LispEidTableMapDump) Marshal

func (m *LispEidTableMapDump) Marshal(b []byte) ([]byte, error)

func (*LispEidTableMapDump) Reset

func (m *LispEidTableMapDump) Reset()

func (*LispEidTableMapDump) Size

func (m *LispEidTableMapDump) Size() (size int)

func (*LispEidTableMapDump) Unmarshal

func (m *LispEidTableMapDump) Unmarshal(b []byte) error

type LispEidTableVniDetails

type LispEidTableVniDetails struct {
	Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
}

reply to lisp_eid_table_vni_dump

  • vni - virtual network instance

LispEidTableVniDetails defines message 'lisp_eid_table_vni_details'.

func (*LispEidTableVniDetails) GetCrcString

func (*LispEidTableVniDetails) GetCrcString() string

func (*LispEidTableVniDetails) GetMessageName

func (*LispEidTableVniDetails) GetMessageName() string

func (*LispEidTableVniDetails) GetMessageType

func (*LispEidTableVniDetails) GetMessageType() api.MessageType

func (*LispEidTableVniDetails) Marshal

func (m *LispEidTableVniDetails) Marshal(b []byte) ([]byte, error)

func (*LispEidTableVniDetails) Reset

func (m *LispEidTableVniDetails) Reset()

func (*LispEidTableVniDetails) Size

func (m *LispEidTableVniDetails) Size() (size int)

func (*LispEidTableVniDetails) Unmarshal

func (m *LispEidTableVniDetails) Unmarshal(b []byte) error

type LispEidTableVniDump

type LispEidTableVniDump struct{}

Dumps all VNIs used in mappings LispEidTableVniDump defines message 'lisp_eid_table_vni_dump'.

func (*LispEidTableVniDump) GetCrcString

func (*LispEidTableVniDump) GetCrcString() string

func (*LispEidTableVniDump) GetMessageName

func (*LispEidTableVniDump) GetMessageName() string

func (*LispEidTableVniDump) GetMessageType

func (*LispEidTableVniDump) GetMessageType() api.MessageType

func (*LispEidTableVniDump) Marshal

func (m *LispEidTableVniDump) Marshal(b []byte) ([]byte, error)

func (*LispEidTableVniDump) Reset

func (m *LispEidTableVniDump) Reset()

func (*LispEidTableVniDump) Size

func (m *LispEidTableVniDump) Size() (size int)

func (*LispEidTableVniDump) Unmarshal

func (m *LispEidTableVniDump) Unmarshal(b []byte) error

type LispEnableDisable

type LispEnableDisable struct {
	IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
}

enable or disable LISP feature

  • is_en - enable protocol if non-zero, else disable

LispEnableDisable defines message 'lisp_enable_disable'.

func (*LispEnableDisable) GetCrcString

func (*LispEnableDisable) GetCrcString() string

func (*LispEnableDisable) GetMessageName

func (*LispEnableDisable) GetMessageName() string

func (*LispEnableDisable) GetMessageType

func (*LispEnableDisable) GetMessageType() api.MessageType

func (*LispEnableDisable) Marshal

func (m *LispEnableDisable) Marshal(b []byte) ([]byte, error)

func (*LispEnableDisable) Reset

func (m *LispEnableDisable) Reset()

func (*LispEnableDisable) Size

func (m *LispEnableDisable) Size() (size int)

func (*LispEnableDisable) Unmarshal

func (m *LispEnableDisable) Unmarshal(b []byte) error

type LispEnableDisableReply

type LispEnableDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispEnableDisableReply defines message 'lisp_enable_disable_reply'.

func (*LispEnableDisableReply) GetCrcString

func (*LispEnableDisableReply) GetCrcString() string

func (*LispEnableDisableReply) GetMessageName

func (*LispEnableDisableReply) GetMessageName() string

func (*LispEnableDisableReply) GetMessageType

func (*LispEnableDisableReply) GetMessageType() api.MessageType

func (*LispEnableDisableReply) Marshal

func (m *LispEnableDisableReply) Marshal(b []byte) ([]byte, error)

func (*LispEnableDisableReply) Reset

func (m *LispEnableDisableReply) Reset()

func (*LispEnableDisableReply) Size

func (m *LispEnableDisableReply) Size() (size int)

func (*LispEnableDisableReply) Unmarshal

func (m *LispEnableDisableReply) Unmarshal(b []byte) error

type LispGetMapRequestItrRlocs

type LispGetMapRequestItrRlocs struct{}

Get LISP map request itr rlocs status

  • locator_set_name - name of the locator_set

LispGetMapRequestItrRlocs defines message 'lisp_get_map_request_itr_rlocs'.

func (*LispGetMapRequestItrRlocs) GetCrcString

func (*LispGetMapRequestItrRlocs) GetCrcString() string

func (*LispGetMapRequestItrRlocs) GetMessageName

func (*LispGetMapRequestItrRlocs) GetMessageName() string

func (*LispGetMapRequestItrRlocs) GetMessageType

func (*LispGetMapRequestItrRlocs) GetMessageType() api.MessageType

func (*LispGetMapRequestItrRlocs) Marshal

func (m *LispGetMapRequestItrRlocs) Marshal(b []byte) ([]byte, error)

func (*LispGetMapRequestItrRlocs) Reset

func (m *LispGetMapRequestItrRlocs) Reset()

func (*LispGetMapRequestItrRlocs) Size

func (m *LispGetMapRequestItrRlocs) Size() (size int)

func (*LispGetMapRequestItrRlocs) Unmarshal

func (m *LispGetMapRequestItrRlocs) Unmarshal(b []byte) error

type LispGetMapRequestItrRlocsReply

type LispGetMapRequestItrRlocsReply struct {
	Retval         int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	LocatorSetName string `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
}

Request for map request itr rlocs summary status LispGetMapRequestItrRlocsReply defines message 'lisp_get_map_request_itr_rlocs_reply'.

func (*LispGetMapRequestItrRlocsReply) GetCrcString

func (*LispGetMapRequestItrRlocsReply) GetCrcString() string

func (*LispGetMapRequestItrRlocsReply) GetMessageName

func (*LispGetMapRequestItrRlocsReply) GetMessageName() string

func (*LispGetMapRequestItrRlocsReply) GetMessageType

func (*LispGetMapRequestItrRlocsReply) Marshal

func (m *LispGetMapRequestItrRlocsReply) Marshal(b []byte) ([]byte, error)

func (*LispGetMapRequestItrRlocsReply) Reset

func (m *LispGetMapRequestItrRlocsReply) Reset()

func (*LispGetMapRequestItrRlocsReply) Size

func (m *LispGetMapRequestItrRlocsReply) Size() (size int)

func (*LispGetMapRequestItrRlocsReply) Unmarshal

func (m *LispGetMapRequestItrRlocsReply) Unmarshal(b []byte) error

type LispLocatorDetails

type LispLocatorDetails struct {
	Local     uint8                          `binapi:"u8,name=local" json:"local,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	IPAddress ip_types.Address               `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
	Priority  uint8                          `binapi:"u8,name=priority" json:"priority,omitempty"`
	Weight    uint8                          `binapi:"u8,name=weight" json:"weight,omitempty"`
}

LISP locator_set status

  • local - if is set, then locator is local
  • locator_set_name - name of the locator_set
  • sw_if_index - sw_if_index of the locator
  • ip_address - ip address
  • priority - locator priority
  • weight - locator weight

LispLocatorDetails defines message 'lisp_locator_details'.

func (*LispLocatorDetails) GetCrcString

func (*LispLocatorDetails) GetCrcString() string

func (*LispLocatorDetails) GetMessageName

func (*LispLocatorDetails) GetMessageName() string

func (*LispLocatorDetails) GetMessageType

func (*LispLocatorDetails) GetMessageType() api.MessageType

func (*LispLocatorDetails) Marshal

func (m *LispLocatorDetails) Marshal(b []byte) ([]byte, error)

func (*LispLocatorDetails) Reset

func (m *LispLocatorDetails) Reset()

func (*LispLocatorDetails) Size

func (m *LispLocatorDetails) Size() (size int)

func (*LispLocatorDetails) Unmarshal

func (m *LispLocatorDetails) Unmarshal(b []byte) error

type LispLocatorDump

type LispLocatorDump struct {
	LsIndex    uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
	LsName     string `binapi:"string[64],name=ls_name" json:"ls_name,omitempty"`
	IsIndexSet uint8  `binapi:"u8,name=is_index_set" json:"is_index_set,omitempty"`
}

Request for map lisp locator status

  • locator_set_index - index of locator_set
  • ls_name - locator set name
  • is_index_set - flag indicating whether ls_name or ls_index is set

LispLocatorDump defines message 'lisp_locator_dump'.

func (*LispLocatorDump) GetCrcString

func (*LispLocatorDump) GetCrcString() string

func (*LispLocatorDump) GetMessageName

func (*LispLocatorDump) GetMessageName() string

func (*LispLocatorDump) GetMessageType

func (*LispLocatorDump) GetMessageType() api.MessageType

func (*LispLocatorDump) Marshal

func (m *LispLocatorDump) Marshal(b []byte) ([]byte, error)

func (*LispLocatorDump) Reset

func (m *LispLocatorDump) Reset()

func (*LispLocatorDump) Size

func (m *LispLocatorDump) Size() (size int)

func (*LispLocatorDump) Unmarshal

func (m *LispLocatorDump) Unmarshal(b []byte) error

type LispLocatorSetDetails

type LispLocatorSetDetails struct {
	LsIndex uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
	LsName  string `binapi:"string[64],name=ls_name" json:"ls_name,omitempty"`
}

LISP locator_set status

  • ls_index - locator set index
  • ls_name - name of the locator set

LispLocatorSetDetails defines message 'lisp_locator_set_details'.

func (*LispLocatorSetDetails) GetCrcString

func (*LispLocatorSetDetails) GetCrcString() string

func (*LispLocatorSetDetails) GetMessageName

func (*LispLocatorSetDetails) GetMessageName() string

func (*LispLocatorSetDetails) GetMessageType

func (*LispLocatorSetDetails) GetMessageType() api.MessageType

func (*LispLocatorSetDetails) Marshal

func (m *LispLocatorSetDetails) Marshal(b []byte) ([]byte, error)

func (*LispLocatorSetDetails) Reset

func (m *LispLocatorSetDetails) Reset()

func (*LispLocatorSetDetails) Size

func (m *LispLocatorSetDetails) Size() (size int)

func (*LispLocatorSetDetails) Unmarshal

func (m *LispLocatorSetDetails) Unmarshal(b []byte) error

type LispLocatorSetDump

type LispLocatorSetDump struct {
	Filter LispLocatorSetFilter `binapi:"lisp_locator_set_filter,name=filter" json:"filter,omitempty"`
}

Request for locator_set summary status

  • filter - filter type

LispLocatorSetDump defines message 'lisp_locator_set_dump'.

func (*LispLocatorSetDump) GetCrcString

func (*LispLocatorSetDump) GetCrcString() string

func (*LispLocatorSetDump) GetMessageName

func (*LispLocatorSetDump) GetMessageName() string

func (*LispLocatorSetDump) GetMessageType

func (*LispLocatorSetDump) GetMessageType() api.MessageType

func (*LispLocatorSetDump) Marshal

func (m *LispLocatorSetDump) Marshal(b []byte) ([]byte, error)

func (*LispLocatorSetDump) Reset

func (m *LispLocatorSetDump) Reset()

func (*LispLocatorSetDump) Size

func (m *LispLocatorSetDump) Size() (size int)

func (*LispLocatorSetDump) Unmarshal

func (m *LispLocatorSetDump) Unmarshal(b []byte) error

type LispLocatorSetFilter

type LispLocatorSetFilter uint8

LispLocatorSetFilter defines enum 'lisp_locator_set_filter'.

const (
	LISP_LOCATOR_SET_FILTER_API_ALL    LispLocatorSetFilter = 0
	LISP_LOCATOR_SET_FILTER_API_LOCAL  LispLocatorSetFilter = 1
	LISP_LOCATOR_SET_FILTER_API_REMOTE LispLocatorSetFilter = 2
)

func (LispLocatorSetFilter) String

func (x LispLocatorSetFilter) String() string

type LispMapRegisterEnableDisable

type LispMapRegisterEnableDisable struct {
	IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
}

enable/disable LISP map-register

  • is_enable - enable if non-zero; disable otherwise

LispMapRegisterEnableDisable defines message 'lisp_map_register_enable_disable'.

func (*LispMapRegisterEnableDisable) GetCrcString

func (*LispMapRegisterEnableDisable) GetCrcString() string

func (*LispMapRegisterEnableDisable) GetMessageName

func (*LispMapRegisterEnableDisable) GetMessageName() string

func (*LispMapRegisterEnableDisable) GetMessageType

func (*LispMapRegisterEnableDisable) GetMessageType() api.MessageType

func (*LispMapRegisterEnableDisable) Marshal

func (m *LispMapRegisterEnableDisable) Marshal(b []byte) ([]byte, error)

func (*LispMapRegisterEnableDisable) Reset

func (m *LispMapRegisterEnableDisable) Reset()

func (*LispMapRegisterEnableDisable) Size

func (m *LispMapRegisterEnableDisable) Size() (size int)

func (*LispMapRegisterEnableDisable) Unmarshal

func (m *LispMapRegisterEnableDisable) Unmarshal(b []byte) error

type LispMapRegisterEnableDisableReply

type LispMapRegisterEnableDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispMapRegisterEnableDisableReply defines message 'lisp_map_register_enable_disable_reply'.

func (*LispMapRegisterEnableDisableReply) GetCrcString

func (*LispMapRegisterEnableDisableReply) GetCrcString() string

func (*LispMapRegisterEnableDisableReply) GetMessageName

func (*LispMapRegisterEnableDisableReply) GetMessageName() string

func (*LispMapRegisterEnableDisableReply) GetMessageType

func (*LispMapRegisterEnableDisableReply) Marshal

func (m *LispMapRegisterEnableDisableReply) Marshal(b []byte) ([]byte, error)

func (*LispMapRegisterEnableDisableReply) Reset

func (*LispMapRegisterEnableDisableReply) Size

func (m *LispMapRegisterEnableDisableReply) Size() (size int)

func (*LispMapRegisterEnableDisableReply) Unmarshal

func (m *LispMapRegisterEnableDisableReply) Unmarshal(b []byte) error

type LispMapRequestMode

type LispMapRequestMode struct {
	IsSrcDst bool `binapi:"bool,name=is_src_dst" json:"is_src_dst,omitempty"`
}

set LISP map-request mode. Based on configuration VPP will send

  src/dest or just normal destination map requests.
- is_src_dst - if non-zero source/destination else destination only

LispMapRequestMode defines message 'lisp_map_request_mode'.

func (*LispMapRequestMode) GetCrcString

func (*LispMapRequestMode) GetCrcString() string

func (*LispMapRequestMode) GetMessageName

func (*LispMapRequestMode) GetMessageName() string

func (*LispMapRequestMode) GetMessageType

func (*LispMapRequestMode) GetMessageType() api.MessageType

func (*LispMapRequestMode) Marshal

func (m *LispMapRequestMode) Marshal(b []byte) ([]byte, error)

func (*LispMapRequestMode) Reset

func (m *LispMapRequestMode) Reset()

func (*LispMapRequestMode) Size

func (m *LispMapRequestMode) Size() (size int)

func (*LispMapRequestMode) Unmarshal

func (m *LispMapRequestMode) Unmarshal(b []byte) error

type LispMapRequestModeReply

type LispMapRequestModeReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispMapRequestModeReply defines message 'lisp_map_request_mode_reply'.

func (*LispMapRequestModeReply) GetCrcString

func (*LispMapRequestModeReply) GetCrcString() string

func (*LispMapRequestModeReply) GetMessageName

func (*LispMapRequestModeReply) GetMessageName() string

func (*LispMapRequestModeReply) GetMessageType

func (*LispMapRequestModeReply) GetMessageType() api.MessageType

func (*LispMapRequestModeReply) Marshal

func (m *LispMapRequestModeReply) Marshal(b []byte) ([]byte, error)

func (*LispMapRequestModeReply) Reset

func (m *LispMapRequestModeReply) Reset()

func (*LispMapRequestModeReply) Size

func (m *LispMapRequestModeReply) Size() (size int)

func (*LispMapRequestModeReply) Unmarshal

func (m *LispMapRequestModeReply) Unmarshal(b []byte) error

type LispMapResolverDetails

type LispMapResolverDetails struct {
	IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
}

LISP map resolver status

  • ip_address - array of address bytes

LispMapResolverDetails defines message 'lisp_map_resolver_details'.

func (*LispMapResolverDetails) GetCrcString

func (*LispMapResolverDetails) GetCrcString() string

func (*LispMapResolverDetails) GetMessageName

func (*LispMapResolverDetails) GetMessageName() string

func (*LispMapResolverDetails) GetMessageType

func (*LispMapResolverDetails) GetMessageType() api.MessageType

func (*LispMapResolverDetails) Marshal

func (m *LispMapResolverDetails) Marshal(b []byte) ([]byte, error)

func (*LispMapResolverDetails) Reset

func (m *LispMapResolverDetails) Reset()

func (*LispMapResolverDetails) Size

func (m *LispMapResolverDetails) Size() (size int)

func (*LispMapResolverDetails) Unmarshal

func (m *LispMapResolverDetails) Unmarshal(b []byte) error

type LispMapResolverDump

type LispMapResolverDump struct{}

Request for map resolver summary status LispMapResolverDump defines message 'lisp_map_resolver_dump'.

func (*LispMapResolverDump) GetCrcString

func (*LispMapResolverDump) GetCrcString() string

func (*LispMapResolverDump) GetMessageName

func (*LispMapResolverDump) GetMessageName() string

func (*LispMapResolverDump) GetMessageType

func (*LispMapResolverDump) GetMessageType() api.MessageType

func (*LispMapResolverDump) Marshal

func (m *LispMapResolverDump) Marshal(b []byte) ([]byte, error)

func (*LispMapResolverDump) Reset

func (m *LispMapResolverDump) Reset()

func (*LispMapResolverDump) Size

func (m *LispMapResolverDump) Size() (size int)

func (*LispMapResolverDump) Unmarshal

func (m *LispMapResolverDump) Unmarshal(b []byte) error

type LispMapServerDetails

type LispMapServerDetails struct {
	IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
}

LISP map server details

  • ip_address - array of address bytes

LispMapServerDetails defines message 'lisp_map_server_details'.

func (*LispMapServerDetails) GetCrcString

func (*LispMapServerDetails) GetCrcString() string

func (*LispMapServerDetails) GetMessageName

func (*LispMapServerDetails) GetMessageName() string

func (*LispMapServerDetails) GetMessageType

func (*LispMapServerDetails) GetMessageType() api.MessageType

func (*LispMapServerDetails) Marshal

func (m *LispMapServerDetails) Marshal(b []byte) ([]byte, error)

func (*LispMapServerDetails) Reset

func (m *LispMapServerDetails) Reset()

func (*LispMapServerDetails) Size

func (m *LispMapServerDetails) Size() (size int)

func (*LispMapServerDetails) Unmarshal

func (m *LispMapServerDetails) Unmarshal(b []byte) error

type LispMapServerDump

type LispMapServerDump struct{}

Request for map server summary status LispMapServerDump defines message 'lisp_map_server_dump'.

func (*LispMapServerDump) GetCrcString

func (*LispMapServerDump) GetCrcString() string

func (*LispMapServerDump) GetMessageName

func (*LispMapServerDump) GetMessageName() string

func (*LispMapServerDump) GetMessageType

func (*LispMapServerDump) GetMessageType() api.MessageType

func (*LispMapServerDump) Marshal

func (m *LispMapServerDump) Marshal(b []byte) ([]byte, error)

func (*LispMapServerDump) Reset

func (m *LispMapServerDump) Reset()

func (*LispMapServerDump) Size

func (m *LispMapServerDump) Size() (size int)

func (*LispMapServerDump) Unmarshal

func (m *LispMapServerDump) Unmarshal(b []byte) error

type LispPitrSetLocatorSet

type LispPitrSetLocatorSet struct {
	IsAdd  bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	LsName string `binapi:"string[64],name=ls_name" json:"ls_name,omitempty"`
}

configure or disable LISP PITR node

  • ls_name - locator set name
  • is_add - add locator set if non-zero, else disable pitr

LispPitrSetLocatorSet defines message 'lisp_pitr_set_locator_set'.

func (*LispPitrSetLocatorSet) GetCrcString

func (*LispPitrSetLocatorSet) GetCrcString() string

func (*LispPitrSetLocatorSet) GetMessageName

func (*LispPitrSetLocatorSet) GetMessageName() string

func (*LispPitrSetLocatorSet) GetMessageType

func (*LispPitrSetLocatorSet) GetMessageType() api.MessageType

func (*LispPitrSetLocatorSet) Marshal

func (m *LispPitrSetLocatorSet) Marshal(b []byte) ([]byte, error)

func (*LispPitrSetLocatorSet) Reset

func (m *LispPitrSetLocatorSet) Reset()

func (*LispPitrSetLocatorSet) Size

func (m *LispPitrSetLocatorSet) Size() (size int)

func (*LispPitrSetLocatorSet) Unmarshal

func (m *LispPitrSetLocatorSet) Unmarshal(b []byte) error

type LispPitrSetLocatorSetReply

type LispPitrSetLocatorSetReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispPitrSetLocatorSetReply defines message 'lisp_pitr_set_locator_set_reply'.

func (*LispPitrSetLocatorSetReply) GetCrcString

func (*LispPitrSetLocatorSetReply) GetCrcString() string

func (*LispPitrSetLocatorSetReply) GetMessageName

func (*LispPitrSetLocatorSetReply) GetMessageName() string

func (*LispPitrSetLocatorSetReply) GetMessageType

func (*LispPitrSetLocatorSetReply) GetMessageType() api.MessageType

func (*LispPitrSetLocatorSetReply) Marshal

func (m *LispPitrSetLocatorSetReply) Marshal(b []byte) ([]byte, error)

func (*LispPitrSetLocatorSetReply) Reset

func (m *LispPitrSetLocatorSetReply) Reset()

func (*LispPitrSetLocatorSetReply) Size

func (m *LispPitrSetLocatorSetReply) Size() (size int)

func (*LispPitrSetLocatorSetReply) Unmarshal

func (m *LispPitrSetLocatorSetReply) Unmarshal(b []byte) error

type LispRlocProbeEnableDisable

type LispRlocProbeEnableDisable struct {
	IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
}

enable/disable LISP RLOC probing

  • is_enable - enable if non-zero; disable otherwise

LispRlocProbeEnableDisable defines message 'lisp_rloc_probe_enable_disable'.

func (*LispRlocProbeEnableDisable) GetCrcString

func (*LispRlocProbeEnableDisable) GetCrcString() string

func (*LispRlocProbeEnableDisable) GetMessageName

func (*LispRlocProbeEnableDisable) GetMessageName() string

func (*LispRlocProbeEnableDisable) GetMessageType

func (*LispRlocProbeEnableDisable) GetMessageType() api.MessageType

func (*LispRlocProbeEnableDisable) Marshal

func (m *LispRlocProbeEnableDisable) Marshal(b []byte) ([]byte, error)

func (*LispRlocProbeEnableDisable) Reset

func (m *LispRlocProbeEnableDisable) Reset()

func (*LispRlocProbeEnableDisable) Size

func (m *LispRlocProbeEnableDisable) Size() (size int)

func (*LispRlocProbeEnableDisable) Unmarshal

func (m *LispRlocProbeEnableDisable) Unmarshal(b []byte) error

type LispRlocProbeEnableDisableReply

type LispRlocProbeEnableDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispRlocProbeEnableDisableReply defines message 'lisp_rloc_probe_enable_disable_reply'.

func (*LispRlocProbeEnableDisableReply) GetCrcString

func (*LispRlocProbeEnableDisableReply) GetCrcString() string

func (*LispRlocProbeEnableDisableReply) GetMessageName

func (*LispRlocProbeEnableDisableReply) GetMessageName() string

func (*LispRlocProbeEnableDisableReply) GetMessageType

func (*LispRlocProbeEnableDisableReply) Marshal

func (m *LispRlocProbeEnableDisableReply) Marshal(b []byte) ([]byte, error)

func (*LispRlocProbeEnableDisableReply) Reset

func (*LispRlocProbeEnableDisableReply) Size

func (m *LispRlocProbeEnableDisableReply) Size() (size int)

func (*LispRlocProbeEnableDisableReply) Unmarshal

func (m *LispRlocProbeEnableDisableReply) Unmarshal(b []byte) error

type LispUsePetr

type LispUsePetr struct {
	IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
	IsAdd     bool             `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
}

configure or disable use of PETR

  • ip_address - PETR IP address
  • is_add - add locator set if non-zero, else disable pitr

LispUsePetr defines message 'lisp_use_petr'.

func (*LispUsePetr) GetCrcString

func (*LispUsePetr) GetCrcString() string

func (*LispUsePetr) GetMessageName

func (*LispUsePetr) GetMessageName() string

func (*LispUsePetr) GetMessageType

func (*LispUsePetr) GetMessageType() api.MessageType

func (*LispUsePetr) Marshal

func (m *LispUsePetr) Marshal(b []byte) ([]byte, error)

func (*LispUsePetr) Reset

func (m *LispUsePetr) Reset()

func (*LispUsePetr) Size

func (m *LispUsePetr) Size() (size int)

func (*LispUsePetr) Unmarshal

func (m *LispUsePetr) Unmarshal(b []byte) error

type LispUsePetrReply

type LispUsePetrReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

LispUsePetrReply defines message 'lisp_use_petr_reply'.

func (*LispUsePetrReply) GetCrcString

func (*LispUsePetrReply) GetCrcString() string

func (*LispUsePetrReply) GetMessageName

func (*LispUsePetrReply) GetMessageName() string

func (*LispUsePetrReply) GetMessageType

func (*LispUsePetrReply) GetMessageType() api.MessageType

func (*LispUsePetrReply) Marshal

func (m *LispUsePetrReply) Marshal(b []byte) ([]byte, error)

func (*LispUsePetrReply) Reset

func (m *LispUsePetrReply) Reset()

func (*LispUsePetrReply) Size

func (m *LispUsePetrReply) Size() (size int)

func (*LispUsePetrReply) Unmarshal

func (m *LispUsePetrReply) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	LispAddDelAdjacency(ctx context.Context, in *LispAddDelAdjacency) (*LispAddDelAdjacencyReply, error)
	LispAddDelLocalEid(ctx context.Context, in *LispAddDelLocalEid) (*LispAddDelLocalEidReply, error)
	LispAddDelLocator(ctx context.Context, in *LispAddDelLocator) (*LispAddDelLocatorReply, error)
	LispAddDelLocatorSet(ctx context.Context, in *LispAddDelLocatorSet) (*LispAddDelLocatorSetReply, error)
	LispAddDelMapRequestItrRlocs(ctx context.Context, in *LispAddDelMapRequestItrRlocs) (*LispAddDelMapRequestItrRlocsReply, error)
	LispAddDelMapResolver(ctx context.Context, in *LispAddDelMapResolver) (*LispAddDelMapResolverReply, error)
	LispAddDelMapServer(ctx context.Context, in *LispAddDelMapServer) (*LispAddDelMapServerReply, error)
	LispAddDelRemoteMapping(ctx context.Context, in *LispAddDelRemoteMapping) (*LispAddDelRemoteMappingReply, error)
	LispAdjacenciesGet(ctx context.Context, in *LispAdjacenciesGet) (*LispAdjacenciesGetReply, error)
	LispEidTableAddDelMap(ctx context.Context, in *LispEidTableAddDelMap) (*LispEidTableAddDelMapReply, error)
	LispEidTableDump(ctx context.Context, in *LispEidTableDump) (RPCService_LispEidTableDumpClient, error)
	LispEidTableMapDump(ctx context.Context, in *LispEidTableMapDump) (RPCService_LispEidTableMapDumpClient, error)
	LispEidTableVniDump(ctx context.Context, in *LispEidTableVniDump) (RPCService_LispEidTableVniDumpClient, error)
	LispEnableDisable(ctx context.Context, in *LispEnableDisable) (*LispEnableDisableReply, error)
	LispGetMapRequestItrRlocs(ctx context.Context, in *LispGetMapRequestItrRlocs) (*LispGetMapRequestItrRlocsReply, error)
	LispLocatorDump(ctx context.Context, in *LispLocatorDump) (RPCService_LispLocatorDumpClient, error)
	LispLocatorSetDump(ctx context.Context, in *LispLocatorSetDump) (RPCService_LispLocatorSetDumpClient, error)
	LispMapRegisterEnableDisable(ctx context.Context, in *LispMapRegisterEnableDisable) (*LispMapRegisterEnableDisableReply, error)
	LispMapRequestMode(ctx context.Context, in *LispMapRequestMode) (*LispMapRequestModeReply, error)
	LispMapResolverDump(ctx context.Context, in *LispMapResolverDump) (RPCService_LispMapResolverDumpClient, error)
	LispMapServerDump(ctx context.Context, in *LispMapServerDump) (RPCService_LispMapServerDumpClient, error)
	LispPitrSetLocatorSet(ctx context.Context, in *LispPitrSetLocatorSet) (*LispPitrSetLocatorSetReply, error)
	LispRlocProbeEnableDisable(ctx context.Context, in *LispRlocProbeEnableDisable) (*LispRlocProbeEnableDisableReply, error)
	LispUsePetr(ctx context.Context, in *LispUsePetr) (*LispUsePetrReply, error)
	ShowLispMapRegisterState(ctx context.Context, in *ShowLispMapRegisterState) (*ShowLispMapRegisterStateReply, error)
	ShowLispMapRequestMode(ctx context.Context, in *ShowLispMapRequestMode) (*ShowLispMapRequestModeReply, error)
	ShowLispPitr(ctx context.Context, in *ShowLispPitr) (*ShowLispPitrReply, error)
	ShowLispRlocProbeState(ctx context.Context, in *ShowLispRlocProbeState) (*ShowLispRlocProbeStateReply, error)
	ShowLispStatus(ctx context.Context, in *ShowLispStatus) (*ShowLispStatusReply, error)
	ShowLispUsePetr(ctx context.Context, in *ShowLispUsePetr) (*ShowLispUsePetrReply, error)
}

RPCService defines RPC service lisp.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_LispEidTableDumpClient

type RPCService_LispEidTableDumpClient interface {
	Recv() (*LispEidTableDetails, error)
	api.Stream
}

type RPCService_LispEidTableMapDumpClient

type RPCService_LispEidTableMapDumpClient interface {
	Recv() (*LispEidTableMapDetails, error)
	api.Stream
}

type RPCService_LispEidTableVniDumpClient

type RPCService_LispEidTableVniDumpClient interface {
	Recv() (*LispEidTableVniDetails, error)
	api.Stream
}

type RPCService_LispLocatorDumpClient

type RPCService_LispLocatorDumpClient interface {
	Recv() (*LispLocatorDetails, error)
	api.Stream
}

type RPCService_LispLocatorSetDumpClient

type RPCService_LispLocatorSetDumpClient interface {
	Recv() (*LispLocatorSetDetails, error)
	api.Stream
}

type RPCService_LispMapResolverDumpClient

type RPCService_LispMapResolverDumpClient interface {
	Recv() (*LispMapResolverDetails, error)
	api.Stream
}

type RPCService_LispMapServerDumpClient

type RPCService_LispMapServerDumpClient interface {
	Recv() (*LispMapServerDetails, error)
	api.Stream
}

type ShowLispMapRegisterState

type ShowLispMapRegisterState struct{}

Get state of LISP map-register ShowLispMapRegisterState defines message 'show_lisp_map_register_state'.

func (*ShowLispMapRegisterState) GetCrcString

func (*ShowLispMapRegisterState) GetCrcString() string

func (*ShowLispMapRegisterState) GetMessageName

func (*ShowLispMapRegisterState) GetMessageName() string

func (*ShowLispMapRegisterState) GetMessageType

func (*ShowLispMapRegisterState) GetMessageType() api.MessageType

func (*ShowLispMapRegisterState) Marshal

func (m *ShowLispMapRegisterState) Marshal(b []byte) ([]byte, error)

func (*ShowLispMapRegisterState) Reset

func (m *ShowLispMapRegisterState) Reset()

func (*ShowLispMapRegisterState) Size

func (m *ShowLispMapRegisterState) Size() (size int)

func (*ShowLispMapRegisterState) Unmarshal

func (m *ShowLispMapRegisterState) Unmarshal(b []byte) error

type ShowLispMapRegisterStateReply

type ShowLispMapRegisterStateReply struct {
	Retval    int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnabled bool  `binapi:"bool,name=is_enabled" json:"is_enabled,omitempty"`
}

Reply for show_lisp_map_register_state

  • retval - return code

ShowLispMapRegisterStateReply defines message 'show_lisp_map_register_state_reply'.

func (*ShowLispMapRegisterStateReply) GetCrcString

func (*ShowLispMapRegisterStateReply) GetCrcString() string

func (*ShowLispMapRegisterStateReply) GetMessageName

func (*ShowLispMapRegisterStateReply) GetMessageName() string

func (*ShowLispMapRegisterStateReply) GetMessageType

func (*ShowLispMapRegisterStateReply) GetMessageType() api.MessageType

func (*ShowLispMapRegisterStateReply) Marshal

func (m *ShowLispMapRegisterStateReply) Marshal(b []byte) ([]byte, error)

func (*ShowLispMapRegisterStateReply) Reset

func (m *ShowLispMapRegisterStateReply) Reset()

func (*ShowLispMapRegisterStateReply) Size

func (m *ShowLispMapRegisterStateReply) Size() (size int)

func (*ShowLispMapRegisterStateReply) Unmarshal

func (m *ShowLispMapRegisterStateReply) Unmarshal(b []byte) error

type ShowLispMapRequestMode

type ShowLispMapRequestMode struct{}

Request for LISP map-request mode ShowLispMapRequestMode defines message 'show_lisp_map_request_mode'.

func (*ShowLispMapRequestMode) GetCrcString

func (*ShowLispMapRequestMode) GetCrcString() string

func (*ShowLispMapRequestMode) GetMessageName

func (*ShowLispMapRequestMode) GetMessageName() string

func (*ShowLispMapRequestMode) GetMessageType

func (*ShowLispMapRequestMode) GetMessageType() api.MessageType

func (*ShowLispMapRequestMode) Marshal

func (m *ShowLispMapRequestMode) Marshal(b []byte) ([]byte, error)

func (*ShowLispMapRequestMode) Reset

func (m *ShowLispMapRequestMode) Reset()

func (*ShowLispMapRequestMode) Size

func (m *ShowLispMapRequestMode) Size() (size int)

func (*ShowLispMapRequestMode) Unmarshal

func (m *ShowLispMapRequestMode) Unmarshal(b []byte) error

type ShowLispMapRequestModeReply

type ShowLispMapRequestModeReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsSrcDst bool  `binapi:"bool,name=is_src_dst" json:"is_src_dst,omitempty"`
}

Reply for show_lisp_map_request_mode

  • retval - return code
  • is_src_dst - if non-zero source/destination else destination only

ShowLispMapRequestModeReply defines message 'show_lisp_map_request_mode_reply'.

func (*ShowLispMapRequestModeReply) GetCrcString

func (*ShowLispMapRequestModeReply) GetCrcString() string

func (*ShowLispMapRequestModeReply) GetMessageName

func (*ShowLispMapRequestModeReply) GetMessageName() string

func (*ShowLispMapRequestModeReply) GetMessageType

func (*ShowLispMapRequestModeReply) GetMessageType() api.MessageType

func (*ShowLispMapRequestModeReply) Marshal

func (m *ShowLispMapRequestModeReply) Marshal(b []byte) ([]byte, error)

func (*ShowLispMapRequestModeReply) Reset

func (m *ShowLispMapRequestModeReply) Reset()

func (*ShowLispMapRequestModeReply) Size

func (m *ShowLispMapRequestModeReply) Size() (size int)

func (*ShowLispMapRequestModeReply) Unmarshal

func (m *ShowLispMapRequestModeReply) Unmarshal(b []byte) error

type ShowLispPitr

type ShowLispPitr struct{}

Request for lisp pitr status ShowLispPitr defines message 'show_lisp_pitr'.

func (*ShowLispPitr) GetCrcString

func (*ShowLispPitr) GetCrcString() string

func (*ShowLispPitr) GetMessageName

func (*ShowLispPitr) GetMessageName() string

func (*ShowLispPitr) GetMessageType

func (*ShowLispPitr) GetMessageType() api.MessageType

func (*ShowLispPitr) Marshal

func (m *ShowLispPitr) Marshal(b []byte) ([]byte, error)

func (*ShowLispPitr) Reset

func (m *ShowLispPitr) Reset()

func (*ShowLispPitr) Size

func (m *ShowLispPitr) Size() (size int)

func (*ShowLispPitr) Unmarshal

func (m *ShowLispPitr) Unmarshal(b []byte) error

type ShowLispPitrReply

type ShowLispPitrReply struct {
	Retval         int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnabled      bool   `binapi:"bool,name=is_enabled" json:"is_enabled,omitempty"`
	LocatorSetName string `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
}

Status of lisp pitr, enable or disable

  • status - lisp pitr enable if non-zero, else disable
  • locator_set_name - name of the locator_set

ShowLispPitrReply defines message 'show_lisp_pitr_reply'.

func (*ShowLispPitrReply) GetCrcString

func (*ShowLispPitrReply) GetCrcString() string

func (*ShowLispPitrReply) GetMessageName

func (*ShowLispPitrReply) GetMessageName() string

func (*ShowLispPitrReply) GetMessageType

func (*ShowLispPitrReply) GetMessageType() api.MessageType

func (*ShowLispPitrReply) Marshal

func (m *ShowLispPitrReply) Marshal(b []byte) ([]byte, error)

func (*ShowLispPitrReply) Reset

func (m *ShowLispPitrReply) Reset()

func (*ShowLispPitrReply) Size

func (m *ShowLispPitrReply) Size() (size int)

func (*ShowLispPitrReply) Unmarshal

func (m *ShowLispPitrReply) Unmarshal(b []byte) error

type ShowLispRlocProbeState

type ShowLispRlocProbeState struct{}

Get state of LISP RLOC probing ShowLispRlocProbeState defines message 'show_lisp_rloc_probe_state'.

func (*ShowLispRlocProbeState) GetCrcString

func (*ShowLispRlocProbeState) GetCrcString() string

func (*ShowLispRlocProbeState) GetMessageName

func (*ShowLispRlocProbeState) GetMessageName() string

func (*ShowLispRlocProbeState) GetMessageType

func (*ShowLispRlocProbeState) GetMessageType() api.MessageType

func (*ShowLispRlocProbeState) Marshal

func (m *ShowLispRlocProbeState) Marshal(b []byte) ([]byte, error)

func (*ShowLispRlocProbeState) Reset

func (m *ShowLispRlocProbeState) Reset()

func (*ShowLispRlocProbeState) Size

func (m *ShowLispRlocProbeState) Size() (size int)

func (*ShowLispRlocProbeState) Unmarshal

func (m *ShowLispRlocProbeState) Unmarshal(b []byte) error

type ShowLispRlocProbeStateReply

type ShowLispRlocProbeStateReply struct {
	Retval    int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnabled bool  `binapi:"bool,name=is_enabled" json:"is_enabled,omitempty"`
}

Reply for show_lisp_rloc_probe_state

  • retval - return code
  • is_enabled - state of RLOC probing

ShowLispRlocProbeStateReply defines message 'show_lisp_rloc_probe_state_reply'.

func (*ShowLispRlocProbeStateReply) GetCrcString

func (*ShowLispRlocProbeStateReply) GetCrcString() string

func (*ShowLispRlocProbeStateReply) GetMessageName

func (*ShowLispRlocProbeStateReply) GetMessageName() string

func (*ShowLispRlocProbeStateReply) GetMessageType

func (*ShowLispRlocProbeStateReply) GetMessageType() api.MessageType

func (*ShowLispRlocProbeStateReply) Marshal

func (m *ShowLispRlocProbeStateReply) Marshal(b []byte) ([]byte, error)

func (*ShowLispRlocProbeStateReply) Reset

func (m *ShowLispRlocProbeStateReply) Reset()

func (*ShowLispRlocProbeStateReply) Size

func (m *ShowLispRlocProbeStateReply) Size() (size int)

func (*ShowLispRlocProbeStateReply) Unmarshal

func (m *ShowLispRlocProbeStateReply) Unmarshal(b []byte) error

type ShowLispStatus

type ShowLispStatus struct{}

Request for lisp-gpe protocol status ShowLispStatus defines message 'show_lisp_status'.

func (*ShowLispStatus) GetCrcString

func (*ShowLispStatus) GetCrcString() string

func (*ShowLispStatus) GetMessageName

func (*ShowLispStatus) GetMessageName() string

func (*ShowLispStatus) GetMessageType

func (*ShowLispStatus) GetMessageType() api.MessageType

func (*ShowLispStatus) Marshal

func (m *ShowLispStatus) Marshal(b []byte) ([]byte, error)

func (*ShowLispStatus) Reset

func (m *ShowLispStatus) Reset()

func (*ShowLispStatus) Size

func (m *ShowLispStatus) Size() (size int)

func (*ShowLispStatus) Unmarshal

func (m *ShowLispStatus) Unmarshal(b []byte) error

type ShowLispStatusReply

type ShowLispStatusReply struct {
	Retval        int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsLispEnabled bool  `binapi:"bool,name=is_lisp_enabled" json:"is_lisp_enabled,omitempty"`
	IsGpeEnabled  bool  `binapi:"bool,name=is_gpe_enabled" json:"is_gpe_enabled,omitempty"`
}

Status of lisp, enable or disable

  • feature_status - lisp enable if non-zero, else disable
  • gpe_status - lisp enable if non-zero, else disable

ShowLispStatusReply defines message 'show_lisp_status_reply'.

func (*ShowLispStatusReply) GetCrcString

func (*ShowLispStatusReply) GetCrcString() string

func (*ShowLispStatusReply) GetMessageName

func (*ShowLispStatusReply) GetMessageName() string

func (*ShowLispStatusReply) GetMessageType

func (*ShowLispStatusReply) GetMessageType() api.MessageType

func (*ShowLispStatusReply) Marshal

func (m *ShowLispStatusReply) Marshal(b []byte) ([]byte, error)

func (*ShowLispStatusReply) Reset

func (m *ShowLispStatusReply) Reset()

func (*ShowLispStatusReply) Size

func (m *ShowLispStatusReply) Size() (size int)

func (*ShowLispStatusReply) Unmarshal

func (m *ShowLispStatusReply) Unmarshal(b []byte) error

type ShowLispUsePetr

type ShowLispUsePetr struct{}

Request for LISP PETR status ShowLispUsePetr defines message 'show_lisp_use_petr'.

func (*ShowLispUsePetr) GetCrcString

func (*ShowLispUsePetr) GetCrcString() string

func (*ShowLispUsePetr) GetMessageName

func (*ShowLispUsePetr) GetMessageName() string

func (*ShowLispUsePetr) GetMessageType

func (*ShowLispUsePetr) GetMessageType() api.MessageType

func (*ShowLispUsePetr) Marshal

func (m *ShowLispUsePetr) Marshal(b []byte) ([]byte, error)

func (*ShowLispUsePetr) Reset

func (m *ShowLispUsePetr) Reset()

func (*ShowLispUsePetr) Size

func (m *ShowLispUsePetr) Size() (size int)

func (*ShowLispUsePetr) Unmarshal

func (m *ShowLispUsePetr) Unmarshal(b []byte) error

type ShowLispUsePetrReply

type ShowLispUsePetrReply struct {
	Retval       int32            `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsPetrEnable bool             `binapi:"bool,name=is_petr_enable" json:"is_petr_enable,omitempty"`
	IPAddress    ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
}

LISP PETR status, enable or disable

  • status - LISP PETR enable if non-zero, else disable
  • address - PETR IP address

ShowLispUsePetrReply defines message 'show_lisp_use_petr_reply'.

func (*ShowLispUsePetrReply) GetCrcString

func (*ShowLispUsePetrReply) GetCrcString() string

func (*ShowLispUsePetrReply) GetMessageName

func (*ShowLispUsePetrReply) GetMessageName() string

func (*ShowLispUsePetrReply) GetMessageType

func (*ShowLispUsePetrReply) GetMessageType() api.MessageType

func (*ShowLispUsePetrReply) Marshal

func (m *ShowLispUsePetrReply) Marshal(b []byte) ([]byte, error)

func (*ShowLispUsePetrReply) Reset

func (m *ShowLispUsePetrReply) Reset()

func (*ShowLispUsePetrReply) Size

func (m *ShowLispUsePetrReply) Size() (size int)

func (*ShowLispUsePetrReply) Unmarshal

func (m *ShowLispUsePetrReply) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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