Merge "Improve compatibility with netaddr 1.x"
This commit is contained in:
commit
bccbf70dfe
@ -24,7 +24,7 @@ from ovsdbapp.backend.ovs_idl import rowview
|
|||||||
|
|
||||||
|
|
||||||
def normalize_ip(ip):
|
def normalize_ip(ip):
|
||||||
return str(netaddr.IPAddress(ip))
|
return str(netaddr.IPAddress(ip, flags=netaddr.INET_ATON))
|
||||||
|
|
||||||
|
|
||||||
def normalize_ip_port(ipport):
|
def normalize_ip_port(ipport):
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
# date but we do not test them so no guarantee of having them all correct. If
|
# 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.
|
# you find any incorrect lower bounds, let us know or propose a fix.
|
||||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
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
|
ovs>=2.10.0 # Apache-2.0
|
||||||
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user