Merge "Update rpc version aliases for liberty"

This commit is contained in:
Jenkins 2015-10-02 11:49:41 +00:00 committed by Gerrit Code Review
commit 20e1bce530
8 changed files with 42 additions and 12 deletions

View File

@ -118,6 +118,10 @@ class CellsAPI(object):
and instance_info_cache_update_at_top use instance objects and instance_info_cache_update_at_top use instance objects
* 1.36 - Added 'delete_type' parameter to terminate_instance() * 1.36 - Added 'delete_type' parameter to terminate_instance()
* 1.37 - Add get_keypair_at_top to fetch keypair from api cell * 1.37 - Add get_keypair_at_top to fetch keypair from api cell
... Liberty supports message version 1.37. 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.37.
''' '''
VERSION_ALIASES = { VERSION_ALIASES = {
@ -126,6 +130,7 @@ class CellsAPI(object):
'icehouse': '1.27', 'icehouse': '1.27',
'juno': '1.29', 'juno': '1.29',
'kilo': '1.34', 'kilo': '1.34',
'liberty': '1.37',
} }
def __init__(self): def __init__(self):

View File

@ -49,9 +49,11 @@ class CertAPI(object):
2.0 - Major API rev for Icehouse 2.0 - Major API rev for Icehouse
... Icehouse, Juno and Kilo support message version 2.0. So, any ... Icehouse, Juno, Kilo, and Liberty support message version
changes to existing methods in 2.x after that point should be done such 2.0. So, any changes to existing methods in 2.x after that
that they can handle the version_cap being set to 2.0. point should be done such that they can handle the version_cap
being set to 2.0.
''' '''
VERSION_ALIASES = { VERSION_ALIASES = {
@ -60,6 +62,7 @@ class CertAPI(object):
'icehouse': '2.0', 'icehouse': '2.0',
'juno': '2.0', 'juno': '2.0',
'kilo': '2.0', 'kilo': '2.0',
'liberty': '2.0',
} }
def __init__(self): def __init__(self):

View File

@ -302,12 +302,17 @@ class ComputeAPI(object):
* 4.4 - Make refresh_instance_security_rules send an instance object * 4.4 - Make refresh_instance_security_rules send an instance object
* 4.5 - Add migration, scheduler_node and limits arguments to * 4.5 - Add migration, scheduler_node and limits arguments to
rebuild_instance() rebuild_instance()
... Liberty supports messaging version 4.5. So, any changes to
existing methods in 4.x after that point should be done so that they
can handle the version_cap being set to 4.5
''' '''
VERSION_ALIASES = { VERSION_ALIASES = {
'icehouse': '3.23', 'icehouse': '3.23',
'juno': '3.35', 'juno': '3.35',
'kilo': '4.0', 'kilo': '4.0',
'liberty': '4.5',
} }
def __init__(self): def __init__(self):

View File

@ -192,6 +192,9 @@ class ConductorAPI(object):
* 3.0 - Drop backwards compatibility * 3.0 - Drop backwards compatibility
... Liberty supports 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.
""" """
VERSION_ALIASES = { VERSION_ALIASES = {
@ -200,6 +203,7 @@ class ConductorAPI(object):
'icehouse': '2.0', 'icehouse': '2.0',
'juno': '2.0', 'juno': '2.0',
'kilo': '2.1', 'kilo': '2.1',
'liberty': '3.0',
} }
def __init__(self): def __init__(self):

View File

@ -49,9 +49,11 @@ class ConsoleAPI(object):
2.0 - Major API rev for Icehouse 2.0 - Major API rev for Icehouse
... Icehouse, Juno and Kilo support message version 2.0. So, any ... Icehouse, Juno, Kilo, Liberty support message version 2.0.
changes to existing methods in 2.x after that point should be done such So, any changes to existing methods in 2.x after that point
that they can handle the version_cap being set to 2.0. should be done such that they can handle the version_cap being
set to 2.0.
''' '''
VERSION_ALIASES = { VERSION_ALIASES = {
@ -60,6 +62,7 @@ class ConsoleAPI(object):
'icehouse': '2.0', 'icehouse': '2.0',
'juno': '2.0', 'juno': '2.0',
'kilo': '2.0', 'kilo': '2.0',
'liberty': '2.0',
} }
def __init__(self, topic=None, server=None): def __init__(self, topic=None, server=None):

View File

@ -50,9 +50,11 @@ class ConsoleAuthAPI(object):
* 2.1 - Added access_url to authorize_console * 2.1 - Added access_url to authorize_console
... Kilo support message version 2.1. So, any changes to existing ... Kilo and Liberty support message version 2.1. So, any
methods in 2.x after that point should be done such that they can changes to existing methods in 2.x after that point should be
handle the version_cap being set to 2.1. done such that they can handle the version_cap being set to
2.1.
''' '''
VERSION_ALIASES = { VERSION_ALIASES = {
@ -61,6 +63,7 @@ class ConsoleAuthAPI(object):
'icehouse': '2.0', 'icehouse': '2.0',
'juno': '2.0', 'juno': '2.0',
'kilo': '2.1', 'kilo': '2.1',
'liberty': '2.1',
} }
def __init__(self): def __init__(self):

View File

@ -106,6 +106,10 @@ class NetworkAPI(object):
* 1.14 - Add mac parameter to release_fixed_ip(). * 1.14 - Add mac parameter to release_fixed_ip().
* 1.15 - Convert set_network_host() to use Network objects. * 1.15 - Convert set_network_host() to use Network objects.
... Liberty supports message version 1.15. 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.15.
''' '''
VERSION_ALIASES = { VERSION_ALIASES = {
@ -114,6 +118,7 @@ class NetworkAPI(object):
'icehouse': '1.12', 'icehouse': '1.12',
'juno': '1.13', 'juno': '1.13',
'kilo': '1.13', 'kilo': '1.13',
'liberty': '1.15',
} }
def __init__(self, topic=None): def __init__(self, topic=None):

View File

@ -91,9 +91,10 @@ class SchedulerAPI(object):
* 4.2 - Added update_instance_info(), delete_instance_info(), and * 4.2 - Added update_instance_info(), delete_instance_info(), and
sync_instance_info() methods sync_instance_info() methods
... Kilo support message version 4.2. So, any changes to existing ... Kilo and Liberty support message version 4.2. So, any
methods in 4.x after that point should be done such that they can changes to existing methods in 4.x after that point should be
handle the version_cap being set to 4.2. done such that they can handle the version_cap being set to
4.2.
''' '''
@ -103,6 +104,7 @@ class SchedulerAPI(object):
'icehouse': '3.0', 'icehouse': '3.0',
'juno': '3.0', 'juno': '3.0',
'kilo': '4.2', 'kilo': '4.2',
'liberty': '4.2',
} }
def __init__(self): def __init__(self):