diff --git a/ovsdbapp/utils.py b/ovsdbapp/utils.py index 22338f7a..fb892f15 100644 --- a/ovsdbapp/utils.py +++ b/ovsdbapp/utils.py @@ -24,7 +24,7 @@ from ovsdbapp.backend.ovs_idl import rowview def normalize_ip(ip): - return str(netaddr.IPAddress(ip)) + return str(netaddr.IPAddress(ip, flags=netaddr.INET_ATON)) def normalize_ip_port(ipport): diff --git a/requirements.txt b/requirements.txt index 778430d3..b15760c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ # date but we do not test them so no guarantee of having them all correct. If # you find any incorrect lower bounds, let us know or propose a fix. fixtures>=3.0.0 # Apache-2.0/BSD -netaddr>=0.7.18 # BSD +netaddr>=0.10.0 # BSD ovs>=2.10.0 # Apache-2.0 pbr!=2.1.0,>=2.0.0 # Apache-2.0