components/openstack/horizon/patches/08-_get_reachable_subnets.patch
branchs11-update
changeset 4072 db0cec748ec0
child 5405 66fd59fecd68
equal deleted inserted replaced
4067:4be1f488dda8 4072:db0cec748ec0
       
     1 This internal patch addresses an apparent Juno regression related to
       
     2 Launchpad bug 1252403.  It's not suitable for the upstream but a bug
       
     3 report will be filed to cover the regression and eventually this patch
       
     4 should be replaced with something official.
       
     5 
       
     6 --- horizon-2014.2.2/openstack_dashboard/api/neutron.py.orig	2015-02-05 09:06:50.000000000 -0800
       
     7 +++ horizon-2014.2.2/openstack_dashboard/api/neutron.py	2015-03-22 21:56:14.619688527 -0700
       
     8 @@ -411,8 +411,7 @@ class FloatingIpManager(network_base.Flo
       
     9                            in ext_net_ids)]
       
    10          reachable_subnets = set([p.fixed_ips[0]['subnet_id'] for p in ports
       
    11                                   if ((p.device_owner ==
       
    12 -                                      'network:router_interface')
       
    13 -                                     and (p.device_id in gw_routers))])
       
    14 +                                      'network:router_interface'))])
       
    15          return reachable_subnets
       
    16  
       
    17      def list_targets(self):