Removing HA interfaces from port list

In the network topology, HA interfaces cause inconsistent results
when trying to display the network topology.

Closes-Bug: #1405049
Change-Id: Ied14259e17d9bf7f720f0f8dcf86145a5e47c27e
(cherry picked from commit b2ec97f7ed)
This commit is contained in:
David Lyle 2015-03-27 11:20:25 -06:00
parent 82cda920ab
commit ad47548998
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ class JSONView(View):
'fixed_ips': port.fixed_ips,
'device_owner': port.device_owner,
'status': port.status}
for port in neutron_ports]
for port in neutron_ports
if port.device_owner != 'network:router_ha_interface']
self.add_resource_url('horizon:project:networks:ports:detail',
ports)
return ports