Skip to content

Commit

Permalink
Added API 2.21 to allow connection to latest XCP-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-manley committed May 23, 2024
1 parent c4beaba commit cd4c62e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion XenModel/XenAPI/ApiVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ public enum API_Version
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
}

Expand Down Expand Up @@ -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";
}
Expand Down

0 comments on commit cd4c62e

Please sign in to comment.