Switch default to use latest microversion

The default value of ``--os-placement-api-version`` is now changed to ``1``
from ``1.0``, which by default enables negotiation with server to choose
max microversion supported both by server and client.

Change-Id: I0ad02ee5c3e57aa126bfba739738280bbf3a97d0
Story: #2005448
Task: #30497
This commit is contained in:
Tetsuro Nakamura 2019-11-22 13:27:22 +00:00
parent 8ac8c8627c
commit 05ca1ee2e1
2 changed files with 2 additions and 3 deletions

View File

@ -44,8 +44,7 @@ def make_client(instance):
def build_option_parser(parser):
# ToDo(tetsuro): Make default a negotiate version
default = version.SUPPORTED_VERSIONS[0]
default = version.NEGOTIATE_VERSIONS[0]
parser.add_argument(
'--os-placement-api-version',
metavar='<placement-api-version>',

View File

@ -52,7 +52,7 @@ class CommandException(Exception):
class BaseTestCase(base.BaseTestCase):
VERSION = None
VERSION = '1.0'
def setUp(self):
super(BaseTestCase, self).setUp()