Merge pull request #198 from splastunov/development

Fast fix for new xcp-ng 8.2
This commit is contained in:
Alexander Schulz 2020-11-30 09:29:01 +01:00 committed by GitHub
commit 936b8a16ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}
}
}