2.8. lisp module

class lisp.LispEID(eid)

Bases: object

Lisp endpoint identifier

property packed
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()

Add the configuration for this object to vpp.

static eid_equal(eid, eid_type, eid_data, prefix_len)
property leid
object_id()

Return a unique string representing this object.

query_vpp_config()

Query the vpp configuration.

Returns

True if the object is configured

property reid
remove_vpp_config()

Remove the configuration for this object from vpp.

property test
property 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()

Add the configuration for this object to vpp.

get_lisp_locator_dump_entry()
property ls_name

Locator set name

object_id()

Return a unique string representing this object.

property priority
query_vpp_config()

Query the vpp configuration.

Returns

True if the object is configured

remove_vpp_config()

Remove the configuration for this object from vpp.

property sw_if_index
property test

Test which created this locator

property weight
class lisp.VppLispLocatorSet(test, ls_name)

Bases: vpp_object.VppObject

Represents LISP locator set in VPP

add_vpp_config()

Add the configuration for this object to vpp.

get_lisp_locator_sets_dump_entry()
property ls_name
object_id()

Return a unique string representing this object.

query_vpp_config()

Query the vpp configuration.

Returns

True if the object is configured

remove_vpp_config()

Remove the configuration for this object from vpp.

property 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

property eid
get_lisp_mapping_dump_entry()
object_id()

Return a unique string representing this object.

property priority
query_vpp_config()

Query the vpp configuration.

Returns

True if the object is configured

property test
property vni
property 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()

Add the configuration for this object to vpp.

property key
property key_id
property ls_name
object_id()

Return a unique string representing this object.

remove_vpp_config()

Remove the configuration for this object from vpp.

class lisp.VppRemoteMapping(test, eid, rlocs=None, vni=0, priority=1, weight=1)

Bases: lisp.VppLispMapping

add_vpp_config()

Add the configuration for this object to vpp.

object_id()

Return a unique string representing this object.

remove_vpp_config()

Remove the configuration for this object from vpp.

property rlocs