4070N/AThis internal patch addresses an apparent Juno regression related to
4070N/ALaunchpad bug 1252403. It's not suitable for the upstream but a bug
4070N/Areport will be filed to cover the regression and eventually this patch
4070N/Ashould be replaced with something official.
4070N/A
6033N/A--- horizon-2015.1.2/openstack_dashboard/api/neutron.py.orig 2015-12-12 16:12:01.520290169 -0500
6033N/A+++ horizon-2015.1.2/openstack_dashboard/api/neutron.py 2015-12-12 16:14:28.179524164 -0500
6033N/A@@ -431,8 +431,7 @@
4070N/A in ext_net_ids)]
4070N/A reachable_subnets = set([p.fixed_ips[0]['subnet_id'] for p in ports
6033N/A if ((p.device_owner in
6033N/A- ROUTER_INTERFACE_OWNERS)
6033N/A- and (p.device_id in gw_routers))])
6033N/A+ ROUTER_INTERFACE_OWNERS))])
6033N/A # we have to include any shared subnets as well because we may not
6033N/A # have permission to see the router interface to infer connectivity
6033N/A shared = set([s.id for n in network_list(self.request, shared=True)