Revision 6e9255ab

b/snf-cyclades-app/synnefo/logic/management/commands/floating-ip-list.py
33 33

  
34 34
from synnefo.db.models import FloatingIP
35 35
from synnefo.webproject.management.commands import ListCommand
36
from synnefo.settings import (CYCLADES_ASTAKOS_SERVICE_TOKEN as ASTAKOS_TOKEN,
37
                              ASTAKOS_URL)
36
from synnefo.settings import CYCLADES_SERVICE_TOKEN, ASTAKOS_BASE_URL
38 37
from logging import getLogger
39 38
log = getLogger(__name__)
40 39

  
......
44 43
    object_class = FloatingIP
45 44
    deleted_field = "deleted"
46 45
    user_uuid_field = "userid"
47
    astakos_url = ASTAKOS_URL
48
    astakos_token = ASTAKOS_TOKEN
46
    astakos_url = ASTAKOS_BASE_URL
47
    astakos_token = CYCLADES_SERVICE_TOKEN
49 48

  
50 49
    FIELDS = {
51 50
        "id": ("id", "Floating IP UUID"),

Also available in: Unified diff