aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-11-21 17:15:38 +0100
committerPeter Mikus <pmikus@cisco.com>2016-11-22 09:02:30 +0000
commit7ef7113bae23a0e859506e658a5dc9c8ebe04483 (patch)
tree2a68f0423f02dc5bf01263c10d130ab33d3d1270 /resources/libraries/python
parent6d492ea8c241bd44762b8465c5df8cdb87771f4d (diff)
Remove workaround for ip_address_dump
As of change https://gerrit.fd.io/r/3816, ip_address_dump returns IP addresses properly. Change-Id: If3b4a32e5166bd517beaa2ddb35262c406b1dcea Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/InterfaceUtil.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index 6c763134f4..0447ba5b15 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -262,8 +262,6 @@ class InterfaceUtil(object):
for item in data:
item["netmask"] = convert_ipv4_netmask_prefix(
item["prefix_length"])
- # VAT returns addresses with reversed byte order (VPP-132)
- item["ip"] = ".".join(item["ip"].split(".")[::-1])
return data
@staticmethod