Revision 9835a70d snf-cyclades-app/synnefo/api/management/commands/port-list.py

b/snf-cyclades-app/synnefo/api/management/commands/port-list.py
36 36
from snf_django.management.commands import ListCommand
37 37
from synnefo.db.models import NetworkInterface
38 38
from synnefo.settings import (CYCLADES_SERVICE_TOKEN as ASTAKOS_TOKEN,
39
                              ASTAKOS_BASE_URL)
39
                              ASTAKOS_AUTH_URL)
40 40

  
41 41
from logging import getLogger
42 42
log = getLogger(__name__)
......
61 61

  
62 62
    object_class = NetworkInterface
63 63
    user_uuid_field = "userid"
64
    astakos_url = ASTAKOS_BASE_URL
64
    astakos_url = ASTAKOS_AUTH_URL
65 65
    astakos_token = ASTAKOS_TOKEN
66 66
    prefetch_related = ["ips"]
67 67

  

Also available in: Unified diff