Konstantina Chremmou
67d1ddd1d1
Merge remote-tracking branch 'upstream/master' into feature/hyperman
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
# Conflicts:
# Branding/Branding.resx
# Jenkinsfile
# XenAdmin/Alerts/Types/GuiOldAlert.cs
# XenAdmin/Alerts/Types/LicenseAlert.cs
# XenAdmin/Commands/RestartToolstackCommand.cs
# XenAdmin/Diagnostics/Problems/HostProblem/HostNotSafeToUpgradeWarning.cs
# XenAdmin/Dialogs/AllowUpdatesDialog.cs
# XenAdmin/Dialogs/OptionsPages/ConfirmationOptionsPage.cs
# XenAdmin/Dialogs/RepairSRDialog.cs
# XenAdmin/Dialogs/UpsellDialog.cs
# XenAdmin/Plugins/UI/TabPageCredentialsDialog.cs
# XenAdmin/Program.cs
# XenAdmin/Wizards/ConversionWizard/ConversionNetworkPage.cs
# XenAdmin/Wizards/CrossPoolMigrateWizard/CrossPoolMigrateDestinationPage.cs
# XenAdmin/Wizards/NewSRWizard_Pages/SrWizardType.cs
# XenAdmin/Wizards/PatchingWizard/PatchingWizard_FirstPage.cs
# XenCenterLib/XSVersionAttribute.cs
# XenModel/BrandManager.cs
# XenModel/Messages.Designer.cs
# XenModel/Messages.resx
2021-05-25 15:51:42 +01:00
Konstantina Chremmou
abf4ae3f35
CP-36392 pt.1: Removed unused using directives.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2021-04-07 10:04:47 +01:00
Konstantina Chremmou
a0e2967792
CP-31105: Replaced the hardcoded name patterns in the resource files with format placeholders.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2021-03-31 11:50:32 +01:00
Konstantina Chremmou
a109f5f22d
Pascal-cased method name.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2021-03-02 11:57:50 +00:00
Konstantina Chremmou
e895bc4168
CA-339353: SrProbeAction should run its RBAC checks explicitly instead of inheriting from PureAsyncAction.
...
The fix for CA-337280 moved the parsing of the probe result in the Run body of
the action, causing it to fail when the dry-run for the RBAC checks is performed.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2020-10-13 15:02:31 +01:00
Konstantina Chremmou
c9449b9914
CP-33153: Added friendly title and description for GFS2_CAPACITY alert. Corrected scan action description.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2020-06-05 11:50:49 +01:00
Konstantina Chremmou
8d6686b63f
CA-337280: Creation of GFS2 SRs with CHAP authentication is not supported.
...
This is also a better fix for CA-335356.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2020-05-01 15:27:18 +01:00
Konstantina Chremmou
667e9e8caf
Log the stack trace when an exception is encountered and don't use the *Format() counterpart of the logging method for it.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2019-11-13 12:31:44 +00:00
Konstantina Chremmou
fad80c778b
Avoid duplicate logging; compact multiple logging calls.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2019-11-13 12:31:44 +00:00
Konstantina Chremmou
f4265732ca
Do not localise log entries or ellipsise names. Log exception stack traces where applicable.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2019-11-13 12:31:44 +00:00
Konstantina Chremmou
fb2edf99b8
Do not initialise a logger if a class does not use it.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2019-11-13 12:31:44 +00:00
Konstantina Chremmou
7a4d5719c7
Renamed class and file PropertyManager to FriendlyNameManager to avoid confusion,
...
because it only manages friendly names; moved it closer to the relevant resource files.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2019-01-28 14:49:48 +00:00
Mihaela Stoica
171284ff34
CP-28094: Rationalise device-config keys with SMAPIv1
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-16 17:18:12 +01:00
serencorbett1
e90b04d783
CA-287856: Add new API calls and update SR repair ( #2043 )
...
* CA-287856: Add new API calls and update SR repair
* CA-287856: changed setIscsiIQN and added try/catch
* CA-287856: correct method
* CA-287856: add else
2018-04-20 13:26:42 +01:00
Konstantina Chremmou
6adcd2b83f
Some more code simplifications.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
0e55a4f078
Tidied up SrProbeAction constructors.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Mihaela Stoica
fc42be5bee
CP-17099: Do the probe_ext for HBA
...
- Move the scan for HBA devices after the Provisioning page
- Fix the device-config for HBA (removed uri)
- Add probe_ext in FibreChannelProbeAction and the method to process the result
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-03 11:24:40 +01:00
Mihaela Stoica
fcb6399535
CP-17099: Changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-28 17:07:15 +01:00
Mihaela Stoica
6ad6b4efc7
CP-17099: Use SR.probe_ext for GFS2 over iSCSI to populate the lists of IQNs and LUNs on the New SR wizard
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-28 17:07:15 +01:00
serenc
b7d3a2b3b5
CP-17099: Add gfs2 SR probe
...
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-03-28 11:34:42 +01:00
Mihaela Stoica
ff05fb698c
Merge remote-tracking branch 'upstream/master' into REQ-477
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
# Conflicts:
# XenModel/XenAPI/Auth.cs
# XenModel/XenAPI/Blob.cs
# XenModel/XenAPI/Bond.cs
# XenModel/XenAPI/Console.cs
# XenModel/XenAPI/Converters.cs
# XenModel/XenAPI/Crashdump.cs
# XenModel/XenAPI/DR_task.cs
# XenModel/XenAPI/Event.cs
# XenModel/XenAPI/Feature.cs
# XenModel/XenAPI/GPU_group.cs
# XenModel/XenAPI/Host.cs
# XenModel/XenAPI/Host_cpu.cs
# XenModel/XenAPI/Host_crashdump.cs
# XenModel/XenAPI/Host_metrics.cs
# XenModel/XenAPI/Host_patch.cs
# XenModel/XenAPI/JsonRpcClient.cs
# XenModel/XenAPI/LVHD.cs
# XenModel/XenAPI/Maps.cs
# XenModel/XenAPI/Message.cs
# XenModel/XenAPI/Network.cs
# XenModel/XenAPI/PBD.cs
# XenModel/XenAPI/PCI.cs
# XenModel/XenAPI/PGPU.cs
# XenModel/XenAPI/PIF.cs
# XenModel/XenAPI/PIF_metrics.cs
# XenModel/XenAPI/PUSB.cs
# XenModel/XenAPI/PVS_cache_storage.cs
# XenModel/XenAPI/PVS_proxy.cs
# XenModel/XenAPI/PVS_server.cs
# XenModel/XenAPI/PVS_site.cs
# XenModel/XenAPI/Pool.cs
# XenModel/XenAPI/Pool_patch.cs
# XenModel/XenAPI/Pool_update.cs
# XenModel/XenAPI/Role.cs
# XenModel/XenAPI/SDN_controller.cs
# XenModel/XenAPI/SM.cs
# XenModel/XenAPI/SR.cs
# XenModel/XenAPI/Secret.cs
# XenModel/XenAPI/Session.cs
# XenModel/XenAPI/Subject.cs
# XenModel/XenAPI/Task.cs
# XenModel/XenAPI/Tunnel.cs
# XenModel/XenAPI/USB_group.cs
# XenModel/XenAPI/User.cs
# XenModel/XenAPI/VBD.cs
# XenModel/XenAPI/VBD_metrics.cs
# XenModel/XenAPI/VDI.cs
# XenModel/XenAPI/VGPU.cs
# XenModel/XenAPI/VGPU_type.cs
# XenModel/XenAPI/VIF.cs
# XenModel/XenAPI/VIF_metrics.cs
# XenModel/XenAPI/VLAN.cs
# XenModel/XenAPI/VM.cs
# XenModel/XenAPI/VMPP.cs
# XenModel/XenAPI/VMSS.cs
# XenModel/XenAPI/VM_appliance.cs
# XenModel/XenAPI/VM_guest_metrics.cs
# XenModel/XenAPI/VM_metrics.cs
# XenModel/XenAPI/VTPM.cs
# XenModel/XenAPI/VUSB.cs
# XenModel/XenModel.csproj
2018-02-27 17:42:18 +00:00
serenc
c99c4a0f2e
CA-280299: Rescan SRs when choosing SR for copying VM
2018-02-05 10:53:46 +00:00
Konstantina Chremmou
123db499f5
Merge branch 'master' into REQ-420
2018-01-25 13:38:58 +00:00
Mihaela Stoica
72071a3334
Merge master into REQ-477
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Conflicts:
XenModel/XenAPI/Proxy.cs
2017-12-04 13:37:12 +00:00
Konstantina Chremmou
fb8434819d
Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Mihaela Stoica
6249663ae2
CP-17098: Integrate gfs2 in New SR wizard for HBA and FCOE SRs
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Conflicts:
XenAdmin/Wizards/NewSRWizard.cs
XenAdmin/Wizards/NewSRWizard_Pages/ChooseSrTypePage.cs
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoHBA.cs
XenAdmin/Wizards/NewSRWizard_Pages/SrWizardType.cs
2017-10-20 11:05:45 +01:00
Konstantina Chremmou
915059d099
The Proxy_xxx classes should not be used outside the API bindings (in reality
...
these classes should have been internal).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-14 11:52:15 +01:00
Konstantina Chremmou
ae22560ce8
Converted all extension get properties of the API classes to methods in order to
...
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:30 +01:00
Stephen Turner
89f51e90a1
CA-258782 Remove thin provisioning code ( #1728 )
...
* CA-258782 Remove thin provisioning code
* Revert file that shouldn't have been touched
* Remove line that was only present for debugging
2017-08-22 16:40:08 +01:00
Mihaela Stoica
78ad827cc4
CA-242134: Remove TampaOrGreater, its usages and unreachable code
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 14:31:43 +01:00
Gabor Apati-Nagy
7c0bc50b4a
CA-176169: Changed copyright statements to include the comma in Citrix Systems,
...
Inc.
Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Callum McIntyre
c9ed8a1f68
CP-17848: XAPI changes to support new update packaging calls/structrures
2016-08-30 17:11:47 +01:00
Mihaela Stoica
bb434db027
CA-205199: Reattaching an SR fails with error "The SR is not attached"
...
Set the name and description of the SR after the PBDs have been created and plugged.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-03-30 15:39:00 +01:00
Stephen Turner
ac71c2c454
CA-190904: Remove obsolete SR.upgrade and SR.share menu items
2015-11-30 11:53:54 +00:00
Stephen Turner
8ea7e73b55
CP-14647: Intermediate check-in #5
...
This should cover everything except updating the tests to use more recent
servers.
2015-11-08 11:28:02 +00:00
Mihaela Stoica
0de5a2d310
CP-13983: Fix the SR convert action
...
- use SR.opaque_ref instead of uuid
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-22 11:05:39 +01:00
Carmen Agimof
0dd8fa7f05
CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert).
2015-09-08 15:32:47 +01:00
Gabor Apati-Nagy
19d9d1589c
CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
...
Some checks following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-27 13:50:56 +01:00
Gabor Apati-Nagy
cb90872c6c
CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
...
Added new functionality (using percentages yet)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-26 17:54:03 +01:00
Gabor Apati-Nagy
50797b5805
CA-173497: Thin provisioning: Repair of SR of thin-provisioning on SR hang without return
...
-When detaching an SR, we detach the slaves first
-When reattaching the SR, we attach the master first
This fix was required by thin provisioning, but it does worth to use the same logic regardless of the provisioning method.
2015-07-24 14:48:09 +01:00
Gabor Apati-Nagy
3402ca03d8
CP-12314: CAR-576 XC: New SR type for FCoE
...
Added 'path' for FCoE device config
2015-06-29 14:44:32 +01:00
Mihaela Stoica
551d7657ca
CP-12314: Add New SR type for FCoE in the SR wizard
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-29 14:44:29 +01:00
Gabor Apati-Nagy
eb61f8fe0c
CA-165367: Reclaim freed space feature fails on Local storage on Slave host
2015-03-27 15:06:17 +00:00
Mihaela Stoica
1ff55016c8
CP-8547: Add button in XenCenter to initiate space reclamation on an SR: Changes following code review.
...
- Added check for null for sm.features in SR.SupportsTrim;
- Better error messages;
- Moved error messages from Messages to FriendlyNames;
- Removed the check for actions in progress from TrimSRCommand.CanExecute().
-
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-24 14:48:31 +01:00
Mihaela Stoica
1f217b9983
CP-8547: Add button in XenCenter to initiate space reclamation on an SR.
...
The operation applies to an SR. The button is on the Storage tab of the host/pool, and is entitled "Reclaim freed space".
It comes between the New SR and Properties buttons.
If the SR does not support TRIM , the button is invisible and the Properties button moves left to close up the gap.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-24 11:32:36 +01:00
Konstantina Chremmou
ed88db2df0
Fixed two potential null reference exceptions in the XenOvfTransport project and
...
removed uninitialised streams which we were taking care to close. Solution-wide
style: use string.IsNullOrEmpty method instead of checking separately for null
and zero length.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 08:30:34 +01:00
Adrian Jachacy
d89d04a33d
CA-76329: SR destroy option is missing from XenCenter (even SR doesn't contains any VDI and SR is detached)
...
1. Changed definition of IsDetached property in SR.cs: SR is detached when it has no PBDs or when all its PBDs are unplugged.
2. Added bool HasPBDs property in SR.cs (replaced previous IsDetached property definition).
3. Reviewed all usages of sr.IsDetached property.
Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-23 13:42:27 +01:00
Mihaela Stoica
bd36a85bff
CP-4816: Initial commit to git repo
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00