Remove deprecated calls to novaclient.v2.contrib
As from OpenStack Ocata calls to novaclient.v2.contrib.instance_action and novaclient.v2.contrib.list_extensions are deprecated in favour of novaclient.v2.instance_action and novaclient.v2.list_extensions respectively Closes-bug: #1661767 Change-Id: I75d89a897093ef24fdb7f2c4a7c29c00fb3b2327
This commit is contained in:
parent
c924cd7f76
commit
900a46064e
@ -31,8 +31,8 @@ import six
|
||||
from novaclient import api_versions
|
||||
from novaclient import client as nova_client
|
||||
from novaclient import exceptions as nova_exceptions
|
||||
from novaclient.v2.contrib import instance_action as nova_instance_action
|
||||
from novaclient.v2.contrib import list_extensions as nova_list_extensions
|
||||
from novaclient.v2 import instance_action as nova_instance_action
|
||||
from novaclient.v2 import list_extensions as nova_list_extensions
|
||||
from novaclient.v2 import security_group_rules as nova_rules
|
||||
from novaclient.v2 import servers as nova_servers
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user