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:
parent
8ac8c8627c
commit
05ca1ee2e1
|
@ -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>',
|
||||
|
|
|
@ -52,7 +52,7 @@ class CommandException(Exception):
|
|||
|
||||
|
||||
class BaseTestCase(base.BaseTestCase):
|
||||
VERSION = None
|
||||
VERSION = '1.0'
|
||||
|
||||
def setUp(self):
|
||||
super(BaseTestCase, self).setUp()
|
||||
|
|
Loading…
Reference in New Issue