mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CP-39366: Disallow connection to servers earlier than yangtze.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
713bec52ce
commit
ab676786b1
@ -997,15 +997,17 @@ namespace XenAdmin
|
||||
return;
|
||||
}
|
||||
|
||||
// Allow Citrix Hypervisor Center connect to Stockholm and cloud released versions only
|
||||
// Allow connection only to Yangtze and cloud released versions
|
||||
//
|
||||
if (!Helpers.StockholmOrGreater(coordinator))
|
||||
if (!Helpers.YangtzeOrGreater(coordinator))
|
||||
{
|
||||
connection.EndConnect();
|
||||
|
||||
Program.Invoke(Program.MainWindow, delegate
|
||||
{
|
||||
var msg = string.Format(Messages.GUI_NOT_COMPATIBLE, BrandManager.BrandConsole, BrandManager.ProductBrand, BrandManager.ProductVersion82, Helpers.GetName(coordinator), BrandManager.LegacyConsole);
|
||||
var msg = string.Format(Messages.GUI_NOT_COMPATIBLE, BrandManager.BrandConsole,
|
||||
BrandManager.ProductBrand, BrandManager.ProductVersion821,
|
||||
Helpers.GetName(coordinator), BrandManager.LegacyConsole);
|
||||
var url = InvisibleMessages.OUT_OF_DATE_WEBSITE;
|
||||
var title = string.Format(Messages.CONNECTION_REFUSED_TITLE, Helpers.GetName(coordinator).Ellipsise(80));
|
||||
var error = $"{msg}\n{url}";
|
||||
|
Loading…
Reference in New Issue
Block a user