Change folder of api to v1 for magumclient
It is better taht we can change the folder of api to v1 for magnumclient in case we have v2, v3 ... vx in future. Change-Id: If59c77e5d1c184c65f1e73ddd43fd89fcdcba18e
This commit is contained in:
parent
b610eeb06b
commit
c768d7abee
@ -48,11 +48,11 @@ try:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
from magnumclient.api import client
|
||||
from magnumclient.api import shell as shell_api
|
||||
from magnumclient.openstack.common.apiclient import auth
|
||||
from magnumclient.openstack.common.apiclient import exceptions as exc
|
||||
from magnumclient.openstack.common import cliutils
|
||||
from magnumclient.v1 import client
|
||||
from magnumclient.v1 import shell as shell_api
|
||||
from magnumclient import version
|
||||
|
||||
DEFAULT_API_VERSION = 'api'
|
||||
|
@ -16,8 +16,8 @@ import json
|
||||
|
||||
import mock
|
||||
|
||||
from magnumclient.api import shell
|
||||
from magnumclient.tests import base
|
||||
from magnumclient.v1 import shell
|
||||
|
||||
|
||||
container_fixture = {
|
@ -16,13 +16,13 @@
|
||||
from keystoneclient.v2_0 import client as keystone_client_v2
|
||||
from keystoneclient.v3 import client as keystone_client_v3
|
||||
|
||||
from magnumclient.api import baymodels
|
||||
from magnumclient.api import bays
|
||||
from magnumclient.api import containers
|
||||
from magnumclient.api import nodes
|
||||
from magnumclient.api import pods
|
||||
from magnumclient.api import services
|
||||
from magnumclient.common import httpclient
|
||||
from magnumclient.v1 import baymodels
|
||||
from magnumclient.v1 import bays
|
||||
from magnumclient.v1 import containers
|
||||
from magnumclient.v1 import nodes
|
||||
from magnumclient.v1 import pods
|
||||
from magnumclient.v1 import services
|
||||
|
||||
|
||||
class Client(object):
|
Loading…
Reference in New Issue
Block a user