]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Ensure hostnames are converted to IP for comparison.
authorBob Callaway <bob.callaway@netapp.com>
Fri, 10 Jan 2014 16:15:07 +0000 (11:15 -0500)
committerBob Callaway <bob.callaway@netapp.com>
Fri, 17 Jan 2014 18:37:49 +0000 (13:37 -0500)
commited05bbe1e786e3eedfd94e7f6724ecb38f32f1e6
tree6b7d8fd827ebb2df0003f1afe52b9f4c0eefd46f
parent7268c4d091a360ea4ccd7b5fb8e691dea350e0f8
Ensure hostnames are converted to IP for comparison.

Also switch to using getaddrinfo for IPv6 compliance
vs gethostbyname.

Change-Id: I1a194eae514a65bff56488571c05457bfa660c02
Closes-Bug: 1267667
cinder/tests/test_netapp_nfs.py
cinder/volume/drivers/netapp/nfs.py