mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Added API 2.21 to allow connection to latest XCP-ng
This commit is contained in:
parent
c4beabab3e
commit
cd4c62ee48
@ -92,7 +92,9 @@ namespace XenAPI
|
||||
API_2_16 = 27,
|
||||
/// <summary>XCP-ng 8.3</summary>
|
||||
API_2_20 = 28,
|
||||
LATEST = 28,
|
||||
/// <summary>XCP-ng 8.3</summary>
|
||||
API_2_21 = 29,
|
||||
LATEST = 29,
|
||||
UNKNOWN = 99
|
||||
}
|
||||
|
||||
@ -158,6 +160,8 @@ namespace XenAPI
|
||||
return "2.16";
|
||||
case API_Version.API_2_20:
|
||||
return "2.20";
|
||||
case API_Version.API_2_21:
|
||||
return "2.21";
|
||||
default:
|
||||
return "Unknown";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user