aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/LispSetup.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-12-03 13:08:43 +0100
committerJan Gelety <jgelety@cisco.com>2020-12-03 13:08:43 +0100
commit0bb14d79edb065bc97fdd11a7bfa7d1605266e08 (patch)
tree4690f659ee12d8b7007f0094b4a032f08148cbf4 /resources/libraries/python/LispSetup.py
parentac776adf699e105081630c44a3e36906d9ce2903 (diff)
vpp-device: GENEVE tunnel test, l3 mode
Jira: CSIT-1769 Change-Id: I98510cd8e627d7347f77d0032b7bac28f2e36c61 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/LispSetup.py')
-rw-r--r--resources/libraries/python/LispSetup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/LispSetup.py b/resources/libraries/python/LispSetup.py
index 59cb1a808d..6579764596 100644
--- a/resources/libraries/python/LispSetup.py
+++ b/resources/libraries/python/LispSetup.py
@@ -40,8 +40,8 @@ class LispEid:
:type eid: str
:type prefix_len: int
"""
- eid_addr = dict(prefix=IPUtil.create_prefix_object(
- ip_address(eid), prefix_len)
+ eid_addr = dict(
+ prefix=IPUtil.create_prefix_object(ip_address(eid), prefix_len)
) if prefix_len else dict(mac=str(eid))
return dict(