mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
Merge pull request #198 from splastunov/development
Fast fix for new xcp-ng 8.2
This commit is contained in:
commit
936b8a16ff
@ -62,8 +62,9 @@ namespace XenAPI
|
|||||||
API_2_12 = 23, //Citrix Hypervisor 8.0 (naples)
|
API_2_12 = 23, //Citrix Hypervisor 8.0 (naples)
|
||||||
API_2_13 = 24, //Unreleased (oslo)
|
API_2_13 = 24, //Unreleased (oslo)
|
||||||
API_2_14 = 25, //Citrix Hypervisor 8.1 (quebec)
|
API_2_14 = 25, //Citrix Hypervisor 8.1 (quebec)
|
||||||
API_2_15 = 26, //Unreleased (stockholm)
|
API_2_15 = 26, //Citrix Hypervisor 8.2 (stockholm)
|
||||||
LATEST = 26,
|
API_2_16 = 27, //unreleased (stockholm)
|
||||||
|
LATEST = 27,
|
||||||
UNKNOWN = 99
|
UNKNOWN = 99
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,6 +126,8 @@ namespace XenAPI
|
|||||||
return "2.14";
|
return "2.14";
|
||||||
case API_Version.API_2_15:
|
case API_Version.API_2_15:
|
||||||
return "2.15";
|
return "2.15";
|
||||||
|
case API_Version.API_2_16:
|
||||||
|
return "2.16";
|
||||||
default:
|
default:
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
}
|
}
|
||||||
@ -179,4 +182,4 @@ namespace XenAPI
|
|||||||
return APIVersionCompare(session, v) >= 0;
|
return APIVersionCompare(session, v) >= 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user