Revision 326c3ec8 snf-cyclades-app/synnefo/logic/management/commands/floating-ip-list.py
b/snf-cyclades-app/synnefo/logic/management/commands/floating-ip-list.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from synnefo.db.models import FloatingIP
|
|
34 |
from synnefo.db.models import IPAddress
|
|
35 | 35 |
from snf_django.management.commands import ListCommand |
36 | 36 |
from synnefo.settings import CYCLADES_SERVICE_TOKEN, ASTAKOS_BASE_URL |
37 | 37 |
from logging import getLogger |
... | ... | |
40 | 40 |
|
41 | 41 |
class Command(ListCommand): |
42 | 42 |
help = "List Floating IPs" |
43 |
object_class = FloatingIP
|
|
43 |
object_class = IPAddress
|
|
44 | 44 |
deleted_field = "deleted" |
45 | 45 |
user_uuid_field = "userid" |
46 | 46 |
astakos_url = ASTAKOS_BASE_URL |
Also available in: Unified diff