2.5. lisp module

class lisp.LispEID(eid)

Bases: object

Lisp endpoint identifier

class lisp.LispEIDType

Bases: object

IP4 = 0
IP6 = 1
MAC = 2
class lisp.LispKeyIdType

Bases: object

NONE = 0
SHA1 = 1
SHA256 = 2
class lisp.VppLispAdjacency(test, leid, reid, vni=0)

Bases: vpp_object.VppObject

Represents LISP adjacency in VPP

add_vpp_config()
eid_equal(eid, eid_type, eid_data, prefix_len)
leid
object_id()
query_vpp_config()
reid
remove_vpp_config()
test
vni
class lisp.VppLispLocator(test, sw_if_index, ls_name, priority=1, weight=1)

Bases: vpp_object.VppObject

Represents LISP locator in VPP

add_vpp_config()
get_lisp_locator_dump_entry()
ls_name

Locator set name

object_id()
priority
query_vpp_config()
remove_vpp_config()
sw_if_index
test

Test which created this locator

weight
class lisp.VppLispLocatorSet(test, ls_name)

Bases: vpp_object.VppObject

Represents LISP locator set in VPP

add_vpp_config()
get_lisp_locator_sets_dump_entry()
ls_name
object_id()
query_vpp_config()
remove_vpp_config()
test
class lisp.VppLispMapping(test, eid, vni=0, priority=1, weight=1)

Bases: vpp_object.VppObject

Represents common features for remote and local LISP mapping in VPP

eid
get_lisp_mapping_dump_entry()
priority
query_vpp_config()
test
vni
weight
class lisp.VppLocalMapping(test, eid, ls_name, vni=0, priority=1, weight=1, key_id=0, key='')

Bases: lisp.VppLispMapping

LISP Local mapping

add_vpp_config()
key
key_id
ls_name
object_id()
remove_vpp_config()
class lisp.VppRemoteMapping(test, eid, rlocs=None, vni=0, priority=1, weight=1)

Bases: lisp.VppLispMapping

add_vpp_config()
object_id()
remove_vpp_config()
rlocs