Konstantina Chremmou
f30afbe1d2
XSI-1362/CA-373773: Reworked the logic for selecting boot mode when creating a VM.
...
The new logic takes also account of platform:secure-boot=auto.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-01-31 16:20:13 +00:00
Konstantina Chremmou
fbe8c60336
Merge remote-tracking branch 'upstream/feature/vtpm'
...
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
# Conflicts:
# XenAdmin/MainWindow.cs
# XenAdmin/Properties/Resources.resx
# XenModel/Utils/Helpers.Versions.cs
# XenModel/XenAPI/Pool.cs
2023-01-10 15:17:23 +00:00
Konstantina Chremmou
a29eb998ae
Merge pull request #3065 from kc284/master
...
CP-41048: Add each SR to the SrPicker as soon as its scan finishes, without waiting for the other scans to finish.
2022-12-05 15:00:01 +00:00
Konstantina Chremmou
421831f312
CP-41048: Do not scan SRs automatically when adding to the SrPicker. Added button to scan on demand.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-12-02 00:55:27 +00:00
Konstantina Chremmou
a77f3c3994
Corrections per code review.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-16 17:36:17 +00:00
Konstantina Chremmou
6644ef920a
CP-41108: Replaced the separate splash screen executable with a form within the application executable.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-11-14 09:45:33 +00:00
Danilo Del Busso
ebcef64a24
Merge pull request #3062 from danilo-delbusso/bug/credentials_CA-371356
...
CA-371356 [XSI-1327]: Add option to prevent resetting pwd prompt function on disconnection
2022-10-28 09:44:13 +01:00
Konstantina Chremmou
de6a4f89c1
Merge pull request #3033 from danilo-delbusso/bug/prevent-host-reset
...
Prevent host reset when moving between wizard pages using `SelectMultipleVMDestinationPage`
2022-10-27 10:58:54 +01:00
Danilo Del Busso
0b5d259745
CA-371356: Add option to prevent resetting pwd prompt function on connection disconnection
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-10-20 14:26:32 +01:00
Danilo Del Busso
77bd034e8d
CA-359965: Consider physical_utilisation
value when checking for free space in thinly provisioned SRs ( #3028 )
...
* 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>
2022-10-11 09:26:54 +01:00
Konstantina Chremmou
940b1580b9
Fixes issue where the Finish page of the NewVM wizard was not showing the selected home server correctly.
2022-10-07 09:19:10 +01:00
Konstantina Chremmou
9f781a5876
CA-370847: Unable to collect status report for multiple servers
...
Linq.Intersect was failing to combine server capabilities because the helper
class did not implement GetHashCode.
2022-09-26 10:05:01 +01:00
Konstantina Chremmou
74487155fa
Merge pull request #3053 from xenserver/master
...
Merge master into feature/vtpm
2022-09-16 14:27:56 +01:00
Konstantina Chremmou
71a8fde3c6
Wording and layout modifications for clarity.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-15 16:26:47 +01:00
Konstantina Chremmou
126bf9131c
Use the correct xapi tag for vTPM support.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-13 16:35:32 +01:00
Konstantina Chremmou
d7124c9dcc
Indentation/whitespace normalization.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-09 11:58:15 +01:00
Konstantina Chremmou
eedcfbe59d
CP-40350: Hide vtpm capability if the feature flag is off.
...
Also, some refactoring and addition of null checks.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-09 11:58:15 +01:00
Konstantina Chremmou
fc5ccf77be
Warn the user when exporting VMs with vTPMs.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-09 11:58:15 +01:00
Konstantina Chremmou
bbc4ccdd52
Allow vTPM assignment when creating a VM.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-09 11:58:15 +01:00
Konstantina Chremmou
f7d96e21fd
UEFI and UEFI secure boot modes are now fully supported, hence remove experimental warning.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-09 11:58:15 +01:00
Konstantina Chremmou
d94c55533c
Renamed VM method is_a_real_vm to IsRealVm.
...
The new name complies with C# conventions and allows distinguishing it from xapi field names.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-09-09 11:58:15 +01:00
Danilo Del Busso
4f91b8a7e0
Merge pull request #3036 from danilo-delbusso/improvement/RPU_CP-39929
...
CP-39929: Improvements on the RPU/Updates wizard
2022-08-22 11:58:30 +00:00
Konstantina Chremmou
476648636b
CP-40642: Hide templates with platform["vtpm"]=true
...
Also, some corrections to the template comparer on the NewVM wizard's Template page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-08-19 17:11:50 +01:00
Danilo Del Busso
60cd8b9f88
CP-39929: Fix incorrect timestamp shown in RPU/Update wizards
...
Also:
- Use new date format for logs
- Specify option parameter names
- Do not show timestamp for host name log
- Do not show timestamp for null/whitespace only lines
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 15:57:55 +01:00
Danilo Del Busso
c2dc35359f
CP-39929: Enable MaximizeBox
for PatchingWizard
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 15:47:59 +01:00
Danilo Del Busso
158be06d8d
CP-39929: Remove useless new line after appending error string
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-15 13:11:40 +01:00
kishore Mengani
1f0452bf8f
L10n: Translations updated & Resx sync
...
Signed-off-by: kishore Mengani <kishore.mengani@citrix.com>
2022-08-12 10:31:53 +01:00
Danilo Del Busso
54a9f22c87
CP-39929: Add timestamps to update logs
...
- Add option to the display options page
- Add related setting
- Refactor `ExtensionMethods` to be more compact and flexible
- Add docs to `ExtensionMethods`
- Whitespace fixes
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-10 15:44:07 +01:00
Danilo Del Busso
cf44274a14
CP-39929: Enable use of maximize box for RPU Wizard
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-03 15:05:49 +01:00
Danilo Del Busso
a6eb7255d9
Fix whitespace in SelectMultipleVMDestinationPage.cs
and ImageVMConfigPage.cs
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-03 13:39:54 +01:00
Danilo Del Busso
8bc10f22a7
CA-368812: Improve field naming in SelectMultipleVMDestinationPage
...
Also make selected target a publicly accessible field
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-03 13:39:52 +01:00
Danilo Del Busso
a69843352f
CA-368812: Prevent host reset when moving between wizard pages using SelectMultipleVMDestinationPage
...
Multiple changes:
1. Remove `SetDefaultTarget(ChosenItem);` from `PageLeaveCore`. This was clearing the value every time the page was left.
2. Add event `m_dataGridView_CellValueChanged`. Inside the event, we keep track of which target host/pool was selected
3. Add a check that resets the value set in `m_dataGridView_CellValueChanged` in case the chosen pool is changed.
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-08-03 13:39:50 +01:00
Konstantina Chremmou
69c007eabb
CA-368812: Refresh the gridview when the cell value is set so as to show the correct string.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-08-03 13:39:47 +01:00
Konstantina Chremmou
5a5f292959
CA-368812: The host selection was reset when moving back from the SR selection page.
...
Also, minor code tidy.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-08-03 13:39:42 +01:00
Konstantina Chremmou
d6f83bac9c
Increased width of memory NumericalUpDown because at the maximum value the text was truncated.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-07-19 12:26:10 +01:00
Danilo Del Busso
c2604a69bd
CA-368811: Fix memory values showing in bytes in Import Wizard
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-07-19 12:10:15 +01:00
Konstantina Chremmou
030e07390c
CA-368812: The SR selection page was not refreshed if the user selected a different target host in the same pool.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-07-14 22:23:52 +01:00
Konstantina Chremmou
c1e5825e24
CA-368811: FIxed issue whereby a minimum memory of 512MB was enforced silently on disk image imports.
...
Also, increased the maximum allowed memory for imported disk images.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-07-14 16:00:58 +01:00
Konstantina Chremmou
7c87333439
CA-368577: Prevent crashing when the OVF envelope has been created for a disk image import. Some code tidy.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-07-11 14:58:09 +01:00
Konstantina Chremmou
15b05ae572
Fixed issue on the Import XVA wizard where the SR selection was not taking account of...
...
all scenarios of changed affinity if the user moved from the SR selection
page back to the server selection page and forwards again.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-06-21 10:49:06 +01:00
Konstantina Chremmou
df35684586
Moved version checking methods to a separate file. Use C# naming conventions.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
# Conflicts:
# XenAdmin/Commands/DragDropCrossPoolMoveHaltedVMCommand.cs
# XenAdmin/Commands/DragDropMigrateVMCommand.cs
# XenAdmin/Wizards/CrossPoolMigrateWizard/Filters/CrossPoolMigrateCanMigrateFilter.cs
2022-05-25 11:35:47 +01:00
Konstantina Chremmou
76738ad91f
Merge pull request #3003 from kc284/drag-drop-3
...
CA-294370: Rewrote logic calculating if migration is allowed + some other fixes.
2022-05-25 11:04:26 +01:00
Konstantina Chremmou
755cec2bc1
Merge pull request #2998 from danilo-delbusso/bug/scrollbar_CA-293683
...
CA-293683: Prevent automatic scrolling in RPU wizard if user has scrolled manually
2022-05-25 11:04:03 +01:00
Konstantina Chremmou
4f7ad4f0f0
Fixed broken build and made some additional L10n corrections to the layout.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-05-19 11:09:39 +01:00
Konstantina Chremmou
0cfe9c0a07
Corrections as per code review.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2022-05-18 10:54:44 +01:00
kishore Mengani
6b69496a39
L10n: Resx resync and trnslations updates
...
Signed-off-by: kishore Mengani <kishore.mengani@citrix.com>
2022-05-17 10:51:10 +01:00
Danilo Del Busso
4f09efe475
CA-293683: Prevent automatic scrolling when setting text in SmartScrollTextBox
...
Also fix issue whereby `IsVerticalScrollBarAtBottom` would also return `True`
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-05-16 15:33:52 +01:00
Danilo Del Busso
6b200bef8b
Reorder fields in AutomatedUpdatesBasePage.cs
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-05-12 13:36:13 +01:00
Danilo Del Busso
f2a67243a7
Apply code cleanup to AutomatedUpdatesBasePage.cs
...
Use `var` where possible
Rename fields and methods following conventions
Use pattern matching when casting
Rename variables using more meaningful names
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-05-12 13:34:58 +01:00
Danilo Del Busso
27382f308b
CA-293683: Prevent automatic scrolling in RPU wizard if user has scrolled manually
...
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-05-12 13:06:04 +01:00