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:
parent
4120482b3c
commit
b566f5ef61
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user