Przeglądaj źródła

Replace fip_conn with not shared in list

Alexandru Mahmoud 3 lat temu
rodzic
commit
7711e9bf63
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      cloudbridge/providers/openstack/services.py

+ 1 - 1
cloudbridge/providers/openstack/services.py

@@ -1248,7 +1248,7 @@ class OpenStackGatewayService(BaseGatewayService):
         log.debug("OpenStack listing of all current internet gateways")
         igl = [OpenStackInternetGateway(self._provider, n)
                for n in self._provider.networking.networks
-               if n.external and self._check_fip_connectivity(network, n)]
+               if n.external and not n.shared]
         return ClientPagedResultList(self._provider, igl, limit=limit,
                                      marker=marker)