From ba0b211e749a28a2d46273defd730fffd207bb67 Mon Sep 17 00:00:00 2001 From: splastunov Date: Sat, 28 Nov 2020 19:32:37 +0300 Subject: [PATCH] Fix fro new xcp-ng 8.2 --- XenModel/XenAPI/ApiVersion.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/XenModel/XenAPI/ApiVersion.cs b/XenModel/XenAPI/ApiVersion.cs index 7f172d6dd..e8ac6fe74 100644 --- a/XenModel/XenAPI/ApiVersion.cs +++ b/XenModel/XenAPI/ApiVersion.cs @@ -62,8 +62,9 @@ namespace XenAPI API_2_12 = 23, //Citrix Hypervisor 8.0 (naples) API_2_13 = 24, //Unreleased (oslo) API_2_14 = 25, //Citrix Hypervisor 8.1 (quebec) - API_2_15 = 26, //Unreleased (stockholm) - LATEST = 26, + API_2_15 = 26, //Citrix Hypervisor 8.2 (stockholm) + API_2_16 = 27, //unreleased (stockholm) + LATEST = 27, UNKNOWN = 99 } @@ -125,6 +126,8 @@ namespace XenAPI return "2.14"; case API_Version.API_2_15: return "2.15"; + case API_Version.API_2_16: + return "2.16"; default: return "Unknown"; } @@ -179,4 +182,4 @@ namespace XenAPI return APIVersionCompare(session, v) >= 0; } } -} \ No newline at end of file +}