Revision 19441a04 snf-cyclades-app/synnefo/quotas/util.py
b/snf-cyclades-app/synnefo/quotas/util.py | ||
---|---|---|
43 | 43 |
|
44 | 44 |
vms = VirtualMachine.objects.filter(deleted=False) |
45 | 45 |
networks = Network.objects.filter(deleted=False) |
46 |
floating_ips = IPAddress.objects.filter(deleted=False) |
|
46 |
floating_ips = IPAddress.objects.filter(deleted=False, floating_ip=True)
|
|
47 | 47 |
|
48 | 48 |
if user is not None: |
49 | 49 |
vms = vms.filter(userid=user) |
Also available in: Unified diff