Prepare tripleoclient for v2 implementations of the commands
This change creates the v2 directories for the new versions of the CLI commands that use Ansible. Change-Id: Ic8d9a77a5f75046c1417d195a2e52d3e9c9de796
This commit is contained in:
parent
44423a930c
commit
f456ac9312
@ -47,7 +47,7 @@ output_file = tripleoclient/locale/tripleoclient.pot
|
||||
openstack.cli.extension =
|
||||
tripleoclient = tripleoclient.plugin
|
||||
|
||||
openstack.tripleoclient.v1 =
|
||||
openstack.tripleoclient.v2 =
|
||||
tripleo_config_generate_ansible = tripleoclient.v1.tripleo_config:GenerateAnsibleConfig
|
||||
tripleo_deploy = tripleoclient.v1.tripleo_deploy:Deploy
|
||||
tripleo_launch_heat = tripleoclient.v1.tripleo_launch_heat:LaunchHeat
|
||||
|
@ -28,13 +28,13 @@ from tripleoclient import exceptions
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
DEFAULT_TRIPLEOCLIENT_API_VERSION = '1'
|
||||
DEFAULT_TRIPLEOCLIENT_API_VERSION = '2'
|
||||
|
||||
# Required by the OSC plugin interface
|
||||
API_NAME = 'tripleoclient'
|
||||
API_VERSION_OPTION = 'os_tripleoclient_api_version'
|
||||
API_VERSIONS = {
|
||||
'1': 'tripleoclient.plugin'
|
||||
'2': 'tripleoclient.plugin'
|
||||
}
|
||||
|
||||
|
||||
|
0
tripleoclient/tests/v2/__init__.py
Normal file
0
tripleoclient/tests/v2/__init__.py
Normal file
0
tripleoclient/v2/__init__.py
Normal file
0
tripleoclient/v2/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user