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:
parent
82cda920ab
commit
ad47548998
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue