Merge pull request #277 from stephen-turner/CA-154651

CA-154651: Bump API version number
This commit is contained in:
Gabor Apati-Nagy 2014-12-10 13:47:19 +00:00
commit e553638140

View File

@ -50,8 +50,9 @@ namespace XenAPI
API_2_0 = 11, // XenServer 6.2 (Clearwater)
API_2_1 = 12, // XenServer 6.2 with vGPU (vGPU)
API_2_2 = 13, // XenServer 6.2 Hotfix XS62ESP1004 (Felton)
API_2_3 = 14, //
LATEST = 14,
API_2_3 = 14, // XenServer Creedence
API_2_4 = 15, // XenServer Cream
LATEST = 15,
// Don't forget to change LATEST above, and APIVersionString below.
UNKNOWN = 99
}
@ -92,6 +93,8 @@ namespace XenAPI
return "2.2";
case API_Version.API_2_3:
return "2.3";
case API_Version.API_2_4:
return "2.4";
default:
return "Unknown";
}