diff --git a/nova/virt/zvm/utils.py b/nova/virt/zvm/utils.py index c65e844..572f4f8 100644 --- a/nova/virt/zvm/utils.py +++ b/nova/virt/zvm/utils.py @@ -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."""