Change references from v1_1 to v2
Because novaclient changed the directory structure. Change-Id: I1b35ccc1befd68926614fa375893b893476ad0be
This commit is contained in:
parent
f2cc7f1e4b
commit
462cbe9c56
@ -21,7 +21,7 @@ import paramiko
|
||||
import novaclient
|
||||
import novaclient.client
|
||||
import novaclient.extension
|
||||
import novaclient.v1_1.contrib.tenant_networks
|
||||
import novaclient.v2.contrib.tenant_networks
|
||||
import threading
|
||||
import glanceclient
|
||||
import glanceclient.client
|
||||
@ -285,7 +285,7 @@ class ProviderManager(TaskManager):
|
||||
|
||||
def _getClient(self):
|
||||
tenant_networks = novaclient.extension.Extension(
|
||||
'tenant_networks', novaclient.v1_1.contrib.tenant_networks)
|
||||
'tenant_networks', novaclient.v2.contrib.tenant_networks)
|
||||
args = ['1.1', self.provider.username, self.provider.password,
|
||||
self.provider.project_id, self.provider.auth_url]
|
||||
kwargs = {'extensions': [tenant_networks]}
|
||||
|
@ -12,7 +12,7 @@ sqlalchemy>=0.8.2,<0.9.0
|
||||
pyzmq>=13.1.0,<14.0.0
|
||||
python-glanceclient
|
||||
python-keystoneclient
|
||||
python-novaclient
|
||||
python-novaclient>=2.21.0
|
||||
PyMySQL
|
||||
PrettyTable>=0.6,<0.8
|
||||
six>=1.7.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user