Revision f5b4f2a3 snf-cyclades-app/synnefo/logic/reconciliation.py

b/snf-cyclades-app/synnefo/logic/reconciliation.py
69 69

  
70 70
from synnefo.db.models import VirtualMachine
71 71
from synnefo.util.dictconfig import dictConfig
72
from synnefo.util.rapi import GanetiRapiClient
72
from synnefo.logic.backend import get_ganeti_instances
73 73

  
74 74

  
75 75
log = logging.getLogger()
......
108 108

  
109 109

  
110 110
def get_instances_from_ganeti():
111
    rapi = GanetiRapiClient(*settings.GANETI_CLUSTER_INFO)
112
    ganeti_instances = rapi.GetInstances(bulk=True)
111
    ganeti_instances = get_ganeti_instances(bulk=True)
113 112
    snf_instances = {}
114 113

  
115 114
    prefix = settings.BACKEND_PREFIX_ID

Also available in: Unified diff