Merge "Introduce XCAT version concept"

This commit is contained in:
Jenkins 2015-09-16 10:07:12 +00:00 committed by Gerrit Code Review
commit 8c84bc05da

View File

@ -41,6 +41,16 @@ CONF = cfg.CONF
CONF.import_opt('instances_path', 'nova.compute.manager')
# It means we introduced 'version' concept at 2.8.3.7
# later on, any new features especially backward incompatible
# change need a new version such as
# Support_xxxx = 'x.x.x.x', then we will compare whether
# The XCAT we are using has higher or lower version than x.x.x.x
# and do different things according to the version
# we might INFO in log if version is lower than XCAT_INIT_VERSION
XCAT_INIT_VERSION = '2.8.3.7'
class XCATUrl(object):
"""To return xCAT url for invoking xCAT REST API."""