def get_floating_ips_by_project(self, context):
        # NOTE(vish): This is no longer used but can't be removed until
        #             we major version the network_rpcapi.
        return objects.FloatingIPList.get_by_project(context,
                                                     context.project_id)
Returns the floating IPs allocated to a project.
dataset/ETHPy150Open openstack/nova/nova/network/floating_ips.py/FloatingIP.get_floating_ips_by_project