Commit e0caa178 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

burnin: Alter AstakosClient to CachedAstakosClient

Kamaki changed its API and now AstakosClient has been renamed to
CachedAstakosClient whereas the AstakosClient class points to the
astakosclient package.
parent b0c05399
...@@ -60,7 +60,7 @@ INSTALL_REQUIRES = [ ...@@ -60,7 +60,7 @@ INSTALL_REQUIRES = [
"IPy", "IPy",
"paramiko", "paramiko",
"vncauthproxy", "vncauthproxy",
"kamaki >= 0.12"] "kamaki >= 0.12.1"]
setup( setup(
name='snf-tools', name='snf-tools',
......
...@@ -44,7 +44,7 @@ import tempfile ...@@ -44,7 +44,7 @@ import tempfile
import traceback import traceback
from kamaki.clients.cyclades import CycladesClient, CycladesNetworkClient from kamaki.clients.cyclades import CycladesClient, CycladesNetworkClient
from kamaki.clients.astakos import AstakosClient from kamaki.clients.astakos import CachedAstakosClient
from kamaki.clients.compute import ComputeClient from kamaki.clients.compute import ComputeClient
from kamaki.clients.pithos import PithosClient from kamaki.clients.pithos import PithosClient
from kamaki.clients.image import ImageClient from kamaki.clients.image import ImageClient
...@@ -134,7 +134,7 @@ class Clients(object): ...@@ -134,7 +134,7 @@ class Clients(object):
def initialize_clients(self): def initialize_clients(self):
"""Initialize all the Kamaki Clients""" """Initialize all the Kamaki Clients"""
self.astakos = AstakosClient(self.auth_url, self.token) self.astakos = CachedAstakosClient(self.auth_url, self.token)
self.astakos.CONNECTION_RETRY_LIMIT = self.retry self.astakos.CONNECTION_RETRY_LIMIT = self.retry
self.compute_url = \ self.compute_url = \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment