Merge "Update rpc version aliases for juno" into proposed/juno

This commit is contained in:
Jenkins 2014-10-08 13:49:00 +00:00 committed by Gerrit Code Review
commit ed188559c8
8 changed files with 26 additions and 4 deletions

View File

@ -97,12 +97,17 @@ class CellsAPI(object):
* 1.28 - Make bdm_update_or_create_at_top and use bdm objects
* 1.29 - Adds set_admin_password()
... Juno supports message version 1.29. So, any changes to
existing methods in 1.x after that point should be done such that they
can handle the version_cap being set to 1.29.
'''
VERSION_ALIASES = {
'grizzly': '1.6',
'havana': '1.24',
'icehouse': '1.27',
'juno': '1.29',
}
def __init__(self):

View File

@ -49,7 +49,7 @@ class CertAPI(object):
2.0 - Major API rev for Icehouse
... Icehouse supports message version 2.0. So, any changes to
... Icehouse and Juno support message version 2.0. So, any changes to
existing methods in 2.x after that point should be done such that they
can handle the version_cap being set to 2.0.
'''
@ -58,6 +58,7 @@ class CertAPI(object):
'grizzly': '1.1',
'havana': '1.1',
'icehouse': '2.0',
'juno': '2.0',
}
def __init__(self):

View File

@ -271,10 +271,14 @@ class ComputeAPI(object):
* 3.34 - Add get_serial_console method
* 3.35 - Make reserve_block_device_name return a BDM object
... Juno supports message version 3.35. So, any changes to
existing methods in 3.x after that point should be done such that they
can handle the version_cap being set to 3.35.
'''
VERSION_ALIASES = {
'icehouse': '3.23',
'juno': '3.35',
}
def __init__(self):

View File

@ -151,12 +151,17 @@ class ConductorAPI(object):
* Remove instance_get_by_uuid()
* Remove agent_build_get_by_triple()
... Juno supports message version 2.0. So, any changes to
existing methods in 2.x after that point should be done such
that they can handle the version_cap being set to 2.0.
"""
VERSION_ALIASES = {
'grizzly': '1.48',
'havana': '1.58',
'icehouse': '2.0',
'juno': '2.0',
}
def __init__(self):

View File

@ -49,7 +49,7 @@ class ConsoleAPI(object):
2.0 - Major API rev for Icehouse
... Icehouse supports message version 2.0. So, any changes to
... Icehouse and Juno support message version 2.0. So, any changes to
existing methods in 2.x after that point should be done such that they
can handle the version_cap being set to 2.0.
'''
@ -58,6 +58,7 @@ class ConsoleAPI(object):
'grizzly': '1.1',
'havana': '1.1',
'icehouse': '2.0',
'juno': '2.0',
}
def __init__(self, topic=None, server=None):

View File

@ -44,7 +44,7 @@ class ConsoleAuthAPI(object):
* 2.0 - Major API rev for Icehouse
... Icehouse supports message version 2.0. So, any changes to
... Icehouse and Juno support message version 2.0. So, any changes to
existing methods in 2.x after that point should be done such that they
can handle the version_cap being set to 2.0.
'''
@ -53,6 +53,7 @@ class ConsoleAuthAPI(object):
'grizzly': '1.2',
'havana': '1.2',
'icehouse': '2.0',
'juno': '2.0',
}
def __init__(self):

View File

@ -84,12 +84,16 @@ class NetworkAPI(object):
* 1.13 - Convert allocate_for_instance()
to use NetworkRequestList objects
... Juno supports message version 1.13. So, any changes to
existing methods in 1.x after that point should be done such that they
can handle the version_cap being set to 1.13.
'''
VERSION_ALIASES = {
'grizzly': '1.9',
'havana': '1.10',
'icehouse': '1.12',
'juno': '1.13',
}
def __init__(self, topic=None):

View File

@ -80,7 +80,7 @@ class SchedulerAPI(object):
3.0 - Removed backwards compat
... Icehouse supports message version 3.0. So, any changes to
... Icehouse and Juno support message version 3.0. So, any changes to
existing methods in 3.x after that point should be done such that they
can handle the version_cap being set to 3.0.
@ -90,6 +90,7 @@ class SchedulerAPI(object):
'grizzly': '2.6',
'havana': '2.9',
'icehouse': '3.0',
'juno': '3.0',
}
def __init__(self):