components/openstack/horizon/patches/08-_get_reachable_subnets.patch
branchs11u2-sru
changeset 4156 4b1def16fe9b
child 5405 66fd59fecd68
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/openstack/horizon/patches/08-_get_reachable_subnets.patch	Mon Apr 20 12:35:51 2015 -0700
@@ -0,0 +1,17 @@
+This internal patch addresses an apparent Juno regression related to
+Launchpad bug 1252403.  It's not suitable for the upstream but a bug
+report will be filed to cover the regression and eventually this patch
+should be replaced with something official.
+
+--- horizon-2014.2.2/openstack_dashboard/api/neutron.py.orig	2015-02-05 09:06:50.000000000 -0800
++++ horizon-2014.2.2/openstack_dashboard/api/neutron.py	2015-03-22 21:56:14.619688527 -0700
+@@ -411,8 +411,7 @@ class FloatingIpManager(network_base.Flo
+                           in ext_net_ids)]
+         reachable_subnets = set([p.fixed_ips[0]['subnet_id'] for p in ports
+                                  if ((p.device_owner ==
+-                                      'network:router_interface')
+-                                     and (p.device_id in gw_routers))])
++                                      'network:router_interface'))])
+         return reachable_subnets
+ 
+     def list_targets(self):