2.8. lisp module¶
-
class
lisp.LispEID(eid)¶ Bases:
objectLisp endpoint identifier
-
property
address¶
-
property
eid_type¶
-
property
packed¶
-
property
-
class
lisp.VppLispAdjacency(test, leid, reid, vni=0)¶ Bases:
vpp_object.VppObjectRepresents LISP adjacency in VPP
-
add_vpp_config()¶ Add the configuration for this object to vpp.
-
static
eid_equal(eid, eid_api)¶
-
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.VppObjectRepresents 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.VppObjectRepresents 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.VppObjectRepresents 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¶
-
property
-
class
lisp.VppLocalMapping(test, eid, ls_name, vni=0, priority=1, weight=1, key_id=0, key='')¶ Bases:
lisp.VppLispMappingLISP 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¶
-