one

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Contents: - 2 enums - 3 structs - 108 messages

Index

Constants

View Source
const (
	APIFile    = "one"
	APIVersion = "2.0.0"
	VersionCrc = 0x9f64600e
)

Variables

View Source
var (
	OneFilter_name = map[uint32]string{
		0: "ONE_FILTER_API_ALL",
		1: "ONE_FILTER_API_LOCAL",
		2: "ONE_FILTER_API_REMOTE",
	}
	OneFilter_value = map[string]uint32{
		"ONE_FILTER_API_ALL":    0,
		"ONE_FILTER_API_LOCAL":  1,
		"ONE_FILTER_API_REMOTE": 2,
	}
)
View Source
var (
	OneMapMode_name = map[uint32]string{
		0: "ONE_MAP_MODE_API_DST_ONLY",
		1: "ONE_MAP_MODE_API_SRC_DST",
	}
	OneMapMode_value = map[string]uint32{
		"ONE_MAP_MODE_API_DST_ONLY": 0,
		"ONE_MAP_MODE_API_SRC_DST":  1,
	}
)

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type OneAddDelAdjacency

type OneAddDelAdjacency struct {
	IsAdd uint8          `binapi:"u8,name=is_add" 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 ONE adjacency adjacency

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

OneAddDelAdjacency defines message 'one_add_del_adjacency'.

func (*OneAddDelAdjacency) GetCrcString

func (*OneAddDelAdjacency) GetCrcString() string

func (*OneAddDelAdjacency) GetMessageName

func (*OneAddDelAdjacency) GetMessageName() string

func (*OneAddDelAdjacency) GetMessageType

func (*OneAddDelAdjacency) GetMessageType() api.MessageType

func (*OneAddDelAdjacency) Marshal

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

func (*OneAddDelAdjacency) Reset

func (m *OneAddDelAdjacency) Reset()

func (*OneAddDelAdjacency) Size

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

func (*OneAddDelAdjacency) Unmarshal

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

type OneAddDelAdjacencyReply

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

OneAddDelAdjacencyReply defines message 'one_add_del_adjacency_reply'.

func (*OneAddDelAdjacencyReply) GetCrcString

func (*OneAddDelAdjacencyReply) GetCrcString() string

func (*OneAddDelAdjacencyReply) GetMessageName

func (*OneAddDelAdjacencyReply) GetMessageName() string

func (*OneAddDelAdjacencyReply) GetMessageType

func (*OneAddDelAdjacencyReply) GetMessageType() api.MessageType

func (*OneAddDelAdjacencyReply) Marshal

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

func (*OneAddDelAdjacencyReply) Reset

func (m *OneAddDelAdjacencyReply) Reset()

func (*OneAddDelAdjacencyReply) Size

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

func (*OneAddDelAdjacencyReply) Unmarshal

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

type OneAddDelL2ArpEntry

type OneAddDelL2ArpEntry struct {
	IsAdd bool          `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Bd    uint32        `binapi:"u32,name=bd" json:"bd,omitempty"`
	Entry OneL2ArpEntry `binapi:"one_l2_arp_entry,name=entry" json:"entry,omitempty"`
}

Add/delete L2 ARP entries

  • is_add - add if non-zero; delete otherwise
  • bd - bridge domain
  • entry - ARP entry

OneAddDelL2ArpEntry defines message 'one_add_del_l2_arp_entry'.

func (*OneAddDelL2ArpEntry) GetCrcString

func (*OneAddDelL2ArpEntry) GetCrcString() string

func (*OneAddDelL2ArpEntry) GetMessageName

func (*OneAddDelL2ArpEntry) GetMessageName() string

func (*OneAddDelL2ArpEntry) GetMessageType

func (*OneAddDelL2ArpEntry) GetMessageType() api.MessageType

func (*OneAddDelL2ArpEntry) Marshal

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

func (*OneAddDelL2ArpEntry) Reset

func (m *OneAddDelL2ArpEntry) Reset()

func (*OneAddDelL2ArpEntry) Size

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

func (*OneAddDelL2ArpEntry) Unmarshal

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

type OneAddDelL2ArpEntryReply

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

OneAddDelL2ArpEntryReply defines message 'one_add_del_l2_arp_entry_reply'.

func (*OneAddDelL2ArpEntryReply) GetCrcString

func (*OneAddDelL2ArpEntryReply) GetCrcString() string

func (*OneAddDelL2ArpEntryReply) GetMessageName

func (*OneAddDelL2ArpEntryReply) GetMessageName() string

func (*OneAddDelL2ArpEntryReply) GetMessageType

func (*OneAddDelL2ArpEntryReply) GetMessageType() api.MessageType

func (*OneAddDelL2ArpEntryReply) Marshal

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

func (*OneAddDelL2ArpEntryReply) Reset

func (m *OneAddDelL2ArpEntryReply) Reset()

func (*OneAddDelL2ArpEntryReply) Size

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

func (*OneAddDelL2ArpEntryReply) Unmarshal

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

type OneAddDelLocalEid

type OneAddDelLocalEid 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 ONE 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

OneAddDelLocalEid defines message 'one_add_del_local_eid'.

func (*OneAddDelLocalEid) GetCrcString

func (*OneAddDelLocalEid) GetCrcString() string

func (*OneAddDelLocalEid) GetMessageName

func (*OneAddDelLocalEid) GetMessageName() string

func (*OneAddDelLocalEid) GetMessageType

func (*OneAddDelLocalEid) GetMessageType() api.MessageType

func (*OneAddDelLocalEid) Marshal

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

func (*OneAddDelLocalEid) Reset

func (m *OneAddDelLocalEid) Reset()

func (*OneAddDelLocalEid) Size

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

func (*OneAddDelLocalEid) Unmarshal

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

type OneAddDelLocalEidReply

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

OneAddDelLocalEidReply defines message 'one_add_del_local_eid_reply'.

func (*OneAddDelLocalEidReply) GetCrcString

func (*OneAddDelLocalEidReply) GetCrcString() string

func (*OneAddDelLocalEidReply) GetMessageName

func (*OneAddDelLocalEidReply) GetMessageName() string

func (*OneAddDelLocalEidReply) GetMessageType

func (*OneAddDelLocalEidReply) GetMessageType() api.MessageType

func (*OneAddDelLocalEidReply) Marshal

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

func (*OneAddDelLocalEidReply) Reset

func (m *OneAddDelLocalEidReply) Reset()

func (*OneAddDelLocalEidReply) Size

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

func (*OneAddDelLocalEidReply) Unmarshal

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

type OneAddDelLocator

type OneAddDelLocator 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 locator
  • weight - weight of the locator

OneAddDelLocator defines message 'one_add_del_locator'.

func (*OneAddDelLocator) GetCrcString

func (*OneAddDelLocator) GetCrcString() string

func (*OneAddDelLocator) GetMessageName

func (*OneAddDelLocator) GetMessageName() string

func (*OneAddDelLocator) GetMessageType

func (*OneAddDelLocator) GetMessageType() api.MessageType

func (*OneAddDelLocator) Marshal

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

func (*OneAddDelLocator) Reset

func (m *OneAddDelLocator) Reset()

func (*OneAddDelLocator) Size

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

func (*OneAddDelLocator) Unmarshal

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

type OneAddDelLocatorReply

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

OneAddDelLocatorReply defines message 'one_add_del_locator_reply'.

func (*OneAddDelLocatorReply) GetCrcString

func (*OneAddDelLocatorReply) GetCrcString() string

func (*OneAddDelLocatorReply) GetMessageName

func (*OneAddDelLocatorReply) GetMessageName() string

func (*OneAddDelLocatorReply) GetMessageType

func (*OneAddDelLocatorReply) GetMessageType() api.MessageType

func (*OneAddDelLocatorReply) Marshal

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

func (*OneAddDelLocatorReply) Reset

func (m *OneAddDelLocatorReply) Reset()

func (*OneAddDelLocatorReply) Size

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

func (*OneAddDelLocatorReply) Unmarshal

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

type OneAddDelLocatorSet

type OneAddDelLocatorSet 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 - locator records

OneAddDelLocatorSet defines message 'one_add_del_locator_set'.

func (*OneAddDelLocatorSet) GetCrcString

func (*OneAddDelLocatorSet) GetCrcString() string

func (*OneAddDelLocatorSet) GetMessageName

func (*OneAddDelLocatorSet) GetMessageName() string

func (*OneAddDelLocatorSet) GetMessageType

func (*OneAddDelLocatorSet) GetMessageType() api.MessageType

func (*OneAddDelLocatorSet) Marshal

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

func (*OneAddDelLocatorSet) Reset

func (m *OneAddDelLocatorSet) Reset()

func (*OneAddDelLocatorSet) Size

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

func (*OneAddDelLocatorSet) Unmarshal

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

type OneAddDelLocatorSetReply

type OneAddDelLocatorSetReply 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

OneAddDelLocatorSetReply defines message 'one_add_del_locator_set_reply'.

func (*OneAddDelLocatorSetReply) GetCrcString

func (*OneAddDelLocatorSetReply) GetCrcString() string

func (*OneAddDelLocatorSetReply) GetMessageName

func (*OneAddDelLocatorSetReply) GetMessageName() string

func (*OneAddDelLocatorSetReply) GetMessageType

func (*OneAddDelLocatorSetReply) GetMessageType() api.MessageType

func (*OneAddDelLocatorSetReply) Marshal

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

func (*OneAddDelLocatorSetReply) Reset

func (m *OneAddDelLocatorSetReply) Reset()

func (*OneAddDelLocatorSetReply) Size

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

func (*OneAddDelLocatorSetReply) Unmarshal

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

type OneAddDelMapRequestItrRlocs

type OneAddDelMapRequestItrRlocs 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

OneAddDelMapRequestItrRlocs defines message 'one_add_del_map_request_itr_rlocs'.

func (*OneAddDelMapRequestItrRlocs) GetCrcString

func (*OneAddDelMapRequestItrRlocs) GetCrcString() string

func (*OneAddDelMapRequestItrRlocs) GetMessageName

func (*OneAddDelMapRequestItrRlocs) GetMessageName() string

func (*OneAddDelMapRequestItrRlocs) GetMessageType

func (*OneAddDelMapRequestItrRlocs) GetMessageType() api.MessageType

func (*OneAddDelMapRequestItrRlocs) Marshal

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

func (*OneAddDelMapRequestItrRlocs) Reset

func (m *OneAddDelMapRequestItrRlocs) Reset()

func (*OneAddDelMapRequestItrRlocs) Size

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

func (*OneAddDelMapRequestItrRlocs) Unmarshal

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

type OneAddDelMapRequestItrRlocsReply

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

OneAddDelMapRequestItrRlocsReply defines message 'one_add_del_map_request_itr_rlocs_reply'.

func (*OneAddDelMapRequestItrRlocsReply) GetCrcString

func (*OneAddDelMapRequestItrRlocsReply) GetCrcString() string

func (*OneAddDelMapRequestItrRlocsReply) GetMessageName

func (*OneAddDelMapRequestItrRlocsReply) GetMessageName() string

func (*OneAddDelMapRequestItrRlocsReply) GetMessageType

func (*OneAddDelMapRequestItrRlocsReply) Marshal

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

func (*OneAddDelMapRequestItrRlocsReply) Reset

func (*OneAddDelMapRequestItrRlocsReply) Size

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

func (*OneAddDelMapRequestItrRlocsReply) Unmarshal

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

type OneAddDelMapResolver

type OneAddDelMapResolver 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
  • is_ipv6 - if non-zero the address is ipv6, else ipv4
  • ip_address - array of address bytes

OneAddDelMapResolver defines message 'one_add_del_map_resolver'.

func (*OneAddDelMapResolver) GetCrcString

func (*OneAddDelMapResolver) GetCrcString() string

func (*OneAddDelMapResolver) GetMessageName

func (*OneAddDelMapResolver) GetMessageName() string

func (*OneAddDelMapResolver) GetMessageType

func (*OneAddDelMapResolver) GetMessageType() api.MessageType

func (*OneAddDelMapResolver) Marshal

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

func (*OneAddDelMapResolver) Reset

func (m *OneAddDelMapResolver) Reset()

func (*OneAddDelMapResolver) Size

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

func (*OneAddDelMapResolver) Unmarshal

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

type OneAddDelMapResolverReply

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

OneAddDelMapResolverReply defines message 'one_add_del_map_resolver_reply'.

func (*OneAddDelMapResolverReply) GetCrcString

func (*OneAddDelMapResolverReply) GetCrcString() string

func (*OneAddDelMapResolverReply) GetMessageName

func (*OneAddDelMapResolverReply) GetMessageName() string

func (*OneAddDelMapResolverReply) GetMessageType

func (*OneAddDelMapResolverReply) GetMessageType() api.MessageType

func (*OneAddDelMapResolverReply) Marshal

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

func (*OneAddDelMapResolverReply) Reset

func (m *OneAddDelMapResolverReply) Reset()

func (*OneAddDelMapResolverReply) Size

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

func (*OneAddDelMapResolverReply) Unmarshal

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

type OneAddDelMapServer

type OneAddDelMapServer 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
  • is_ipv6 - if non-zero the address is ipv6, else ipv4
  • ip_address - map server IP address

OneAddDelMapServer defines message 'one_add_del_map_server'.

func (*OneAddDelMapServer) GetCrcString

func (*OneAddDelMapServer) GetCrcString() string

func (*OneAddDelMapServer) GetMessageName

func (*OneAddDelMapServer) GetMessageName() string

func (*OneAddDelMapServer) GetMessageType

func (*OneAddDelMapServer) GetMessageType() api.MessageType

func (*OneAddDelMapServer) Marshal

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

func (*OneAddDelMapServer) Reset

func (m *OneAddDelMapServer) Reset()

func (*OneAddDelMapServer) Size

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

func (*OneAddDelMapServer) Unmarshal

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

type OneAddDelMapServerReply

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

OneAddDelMapServerReply defines message 'one_add_del_map_server_reply'.

func (*OneAddDelMapServerReply) GetCrcString

func (*OneAddDelMapServerReply) GetCrcString() string

func (*OneAddDelMapServerReply) GetMessageName

func (*OneAddDelMapServerReply) GetMessageName() string

func (*OneAddDelMapServerReply) GetMessageType

func (*OneAddDelMapServerReply) GetMessageType() api.MessageType

func (*OneAddDelMapServerReply) Marshal

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

func (*OneAddDelMapServerReply) Reset

func (m *OneAddDelMapServerReply) Reset()

func (*OneAddDelMapServerReply) Size

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

func (*OneAddDelMapServerReply) Unmarshal

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

type OneAddDelNdpEntry

type OneAddDelNdpEntry struct {
	IsAdd bool        `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	Bd    uint32      `binapi:"u32,name=bd" json:"bd,omitempty"`
	Entry OneNdpEntry `binapi:"one_ndp_entry,name=entry" json:"entry,omitempty"`
}

OneAddDelNdpEntry defines message 'one_add_del_ndp_entry'.

func (*OneAddDelNdpEntry) GetCrcString

func (*OneAddDelNdpEntry) GetCrcString() string

func (*OneAddDelNdpEntry) GetMessageName

func (*OneAddDelNdpEntry) GetMessageName() string

func (*OneAddDelNdpEntry) GetMessageType

func (*OneAddDelNdpEntry) GetMessageType() api.MessageType

func (*OneAddDelNdpEntry) Marshal

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

func (*OneAddDelNdpEntry) Reset

func (m *OneAddDelNdpEntry) Reset()

func (*OneAddDelNdpEntry) Size

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

func (*OneAddDelNdpEntry) Unmarshal

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

type OneAddDelNdpEntryReply

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

OneAddDelNdpEntryReply defines message 'one_add_del_ndp_entry_reply'.

func (*OneAddDelNdpEntryReply) GetCrcString

func (*OneAddDelNdpEntryReply) GetCrcString() string

func (*OneAddDelNdpEntryReply) GetMessageName

func (*OneAddDelNdpEntryReply) GetMessageName() string

func (*OneAddDelNdpEntryReply) GetMessageType

func (*OneAddDelNdpEntryReply) GetMessageType() api.MessageType

func (*OneAddDelNdpEntryReply) Marshal

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

func (*OneAddDelNdpEntryReply) Reset

func (m *OneAddDelNdpEntryReply) Reset()

func (*OneAddDelNdpEntryReply) Size

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

func (*OneAddDelNdpEntryReply) Unmarshal

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

type OneAddDelRemoteMapping

type OneAddDelRemoteMapping 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

OneAddDelRemoteMapping defines message 'one_add_del_remote_mapping'.

func (*OneAddDelRemoteMapping) GetCrcString

func (*OneAddDelRemoteMapping) GetCrcString() string

func (*OneAddDelRemoteMapping) GetMessageName

func (*OneAddDelRemoteMapping) GetMessageName() string

func (*OneAddDelRemoteMapping) GetMessageType

func (*OneAddDelRemoteMapping) GetMessageType() api.MessageType

func (*OneAddDelRemoteMapping) Marshal

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

func (*OneAddDelRemoteMapping) Reset

func (m *OneAddDelRemoteMapping) Reset()

func (*OneAddDelRemoteMapping) Size

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

func (*OneAddDelRemoteMapping) Unmarshal

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

type OneAddDelRemoteMappingReply

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

OneAddDelRemoteMappingReply defines message 'one_add_del_remote_mapping_reply'.

func (*OneAddDelRemoteMappingReply) GetCrcString

func (*OneAddDelRemoteMappingReply) GetCrcString() string

func (*OneAddDelRemoteMappingReply) GetMessageName

func (*OneAddDelRemoteMappingReply) GetMessageName() string

func (*OneAddDelRemoteMappingReply) GetMessageType

func (*OneAddDelRemoteMappingReply) GetMessageType() api.MessageType

func (*OneAddDelRemoteMappingReply) Marshal

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

func (*OneAddDelRemoteMappingReply) Reset

func (m *OneAddDelRemoteMappingReply) Reset()

func (*OneAddDelRemoteMappingReply) Size

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

func (*OneAddDelRemoteMappingReply) Unmarshal

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

type OneAdjacenciesGet

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

Request for ONE adjacencies

  • vni - filter adjacencies by VNI

OneAdjacenciesGet defines message 'one_adjacencies_get'.

func (*OneAdjacenciesGet) GetCrcString

func (*OneAdjacenciesGet) GetCrcString() string

func (*OneAdjacenciesGet) GetMessageName

func (*OneAdjacenciesGet) GetMessageName() string

func (*OneAdjacenciesGet) GetMessageType

func (*OneAdjacenciesGet) GetMessageType() api.MessageType

func (*OneAdjacenciesGet) Marshal

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

func (*OneAdjacenciesGet) Reset

func (m *OneAdjacenciesGet) Reset()

func (*OneAdjacenciesGet) Size

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

func (*OneAdjacenciesGet) Unmarshal

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

type OneAdjacenciesGetReply

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

ONE adjacency reply

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

OneAdjacenciesGetReply defines message 'one_adjacencies_get_reply'.

func (*OneAdjacenciesGetReply) GetCrcString

func (*OneAdjacenciesGetReply) GetCrcString() string

func (*OneAdjacenciesGetReply) GetMessageName

func (*OneAdjacenciesGetReply) GetMessageName() string

func (*OneAdjacenciesGetReply) GetMessageType

func (*OneAdjacenciesGetReply) GetMessageType() api.MessageType

func (*OneAdjacenciesGetReply) Marshal

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

func (*OneAdjacenciesGetReply) Reset

func (m *OneAdjacenciesGetReply) Reset()

func (*OneAdjacenciesGetReply) Size

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

func (*OneAdjacenciesGetReply) Unmarshal

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

type OneAdjacency

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

OneAdjacency defines type 'one_adjacency'.

type OneEidTableAddDelMap

type OneEidTableAddDelMap 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
  • is_l2 - is l2

OneEidTableAddDelMap defines message 'one_eid_table_add_del_map'.

func (*OneEidTableAddDelMap) GetCrcString

func (*OneEidTableAddDelMap) GetCrcString() string

func (*OneEidTableAddDelMap) GetMessageName

func (*OneEidTableAddDelMap) GetMessageName() string

func (*OneEidTableAddDelMap) GetMessageType

func (*OneEidTableAddDelMap) GetMessageType() api.MessageType

func (*OneEidTableAddDelMap) Marshal

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

func (*OneEidTableAddDelMap) Reset

func (m *OneEidTableAddDelMap) Reset()

func (*OneEidTableAddDelMap) Size

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

func (*OneEidTableAddDelMap) Unmarshal

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

type OneEidTableAddDelMapReply

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

OneEidTableAddDelMapReply defines message 'one_eid_table_add_del_map_reply'.

func (*OneEidTableAddDelMapReply) GetCrcString

func (*OneEidTableAddDelMapReply) GetCrcString() string

func (*OneEidTableAddDelMapReply) GetMessageName

func (*OneEidTableAddDelMapReply) GetMessageName() string

func (*OneEidTableAddDelMapReply) GetMessageType

func (*OneEidTableAddDelMapReply) GetMessageType() api.MessageType

func (*OneEidTableAddDelMapReply) Marshal

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

func (*OneEidTableAddDelMapReply) Reset

func (m *OneEidTableAddDelMapReply) Reset()

func (*OneEidTableAddDelMapReply) Size

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

func (*OneEidTableAddDelMapReply) Unmarshal

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

type OneEidTableDetails

type OneEidTableDetails 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"`
}

// FIXME: action, authoritative OneEidTableDetails defines message 'one_eid_table_details'.

func (*OneEidTableDetails) GetCrcString

func (*OneEidTableDetails) GetCrcString() string

func (*OneEidTableDetails) GetMessageName

func (*OneEidTableDetails) GetMessageName() string

func (*OneEidTableDetails) GetMessageType

func (*OneEidTableDetails) GetMessageType() api.MessageType

func (*OneEidTableDetails) Marshal

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

func (*OneEidTableDetails) Reset

func (m *OneEidTableDetails) Reset()

func (*OneEidTableDetails) Size

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

func (*OneEidTableDetails) Unmarshal

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

type OneEidTableDump

type OneEidTableDump struct {
	EidSet bool           `binapi:"bool,name=eid_set" json:"eid_set,omitempty"`
	Vni    uint32         `binapi:"u32,name=vni" json:"vni,omitempty"`
	Eid    lisp_types.Eid `binapi:"eid,name=eid" json:"eid,omitempty"`
	Filter OneFilter      `binapi:"one_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
  • eid - endpoint identifier
  • filter - filter type; Support values: 0: all eid 1: local eid 2: remote eid

OneEidTableDump defines message 'one_eid_table_dump'.

func (*OneEidTableDump) GetCrcString

func (*OneEidTableDump) GetCrcString() string

func (*OneEidTableDump) GetMessageName

func (*OneEidTableDump) GetMessageName() string

func (*OneEidTableDump) GetMessageType

func (*OneEidTableDump) GetMessageType() api.MessageType

func (*OneEidTableDump) Marshal

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

func (*OneEidTableDump) Reset

func (m *OneEidTableDump) Reset()

func (*OneEidTableDump) Size

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

func (*OneEidTableDump) Unmarshal

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

type OneEidTableMapDetails

type OneEidTableMapDetails 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

OneEidTableMapDetails defines message 'one_eid_table_map_details'.

func (*OneEidTableMapDetails) GetCrcString

func (*OneEidTableMapDetails) GetCrcString() string

func (*OneEidTableMapDetails) GetMessageName

func (*OneEidTableMapDetails) GetMessageName() string

func (*OneEidTableMapDetails) GetMessageType

func (*OneEidTableMapDetails) GetMessageType() api.MessageType

func (*OneEidTableMapDetails) Marshal

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

func (*OneEidTableMapDetails) Reset

func (m *OneEidTableMapDetails) Reset()

func (*OneEidTableMapDetails) Size

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

func (*OneEidTableMapDetails) Unmarshal

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

type OneEidTableMapDump

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

Request for one_eid_table_map_details

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

OneEidTableMapDump defines message 'one_eid_table_map_dump'.

func (*OneEidTableMapDump) GetCrcString

func (*OneEidTableMapDump) GetCrcString() string

func (*OneEidTableMapDump) GetMessageName

func (*OneEidTableMapDump) GetMessageName() string

func (*OneEidTableMapDump) GetMessageType

func (*OneEidTableMapDump) GetMessageType() api.MessageType

func (*OneEidTableMapDump) Marshal

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

func (*OneEidTableMapDump) Reset

func (m *OneEidTableMapDump) Reset()

func (*OneEidTableMapDump) Size

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

func (*OneEidTableMapDump) Unmarshal

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

type OneEidTableVniDetails

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

reply to one_eid_table_vni_dump

  • vni - virtual network instance

OneEidTableVniDetails defines message 'one_eid_table_vni_details'.

func (*OneEidTableVniDetails) GetCrcString

func (*OneEidTableVniDetails) GetCrcString() string

func (*OneEidTableVniDetails) GetMessageName

func (*OneEidTableVniDetails) GetMessageName() string

func (*OneEidTableVniDetails) GetMessageType

func (*OneEidTableVniDetails) GetMessageType() api.MessageType

func (*OneEidTableVniDetails) Marshal

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

func (*OneEidTableVniDetails) Reset

func (m *OneEidTableVniDetails) Reset()

func (*OneEidTableVniDetails) Size

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

func (*OneEidTableVniDetails) Unmarshal

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

type OneEidTableVniDump

type OneEidTableVniDump struct{}

Dumps all VNIs used in mappings OneEidTableVniDump defines message 'one_eid_table_vni_dump'.

func (*OneEidTableVniDump) GetCrcString

func (*OneEidTableVniDump) GetCrcString() string

func (*OneEidTableVniDump) GetMessageName

func (*OneEidTableVniDump) GetMessageName() string

func (*OneEidTableVniDump) GetMessageType

func (*OneEidTableVniDump) GetMessageType() api.MessageType

func (*OneEidTableVniDump) Marshal

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

func (*OneEidTableVniDump) Reset

func (m *OneEidTableVniDump) Reset()

func (*OneEidTableVniDump) Size

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

func (*OneEidTableVniDump) Unmarshal

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

type OneEnableDisable

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

enable or disable ONE feature

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

OneEnableDisable defines message 'one_enable_disable'.

func (*OneEnableDisable) GetCrcString

func (*OneEnableDisable) GetCrcString() string

func (*OneEnableDisable) GetMessageName

func (*OneEnableDisable) GetMessageName() string

func (*OneEnableDisable) GetMessageType

func (*OneEnableDisable) GetMessageType() api.MessageType

func (*OneEnableDisable) Marshal

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

func (*OneEnableDisable) Reset

func (m *OneEnableDisable) Reset()

func (*OneEnableDisable) Size

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

func (*OneEnableDisable) Unmarshal

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

type OneEnableDisablePetrMode

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

OneEnableDisablePetrMode defines message 'one_enable_disable_petr_mode'.

func (*OneEnableDisablePetrMode) GetCrcString

func (*OneEnableDisablePetrMode) GetCrcString() string

func (*OneEnableDisablePetrMode) GetMessageName

func (*OneEnableDisablePetrMode) GetMessageName() string

func (*OneEnableDisablePetrMode) GetMessageType

func (*OneEnableDisablePetrMode) GetMessageType() api.MessageType

func (*OneEnableDisablePetrMode) Marshal

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

func (*OneEnableDisablePetrMode) Reset

func (m *OneEnableDisablePetrMode) Reset()

func (*OneEnableDisablePetrMode) Size

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

func (*OneEnableDisablePetrMode) Unmarshal

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

type OneEnableDisablePetrModeReply

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

OneEnableDisablePetrModeReply defines message 'one_enable_disable_petr_mode_reply'.

func (*OneEnableDisablePetrModeReply) GetCrcString

func (*OneEnableDisablePetrModeReply) GetCrcString() string

func (*OneEnableDisablePetrModeReply) GetMessageName

func (*OneEnableDisablePetrModeReply) GetMessageName() string

func (*OneEnableDisablePetrModeReply) GetMessageType

func (*OneEnableDisablePetrModeReply) GetMessageType() api.MessageType

func (*OneEnableDisablePetrModeReply) Marshal

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

func (*OneEnableDisablePetrModeReply) Reset

func (m *OneEnableDisablePetrModeReply) Reset()

func (*OneEnableDisablePetrModeReply) Size

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

func (*OneEnableDisablePetrModeReply) Unmarshal

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

type OneEnableDisablePitrMode

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

OneEnableDisablePitrMode defines message 'one_enable_disable_pitr_mode'.

func (*OneEnableDisablePitrMode) GetCrcString

func (*OneEnableDisablePitrMode) GetCrcString() string

func (*OneEnableDisablePitrMode) GetMessageName

func (*OneEnableDisablePitrMode) GetMessageName() string

func (*OneEnableDisablePitrMode) GetMessageType

func (*OneEnableDisablePitrMode) GetMessageType() api.MessageType

func (*OneEnableDisablePitrMode) Marshal

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

func (*OneEnableDisablePitrMode) Reset

func (m *OneEnableDisablePitrMode) Reset()

func (*OneEnableDisablePitrMode) Size

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

func (*OneEnableDisablePitrMode) Unmarshal

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

type OneEnableDisablePitrModeReply

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

OneEnableDisablePitrModeReply defines message 'one_enable_disable_pitr_mode_reply'.

func (*OneEnableDisablePitrModeReply) GetCrcString

func (*OneEnableDisablePitrModeReply) GetCrcString() string

func (*OneEnableDisablePitrModeReply) GetMessageName

func (*OneEnableDisablePitrModeReply) GetMessageName() string

func (*OneEnableDisablePitrModeReply) GetMessageType

func (*OneEnableDisablePitrModeReply) GetMessageType() api.MessageType

func (*OneEnableDisablePitrModeReply) Marshal

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

func (*OneEnableDisablePitrModeReply) Reset

func (m *OneEnableDisablePitrModeReply) Reset()

func (*OneEnableDisablePitrModeReply) Size

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

func (*OneEnableDisablePitrModeReply) Unmarshal

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

type OneEnableDisableReply

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

OneEnableDisableReply defines message 'one_enable_disable_reply'.

func (*OneEnableDisableReply) GetCrcString

func (*OneEnableDisableReply) GetCrcString() string

func (*OneEnableDisableReply) GetMessageName

func (*OneEnableDisableReply) GetMessageName() string

func (*OneEnableDisableReply) GetMessageType

func (*OneEnableDisableReply) GetMessageType() api.MessageType

func (*OneEnableDisableReply) Marshal

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

func (*OneEnableDisableReply) Reset

func (m *OneEnableDisableReply) Reset()

func (*OneEnableDisableReply) Size

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

func (*OneEnableDisableReply) Unmarshal

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

type OneEnableDisableXtrMode

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

OneEnableDisableXtrMode defines message 'one_enable_disable_xtr_mode'.

func (*OneEnableDisableXtrMode) GetCrcString

func (*OneEnableDisableXtrMode) GetCrcString() string

func (*OneEnableDisableXtrMode) GetMessageName

func (*OneEnableDisableXtrMode) GetMessageName() string

func (*OneEnableDisableXtrMode) GetMessageType

func (*OneEnableDisableXtrMode) GetMessageType() api.MessageType

func (*OneEnableDisableXtrMode) Marshal

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

func (*OneEnableDisableXtrMode) Reset

func (m *OneEnableDisableXtrMode) Reset()

func (*OneEnableDisableXtrMode) Size

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

func (*OneEnableDisableXtrMode) Unmarshal

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

type OneEnableDisableXtrModeReply

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

OneEnableDisableXtrModeReply defines message 'one_enable_disable_xtr_mode_reply'.

func (*OneEnableDisableXtrModeReply) GetCrcString

func (*OneEnableDisableXtrModeReply) GetCrcString() string

func (*OneEnableDisableXtrModeReply) GetMessageName

func (*OneEnableDisableXtrModeReply) GetMessageName() string

func (*OneEnableDisableXtrModeReply) GetMessageType

func (*OneEnableDisableXtrModeReply) GetMessageType() api.MessageType

func (*OneEnableDisableXtrModeReply) Marshal

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

func (*OneEnableDisableXtrModeReply) Reset

func (m *OneEnableDisableXtrModeReply) Reset()

func (*OneEnableDisableXtrModeReply) Size

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

func (*OneEnableDisableXtrModeReply) Unmarshal

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

type OneFilter

type OneFilter uint32

OneFilter defines enum 'one_filter'.

const (
	ONE_FILTER_API_ALL    OneFilter = 0
	ONE_FILTER_API_LOCAL  OneFilter = 1
	ONE_FILTER_API_REMOTE OneFilter = 2
)

func (OneFilter) String

func (x OneFilter) String() string

type OneGetMapRequestItrRlocs

type OneGetMapRequestItrRlocs struct{}

Get ONE map request itr rlocs status

  • locator_set_name - name of the locator_set

OneGetMapRequestItrRlocs defines message 'one_get_map_request_itr_rlocs'.

func (*OneGetMapRequestItrRlocs) GetCrcString

func (*OneGetMapRequestItrRlocs) GetCrcString() string

func (*OneGetMapRequestItrRlocs) GetMessageName

func (*OneGetMapRequestItrRlocs) GetMessageName() string

func (*OneGetMapRequestItrRlocs) GetMessageType

func (*OneGetMapRequestItrRlocs) GetMessageType() api.MessageType

func (*OneGetMapRequestItrRlocs) Marshal

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

func (*OneGetMapRequestItrRlocs) Reset

func (m *OneGetMapRequestItrRlocs) Reset()

func (*OneGetMapRequestItrRlocs) Size

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

func (*OneGetMapRequestItrRlocs) Unmarshal

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

type OneGetMapRequestItrRlocsReply

type OneGetMapRequestItrRlocsReply 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 OneGetMapRequestItrRlocsReply defines message 'one_get_map_request_itr_rlocs_reply'.

func (*OneGetMapRequestItrRlocsReply) GetCrcString

func (*OneGetMapRequestItrRlocsReply) GetCrcString() string

func (*OneGetMapRequestItrRlocsReply) GetMessageName

func (*OneGetMapRequestItrRlocsReply) GetMessageName() string

func (*OneGetMapRequestItrRlocsReply) GetMessageType

func (*OneGetMapRequestItrRlocsReply) GetMessageType() api.MessageType

func (*OneGetMapRequestItrRlocsReply) Marshal

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

func (*OneGetMapRequestItrRlocsReply) Reset

func (m *OneGetMapRequestItrRlocsReply) Reset()

func (*OneGetMapRequestItrRlocsReply) Size

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

func (*OneGetMapRequestItrRlocsReply) Unmarshal

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

type OneGetTransportProtocol

type OneGetTransportProtocol struct{}

OneGetTransportProtocol defines message 'one_get_transport_protocol'.

func (*OneGetTransportProtocol) GetCrcString

func (*OneGetTransportProtocol) GetCrcString() string

func (*OneGetTransportProtocol) GetMessageName

func (*OneGetTransportProtocol) GetMessageName() string

func (*OneGetTransportProtocol) GetMessageType

func (*OneGetTransportProtocol) GetMessageType() api.MessageType

func (*OneGetTransportProtocol) Marshal

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

func (*OneGetTransportProtocol) Reset

func (m *OneGetTransportProtocol) Reset()

func (*OneGetTransportProtocol) Size

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

func (*OneGetTransportProtocol) Unmarshal

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

type OneGetTransportProtocolReply

type OneGetTransportProtocolReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	Protocol uint8 `binapi:"u8,name=protocol" json:"protocol,omitempty"`
}

OneGetTransportProtocolReply defines message 'one_get_transport_protocol_reply'.

func (*OneGetTransportProtocolReply) GetCrcString

func (*OneGetTransportProtocolReply) GetCrcString() string

func (*OneGetTransportProtocolReply) GetMessageName

func (*OneGetTransportProtocolReply) GetMessageName() string

func (*OneGetTransportProtocolReply) GetMessageType

func (*OneGetTransportProtocolReply) GetMessageType() api.MessageType

func (*OneGetTransportProtocolReply) Marshal

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

func (*OneGetTransportProtocolReply) Reset

func (m *OneGetTransportProtocolReply) Reset()

func (*OneGetTransportProtocolReply) Size

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

func (*OneGetTransportProtocolReply) Unmarshal

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

type OneL2ArpBdGet

type OneL2ArpBdGet struct{}

Request for list of bridge domains used by L2 ARP table OneL2ArpBdGet defines message 'one_l2_arp_bd_get'.

func (*OneL2ArpBdGet) GetCrcString

func (*OneL2ArpBdGet) GetCrcString() string

func (*OneL2ArpBdGet) GetMessageName

func (*OneL2ArpBdGet) GetMessageName() string

func (*OneL2ArpBdGet) GetMessageType

func (*OneL2ArpBdGet) GetMessageType() api.MessageType

func (*OneL2ArpBdGet) Marshal

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

func (*OneL2ArpBdGet) Reset

func (m *OneL2ArpBdGet) Reset()

func (*OneL2ArpBdGet) Size

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

func (*OneL2ArpBdGet) Unmarshal

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

type OneL2ArpBdGetReply

type OneL2ArpBdGetReply struct {
	Retval        int32    `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count         uint32   `binapi:"u32,name=count" json:"-"`
	BridgeDomains []uint32 `binapi:"u32[count],name=bridge_domains" json:"bridge_domains,omitempty"`
}

Reply with list of bridge domains used by L2 ARP table

  • count - number of elements in the list
  • bridge_domains - list of BDs

OneL2ArpBdGetReply defines message 'one_l2_arp_bd_get_reply'.

func (*OneL2ArpBdGetReply) GetCrcString

func (*OneL2ArpBdGetReply) GetCrcString() string

func (*OneL2ArpBdGetReply) GetMessageName

func (*OneL2ArpBdGetReply) GetMessageName() string

func (*OneL2ArpBdGetReply) GetMessageType

func (*OneL2ArpBdGetReply) GetMessageType() api.MessageType

func (*OneL2ArpBdGetReply) Marshal

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

func (*OneL2ArpBdGetReply) Reset

func (m *OneL2ArpBdGetReply) Reset()

func (*OneL2ArpBdGetReply) Size

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

func (*OneL2ArpBdGetReply) Unmarshal

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

type OneL2ArpEntriesGet

type OneL2ArpEntriesGet struct {
	Bd uint32 `binapi:"u32,name=bd" json:"bd,omitempty"`
}

Request for L2 ARP entries from specified bridge domain

  • bd - bridge domain

OneL2ArpEntriesGet defines message 'one_l2_arp_entries_get'.

func (*OneL2ArpEntriesGet) GetCrcString

func (*OneL2ArpEntriesGet) GetCrcString() string

func (*OneL2ArpEntriesGet) GetMessageName

func (*OneL2ArpEntriesGet) GetMessageName() string

func (*OneL2ArpEntriesGet) GetMessageType

func (*OneL2ArpEntriesGet) GetMessageType() api.MessageType

func (*OneL2ArpEntriesGet) Marshal

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

func (*OneL2ArpEntriesGet) Reset

func (m *OneL2ArpEntriesGet) Reset()

func (*OneL2ArpEntriesGet) Size

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

func (*OneL2ArpEntriesGet) Unmarshal

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

type OneL2ArpEntriesGetReply

type OneL2ArpEntriesGetReply struct {
	Retval  int32           `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count   uint32          `binapi:"u32,name=count" json:"-"`
	Entries []OneL2ArpEntry `binapi:"one_l2_arp_entry[count],name=entries" json:"entries,omitempty"`
}

Reply with L2 ARP entries from specified bridge domain

  • retval - error code
  • count - number of elements in the list
  • vl_api_one_arp_entry_t - list of entries

OneL2ArpEntriesGetReply defines message 'one_l2_arp_entries_get_reply'.

func (*OneL2ArpEntriesGetReply) GetCrcString

func (*OneL2ArpEntriesGetReply) GetCrcString() string

func (*OneL2ArpEntriesGetReply) GetMessageName

func (*OneL2ArpEntriesGetReply) GetMessageName() string

func (*OneL2ArpEntriesGetReply) GetMessageType

func (*OneL2ArpEntriesGetReply) GetMessageType() api.MessageType

func (*OneL2ArpEntriesGetReply) Marshal

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

func (*OneL2ArpEntriesGetReply) Reset

func (m *OneL2ArpEntriesGetReply) Reset()

func (*OneL2ArpEntriesGetReply) Size

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

func (*OneL2ArpEntriesGetReply) Unmarshal

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

type OneL2ArpEntry

type OneL2ArpEntry struct {
	Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"`
	IP4 ip_types.IP4Address       `binapi:"ip4_address,name=ip4" json:"ip4,omitempty"`
}

OneL2ArpEntry defines type 'one_l2_arp_entry'.

type OneLocatorDetails

type OneLocatorDetails 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"`
}

ONE 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
  • priority - locator priority
  • weight - locator weight

OneLocatorDetails defines message 'one_locator_details'.

func (*OneLocatorDetails) GetCrcString

func (*OneLocatorDetails) GetCrcString() string

func (*OneLocatorDetails) GetMessageName

func (*OneLocatorDetails) GetMessageName() string

func (*OneLocatorDetails) GetMessageType

func (*OneLocatorDetails) GetMessageType() api.MessageType

func (*OneLocatorDetails) Marshal

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

func (*OneLocatorDetails) Reset

func (m *OneLocatorDetails) Reset()

func (*OneLocatorDetails) Size

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

func (*OneLocatorDetails) Unmarshal

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

type OneLocatorDump

type OneLocatorDump 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 bool   `binapi:"bool,name=is_index_set" json:"is_index_set,omitempty"`
}

Request for map one 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

OneLocatorDump defines message 'one_locator_dump'.

func (*OneLocatorDump) GetCrcString

func (*OneLocatorDump) GetCrcString() string

func (*OneLocatorDump) GetMessageName

func (*OneLocatorDump) GetMessageName() string

func (*OneLocatorDump) GetMessageType

func (*OneLocatorDump) GetMessageType() api.MessageType

func (*OneLocatorDump) Marshal

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

func (*OneLocatorDump) Reset

func (m *OneLocatorDump) Reset()

func (*OneLocatorDump) Size

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

func (*OneLocatorDump) Unmarshal

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

type OneLocatorSetDetails

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

ONE locator_set status

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

OneLocatorSetDetails defines message 'one_locator_set_details'.

func (*OneLocatorSetDetails) GetCrcString

func (*OneLocatorSetDetails) GetCrcString() string

func (*OneLocatorSetDetails) GetMessageName

func (*OneLocatorSetDetails) GetMessageName() string

func (*OneLocatorSetDetails) GetMessageType

func (*OneLocatorSetDetails) GetMessageType() api.MessageType

func (*OneLocatorSetDetails) Marshal

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

func (*OneLocatorSetDetails) Reset

func (m *OneLocatorSetDetails) Reset()

func (*OneLocatorSetDetails) Size

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

func (*OneLocatorSetDetails) Unmarshal

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

type OneLocatorSetDump

type OneLocatorSetDump struct {
	Filter OneFilter `binapi:"one_filter,name=filter" json:"filter,omitempty"`
}

Request for locator_set summary status

  • filter - filter type Supported values: 0: all locator sets 1: local locator sets 2: remote locator sets

OneLocatorSetDump defines message 'one_locator_set_dump'.

func (*OneLocatorSetDump) GetCrcString

func (*OneLocatorSetDump) GetCrcString() string

func (*OneLocatorSetDump) GetMessageName

func (*OneLocatorSetDump) GetMessageName() string

func (*OneLocatorSetDump) GetMessageType

func (*OneLocatorSetDump) GetMessageType() api.MessageType

func (*OneLocatorSetDump) Marshal

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

func (*OneLocatorSetDump) Reset

func (m *OneLocatorSetDump) Reset()

func (*OneLocatorSetDump) Size

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

func (*OneLocatorSetDump) Unmarshal

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

type OneMapMode

type OneMapMode uint32

OneMapMode defines enum 'one_map_mode'.

const (
	ONE_MAP_MODE_API_DST_ONLY OneMapMode = 0
	ONE_MAP_MODE_API_SRC_DST  OneMapMode = 1
)

func (OneMapMode) String

func (x OneMapMode) String() string

type OneMapRegisterEnableDisable

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

enable/disable ONE map-register

  • is_enable - enable if non-zero; disable otherwise

OneMapRegisterEnableDisable defines message 'one_map_register_enable_disable'.

func (*OneMapRegisterEnableDisable) GetCrcString

func (*OneMapRegisterEnableDisable) GetCrcString() string

func (*OneMapRegisterEnableDisable) GetMessageName

func (*OneMapRegisterEnableDisable) GetMessageName() string

func (*OneMapRegisterEnableDisable) GetMessageType

func (*OneMapRegisterEnableDisable) GetMessageType() api.MessageType

func (*OneMapRegisterEnableDisable) Marshal

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

func (*OneMapRegisterEnableDisable) Reset

func (m *OneMapRegisterEnableDisable) Reset()

func (*OneMapRegisterEnableDisable) Size

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

func (*OneMapRegisterEnableDisable) Unmarshal

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

type OneMapRegisterEnableDisableReply

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

OneMapRegisterEnableDisableReply defines message 'one_map_register_enable_disable_reply'.

func (*OneMapRegisterEnableDisableReply) GetCrcString

func (*OneMapRegisterEnableDisableReply) GetCrcString() string

func (*OneMapRegisterEnableDisableReply) GetMessageName

func (*OneMapRegisterEnableDisableReply) GetMessageName() string

func (*OneMapRegisterEnableDisableReply) GetMessageType

func (*OneMapRegisterEnableDisableReply) Marshal

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

func (*OneMapRegisterEnableDisableReply) Reset

func (*OneMapRegisterEnableDisableReply) Size

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

func (*OneMapRegisterEnableDisableReply) Unmarshal

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

type OneMapRegisterFallbackThreshold

type OneMapRegisterFallbackThreshold struct {
	Value uint32 `binapi:"u32,name=value" json:"value,omitempty"`
}

OneMapRegisterFallbackThreshold defines message 'one_map_register_fallback_threshold'.

func (*OneMapRegisterFallbackThreshold) GetCrcString

func (*OneMapRegisterFallbackThreshold) GetCrcString() string

func (*OneMapRegisterFallbackThreshold) GetMessageName

func (*OneMapRegisterFallbackThreshold) GetMessageName() string

func (*OneMapRegisterFallbackThreshold) GetMessageType

func (*OneMapRegisterFallbackThreshold) Marshal

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

func (*OneMapRegisterFallbackThreshold) Reset

func (*OneMapRegisterFallbackThreshold) Size

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

func (*OneMapRegisterFallbackThreshold) Unmarshal

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

type OneMapRegisterFallbackThresholdReply

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

OneMapRegisterFallbackThresholdReply defines message 'one_map_register_fallback_threshold_reply'.

func (*OneMapRegisterFallbackThresholdReply) GetCrcString

func (*OneMapRegisterFallbackThresholdReply) GetMessageName

func (*OneMapRegisterFallbackThresholdReply) GetMessageName() string

func (*OneMapRegisterFallbackThresholdReply) GetMessageType

func (*OneMapRegisterFallbackThresholdReply) Marshal

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

func (*OneMapRegisterFallbackThresholdReply) Reset

func (*OneMapRegisterFallbackThresholdReply) Size

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

func (*OneMapRegisterFallbackThresholdReply) Unmarshal

type OneMapRegisterSetTTL

type OneMapRegisterSetTTL struct {
	TTL uint32 `binapi:"u32,name=ttl" json:"ttl,omitempty"`
}

Set TTL for map register messages

  • ttl - time to live

OneMapRegisterSetTTL defines message 'one_map_register_set_ttl'.

func (*OneMapRegisterSetTTL) GetCrcString

func (*OneMapRegisterSetTTL) GetCrcString() string

func (*OneMapRegisterSetTTL) GetMessageName

func (*OneMapRegisterSetTTL) GetMessageName() string

func (*OneMapRegisterSetTTL) GetMessageType

func (*OneMapRegisterSetTTL) GetMessageType() api.MessageType

func (*OneMapRegisterSetTTL) Marshal

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

func (*OneMapRegisterSetTTL) Reset

func (m *OneMapRegisterSetTTL) Reset()

func (*OneMapRegisterSetTTL) Size

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

func (*OneMapRegisterSetTTL) Unmarshal

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

type OneMapRegisterSetTTLReply

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

OneMapRegisterSetTTLReply defines message 'one_map_register_set_ttl_reply'.

func (*OneMapRegisterSetTTLReply) GetCrcString

func (*OneMapRegisterSetTTLReply) GetCrcString() string

func (*OneMapRegisterSetTTLReply) GetMessageName

func (*OneMapRegisterSetTTLReply) GetMessageName() string

func (*OneMapRegisterSetTTLReply) GetMessageType

func (*OneMapRegisterSetTTLReply) GetMessageType() api.MessageType

func (*OneMapRegisterSetTTLReply) Marshal

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

func (*OneMapRegisterSetTTLReply) Reset

func (m *OneMapRegisterSetTTLReply) Reset()

func (*OneMapRegisterSetTTLReply) Size

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

func (*OneMapRegisterSetTTLReply) Unmarshal

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

type OneMapRequestMode

type OneMapRequestMode struct {
	Mode OneMapMode `binapi:"one_map_mode,name=mode" json:"mode,omitempty"`
}

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

  src/dest or just normal destination map requests.
- mode - new map-request mode. Supported values are:
  0 - destination only
  1 - source/destination

OneMapRequestMode defines message 'one_map_request_mode'.

func (*OneMapRequestMode) GetCrcString

func (*OneMapRequestMode) GetCrcString() string

func (*OneMapRequestMode) GetMessageName

func (*OneMapRequestMode) GetMessageName() string

func (*OneMapRequestMode) GetMessageType

func (*OneMapRequestMode) GetMessageType() api.MessageType

func (*OneMapRequestMode) Marshal

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

func (*OneMapRequestMode) Reset

func (m *OneMapRequestMode) Reset()

func (*OneMapRequestMode) Size

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

func (*OneMapRequestMode) Unmarshal

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

type OneMapRequestModeReply

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

OneMapRequestModeReply defines message 'one_map_request_mode_reply'.

func (*OneMapRequestModeReply) GetCrcString

func (*OneMapRequestModeReply) GetCrcString() string

func (*OneMapRequestModeReply) GetMessageName

func (*OneMapRequestModeReply) GetMessageName() string

func (*OneMapRequestModeReply) GetMessageType

func (*OneMapRequestModeReply) GetMessageType() api.MessageType

func (*OneMapRequestModeReply) Marshal

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

func (*OneMapRequestModeReply) Reset

func (m *OneMapRequestModeReply) Reset()

func (*OneMapRequestModeReply) Size

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

func (*OneMapRequestModeReply) Unmarshal

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

type OneMapResolverDetails

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

ONE map resolver status

  • is_ipv6 - if non-zero the address is ipv6, else ipv4
  • ip_address - array of address bytes

OneMapResolverDetails defines message 'one_map_resolver_details'.

func (*OneMapResolverDetails) GetCrcString

func (*OneMapResolverDetails) GetCrcString() string

func (*OneMapResolverDetails) GetMessageName

func (*OneMapResolverDetails) GetMessageName() string

func (*OneMapResolverDetails) GetMessageType

func (*OneMapResolverDetails) GetMessageType() api.MessageType

func (*OneMapResolverDetails) Marshal

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

func (*OneMapResolverDetails) Reset

func (m *OneMapResolverDetails) Reset()

func (*OneMapResolverDetails) Size

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

func (*OneMapResolverDetails) Unmarshal

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

type OneMapResolverDump

type OneMapResolverDump struct{}

Request for map resolver summary status OneMapResolverDump defines message 'one_map_resolver_dump'.

func (*OneMapResolverDump) GetCrcString

func (*OneMapResolverDump) GetCrcString() string

func (*OneMapResolverDump) GetMessageName

func (*OneMapResolverDump) GetMessageName() string

func (*OneMapResolverDump) GetMessageType

func (*OneMapResolverDump) GetMessageType() api.MessageType

func (*OneMapResolverDump) Marshal

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

func (*OneMapResolverDump) Reset

func (m *OneMapResolverDump) Reset()

func (*OneMapResolverDump) Size

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

func (*OneMapResolverDump) Unmarshal

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

type OneMapServerDetails

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

ONE map server details

  • is_ipv6 - if non-zero the address is ipv6, else ipv4
  • ip_address - array of address bytes

OneMapServerDetails defines message 'one_map_server_details'.

func (*OneMapServerDetails) GetCrcString

func (*OneMapServerDetails) GetCrcString() string

func (*OneMapServerDetails) GetMessageName

func (*OneMapServerDetails) GetMessageName() string

func (*OneMapServerDetails) GetMessageType

func (*OneMapServerDetails) GetMessageType() api.MessageType

func (*OneMapServerDetails) Marshal

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

func (*OneMapServerDetails) Reset

func (m *OneMapServerDetails) Reset()

func (*OneMapServerDetails) Size

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

func (*OneMapServerDetails) Unmarshal

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

type OneMapServerDump

type OneMapServerDump struct{}

Request for map server summary status OneMapServerDump defines message 'one_map_server_dump'.

func (*OneMapServerDump) GetCrcString

func (*OneMapServerDump) GetCrcString() string

func (*OneMapServerDump) GetMessageName

func (*OneMapServerDump) GetMessageName() string

func (*OneMapServerDump) GetMessageType

func (*OneMapServerDump) GetMessageType() api.MessageType

func (*OneMapServerDump) Marshal

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

func (*OneMapServerDump) Reset

func (m *OneMapServerDump) Reset()

func (*OneMapServerDump) Size

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

func (*OneMapServerDump) Unmarshal

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

type OneNdpBdGet

type OneNdpBdGet struct{}

Request for list of bridge domains used by neighbor discovery OneNdpBdGet defines message 'one_ndp_bd_get'.

func (*OneNdpBdGet) GetCrcString

func (*OneNdpBdGet) GetCrcString() string

func (*OneNdpBdGet) GetMessageName

func (*OneNdpBdGet) GetMessageName() string

func (*OneNdpBdGet) GetMessageType

func (*OneNdpBdGet) GetMessageType() api.MessageType

func (*OneNdpBdGet) Marshal

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

func (*OneNdpBdGet) Reset

func (m *OneNdpBdGet) Reset()

func (*OneNdpBdGet) Size

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

func (*OneNdpBdGet) Unmarshal

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

type OneNdpBdGetReply

type OneNdpBdGetReply struct {
	Retval        int32    `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count         uint32   `binapi:"u32,name=count" json:"-"`
	BridgeDomains []uint32 `binapi:"u32[count],name=bridge_domains" json:"bridge_domains,omitempty"`
}

Reply with list of bridge domains used by neighbor discovery

  • count - number of elements in the list
  • bridge_domains - list of BDs

OneNdpBdGetReply defines message 'one_ndp_bd_get_reply'.

func (*OneNdpBdGetReply) GetCrcString

func (*OneNdpBdGetReply) GetCrcString() string

func (*OneNdpBdGetReply) GetMessageName

func (*OneNdpBdGetReply) GetMessageName() string

func (*OneNdpBdGetReply) GetMessageType

func (*OneNdpBdGetReply) GetMessageType() api.MessageType

func (*OneNdpBdGetReply) Marshal

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

func (*OneNdpBdGetReply) Reset

func (m *OneNdpBdGetReply) Reset()

func (*OneNdpBdGetReply) Size

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

func (*OneNdpBdGetReply) Unmarshal

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

type OneNdpEntriesGet

type OneNdpEntriesGet struct {
	Bd uint32 `binapi:"u32,name=bd" json:"bd,omitempty"`
}

OneNdpEntriesGet defines message 'one_ndp_entries_get'.

func (*OneNdpEntriesGet) GetCrcString

func (*OneNdpEntriesGet) GetCrcString() string

func (*OneNdpEntriesGet) GetMessageName

func (*OneNdpEntriesGet) GetMessageName() string

func (*OneNdpEntriesGet) GetMessageType

func (*OneNdpEntriesGet) GetMessageType() api.MessageType

func (*OneNdpEntriesGet) Marshal

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

func (*OneNdpEntriesGet) Reset

func (m *OneNdpEntriesGet) Reset()

func (*OneNdpEntriesGet) Size

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

func (*OneNdpEntriesGet) Unmarshal

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

type OneNdpEntriesGetReply

type OneNdpEntriesGetReply struct {
	Retval  int32         `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count   uint32        `binapi:"u32,name=count" json:"-"`
	Entries []OneNdpEntry `binapi:"one_ndp_entry[count],name=entries" json:"entries,omitempty"`
}

OneNdpEntriesGetReply defines message 'one_ndp_entries_get_reply'.

func (*OneNdpEntriesGetReply) GetCrcString

func (*OneNdpEntriesGetReply) GetCrcString() string

func (*OneNdpEntriesGetReply) GetMessageName

func (*OneNdpEntriesGetReply) GetMessageName() string

func (*OneNdpEntriesGetReply) GetMessageType

func (*OneNdpEntriesGetReply) GetMessageType() api.MessageType

func (*OneNdpEntriesGetReply) Marshal

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

func (*OneNdpEntriesGetReply) Reset

func (m *OneNdpEntriesGetReply) Reset()

func (*OneNdpEntriesGetReply) Size

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

func (*OneNdpEntriesGetReply) Unmarshal

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

type OneNdpEntry

type OneNdpEntry struct {
	Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"`
	IP6 ip_types.IP6Address       `binapi:"ip6_address,name=ip6" json:"ip6,omitempty"`
}

OneNdpEntry defines type 'one_ndp_entry'.

type OneNshSetLocatorSet

type OneNshSetLocatorSet 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 delete ONE NSH mapping

  • ls_name - locator set name
  • is_add - add locator set if non-zero; delete otherwise

OneNshSetLocatorSet defines message 'one_nsh_set_locator_set'.

func (*OneNshSetLocatorSet) GetCrcString

func (*OneNshSetLocatorSet) GetCrcString() string

func (*OneNshSetLocatorSet) GetMessageName

func (*OneNshSetLocatorSet) GetMessageName() string

func (*OneNshSetLocatorSet) GetMessageType

func (*OneNshSetLocatorSet) GetMessageType() api.MessageType

func (*OneNshSetLocatorSet) Marshal

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

func (*OneNshSetLocatorSet) Reset

func (m *OneNshSetLocatorSet) Reset()

func (*OneNshSetLocatorSet) Size

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

func (*OneNshSetLocatorSet) Unmarshal

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

type OneNshSetLocatorSetReply

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

OneNshSetLocatorSetReply defines message 'one_nsh_set_locator_set_reply'.

func (*OneNshSetLocatorSetReply) GetCrcString

func (*OneNshSetLocatorSetReply) GetCrcString() string

func (*OneNshSetLocatorSetReply) GetMessageName

func (*OneNshSetLocatorSetReply) GetMessageName() string

func (*OneNshSetLocatorSetReply) GetMessageType

func (*OneNshSetLocatorSetReply) GetMessageType() api.MessageType

func (*OneNshSetLocatorSetReply) Marshal

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

func (*OneNshSetLocatorSetReply) Reset

func (m *OneNshSetLocatorSetReply) Reset()

func (*OneNshSetLocatorSetReply) Size

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

func (*OneNshSetLocatorSetReply) Unmarshal

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

type OnePitrSetLocatorSet

type OnePitrSetLocatorSet 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 ONE PITR node

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

OnePitrSetLocatorSet defines message 'one_pitr_set_locator_set'.

func (*OnePitrSetLocatorSet) GetCrcString

func (*OnePitrSetLocatorSet) GetCrcString() string

func (*OnePitrSetLocatorSet) GetMessageName

func (*OnePitrSetLocatorSet) GetMessageName() string

func (*OnePitrSetLocatorSet) GetMessageType

func (*OnePitrSetLocatorSet) GetMessageType() api.MessageType

func (*OnePitrSetLocatorSet) Marshal

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

func (*OnePitrSetLocatorSet) Reset

func (m *OnePitrSetLocatorSet) Reset()

func (*OnePitrSetLocatorSet) Size

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

func (*OnePitrSetLocatorSet) Unmarshal

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

type OnePitrSetLocatorSetReply

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

OnePitrSetLocatorSetReply defines message 'one_pitr_set_locator_set_reply'.

func (*OnePitrSetLocatorSetReply) GetCrcString

func (*OnePitrSetLocatorSetReply) GetCrcString() string

func (*OnePitrSetLocatorSetReply) GetMessageName

func (*OnePitrSetLocatorSetReply) GetMessageName() string

func (*OnePitrSetLocatorSetReply) GetMessageType

func (*OnePitrSetLocatorSetReply) GetMessageType() api.MessageType

func (*OnePitrSetLocatorSetReply) Marshal

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

func (*OnePitrSetLocatorSetReply) Reset

func (m *OnePitrSetLocatorSetReply) Reset()

func (*OnePitrSetLocatorSetReply) Size

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

func (*OnePitrSetLocatorSetReply) Unmarshal

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

type OneRlocProbeEnableDisable

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

enable/disable ONE RLOC probing

  • is_enable - enable if non-zero; disable otherwise

OneRlocProbeEnableDisable defines message 'one_rloc_probe_enable_disable'.

func (*OneRlocProbeEnableDisable) GetCrcString

func (*OneRlocProbeEnableDisable) GetCrcString() string

func (*OneRlocProbeEnableDisable) GetMessageName

func (*OneRlocProbeEnableDisable) GetMessageName() string

func (*OneRlocProbeEnableDisable) GetMessageType

func (*OneRlocProbeEnableDisable) GetMessageType() api.MessageType

func (*OneRlocProbeEnableDisable) Marshal

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

func (*OneRlocProbeEnableDisable) Reset

func (m *OneRlocProbeEnableDisable) Reset()

func (*OneRlocProbeEnableDisable) Size

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

func (*OneRlocProbeEnableDisable) Unmarshal

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

type OneRlocProbeEnableDisableReply

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

OneRlocProbeEnableDisableReply defines message 'one_rloc_probe_enable_disable_reply'.

func (*OneRlocProbeEnableDisableReply) GetCrcString

func (*OneRlocProbeEnableDisableReply) GetCrcString() string

func (*OneRlocProbeEnableDisableReply) GetMessageName

func (*OneRlocProbeEnableDisableReply) GetMessageName() string

func (*OneRlocProbeEnableDisableReply) GetMessageType

func (*OneRlocProbeEnableDisableReply) Marshal

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

func (*OneRlocProbeEnableDisableReply) Reset

func (m *OneRlocProbeEnableDisableReply) Reset()

func (*OneRlocProbeEnableDisableReply) Size

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

func (*OneRlocProbeEnableDisableReply) Unmarshal

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

type OneSetTransportProtocol

type OneSetTransportProtocol struct {
	Protocol uint8 `binapi:"u8,name=protocol" json:"protocol,omitempty"`
}

Set ONE transport protocol

  • protocol - supported values: 1: UDP based LISP (default) 2: binary API

OneSetTransportProtocol defines message 'one_set_transport_protocol'.

func (*OneSetTransportProtocol) GetCrcString

func (*OneSetTransportProtocol) GetCrcString() string

func (*OneSetTransportProtocol) GetMessageName

func (*OneSetTransportProtocol) GetMessageName() string

func (*OneSetTransportProtocol) GetMessageType

func (*OneSetTransportProtocol) GetMessageType() api.MessageType

func (*OneSetTransportProtocol) Marshal

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

func (*OneSetTransportProtocol) Reset

func (m *OneSetTransportProtocol) Reset()

func (*OneSetTransportProtocol) Size

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

func (*OneSetTransportProtocol) Unmarshal

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

type OneSetTransportProtocolReply

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

OneSetTransportProtocolReply defines message 'one_set_transport_protocol_reply'.

func (*OneSetTransportProtocolReply) GetCrcString

func (*OneSetTransportProtocolReply) GetCrcString() string

func (*OneSetTransportProtocolReply) GetMessageName

func (*OneSetTransportProtocolReply) GetMessageName() string

func (*OneSetTransportProtocolReply) GetMessageType

func (*OneSetTransportProtocolReply) GetMessageType() api.MessageType

func (*OneSetTransportProtocolReply) Marshal

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

func (*OneSetTransportProtocolReply) Reset

func (m *OneSetTransportProtocolReply) Reset()

func (*OneSetTransportProtocolReply) Size

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

func (*OneSetTransportProtocolReply) Unmarshal

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

type OneShowPetrMode

type OneShowPetrMode struct{}

OneShowPetrMode defines message 'one_show_petr_mode'.

func (*OneShowPetrMode) GetCrcString

func (*OneShowPetrMode) GetCrcString() string

func (*OneShowPetrMode) GetMessageName

func (*OneShowPetrMode) GetMessageName() string

func (*OneShowPetrMode) GetMessageType

func (*OneShowPetrMode) GetMessageType() api.MessageType

func (*OneShowPetrMode) Marshal

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

func (*OneShowPetrMode) Reset

func (m *OneShowPetrMode) Reset()

func (*OneShowPetrMode) Size

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

func (*OneShowPetrMode) Unmarshal

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

type OneShowPetrModeReply

type OneShowPetrModeReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
}

OneShowPetrModeReply defines message 'one_show_petr_mode_reply'.

func (*OneShowPetrModeReply) GetCrcString

func (*OneShowPetrModeReply) GetCrcString() string

func (*OneShowPetrModeReply) GetMessageName

func (*OneShowPetrModeReply) GetMessageName() string

func (*OneShowPetrModeReply) GetMessageType

func (*OneShowPetrModeReply) GetMessageType() api.MessageType

func (*OneShowPetrModeReply) Marshal

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

func (*OneShowPetrModeReply) Reset

func (m *OneShowPetrModeReply) Reset()

func (*OneShowPetrModeReply) Size

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

func (*OneShowPetrModeReply) Unmarshal

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

type OneShowPitrMode

type OneShowPitrMode struct{}

OneShowPitrMode defines message 'one_show_pitr_mode'.

func (*OneShowPitrMode) GetCrcString

func (*OneShowPitrMode) GetCrcString() string

func (*OneShowPitrMode) GetMessageName

func (*OneShowPitrMode) GetMessageName() string

func (*OneShowPitrMode) GetMessageType

func (*OneShowPitrMode) GetMessageType() api.MessageType

func (*OneShowPitrMode) Marshal

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

func (*OneShowPitrMode) Reset

func (m *OneShowPitrMode) Reset()

func (*OneShowPitrMode) Size

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

func (*OneShowPitrMode) Unmarshal

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

type OneShowPitrModeReply

type OneShowPitrModeReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
}

OneShowPitrModeReply defines message 'one_show_pitr_mode_reply'.

func (*OneShowPitrModeReply) GetCrcString

func (*OneShowPitrModeReply) GetCrcString() string

func (*OneShowPitrModeReply) GetMessageName

func (*OneShowPitrModeReply) GetMessageName() string

func (*OneShowPitrModeReply) GetMessageType

func (*OneShowPitrModeReply) GetMessageType() api.MessageType

func (*OneShowPitrModeReply) Marshal

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

func (*OneShowPitrModeReply) Reset

func (m *OneShowPitrModeReply) Reset()

func (*OneShowPitrModeReply) Size

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

func (*OneShowPitrModeReply) Unmarshal

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

type OneShowXtrMode

type OneShowXtrMode struct{}

OneShowXtrMode defines message 'one_show_xtr_mode'.

func (*OneShowXtrMode) GetCrcString

func (*OneShowXtrMode) GetCrcString() string

func (*OneShowXtrMode) GetMessageName

func (*OneShowXtrMode) GetMessageName() string

func (*OneShowXtrMode) GetMessageType

func (*OneShowXtrMode) GetMessageType() api.MessageType

func (*OneShowXtrMode) Marshal

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

func (*OneShowXtrMode) Reset

func (m *OneShowXtrMode) Reset()

func (*OneShowXtrMode) Size

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

func (*OneShowXtrMode) Unmarshal

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

type OneShowXtrModeReply

type OneShowXtrModeReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
}

OneShowXtrModeReply defines message 'one_show_xtr_mode_reply'.

func (*OneShowXtrModeReply) GetCrcString

func (*OneShowXtrModeReply) GetCrcString() string

func (*OneShowXtrModeReply) GetMessageName

func (*OneShowXtrModeReply) GetMessageName() string

func (*OneShowXtrModeReply) GetMessageType

func (*OneShowXtrModeReply) GetMessageType() api.MessageType

func (*OneShowXtrModeReply) Marshal

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

func (*OneShowXtrModeReply) Reset

func (m *OneShowXtrModeReply) Reset()

func (*OneShowXtrModeReply) Size

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

func (*OneShowXtrModeReply) Unmarshal

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

type OneStatsDetails

type OneStatsDetails struct {
	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"`
	Rloc     ip_types.Address `binapi:"address,name=rloc" json:"rloc,omitempty"`
	Lloc     ip_types.Address `binapi:"address,name=lloc" json:"lloc,omitempty"`
	PktCount uint32           `binapi:"u32,name=pkt_count" json:"pkt_count,omitempty"`
	Bytes    uint32           `binapi:"u32,name=bytes" json:"bytes,omitempty"`
}

OneStatsDetails defines message 'one_stats_details'.

func (*OneStatsDetails) GetCrcString

func (*OneStatsDetails) GetCrcString() string

func (*OneStatsDetails) GetMessageName

func (*OneStatsDetails) GetMessageName() string

func (*OneStatsDetails) GetMessageType

func (*OneStatsDetails) GetMessageType() api.MessageType

func (*OneStatsDetails) Marshal

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

func (*OneStatsDetails) Reset

func (m *OneStatsDetails) Reset()

func (*OneStatsDetails) Size

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

func (*OneStatsDetails) Unmarshal

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

type OneStatsDump

type OneStatsDump struct{}

OneStatsDump defines message 'one_stats_dump'.

func (*OneStatsDump) GetCrcString

func (*OneStatsDump) GetCrcString() string

func (*OneStatsDump) GetMessageName

func (*OneStatsDump) GetMessageName() string

func (*OneStatsDump) GetMessageType

func (*OneStatsDump) GetMessageType() api.MessageType

func (*OneStatsDump) Marshal

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

func (*OneStatsDump) Reset

func (m *OneStatsDump) Reset()

func (*OneStatsDump) Size

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

func (*OneStatsDump) Unmarshal

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

type OneStatsEnableDisable

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

OneStatsEnableDisable defines message 'one_stats_enable_disable'.

func (*OneStatsEnableDisable) GetCrcString

func (*OneStatsEnableDisable) GetCrcString() string

func (*OneStatsEnableDisable) GetMessageName

func (*OneStatsEnableDisable) GetMessageName() string

func (*OneStatsEnableDisable) GetMessageType

func (*OneStatsEnableDisable) GetMessageType() api.MessageType

func (*OneStatsEnableDisable) Marshal

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

func (*OneStatsEnableDisable) Reset

func (m *OneStatsEnableDisable) Reset()

func (*OneStatsEnableDisable) Size

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

func (*OneStatsEnableDisable) Unmarshal

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

type OneStatsEnableDisableReply

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

OneStatsEnableDisableReply defines message 'one_stats_enable_disable_reply'.

func (*OneStatsEnableDisableReply) GetCrcString

func (*OneStatsEnableDisableReply) GetCrcString() string

func (*OneStatsEnableDisableReply) GetMessageName

func (*OneStatsEnableDisableReply) GetMessageName() string

func (*OneStatsEnableDisableReply) GetMessageType

func (*OneStatsEnableDisableReply) GetMessageType() api.MessageType

func (*OneStatsEnableDisableReply) Marshal

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

func (*OneStatsEnableDisableReply) Reset

func (m *OneStatsEnableDisableReply) Reset()

func (*OneStatsEnableDisableReply) Size

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

func (*OneStatsEnableDisableReply) Unmarshal

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

type OneStatsFlush

type OneStatsFlush struct{}

OneStatsFlush defines message 'one_stats_flush'.

func (*OneStatsFlush) GetCrcString

func (*OneStatsFlush) GetCrcString() string

func (*OneStatsFlush) GetMessageName

func (*OneStatsFlush) GetMessageName() string

func (*OneStatsFlush) GetMessageType

func (*OneStatsFlush) GetMessageType() api.MessageType

func (*OneStatsFlush) Marshal

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

func (*OneStatsFlush) Reset

func (m *OneStatsFlush) Reset()

func (*OneStatsFlush) Size

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

func (*OneStatsFlush) Unmarshal

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

type OneStatsFlushReply

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

OneStatsFlushReply defines message 'one_stats_flush_reply'.

func (*OneStatsFlushReply) GetCrcString

func (*OneStatsFlushReply) GetCrcString() string

func (*OneStatsFlushReply) GetMessageName

func (*OneStatsFlushReply) GetMessageName() string

func (*OneStatsFlushReply) GetMessageType

func (*OneStatsFlushReply) GetMessageType() api.MessageType

func (*OneStatsFlushReply) Marshal

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

func (*OneStatsFlushReply) Reset

func (m *OneStatsFlushReply) Reset()

func (*OneStatsFlushReply) Size

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

func (*OneStatsFlushReply) Unmarshal

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

type OneUsePetr

type OneUsePetr 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

  • is_ip4 - Address is IPv4 if set and IPv6 otherwise
  • address - PETR IP address
  • is_add - add locator set if non-zero, else disable PETR

OneUsePetr defines message 'one_use_petr'.

func (*OneUsePetr) GetCrcString

func (*OneUsePetr) GetCrcString() string

func (*OneUsePetr) GetMessageName

func (*OneUsePetr) GetMessageName() string

func (*OneUsePetr) GetMessageType

func (*OneUsePetr) GetMessageType() api.MessageType

func (*OneUsePetr) Marshal

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

func (*OneUsePetr) Reset

func (m *OneUsePetr) Reset()

func (*OneUsePetr) Size

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

func (*OneUsePetr) Unmarshal

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

type OneUsePetrReply

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

OneUsePetrReply defines message 'one_use_petr_reply'.

func (*OneUsePetrReply) GetCrcString

func (*OneUsePetrReply) GetCrcString() string

func (*OneUsePetrReply) GetMessageName

func (*OneUsePetrReply) GetMessageName() string

func (*OneUsePetrReply) GetMessageType

func (*OneUsePetrReply) GetMessageType() api.MessageType

func (*OneUsePetrReply) Marshal

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

func (*OneUsePetrReply) Reset

func (m *OneUsePetrReply) Reset()

func (*OneUsePetrReply) Size

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

func (*OneUsePetrReply) Unmarshal

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

type RPCService

type RPCService interface {
	OneAddDelAdjacency(ctx context.Context, in *OneAddDelAdjacency) (*OneAddDelAdjacencyReply, error)
	OneAddDelL2ArpEntry(ctx context.Context, in *OneAddDelL2ArpEntry) (*OneAddDelL2ArpEntryReply, error)
	OneAddDelLocalEid(ctx context.Context, in *OneAddDelLocalEid) (*OneAddDelLocalEidReply, error)
	OneAddDelLocator(ctx context.Context, in *OneAddDelLocator) (*OneAddDelLocatorReply, error)
	OneAddDelLocatorSet(ctx context.Context, in *OneAddDelLocatorSet) (*OneAddDelLocatorSetReply, error)
	OneAddDelMapRequestItrRlocs(ctx context.Context, in *OneAddDelMapRequestItrRlocs) (*OneAddDelMapRequestItrRlocsReply, error)
	OneAddDelMapResolver(ctx context.Context, in *OneAddDelMapResolver) (*OneAddDelMapResolverReply, error)
	OneAddDelMapServer(ctx context.Context, in *OneAddDelMapServer) (*OneAddDelMapServerReply, error)
	OneAddDelNdpEntry(ctx context.Context, in *OneAddDelNdpEntry) (*OneAddDelNdpEntryReply, error)
	OneAddDelRemoteMapping(ctx context.Context, in *OneAddDelRemoteMapping) (*OneAddDelRemoteMappingReply, error)
	OneAdjacenciesGet(ctx context.Context, in *OneAdjacenciesGet) (*OneAdjacenciesGetReply, error)
	OneEidTableAddDelMap(ctx context.Context, in *OneEidTableAddDelMap) (*OneEidTableAddDelMapReply, error)
	OneEidTableDump(ctx context.Context, in *OneEidTableDump) (RPCService_OneEidTableDumpClient, error)
	OneEidTableMapDump(ctx context.Context, in *OneEidTableMapDump) (RPCService_OneEidTableMapDumpClient, error)
	OneEidTableVniDump(ctx context.Context, in *OneEidTableVniDump) (RPCService_OneEidTableVniDumpClient, error)
	OneEnableDisable(ctx context.Context, in *OneEnableDisable) (*OneEnableDisableReply, error)
	OneEnableDisablePetrMode(ctx context.Context, in *OneEnableDisablePetrMode) (*OneEnableDisablePetrModeReply, error)
	OneEnableDisablePitrMode(ctx context.Context, in *OneEnableDisablePitrMode) (*OneEnableDisablePitrModeReply, error)
	OneEnableDisableXtrMode(ctx context.Context, in *OneEnableDisableXtrMode) (*OneEnableDisableXtrModeReply, error)
	OneGetMapRequestItrRlocs(ctx context.Context, in *OneGetMapRequestItrRlocs) (*OneGetMapRequestItrRlocsReply, error)
	OneGetTransportProtocol(ctx context.Context, in *OneGetTransportProtocol) (*OneGetTransportProtocolReply, error)
	OneL2ArpBdGet(ctx context.Context, in *OneL2ArpBdGet) (*OneL2ArpBdGetReply, error)
	OneL2ArpEntriesGet(ctx context.Context, in *OneL2ArpEntriesGet) (*OneL2ArpEntriesGetReply, error)
	OneLocatorDump(ctx context.Context, in *OneLocatorDump) (RPCService_OneLocatorDumpClient, error)
	OneLocatorSetDump(ctx context.Context, in *OneLocatorSetDump) (RPCService_OneLocatorSetDumpClient, error)
	OneMapRegisterEnableDisable(ctx context.Context, in *OneMapRegisterEnableDisable) (*OneMapRegisterEnableDisableReply, error)
	OneMapRegisterFallbackThreshold(ctx context.Context, in *OneMapRegisterFallbackThreshold) (*OneMapRegisterFallbackThresholdReply, error)
	OneMapRegisterSetTTL(ctx context.Context, in *OneMapRegisterSetTTL) (*OneMapRegisterSetTTLReply, error)
	OneMapRequestMode(ctx context.Context, in *OneMapRequestMode) (*OneMapRequestModeReply, error)
	OneMapResolverDump(ctx context.Context, in *OneMapResolverDump) (RPCService_OneMapResolverDumpClient, error)
	OneMapServerDump(ctx context.Context, in *OneMapServerDump) (RPCService_OneMapServerDumpClient, error)
	OneNdpBdGet(ctx context.Context, in *OneNdpBdGet) (*OneNdpBdGetReply, error)
	OneNdpEntriesGet(ctx context.Context, in *OneNdpEntriesGet) (*OneNdpEntriesGetReply, error)
	OneNshSetLocatorSet(ctx context.Context, in *OneNshSetLocatorSet) (*OneNshSetLocatorSetReply, error)
	OnePitrSetLocatorSet(ctx context.Context, in *OnePitrSetLocatorSet) (*OnePitrSetLocatorSetReply, error)
	OneRlocProbeEnableDisable(ctx context.Context, in *OneRlocProbeEnableDisable) (*OneRlocProbeEnableDisableReply, error)
	OneSetTransportProtocol(ctx context.Context, in *OneSetTransportProtocol) (*OneSetTransportProtocolReply, error)
	OneShowPetrMode(ctx context.Context, in *OneShowPetrMode) (*OneShowPetrModeReply, error)
	OneShowPitrMode(ctx context.Context, in *OneShowPitrMode) (*OneShowPitrModeReply, error)
	OneShowXtrMode(ctx context.Context, in *OneShowXtrMode) (*OneShowXtrModeReply, error)
	OneStatsDump(ctx context.Context, in *OneStatsDump) (RPCService_OneStatsDumpClient, error)
	OneStatsEnableDisable(ctx context.Context, in *OneStatsEnableDisable) (*OneStatsEnableDisableReply, error)
	OneStatsFlush(ctx context.Context, in *OneStatsFlush) (*OneStatsFlushReply, error)
	OneUsePetr(ctx context.Context, in *OneUsePetr) (*OneUsePetrReply, error)
	ShowOneMapRegisterFallbackThreshold(ctx context.Context, in *ShowOneMapRegisterFallbackThreshold) (*ShowOneMapRegisterFallbackThresholdReply, error)
	ShowOneMapRegisterState(ctx context.Context, in *ShowOneMapRegisterState) (*ShowOneMapRegisterStateReply, error)
	ShowOneMapRegisterTTL(ctx context.Context, in *ShowOneMapRegisterTTL) (*ShowOneMapRegisterTTLReply, error)
	ShowOneMapRequestMode(ctx context.Context, in *ShowOneMapRequestMode) (*ShowOneMapRequestModeReply, error)
	ShowOneNshMapping(ctx context.Context, in *ShowOneNshMapping) (*ShowOneNshMappingReply, error)
	ShowOnePitr(ctx context.Context, in *ShowOnePitr) (*ShowOnePitrReply, error)
	ShowOneRlocProbeState(ctx context.Context, in *ShowOneRlocProbeState) (*ShowOneRlocProbeStateReply, error)
	ShowOneStatsEnableDisable(ctx context.Context, in *ShowOneStatsEnableDisable) (*ShowOneStatsEnableDisableReply, error)
	ShowOneStatus(ctx context.Context, in *ShowOneStatus) (*ShowOneStatusReply, error)
	ShowOneUsePetr(ctx context.Context, in *ShowOneUsePetr) (*ShowOneUsePetrReply, error)
}

RPCService defines RPC service one.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_OneEidTableDumpClient

type RPCService_OneEidTableDumpClient interface {
	Recv() (*OneEidTableDetails, error)
	api.Stream
}

type RPCService_OneEidTableMapDumpClient

type RPCService_OneEidTableMapDumpClient interface {
	Recv() (*OneEidTableMapDetails, error)
	api.Stream
}

type RPCService_OneEidTableVniDumpClient

type RPCService_OneEidTableVniDumpClient interface {
	Recv() (*OneEidTableVniDetails, error)
	api.Stream
}

type RPCService_OneLocatorDumpClient

type RPCService_OneLocatorDumpClient interface {
	Recv() (*OneLocatorDetails, error)
	api.Stream
}

type RPCService_OneLocatorSetDumpClient

type RPCService_OneLocatorSetDumpClient interface {
	Recv() (*OneLocatorSetDetails, error)
	api.Stream
}

type RPCService_OneMapResolverDumpClient

type RPCService_OneMapResolverDumpClient interface {
	Recv() (*OneMapResolverDetails, error)
	api.Stream
}

type RPCService_OneMapServerDumpClient

type RPCService_OneMapServerDumpClient interface {
	Recv() (*OneMapServerDetails, error)
	api.Stream
}

type RPCService_OneStatsDumpClient

type RPCService_OneStatsDumpClient interface {
	Recv() (*OneStatsDetails, error)
	api.Stream
}

type ShowOneMapRegisterFallbackThreshold

type ShowOneMapRegisterFallbackThreshold struct{}

ShowOneMapRegisterFallbackThreshold defines message 'show_one_map_register_fallback_threshold'.

func (*ShowOneMapRegisterFallbackThreshold) GetCrcString

func (*ShowOneMapRegisterFallbackThreshold) GetMessageName

func (*ShowOneMapRegisterFallbackThreshold) GetMessageName() string

func (*ShowOneMapRegisterFallbackThreshold) GetMessageType

func (*ShowOneMapRegisterFallbackThreshold) Marshal

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

func (*ShowOneMapRegisterFallbackThreshold) Reset

func (*ShowOneMapRegisterFallbackThreshold) Size

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

func (*ShowOneMapRegisterFallbackThreshold) Unmarshal

type ShowOneMapRegisterFallbackThresholdReply

type ShowOneMapRegisterFallbackThresholdReply struct {
	Retval int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	Value  uint32 `binapi:"u32,name=value" json:"value,omitempty"`
}

ShowOneMapRegisterFallbackThresholdReply defines message 'show_one_map_register_fallback_threshold_reply'.

func (*ShowOneMapRegisterFallbackThresholdReply) GetCrcString

func (*ShowOneMapRegisterFallbackThresholdReply) GetMessageName

func (*ShowOneMapRegisterFallbackThresholdReply) GetMessageType

func (*ShowOneMapRegisterFallbackThresholdReply) Marshal

func (*ShowOneMapRegisterFallbackThresholdReply) Reset

func (*ShowOneMapRegisterFallbackThresholdReply) Size

func (*ShowOneMapRegisterFallbackThresholdReply) Unmarshal

type ShowOneMapRegisterState

type ShowOneMapRegisterState struct{}

Get state of ONE map-register ShowOneMapRegisterState defines message 'show_one_map_register_state'.

func (*ShowOneMapRegisterState) GetCrcString

func (*ShowOneMapRegisterState) GetCrcString() string

func (*ShowOneMapRegisterState) GetMessageName

func (*ShowOneMapRegisterState) GetMessageName() string

func (*ShowOneMapRegisterState) GetMessageType

func (*ShowOneMapRegisterState) GetMessageType() api.MessageType

func (*ShowOneMapRegisterState) Marshal

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

func (*ShowOneMapRegisterState) Reset

func (m *ShowOneMapRegisterState) Reset()

func (*ShowOneMapRegisterState) Size

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

func (*ShowOneMapRegisterState) Unmarshal

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

type ShowOneMapRegisterStateReply

type ShowOneMapRegisterStateReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
}

Reply for show_one_map_register_state

  • retval - return code

ShowOneMapRegisterStateReply defines message 'show_one_map_register_state_reply'.

func (*ShowOneMapRegisterStateReply) GetCrcString

func (*ShowOneMapRegisterStateReply) GetCrcString() string

func (*ShowOneMapRegisterStateReply) GetMessageName

func (*ShowOneMapRegisterStateReply) GetMessageName() string

func (*ShowOneMapRegisterStateReply) GetMessageType

func (*ShowOneMapRegisterStateReply) GetMessageType() api.MessageType

func (*ShowOneMapRegisterStateReply) Marshal

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

func (*ShowOneMapRegisterStateReply) Reset

func (m *ShowOneMapRegisterStateReply) Reset()

func (*ShowOneMapRegisterStateReply) Size

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

func (*ShowOneMapRegisterStateReply) Unmarshal

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

type ShowOneMapRegisterTTL

type ShowOneMapRegisterTTL struct{}

Get TTL for map register messages ShowOneMapRegisterTTL defines message 'show_one_map_register_ttl'.

func (*ShowOneMapRegisterTTL) GetCrcString

func (*ShowOneMapRegisterTTL) GetCrcString() string

func (*ShowOneMapRegisterTTL) GetMessageName

func (*ShowOneMapRegisterTTL) GetMessageName() string

func (*ShowOneMapRegisterTTL) GetMessageType

func (*ShowOneMapRegisterTTL) GetMessageType() api.MessageType

func (*ShowOneMapRegisterTTL) Marshal

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

func (*ShowOneMapRegisterTTL) Reset

func (m *ShowOneMapRegisterTTL) Reset()

func (*ShowOneMapRegisterTTL) Size

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

func (*ShowOneMapRegisterTTL) Unmarshal

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

type ShowOneMapRegisterTTLReply

type ShowOneMapRegisterTTLReply struct {
	Retval int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	TTL    uint32 `binapi:"u32,name=ttl" json:"ttl,omitempty"`
}

Contains current TTL for map register messages

  • retval - return code
  • ttl - time to live

ShowOneMapRegisterTTLReply defines message 'show_one_map_register_ttl_reply'.

func (*ShowOneMapRegisterTTLReply) GetCrcString

func (*ShowOneMapRegisterTTLReply) GetCrcString() string

func (*ShowOneMapRegisterTTLReply) GetMessageName

func (*ShowOneMapRegisterTTLReply) GetMessageName() string

func (*ShowOneMapRegisterTTLReply) GetMessageType

func (*ShowOneMapRegisterTTLReply) GetMessageType() api.MessageType

func (*ShowOneMapRegisterTTLReply) Marshal

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

func (*ShowOneMapRegisterTTLReply) Reset

func (m *ShowOneMapRegisterTTLReply) Reset()

func (*ShowOneMapRegisterTTLReply) Size

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

func (*ShowOneMapRegisterTTLReply) Unmarshal

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

type ShowOneMapRequestMode

type ShowOneMapRequestMode struct{}

Request for ONE map-request mode ShowOneMapRequestMode defines message 'show_one_map_request_mode'.

func (*ShowOneMapRequestMode) GetCrcString

func (*ShowOneMapRequestMode) GetCrcString() string

func (*ShowOneMapRequestMode) GetMessageName

func (*ShowOneMapRequestMode) GetMessageName() string

func (*ShowOneMapRequestMode) GetMessageType

func (*ShowOneMapRequestMode) GetMessageType() api.MessageType

func (*ShowOneMapRequestMode) Marshal

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

func (*ShowOneMapRequestMode) Reset

func (m *ShowOneMapRequestMode) Reset()

func (*ShowOneMapRequestMode) Size

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

func (*ShowOneMapRequestMode) Unmarshal

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

type ShowOneMapRequestModeReply

type ShowOneMapRequestModeReply struct {
	Retval int32      `binapi:"i32,name=retval" json:"retval,omitempty"`
	Mode   OneMapMode `binapi:"one_map_mode,name=mode" json:"mode,omitempty"`
}

Reply for show_one_map_request_mode

  • retval - return code
  • mode - map-request mode

ShowOneMapRequestModeReply defines message 'show_one_map_request_mode_reply'.

func (*ShowOneMapRequestModeReply) GetCrcString

func (*ShowOneMapRequestModeReply) GetCrcString() string

func (*ShowOneMapRequestModeReply) GetMessageName

func (*ShowOneMapRequestModeReply) GetMessageName() string

func (*ShowOneMapRequestModeReply) GetMessageType

func (*ShowOneMapRequestModeReply) GetMessageType() api.MessageType

func (*ShowOneMapRequestModeReply) Marshal

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

func (*ShowOneMapRequestModeReply) Reset

func (m *ShowOneMapRequestModeReply) Reset()

func (*ShowOneMapRequestModeReply) Size

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

func (*ShowOneMapRequestModeReply) Unmarshal

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

type ShowOneNshMapping

type ShowOneNshMapping struct{}

Request for ONE NSH mapping ShowOneNshMapping defines message 'show_one_nsh_mapping'.

func (*ShowOneNshMapping) GetCrcString

func (*ShowOneNshMapping) GetCrcString() string

func (*ShowOneNshMapping) GetMessageName

func (*ShowOneNshMapping) GetMessageName() string

func (*ShowOneNshMapping) GetMessageType

func (*ShowOneNshMapping) GetMessageType() api.MessageType

func (*ShowOneNshMapping) Marshal

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

func (*ShowOneNshMapping) Reset

func (m *ShowOneNshMapping) Reset()

func (*ShowOneNshMapping) Size

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

func (*ShowOneNshMapping) Unmarshal

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

type ShowOneNshMappingReply

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

Reply for ONE NSH mapping

  • is_set - is ONE NSH mapping set
  • locator_set_name - name of the locator_set if NSH mapping is set

ShowOneNshMappingReply defines message 'show_one_nsh_mapping_reply'.

func (*ShowOneNshMappingReply) GetCrcString

func (*ShowOneNshMappingReply) GetCrcString() string

func (*ShowOneNshMappingReply) GetMessageName

func (*ShowOneNshMappingReply) GetMessageName() string

func (*ShowOneNshMappingReply) GetMessageType

func (*ShowOneNshMappingReply) GetMessageType() api.MessageType

func (*ShowOneNshMappingReply) Marshal

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

func (*ShowOneNshMappingReply) Reset

func (m *ShowOneNshMappingReply) Reset()

func (*ShowOneNshMappingReply) Size

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

func (*ShowOneNshMappingReply) Unmarshal

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

type ShowOnePitr

type ShowOnePitr struct{}

Request for ONE PITR status ShowOnePitr defines message 'show_one_pitr'.

func (*ShowOnePitr) GetCrcString

func (*ShowOnePitr) GetCrcString() string

func (*ShowOnePitr) GetMessageName

func (*ShowOnePitr) GetMessageName() string

func (*ShowOnePitr) GetMessageType

func (*ShowOnePitr) GetMessageType() api.MessageType

func (*ShowOnePitr) Marshal

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

func (*ShowOnePitr) Reset

func (m *ShowOnePitr) Reset()

func (*ShowOnePitr) Size

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

func (*ShowOnePitr) Unmarshal

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

type ShowOnePitrReply

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

Status of ONE PITR, enable or disable

  • status - ONE PITR enable if non-zero, else disable
  • locator_set_name - name of the locator_set

ShowOnePitrReply defines message 'show_one_pitr_reply'.

func (*ShowOnePitrReply) GetCrcString

func (*ShowOnePitrReply) GetCrcString() string

func (*ShowOnePitrReply) GetMessageName

func (*ShowOnePitrReply) GetMessageName() string

func (*ShowOnePitrReply) GetMessageType

func (*ShowOnePitrReply) GetMessageType() api.MessageType

func (*ShowOnePitrReply) Marshal

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

func (*ShowOnePitrReply) Reset

func (m *ShowOnePitrReply) Reset()

func (*ShowOnePitrReply) Size

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

func (*ShowOnePitrReply) Unmarshal

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

type ShowOneRlocProbeState

type ShowOneRlocProbeState struct{}

Get state of ONE RLOC probing ShowOneRlocProbeState defines message 'show_one_rloc_probe_state'.

func (*ShowOneRlocProbeState) GetCrcString

func (*ShowOneRlocProbeState) GetCrcString() string

func (*ShowOneRlocProbeState) GetMessageName

func (*ShowOneRlocProbeState) GetMessageName() string

func (*ShowOneRlocProbeState) GetMessageType

func (*ShowOneRlocProbeState) GetMessageType() api.MessageType

func (*ShowOneRlocProbeState) Marshal

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

func (*ShowOneRlocProbeState) Reset

func (m *ShowOneRlocProbeState) Reset()

func (*ShowOneRlocProbeState) Size

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

func (*ShowOneRlocProbeState) Unmarshal

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

type ShowOneRlocProbeStateReply

type ShowOneRlocProbeStateReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
}

Reply for show_one_rloc_probe_state

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

ShowOneRlocProbeStateReply defines message 'show_one_rloc_probe_state_reply'.

func (*ShowOneRlocProbeStateReply) GetCrcString

func (*ShowOneRlocProbeStateReply) GetCrcString() string

func (*ShowOneRlocProbeStateReply) GetMessageName

func (*ShowOneRlocProbeStateReply) GetMessageName() string

func (*ShowOneRlocProbeStateReply) GetMessageType

func (*ShowOneRlocProbeStateReply) GetMessageType() api.MessageType

func (*ShowOneRlocProbeStateReply) Marshal

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

func (*ShowOneRlocProbeStateReply) Reset

func (m *ShowOneRlocProbeStateReply) Reset()

func (*ShowOneRlocProbeStateReply) Size

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

func (*ShowOneRlocProbeStateReply) Unmarshal

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

type ShowOneStatsEnableDisable

type ShowOneStatsEnableDisable struct{}

ShowOneStatsEnableDisable defines message 'show_one_stats_enable_disable'.

func (*ShowOneStatsEnableDisable) GetCrcString

func (*ShowOneStatsEnableDisable) GetCrcString() string

func (*ShowOneStatsEnableDisable) GetMessageName

func (*ShowOneStatsEnableDisable) GetMessageName() string

func (*ShowOneStatsEnableDisable) GetMessageType

func (*ShowOneStatsEnableDisable) GetMessageType() api.MessageType

func (*ShowOneStatsEnableDisable) Marshal

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

func (*ShowOneStatsEnableDisable) Reset

func (m *ShowOneStatsEnableDisable) Reset()

func (*ShowOneStatsEnableDisable) Size

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

func (*ShowOneStatsEnableDisable) Unmarshal

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

type ShowOneStatsEnableDisableReply

type ShowOneStatsEnableDisableReply struct {
	Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
}

ShowOneStatsEnableDisableReply defines message 'show_one_stats_enable_disable_reply'.

func (*ShowOneStatsEnableDisableReply) GetCrcString

func (*ShowOneStatsEnableDisableReply) GetCrcString() string

func (*ShowOneStatsEnableDisableReply) GetMessageName

func (*ShowOneStatsEnableDisableReply) GetMessageName() string

func (*ShowOneStatsEnableDisableReply) GetMessageType

func (*ShowOneStatsEnableDisableReply) Marshal

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

func (*ShowOneStatsEnableDisableReply) Reset

func (m *ShowOneStatsEnableDisableReply) Reset()

func (*ShowOneStatsEnableDisableReply) Size

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

func (*ShowOneStatsEnableDisableReply) Unmarshal

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

type ShowOneStatus

type ShowOneStatus struct{}

Request for ONE status ShowOneStatus defines message 'show_one_status'.

func (*ShowOneStatus) GetCrcString

func (*ShowOneStatus) GetCrcString() string

func (*ShowOneStatus) GetMessageName

func (*ShowOneStatus) GetMessageName() string

func (*ShowOneStatus) GetMessageType

func (*ShowOneStatus) GetMessageType() api.MessageType

func (*ShowOneStatus) Marshal

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

func (*ShowOneStatus) Reset

func (m *ShowOneStatus) Reset()

func (*ShowOneStatus) Size

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

func (*ShowOneStatus) Unmarshal

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

type ShowOneStatusReply

type ShowOneStatusReply struct {
	Retval        int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
	FeatureStatus bool  `binapi:"bool,name=feature_status" json:"feature_status,omitempty"`
	GpeStatus     bool  `binapi:"bool,name=gpe_status" json:"gpe_status,omitempty"`
}

ONE status

  • feature_status - enabled if non-zero, else disabled
  • gpe_status - enabled if non-zero, else disabled

ShowOneStatusReply defines message 'show_one_status_reply'.

func (*ShowOneStatusReply) GetCrcString

func (*ShowOneStatusReply) GetCrcString() string

func (*ShowOneStatusReply) GetMessageName

func (*ShowOneStatusReply) GetMessageName() string

func (*ShowOneStatusReply) GetMessageType

func (*ShowOneStatusReply) GetMessageType() api.MessageType

func (*ShowOneStatusReply) Marshal

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

func (*ShowOneStatusReply) Reset

func (m *ShowOneStatusReply) Reset()

func (*ShowOneStatusReply) Size

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

func (*ShowOneStatusReply) Unmarshal

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

type ShowOneUsePetr

type ShowOneUsePetr struct{}

Request for ONE PETR status ShowOneUsePetr defines message 'show_one_use_petr'.

func (*ShowOneUsePetr) GetCrcString

func (*ShowOneUsePetr) GetCrcString() string

func (*ShowOneUsePetr) GetMessageName

func (*ShowOneUsePetr) GetMessageName() string

func (*ShowOneUsePetr) GetMessageType

func (*ShowOneUsePetr) GetMessageType() api.MessageType

func (*ShowOneUsePetr) Marshal

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

func (*ShowOneUsePetr) Reset

func (m *ShowOneUsePetr) Reset()

func (*ShowOneUsePetr) Size

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

func (*ShowOneUsePetr) Unmarshal

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

type ShowOneUsePetrReply

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

ONE PETR status, enable or disable

  • enable - ONE PETR enable if non-zero, else disable
  • is_ip4 - Address is IPv4 if non-zero, else IPv6
  • address - PETR IP address

ShowOneUsePetrReply defines message 'show_one_use_petr_reply'.

func (*ShowOneUsePetrReply) GetCrcString

func (*ShowOneUsePetrReply) GetCrcString() string

func (*ShowOneUsePetrReply) GetMessageName

func (*ShowOneUsePetrReply) GetMessageName() string

func (*ShowOneUsePetrReply) GetMessageType

func (*ShowOneUsePetrReply) GetMessageType() api.MessageType

func (*ShowOneUsePetrReply) Marshal

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

func (*ShowOneUsePetrReply) Reset

func (m *ShowOneUsePetrReply) Reset()

func (*ShowOneUsePetrReply) Size

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

func (*ShowOneUsePetrReply) Unmarshal

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

Jump to

Keyboard shortcuts

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