Merge "Improve compatibility with netaddr 1.x"

This commit is contained in:
Zuul 2024-05-17 21:31:18 +00:00 committed by Gerrit Code Review
commit bccbf70dfe
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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