Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1126: Detection and reporting of failed MRR tests
[csit.git]
/
resources
/
libraries
/
python
/
LispSetup.py
diff --git
a/resources/libraries/python/LispSetup.py
b/resources/libraries/python/LispSetup.py
index
8574995
..
5ef8bc0
100644
(file)
--- a/
resources/libraries/python/LispSetup.py
+++ b/
resources/libraries/python/LispSetup.py
@@
-610,21
+610,21
@@
class LispEidTableMap(object):
"""
@staticmethod
"""
@staticmethod
- def vpp_lisp_eid_table_mapping(node, vni, bd=None, vrf=None):
+ def vpp_lisp_eid_table_mapping(node, vni, bd
_id
=None, vrf=None):
"""
Map LISP VNI to either bridge domain ID, or VRF ID.
:param node: VPP node.
:param vni: Lisp VNI.
"""
Map LISP VNI to either bridge domain ID, or VRF ID.
:param node: VPP node.
:param vni: Lisp VNI.
- :param bd: Bridge domain ID.
+ :param bd
_id
: Bridge domain ID.
:param vrf: VRF id.
:type node: dict
:type vni: int
:param vrf: VRF id.
:type node: dict
:type vni: int
- :type bd: int
+ :type bd
_id
: int
:type vrf: int
"""
:type vrf: int
"""
- if bd:
- bd_or_vrf = 'bd_index {}'.format(bd)
+ if bd
_id
:
+ bd_or_vrf = 'bd_index {}'.format(bd
_id
)
else:
bd_or_vrf = 'vrf {}'.format(vrf)
VatExecutor.cmd_from_template(node,
else:
bd_or_vrf = 'vrf {}'.format(vrf)
VatExecutor.cmd_from_template(node,