List port for distributed router interface
List port for distributed router interface

This patch fixes an issue that occurs when a distributed
virtual router (DVR) is in use on a network and a user
attempts to assign a floating IP address to an instance.

The existing approach assumes that only standard routers,
not DVR based router(s), are in use on the network. As a
result, if you attempt to assign a floating IP address,
there are no candidate ports shown in the select to bind
the floating IP address to. The dialog that allows you
to attach a floating IP address will show a message in
the "Port to be associated" select of "No ports available".

This patch ensures that if a distributed router exists
for the network, the appropriate port for that router
is displayed in the list of ports.

Change-Id: I2a23389aca02ea8ee2cc8970e2a264d2e8c41dae
Closes-Bug: 1388305

blueboxgroup/horizon,tsufiev/horizon,CiscoSystems/horizon,mandeepdhami/horizon,NCI-Cloud/horizon,izadorozhna/dashboard_integration_tests,orbitfp7/horizon,vladryk/horizon,CiscoSystems/horizon,bigswitch/horizon,django-leonardo/horizon,coreycb/horizon,xinwu/horizon,mandeepdhami/horizon,wangxiangyu/horizon,philoniare/horizon,philoniare/horizon,endorphinl/horizon,NCI-Cloud/horizon,davidcusatis/horizon,agileblaze/OpenStackTwoFactorAuthentication,tqtran7/horizon,Daniex/horizon,Dark-Hacker/horizon,tellesnobrega/horizon,redhat-openstack/horizon,FNST-OpenStack/horizon,endorphinl/horizon-fork,Metaswitch/horizon,mdavid/horizon,BiznetGIO/horizon,takeshineshiro/horizon,tsufiev/horizon,idjaw/horizon,gerrive/horizon,newrocknj/horizon,agileblaze/OpenStackTwoFactorAuthentication,ChameleonCloud/horizon,gerrive/horizon,wolverineav/horizon,icloudrnd/automation_tools,Hodorable/0602,yeming233/horizon,maestro-hybrid-cloud/horizon,Daniex/horizon,maestro-hybrid-cloud/horizon,NeCTAR-RC/horizon,saydulk/horizon,openstack/horizon,agileblaze/OpenStackTwoFactorAuthentication,redhat-cip/horizon,tqtran7/horizon,anthonydillon/horizon,FNST-OpenStack/horizon,maestro-hybrid-cloud/horizon,Solinea/horizon,VaneCloud/horizon,luhanhan/horizon,orbitfp7/horizon,endorphinl/horizon,CiscoSystems/horizon,endorphinl/horizon,Dark-Hacker/horizon,bigswitch/horizon,bac/horizon,anthonydillon/horizon,orbitfp7/horizon,watonyweng/horizon,idjaw/horizon,coreycb/horizon,eayunstack/horizon,j4/horizon,yjxtogo/horizon,coreycb/horizon,BiznetGIO/horizon,promptworks/horizon,openstack/horizon,idjaw/horizon,blueboxgroup/horizon,pranavtendolkr/horizon,ChameleonCloud/horizon,kfox1111/horizon,xinwu/horizon,yeming233/horizon,bigswitch/horizon,redhat-cip/horizon,redhat-cip/horizon,Hodorable/0602,blueboxgroup/horizon,yjxtogo/horizon,yjxtogo/horizon,RudoCris/horizon,wangxiangyu/horizon,henaras/horizon,bac/horizon,mdavid/horizon,dan1/horizon-x509,tellesnobrega/horizon,Tesora/tesora-horizon,redhat-openstack/horizon,anthonydillon/horizon,henaras/horizon,Metaswitch/horizon,doug-fish/horizon,Solinea/horizon,BiznetGIO/horizon,tsufiev/horizon,Mirantis/mos-horizon,davidcusatis/horizon,dan1/horizon-proto,VaneCloud/horizon,doug-fish/horizon,icloudrnd/automation_tools,damien-dg/horizon,bac/horizon,karthik-suresh/horizon,liyitest/rr,philoniare/horizon,gerrive/horizon,luhanhan/horizon,xinwu/horizon,kfox1111/horizon,vladryk/horizon,sandvine/horizon,django-leonardo/horizon,sandvine/horizon,idjaw/horizon,agileblaze/OpenStackTwoFactorAuthentication,gerrive/horizon,endorphinl/horizon,Solinea/horizon,promptworks/horizon,wangxiangyu/horizon,wangxiangyu/horizon,FNST-OpenStack/horizon,Tesora/tesora-horizon,NCI-Cloud/horizon,endorphinl/horizon-fork,sandvine/horizon,noironetworks/horizon,j4/horizon,mdavid/horizon,noironetworks/horizon,henaras/horizon,blueboxgroup/horizon,karthik-suresh/horizon,j4/horizon,NeCTAR-RC/horizon,Metaswitch/horizon,Dark-Hacker/horizon,django-leonardo/horizon,tqtran7/horizon,NCI-Cloud/horizon,endorphinl/horizon-fork,vladryk/horizon,liyitest/rr,wolverineav/horizon,Metaswitch/horizon,wolverineav/horizon,Daniex/horizon,watonyweng/horizon,eayunstack/horizon,maestro-hybrid-cloud/horizon,icloudrnd/automation_tools,watonyweng/horizon,noironetworks/horizon,dan1/horizon-proto,redhat-openstack/horizon,Dark-Hacker/horizon,davidcusatis/horizon,yeming233/horizon,saydulk/horizon,tqtran7/horizon,icloudrnd/automation_tools,BiznetGIO/horizon,newrocknj/horizon,Hodorable/0602,izadorozhna/dashboard_integration_tests,CiscoSystems/horizon,ChameleonCloud/horizon,karthik-suresh/horizon,RudoCris/horizon,liyitest/rr,VaneCloud/horizon,dan1/horizon-proto,kfox1111/horizon,liyitest/rr,philoniare/horizon,FNST-OpenStack/horizon,noironetworks/horizon,ChameleonCloud/horizon,endorphinl/horizon-fork,redhat-openstack/horizon,pranavtendolkr/horizon,Mirantis/mos-horizon,damien-dg/horizon,dan1/horizon-proto,promptworks/horizon,bac/horizon,damien-dg/horizon,openstack/horizon,Solinea/horizon,saydulk/horizon,Tesora/tesora-horizon,yeming233/horizon,Daniex/horizon,yjxtogo/horizon,henaras/horizon,doug-fish/horizon,wolverineav/horizon,luhanhan/horizon,django-leonardo/horizon,mandeepdhami/horizon,redhat-cip/horizon,NeCTAR-RC/horizon,NeCTAR-RC/horizon,bigswitch/horizon,takeshineshiro/horizon,sandvine/horizon,tellesnobrega/horizon,mandeepdhami/horizon,pranavtendolkr/horizon,j4/horizon,Hodorable/0602,anthonydillon/horizon,eayunstack/horizon,coreycb/horizon,watonyweng/horizon,kfox1111/horizon,mdavid/horizon,Mirantis/mos-horizon,luhanhan/horizon,xinwu/horizon,newrocknj/horizon,VaneCloud/horizon,dan1/horizon-x509,Mirantis/mos-horizon,karthik-suresh/horizon,takeshineshiro/horizon,saydulk/horizon,RudoCris/horizon,davidcusatis/horizon,RudoCris/horizon,dan1/horizon-x509,newrocknj/horizon,doug-fish/horizon,orbitfp7/horizon,vladryk/horizon,tsufiev/horizon,promptworks/horizon,tellesnobrega/horizon,Tesora/tesora-horizon,openstack/horizon,damien-dg/horizon,dan1/horizon-x509,takeshineshiro/horizon,pranavtendolkr/horizon