2.8. lisp module¶
-
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_type, eid_data, prefix_len)¶
-
leid¶
-
object_id()¶ Return a unique string representing this object.
-
query_vpp_config()¶ Query the vpp configuration.
- Returns
True if the object is configured
-
reid¶
-
remove_vpp_config()¶ Remove the configuration for this object from vpp.
-
test¶
-
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()¶
-
ls_name¶ Locator set name
-
object_id()¶ Return a unique string representing this object.
-
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.
-
sw_if_index¶
-
test¶ Test which created this locator
-
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()¶
-
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.
-
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
-
eid¶
-
get_lisp_mapping_dump_entry()¶
-
object_id()¶ Return a unique string representing this object.
-
priority¶
-
query_vpp_config()¶ Query the vpp configuration.
- Returns
True if the object is configured
-
test¶
-
vni¶
-
weight¶
-
-
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.
-
key¶
-
key_id¶
-
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.
-
rlocs¶
-