Fixes bug 862658 -- ec2 metadata issue getting IPs
Fixes bug 862658 -- ec2 metadata issue getting IPs

Was looping through a tuple of (ipv4s, ipv6s) vs just ipv4s list.. to get floating IPs.

Change-Id: Ie743012b7074ecb8b9bc6f018968e21e2f6d405d

sacharya/nova,j-carpentier/nova,tianweizhang/nova,iuliat/nova,josephsuh/extra-specs,whitepages/nova,klmitch/nova,nikesh-mahalka/nova,tudorvio/nova,citrix-openstack-build/nova,CloudServer/nova,eneabio/nova,j-carpentier/nova,petrutlucian94/nova_dev,mikalstill/nova,usc-isi/extra-specs,salv-orlando/MyRepo,saleemjaveds/https-github.com-openstack-nova,SUSE-Cloud/nova,takeshineshiro/nova,watonyweng/nova,badock/nova,viggates/nova,josephsuh/extra-specs,mikalstill/nova,eonpatapon/nova,OpenAcademy-OpenStack/nova-scheduler,qwefi/nova,dims/nova,shail2810/nova,cloudbase/nova,savi-dev/nova,Metaswitch/calico-nova,yatinkumbhare/openstack-nova,aristanetworks/arista-ovs-nova,vladikr/nova_drafts,plumgrid/plumgrid-nova,phenoxim/nova,zaina/nova,Stavitsky/nova,alexandrucoman/vbox-nova-driver,maheshp/novatest,belmiromoreira/nova,noironetworks/nova,salv-orlando/MyRepo,SUSE-Cloud/nova,spring-week-topos/nova-week,viggates/nova,fnordahl/nova,berrange/nova,eharney/nova,angdraug/nova,virtualopensystems/nova,MountainWei/nova,gooddata/openstack-nova,KarimAllah/nova,fajoy/nova,sebrandon1/nova,imsplitbit/nova,silenceli/nova,sacharya/nova,Juniper/nova,usc-isi/nova,NoBodyCam/TftpPxeBootBareMetal,hanlind/nova,noironetworks/nova,zzicewind/nova,vladikr/nova_drafts,bigswitch/nova,psiwczak/openstack,cernops/nova,sileht/deb-openstack-nova,cloudbase/nova-virtualbox,gspilio/nova,rrader/nova-docker-plugin,devoid/nova,paulmathews/nova,TwinkleChawla/nova,rickerc/nova_audit,TieWei/nova,BeyondTheClouds/nova,scripnichenko/nova,devoid/nova,CiscoSystems/nova,fajoy/nova,CiscoSystems/nova,CEG-FYP-OpenStack/scheduler,varunarya10/nova_test_latest,mandeepdhami/nova,sridevikoushik31/nova,dims/nova,jianghuaw/nova,openstack/nova,leilihh/nova,gooddata/openstack-nova,NeCTAR-RC/nova,devendermishrajio/nova_test_latest,isyippee/nova,BeyondTheClouds/nova,spring-week-topos/nova-week,maoy/zknova,JioCloud/nova,savi-dev/nova,Yusuke1987/openstack_template,bgxavier/nova,shail2810/nova,mahak/nova,usc-isi/extra-specs,raildo/nova,mahak/nova,projectcalico/calico-nova,tealover/nova,yosshy/nova,alexandrucoman/vbox-nova-driver,alvarolopez/nova,JioCloud/nova,edulramirez/nova,dstroppa/openstack-smartos-nova-grizzly,houshengbo/nova_vmware_compute_driver,Juniper/nova,usc-isi/nova,Yuriy-Leonov/nova,thomasem/nova,sridevikoushik31/openstack,JioCloud/nova_test_latest,maoy/zknova,JianyuWang/nova,ted-gould/nova,zhimin711/nova,sebrandon1/nova,jeffrey4l/nova,usc-isi/nova,cernops/nova,dstroppa/openstack-smartos-nova-grizzly,Brocade-OpenSource/OpenStack-DNRM-Nova,psiwczak/openstack,joker946/nova,gooddata/openstack-nova,TwinkleChawla/nova,ntt-sic/nova,paulmathews/nova,whitepages/nova,eonpatapon/nova,sridevikoushik31/nova,orbitfp7/nova,openstack/nova,savi-dev/nova,cloudbau/nova,josephsuh/extra-specs,takeshineshiro/nova,Juniper/nova,houshengbo/nova_vmware_compute_driver,eneabio/nova,fnordahl/nova,rajalokan/nova,badock/nova,NoBodyCam/TftpPxeBootBareMetal,Francis-Liu/animated-broccoli,luogangyi/bcec-nova,Brocade-OpenSource/OpenStack-DNRM-Nova,alvarolopez/nova,rahulunair/nova,nikesh-mahalka/nova,Tehsmash/nova,rajalokan/nova,petrutlucian94/nova_dev,eayunstack/nova,OpenAcademy-OpenStack/nova-scheduler,ruslanloman/nova,affo/nova,Tehsmash/nova,sridevikoushik31/openstack,yosshy/nova,DirectXMan12/nova-hacking,redhat-openstack/nova,zzicewind/nova,joker946/nova,yrobla/nova,Triv90/Nova,cloudbase/nova,TieWei/nova,plumgrid/plumgrid-nova,houshengbo/nova_vmware_compute_driver,ewindisch/nova,angdraug/nova,dawnpower/nova,klmitch/nova,fajoy/nova,aristanetworks/arista-ovs-nova,varunarya10/nova_test_latest,NewpTone/stacklab-nova,double12gzh/nova,CloudServer/nova,Yuriy-Leonov/nova,NewpTone/stacklab-nova,maelnor/nova,raildo/nova,adelina-t/nova,belmiromoreira/nova,qwefi/nova,BeyondTheClouds/nova,isyippee/nova,rahulunair/nova,zhimin711/nova,Yusuke1987/openstack_template,sridevikoushik31/nova,KarimAllah/nova,blueboxgroup/nova,mahak/nova,Metaswitch/calico-nova,klmitch/nova,blueboxgroup/nova,silenceli/nova,mandeepdhami/nova,barnsnake351/nova,eneabio/nova,devendermishrajio/nova_test_latest,orbitfp7/nova,CEG-FYP-OpenStack/scheduler,klmitch/nova,ewindisch/nova,bclau/nova,shootstar/novatest,sebrandon1/nova,shahar-stratoscale/nova,leilihh/nova,iuliat/nova,scripnichenko/nova,redhat-openstack/nova,NeCTAR-RC/nova,petrutlucian94/nova,tanglei528/nova,jianghuaw/nova,JioCloud/nova_test_latest,Stavitsky/nova,bgxavier/nova,russellb/nova,shahar-stratoscale/nova,CCI-MOC/nova,thomasem/nova,sridevikoushik31/openstack,ntt-sic/nova,maoy/zknova,rajalokan/nova,yrobla/nova,vmturbo/nova,mikalstill/nova,vmturbo/nova,akash1808/nova,akash1808/nova,akash1808/nova_test_latest,cloudbase/nova,cyx1231st/nova,jianghuaw/nova,dstroppa/openstack-smartos-nova-grizzly,adelina-t/nova,petrutlucian94/nova,tanglei528/nova,jeffrey4l/nova,felixma/nova,DirectXMan12/nova-hacking,NoBodyCam/TftpPxeBootBareMetal,CCI-MOC/nova,apporc/nova,dawnpower/nova,cernops/nova,bclau/nova,hanlind/nova,leilihh/novaha,KarimAllah/nova,sileht/deb-openstack-nova,projectcalico/calico-nova,vmturbo/nova,jianghuaw/nova,eharney/nova,hanlind/nova,alaski/nova,barnsnake351/nova,ruslanloman/nova,tianweizhang/nova,MountainWei/nova,felixma/nova,rrader/nova-docker-plugin,zaina/nova,apporc/nova,devendermishrajio/nova,rajalokan/nova,NewpTone/stacklab-nova,tangfeixiong/nova,maelnor/nova,gspilio/nova,mgagne/nova,mmnelemane/nova,maheshp/novatest,eayunstack/nova,maheshp/novatest,phenoxim/nova,mmnelemane/nova,citrix-openstack-build/nova,kimjaejoong/nova,LoHChina/nova,usc-isi/extra-specs,russellb/nova,LoHChina/nova,tudorvio/nova,Triv90/Nova,russellb/nova,sileht/deb-openstack-nova,DirectXMan12/nova-hacking,yrobla/nova,leilihh/novaha,paulmathews/nova,cyx1231st/nova,berrange/nova,virtualopensystems/nova,tealover/nova,devendermishrajio/nova,bigswitch/nova,tangfeixiong/nova,psiwczak/openstack,rahulunair/nova,mgagne/nova,cloudbase/nova-virtualbox,ted-gould/nova,gspilio/nova,yatinkumbhare/openstack-nova,akash1808/nova_test_latest,imsplitbit/nova,rickerc/nova_audit,gooddata/openstack-nova,edulramirez/nova,Triv90/Nova,watonyweng/nova,alaski/nova,cloudbau/nova,double12gzh/nova,openstack/nova,aristanetworks/arista-ovs-nova,Francis-Liu/animated-broccoli,sridevikoushik31/nova,saleemjaveds/https-github.com-openstack-nova,luogangyi/bcec-nova,shootstar/novatest,JianyuWang/nova,salv-orlando/MyRepo,affo/nova,kimjaejoong/nova,Juniper/nova,vmturbo/nova