Merge "[microversions] Increase max version to 2.12"

This commit is contained in:
Jenkins 2015-12-14 21:11:10 +00:00 committed by Gerrit Code Review
commit aa2687b3f7
3 changed files with 4 additions and 2 deletions

View File

@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersion("2.1")
# when client supported the max version, and bumped sequentially, otherwise # when client supported the max version, and bumped sequentially, otherwise
# the client may break due to server side new version may include some # the client may break due to server side new version may include some
# backward incompatible change. # backward incompatible change.
API_MAX_VERSION = api_versions.APIVersion("2.11") API_MAX_VERSION = api_versions.APIVersion("2.12")

View File

@ -2552,6 +2552,8 @@ class ShellTest(utils.TestCase):
5, # Not implemented when test added, should not apply to adds. 5, # Not implemented when test added, should not apply to adds.
7, # doesn't require any changes in novaclient 7, # doesn't require any changes in novaclient
9, # doesn't require any changes in novaclient 9, # doesn't require any changes in novaclient
# TODO(andreykurilin): remove 12 when 1522424 will be resolved
12, # doesn't require any changes in novaclient
]) ])
versions_supported = set(range(0, versions_supported = set(range(0,
novaclient.API_MAX_VERSION.ver_minor + 1)) novaclient.API_MAX_VERSION.ver_minor + 1))

View File

@ -22,7 +22,7 @@ from novaclient import base
class VirtualInterface(base.Resource): class VirtualInterface(base.Resource):
def __repr__(self): def __repr__(self):
pass return "<VirtualInterface>"
class VirtualInterfaceManager(base.ManagerWithFind): class VirtualInterfaceManager(base.ManagerWithFind):