Remove workaround for ip_address_dump 08/3908/2
authorselias <samelias@cisco.com>
Mon, 21 Nov 2016 16:15:38 +0000 (17:15 +0100)
committerPeter Mikus <pmikus@cisco.com>
Tue, 22 Nov 2016 09:02:30 +0000 (09:02 +0000)
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>
resources/libraries/python/InterfaceUtil.py

index 6c76313..0447ba5 100644 (file)
@@ -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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.