From cd4c62ee48a2288a01c8b902df4eba0293b27b8e Mon Sep 17 00:00:00 2001 From: "Michael J. Manley" Date: Thu, 23 May 2024 00:39:08 -0700 Subject: [PATCH] Added API 2.21 to allow connection to latest XCP-ng --- XenModel/XenAPI/ApiVersion.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/XenModel/XenAPI/ApiVersion.cs b/XenModel/XenAPI/ApiVersion.cs index e4314a1ee..5caef7d4c 100644 --- a/XenModel/XenAPI/ApiVersion.cs +++ b/XenModel/XenAPI/ApiVersion.cs @@ -92,7 +92,9 @@ public enum API_Version API_2_16 = 27, /// XCP-ng 8.3 API_2_20 = 28, - LATEST = 28, + /// XCP-ng 8.3 + API_2_21 = 29, + LATEST = 29, UNKNOWN = 99 } @@ -158,6 +160,8 @@ public static string APIVersionString(API_Version v) return "2.16"; case API_Version.API_2_20: return "2.20"; + case API_Version.API_2_21: + return "2.21"; default: return "Unknown"; }