Introduce XCAT version concept
First version to introduce XCAT version (2.8.3.7) incompatible changes will need update the version. Change-Id: I50da6b77c240047d9f13421a13f4275c548b2d47
This commit is contained in:
parent
c4d9158bfe
commit
1bfd8709f9
@ -41,6 +41,16 @@ CONF = cfg.CONF
|
|||||||
CONF.import_opt('instances_path', 'nova.compute.manager')
|
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):
|
class XCATUrl(object):
|
||||||
"""To return xCAT url for invoking xCAT REST API."""
|
"""To return xCAT url for invoking xCAT REST API."""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user