Switch to v2 version of novaclient

Currently v1_1 version of novaclient is deprecated, so it's required
to switch for v2 version of novaclient.

Change-Id: I824e8659febfeb86721b610a03a8c3027042cb3d
This commit is contained in:
Li, Chen 2015-03-31 15:30:16 +08:00
parent 4120482b3c
commit b566f5ef61
2 changed files with 4 additions and 4 deletions

View File

@ -21,9 +21,9 @@ import sys
from novaclient import exceptions as nova_exception from novaclient import exceptions as nova_exception
from novaclient import service_catalog from novaclient import service_catalog
from novaclient import utils from novaclient import utils
from novaclient.v1_1 import client as nova_client from novaclient.v2 import client as nova_client
from novaclient.v1_1.contrib import assisted_volume_snapshots from novaclient.v2.contrib import assisted_volume_snapshots
from novaclient.v1_1 import servers as nova_servers from novaclient.v2 import servers as nova_servers
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log from oslo_log import log

View File

@ -15,7 +15,7 @@
import mock import mock
from novaclient import exceptions as nova_exception from novaclient import exceptions as nova_exception
from novaclient import utils from novaclient import utils
from novaclient.v1_1 import servers as nova_servers from novaclient.v2 import servers as nova_servers
from manila.compute import nova from manila.compute import nova
from manila import context from manila import context