diff options
Diffstat (limited to 'resources/libraries/python/LispSetup.py')
-rw-r--r-- | resources/libraries/python/LispSetup.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/libraries/python/LispSetup.py b/resources/libraries/python/LispSetup.py index 85749955e7..5ef8bc06a9 100644 --- a/resources/libraries/python/LispSetup.py +++ b/resources/libraries/python/LispSetup.py @@ -610,21 +610,21 @@ class LispEidTableMap(object): """ @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. - :param bd: Bridge domain ID. + :param bd_id: Bridge domain ID. :param vrf: VRF id. :type node: dict :type vni: int - :type bd: int + :type bd_id: 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, |