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:
Dougal Matthews 2020-01-21 15:20:13 +00:00 committed by Dougal Matthews
parent 44423a930c
commit f456ac9312
4 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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'
}

View File

View File