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>
for item in data:
item["netmask"] = convert_ipv4_netmask_prefix(
item["prefix_length"])
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
return data
@staticmethod