mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #277 from stephen-turner/CA-154651
CA-154651: Bump API version number
This commit is contained in:
commit
e553638140
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user