mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
77bd034e8d
* CA-359965: Consider `physical_utilisation` value when checking for free space in thinly provisioned SRs * CA-359965: Fix miscellaneous formatting issues * Made SrPickerItem show the SR by default. Removed virtual method that was never overriden. * Use slightly more intuitive name for property; also inverted its logic. * Renamed VdiCreationCanProceed to the more specific CanFitDisks since it only deals with sizes. * Re-arranged classes in file. * Refactored SrPickerItem: - Merged CanBeEnabled and DisabledReason properties to method CanBeEnabled(out disabledREason) to avoid running the same checks twice. - Pass the disk instead of the size into extension method SR.CanFitDisks so that the correct size can be used for each storage (thin vs. non-thin provision). * Correction as per code review and some tweaks to make the checks clearer and more efficient. Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com> Co-authored-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> |
||
---|---|---|
.. | ||
AdPage.cs | ||
AdPage.Designer.cs | ||
AdPage.ja.resx | ||
AdPage.resx | ||
AdPage.zh-CN.resx | ||
AlertSummaryPage.cs | ||
AlertSummaryPage.Designer.cs | ||
AlertSummaryPage.ja.resx | ||
AlertSummaryPage.resx | ||
AlertSummaryPage.zh-CN.resx | ||
BallooningPage.cs | ||
BallooningPage.Designer.cs | ||
BallooningPage.ja.resx | ||
BallooningPage.resx | ||
BallooningPage.zh-CN.resx | ||
BaseTabPage.cs | ||
BaseTabPage.Designer.cs | ||
BaseTabPage.ja.resx | ||
BaseTabPage.resx | ||
BaseTabPage.zh-CN.resx | ||
DockerDetailsPage.cs | ||
DockerDetailsPage.Designer.cs | ||
DockerDetailsPage.ja.resx | ||
DockerDetailsPage.resx | ||
DockerDetailsPage.zh-CN.resx | ||
DockerProcessPage.cs | ||
DockerProcessPage.Designer.cs | ||
DockerProcessPage.ja.resx | ||
DockerProcessPage.resx | ||
DockerProcessPage.zh-CN.resx | ||
GeneralTabLicenseStatusStringifier.cs | ||
GeneralTabPage.cs | ||
GeneralTabPage.Designer.cs | ||
GeneralTabPage.ja.resx | ||
GeneralTabPage.resx | ||
GeneralTabPage.zh-CN.resx | ||
GpuPage.cs | ||
GpuPage.Designer.cs | ||
GpuPage.ja.resx | ||
GpuPage.resx | ||
GpuPage.zh-CN.resx | ||
HAPage.cs | ||
HAPage.Designer.cs | ||
HAPage.ja.resx | ||
HAPage.resx | ||
HAPage.zh-CN.resx | ||
HistoryPage.cs | ||
HistoryPage.Designer.cs | ||
HistoryPage.ja.resx | ||
HistoryPage.resx | ||
HistoryPage.zh-CN.resx | ||
HomePage.cs | ||
HomePage.Designer.cs | ||
HomePage.ja.resx | ||
HomePage.resx | ||
HomePage.zh-CN.resx | ||
NetworkPage.cs | ||
NetworkPage.Designer.cs | ||
NetworkPage.ja.resx | ||
NetworkPage.resx | ||
NetworkPage.zh-CN.resx | ||
NICPage.cs | ||
NICPage.Designer.cs | ||
NICPage.ja.resx | ||
NICPage.resx | ||
NICPage.zh-CN.resx | ||
NotificationsBasePage.cs | ||
PerformancePage.cs | ||
PerformancePage.Designer.cs | ||
PerformancePage.ja.resx | ||
PerformancePage.resx | ||
PerformancePage.zh-CN.resx | ||
PhysicalStoragePage.cs | ||
PhysicalStoragePage.Designer.cs | ||
PhysicalStoragePage.ja.resx | ||
PhysicalStoragePage.resx | ||
PhysicalStoragePage.zh-CN.resx | ||
PvsPage.cs | ||
PvsPage.Designer.cs | ||
PvsPage.ja.resx | ||
PvsPage.resx | ||
PvsPage.zh-CN.resx | ||
SearchPage.cs | ||
SearchPage.Designer.cs | ||
SearchPage.ja.resx | ||
SearchPage.resx | ||
SearchPage.zh-CN.resx | ||
SnapshotsPage.cs | ||
SnapshotsPage.designer.cs | ||
SnapshotsPage.ja.resx | ||
SnapshotsPage.resx | ||
SnapshotsPage.zh-CN.resx | ||
SrStoragePage.cs | ||
SrStoragePage.Designer.cs | ||
SrStoragePage.ja.resx | ||
SrStoragePage.resx | ||
SrStoragePage.zh-CN.resx | ||
UpsellTabPage.cs | ||
UpsellTabPage.Designer.cs | ||
UpsellTabPage.ja.resx | ||
UpsellTabPage.resx | ||
UpsellTabPage.zh-CN.resx | ||
UsbPage.cs | ||
UsbPage.Designer.cs | ||
UsbPage.ja.resx | ||
UsbPage.resx | ||
UsbPage.zh-CN.resx | ||
VMStoragePage.cs | ||
VMStoragePage.Designer.cs | ||
VMStoragePage.ja.resx | ||
VMStoragePage.resx | ||
VMStoragePage.zh-CN.resx | ||
WlbPage.cs | ||
WlbPage.Designer.cs | ||
WlbPage.ja.resx | ||
WlbPage.resx | ||
WlbPage.zh-CN.resx |