Commit Graph

1629 Commits

Author SHA1 Message Date
Mihaela Stoica
a53b23fe03 Merge pull request #788 from cheng--zhang/CP-15623
CP-15623: Remove Messages FEATURE_NOT_AVAILABLE_NEED_ENTERPRISE_OR_PL…
2016-01-26 09:32:25 +00:00
Mihaela Stoica
3416707fd2 Merge pull request #785 from cheng--zhang/CP-15401
CP-15401: Show/Hide rdpPolling, upsell and optimize for XenApp depend…
2016-01-26 09:31:24 +00:00
Cheng Zhang
5be8c8978b CP-15623: Remove Messages FEATURE_NOT_AVAILABLE_NEED_ENTERPRISE_OR_PLATINUM_PLURAL
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-26 13:40:15 +08:00
Cheng Zhang
5c399ab4ba CP-15401: Avoid have null in URL constructor
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-26 11:16:39 +08:00
Koushik Chakravarty
c2e6c79670 Removing possible null object reference
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-01-25 16:43:33 +05:30
Cheng Zhang
6b2490dea7 CP-15401: Hide upload option by reg key
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-25 16:23:31 +08:00
Cheng Zhang
b33e579f28 CP-15401: Hide HealthCheck by reg key
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-25 13:40:45 +08:00
Cheng Zhang
04d3b81d92 CP-15401: Changed WarningWithInformationUrl and ProblemWithInformationUrl to cope with empty URL string
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-25 11:15:30 +08:00
Mihaela Stoica
26d9e0a3f9 CP-15401: Rearrange the legal notice dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-22 14:02:14 +00:00
Mihaela Stoica
3ccfcc7e3a Merge pull request #782 from cheng--zhang/CP-15398
CP-15398: Make version, xsupdate and xensearch rebrandable
2016-01-22 13:16:03 +00:00
Cheng Zhang
d4ec1289c2 CP-15401: Move hidden check out of designer
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 17:02:59 +08:00
Cheng Zhang
7793f8547e CP-15401: Make legal notice change by reg key
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 16:51:37 +08:00
Cheng Zhang
e488c62175 CP-15401: Make Cross-server private network hide by reg key
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 14:30:28 +08:00
Cheng Zhang
3157f8dd30 CP-15404: Rebranding the installer and fix translation issue
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 13:50:20 +08:00
Cheng Zhang
1485a056e9 CP-15399: Make xsupdate rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 13:50:12 +08:00
Cheng Zhang
88d881b126 CP-15401: Show/Hide rdpPolling, upsell and optimize for XenApp depending on XenCenter registry keys
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 13:31:22 +08:00
Mihaela Stoica
6feab75fb4 CP-15407: Add license editions
Cherry-picked from cream-indigo:
CP-14857: Add "premium" license edition
CP-14857: Add premium license edition for CN version
CA-190342: Add friendly name for "basic" edition
- also hide the Status field from the License Details section if the license is basic

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-21 12:31:33 +00:00
Gabor Apati-Nagy
e5545b3011 Merge pull request #781 from MihaelaStoica/CP-15408
CP-15408: Add license restrictions
2016-01-20 14:04:08 +00:00
Mihaela Stoica
c423fff1dc CP-15408: Renamed RestrictInterPoolMigrate function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-20 13:48:36 +00:00
Mihaela Stoica
9aee7a4f9b Merge pull request #773 from GaborApatiNagy/CA-187681
CA-187681: xs-tools ISO doesn't get mounted on dlvm xva(Centos 7 HVM)
2016-01-20 12:27:29 +00:00
Mihaela Stoica
e3f5490a03 Merge pull request #783 from robhoes/master
CA-186237: Add links to citrix.com
2016-01-20 12:26:48 +00:00
Gabor Apati-Nagy
50b297e743 Merge pull request #778 from MihaelaStoica/CP-15390
CP-15390: Bring back "restrict_pooling"
2016-01-20 12:20:34 +00:00
Gabor Apati-Nagy
04e5820db2 Merge pull request #776 from MihaelaStoica/CP-14472
CP-14472: Remove the lock in the License Manager and ensure that all the updates are done on the main thread.
2016-01-20 12:19:07 +00:00
Rob Hoes
a887faa5f1 –CA-186237: Add link to citrix.com to SSR wizard
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
2016-01-20 12:03:18 +00:00
Rob Hoes
7e31b484ed CA-186237: Add link to citrix.com to HealthCheck settings dialog
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
2016-01-20 12:03:12 +00:00
Cheng Zhang
992ee9e62f CP-15400: Make xensearch rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-20 11:33:54 +08:00
Cheng Zhang
91f7f0646f CP-15398: Make version rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-20 11:33:07 +08:00
Cheng Zhang
75ebed8831 CP-15398: Add missed @
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:42:50 +08:00
Cheng Zhang
dc0b468cbc CP-15398: Change the messages in legal notices
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:42:49 +08:00
Cheng Zhang
98f638027f CP-15398: Rework on comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:42:49 +08:00
Cheng Zhang
31b7337026 CP-15398: Remove enbedded icons
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:56 +08:00
Cheng Zhang
15ef3410a3 CP-15398: Make file name and dir rebrandablei
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:55 +08:00
Cheng Zhang
07c9301637 CP-15398: Change the about dialog texture
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:54 +08:00
Cheng Zhang
08741a1fa0 CP-15398: Make texture company name rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:54 +08:00
Cheng Zhang
d71a20706b CP-15398: Make textue with control key rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:53 +08:00
Cheng Zhang
4f0270d049 CP-15398: Make texture XenServer Host rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:52 +08:00
Cheng Zhang
010ff919c1 CP-15398: Make texture XenServer product rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:36:21 +08:00
Mihaela Stoica
89694b98e3 Merge pull request #775 from GaborApatiNagy/CA-159790_2
CA-159790: [XSO-208] & CA-103752
2016-01-18 21:58:21 +00:00
Cheng Zhang
a57a610b08 CP-15408: Add license restriction for VSS snapshots
- The license restriction for vss snapshots already exists in trunk. This commit just amends the message displayed when the feature is not available.

Cherry picked from cream-indigo:
CA-190395: Replace the usage of FEATURE_NOT_AVAILABLE_NEED_ENTERPRISE_OR_PLATINUM_PLURAL
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-18 15:48:32 +00:00
Cheng Zhang
4a1a9914d6 CP-15408: Add license restriction for VM migration
Cherry picked from cream-indigo:
CP-14848: License restriction for migration for DragDropMigrateVMCommand
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-18 15:48:06 +00:00
Cheng Zhang
ea690581d0 CP-15408: Add license restriction for VM migration
Cherry picked from cream-indigo:
CP-14848: XenCenter: Implement license restriction for migration
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-18 15:44:50 +00:00
Mihaela Stoica
0d08b143d1 CP-15390: Bring back "restrict_pooling"
(partially revert commit 8ea7e73b55)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-15 14:42:36 +00:00
Gabor Apati-Nagy
5e48d730c1 CA-159790: [XSO-208] MeddlingActions don't show location information
Set the Host to the pool master if the task.resident_on host doesn't resolve

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-01-15 13:43:09 +00:00
Mihaela Stoica
11362f22d2 CP-14472: Remove the lock in the License Manager and ensure that all the updates are done on the main thread.
- changed the licenseStatus_ItemUpdated event handler to invoke on the main thread, as this is the only case when a background thread needs to update the storedRows list..All the other reads and writes are taken place on the main (UI) thread
- removed the storedRowsLock as it is not needed since we do all the updates to storedRows on one thread.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-14 16:22:13 +00:00
Gabor Apati-Nagy
3f9db9f98b CA-159790: [XSO-208] MeddlingActions don't show location information
Found a better solution

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-01-14 14:33:06 +00:00
Cheng Zhang
a33d10bade CP-15398: Make texture XenCenter rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-14 18:52:53 +08:00
Cheng Zhang
9dcbd0a430 CP-15403: Remove year information in copyright
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-14 10:42:46 +08:00
Cheng Zhang
766cb72cbe CP-15403: Add rebranding phase in xenadmin
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-14 10:42:45 +08:00
Gabor Apati-Nagy
69cbb9445d CA-187681: xs-tools ISO doesn't get mounted on dlvm xva(Centos 7 HVM)
There were times when "HasUpgradeSupportInManagementAgent" was needed, but not anymore, so this commit is changing code to use only VirtualisationStatus.MANAGEMENT_INSTALLED again.
2016-01-13 13:26:37 +00:00
Gabor Apati-Nagy
ae05d9de17 CA-159790: [XSO-208] MeddlingActions don't show location information
Updated the GetLocation extension method for ActionBase objects to return action.Connection.FriendlyName should it have no Host or Pool set up. This way we see location for MeddlingActions.
Also changed some messages (Task Names) to include "VM" in them too, because xe command line initiated VM lifecycle actions looked really misleading after the above fix in XenCenter (Eg. restarting a VM would show up as "Restarting", "server" which would suggest that not just the VM, but the host is being restarted.)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-01-12 19:16:29 +00:00
Cheng Zhang
b74ae83300 CP-15396: Rename dir of XenAdmin-Branding to Branding
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-11 17:28:31 +08:00
Cheng Zhang
a9214c3463 CP-15396: Use xenadmin-branding and change the location of icons
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-08 16:29:59 +08:00
Hui Zhang
c53e25d2d3 CA-194940: WLB - Hide host disk IO settings for XenServer previous to Dundee.
1. Check the Xenserver platform version and display the host disk read/write
threshold and metric weighting for Dundee or later XenServer.
2. Update the metric weighting page to make it autosize-able.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2016-01-06 15:02:44 +08:00
Stephen Turner
648d3733c8 Merge pull request #749 from GaborApatiNagy/CA-188553
CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled …
2015-12-22 16:33:26 +00:00
Gabor Apati-Nagy
477c4a671f CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled
Aligned the (info) icon on BondDetails page

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-21 18:09:48 +00:00
Gabor Apati-Nagy
03469e3c6c CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled if the base interface's MTU is < 9000
Localized text

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 18:35:17 +00:00
Gabor Apati-Nagy
14138f5c7a CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled
Further changes in text

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 18:30:15 +00:00
Gabor Apati-Nagy
bbfc6b06a1 Merge pull request #757 from MihaelaStoica/CA-190928
CA-190928: Disable "Disconnect Workload Balancing Server" menu option…
2015-12-18 11:38:53 +00:00
Mihaela Stoica
11612e6190 Merge pull request #765 from GaborApatiNagy/master_winupdate_CP-14469
CP-14469: UI: General tab: show G1/G2 VM-related data
2015-12-18 11:36:42 +00:00
Gabor Apati-Nagy
c9c0862a0f Merge pull request #761 from MihaelaStoica/CA-191315
CA-191315: Storage motion from XenCenter should no longer be blocked …
2015-12-18 11:32:57 +00:00
Gabor Apati-Nagy
82cf229d88 CP-14469: UI: General tab: show G1/G2 VM-related data
Removed unused variable

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 11:25:29 +00:00
Mihaela Stoica
5602f1129f Merge pull request #762 from GaborApatiNagy/master_winupdate_CP-15034_2
CP-15034: UI: Search: show new search & filter (Windows Update capability)
2015-12-18 10:58:19 +00:00
Gabor Apati-Nagy
570e98406e CP-15034: UI: Search: show new search & filter (Windows Update capability)
Added Windows Update capability related search functionality
2015-12-17 11:05:22 +00:00
Mihaela Stoica
c8620e978f CA-191315: Storage motion from XenCenter should no longer be blocked on WLB-enabled pools
The restriction that Storage Motion was not possible in the presence of WLB has been removed in Dundee. This commit removes the check in XenCenter.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-12-16 12:58:24 +00:00
Gabor Apati-Nagy
bb1f155347 CP-14469: UI: General tab: show G1/G2 VM-related data
Show "Able to receive Updates via Windows Update" or "Able to receive Updates via Windows Update" for Windows VMs

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-15 14:32:11 +00:00
Mihaela Stoica
8b5f23f451 CA-190928: Disable "Disconnect Workload Balancing Server" menu option if the feature is restricted by license
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2015-12-14 12:48:19 +00:00
Mihaela Stoica
8b6c1f16aa Merge pull request #754 from GaborApatiNagy/CA-189084
CA-189084: Control domain memory alerts not getting generated in Xencenter.
2015-12-10 13:45:39 +00:00
Gabor Apati-Nagy
9a9f117dd8 CA-189084: Control domain memory alerts not getting generated in Xencenter.
Added logging to catch {}
2015-12-08 15:34:18 +00:00
Gabor Apati-Nagy
8c38c4c098 CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled if the base interface's MTU is < 9000
Changes following code review:
* Disabled MTU control and added info label when MTU cannot be changed (due to Min==Max)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-08 11:09:58 +00:00
Gabor Apati-Nagy
400e82406f CA-191832: Move DBV field out of License details section on the General tab
Moved DBV field from the License section to the Version section.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-07 18:03:20 +00:00
Gabor Apati-Nagy
4baa36efab CA-189084: Control domain memory alerts not getting generated in Xencenter.
Dom0 memory alerts have to be configured in the other_config of the control domain (dom0) and not of the the host. This changeset implements this exception.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-07 17:57:54 +00:00
Gabor Apati-Nagy
bb0427a21c CA-187932: Cancelled tasks are reported as errors in XenCenter
Fixed: "User tasks (e.g. VM import) are reported as errors in XenCenter, when they are cancelled tasks."
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-03 18:41:25 +00:00
Mihaela Stoica
fd5b882b38 Merge pull request #750 from GaborApatiNagy/CA-189674
CA-189674: Move VM shows an irrelevant (VIF mapping) error, but it sh…
2015-12-02 12:10:43 +00:00
Gabor Apati-Nagy
a8ea4d47be CA-189674: Move VM shows an irrelevant (VIF mapping) error, but it shouldn't
I assumed the problem was that vm.resident_on is always unknown for stopped vms, but this is there intentionally to match only running vms and be always false for stopped ones. However, we still need similar logic to not to send VIF mapping when not needed in the assert.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-02 12:03:54 +00:00
Stephen Turner
027ead2193 Merge pull request #745 from GaborApatiNagy/CA-186244
CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool
2015-12-02 11:44:55 +00:00
Gabor Apati-Nagy
3df22f4735 CA-189674: Move VM shows an irrelevant (VIF mapping) error, but it shouldn't
Fixed filters that are used to determine whether a vm can be migrated to a destination or not.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-01 21:31:48 +00:00
Gabor Apati-Nagy
49c17f9afb CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled if the base interface's MTU is < 9000
Fixed how we set the Maximum for the dropdown controls on:
* Creating External network,
* Creating Bonds
pages on the New Network Wizard

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-01 16:46:20 +00:00
Gabor Apati-Nagy
16cd22f3db CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool
Hide the pool instead

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-01 11:29:06 +00: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
91e951b56f CP-14647: Remove some references to 5.0, 5.5, 5.6 & 6.0 2015-11-27 16:33:13 +00:00
Gabor Apati-Nagy
93c3badac7 Revert "CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool"
This reverts commit aecb18ab15.
2015-11-27 10:52:34 +00:00
Gabor Apati-Nagy
a403664f98 Merge pull request #741 from MihaelaStoica/CA-180576
CA-180576: Provide a option to give case number when uploading a report
2015-11-25 13:55:51 +00:00
Stephen Turner
8dcc90dd30 Merge pull request #744 from GaborApatiNagy/CA-188554
CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
2015-11-25 13:53:20 +00:00
Gabor Apati-Nagy
34612db6f8 Merge pull request #746 from GaborApatiNagy/CA-178985
CA-178985: Removed ova.xml import from XenCenter
2015-11-25 13:48:44 +00:00
Gabor Apati-Nagy
729b69382e CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
changes following code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-25 12:32:04 +00:00
Gabor Apati-Nagy
f0ea3aa807 CA-178985: Removed ova.xml import from XenCenter
because it has been broken and we decided not to keep this feature

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-25 12:12:20 +00:00
Stephen Turner
da62ddb6b3 Merge pull request #743 from GaborApatiNagy/CA-187909
CA-187909: Special characters should be URLencoded on HTTP calls
2015-11-25 11:34:43 +00:00
Gabor Apati-Nagy
4586832d5f CA-178985: Removed ova.xml import from XenCenter
because it has been broken and we decided not to keep this feature

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-25 11:01:28 +00:00
Gabor Apati-Nagy
aecb18ab15 CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool
Now CrossPoolMigrateCanMigrateFilter can accept a parameter to decide whether to allow same target pool or not -- if allowSameTargetPool is false, it won't.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-24 18:36:03 +00:00
Mihaela Stoica
2a5049829f CA-180576: Update spacing of the controls on Destination page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-24 11:01:47 +00:00
Mihaela Stoica
01f5081511 CA-180576: Provide a option to give case number when uploading a report
- rearranged the controls (removed group box, indented upload-related controls)
- also changed the progress bar style for the upload action to Marquee, as the Blocks style did not show any progress and it looked like the upload hasn't started

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-24 10:44:55 +00:00
Gabor Apati-Nagy
d79351a8f4 CA-187909: Special characters should be UrlEncoded on HTTP calls
A bit of refactoring

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-23 14:47:28 +00:00
Gabor Apati-Nagy
2e8e7afb7e CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
Fixed the exception that was caused by a missing null reference check and also the fact that the license status had to be watched only for pools and hosts, so added a check before starting watching the license status of the IXenObject (on GeneralTabPage)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-23 14:35:20 +00:00
Stephen Turner
bf1bbd8475 Merge pull request #742 from GaborApatiNagy/master_CP-185888
CA-185888: "Forget" in XenCenter is unclear
2015-11-16 16:20:05 +00:00
Gabor Apati-Nagy
57cea2564c CA-185888: "Forget" in XenCenter is unclear
Capitalized.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-16 16:11:40 +00:00
Gabor Apati-Nagy
db4737b5ec CA-185888: "Forget" in XenCenter is unclear
Renamed "Forget" to "Forget password" and updated unit tests accordingly.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-13 20:00:25 +00:00
Gabor Apati-Nagy
f2dcaec4ed Merge pull request #736 from MihaelaStoica/CA-149229
CA-149229: Add VDI and VIF mappings when calling "assert_can_migrate"
2015-11-11 13:04:45 +00:00
Gabor Apati-Nagy
54aa8ae239 Merge pull request #739 from MihaelaStoica/CA-188017
CA-188017: When checking credentials on the Health Check dialog, disp…
2015-11-11 13:04:32 +00:00
Gabor Apati-Nagy
5970721ca1 Merge pull request #740 from MihaelaStoica/CP-14780
CP-14780: Revert Windows Update changes
2015-11-11 13:03:47 +00:00
Gabor Apati-Nagy
31c6ab0a7c Merge pull request #732 from MihaelaStoica/CA-187698
CA-187698: When restoring dismissed updates, only do it on the connec…
2015-11-11 12:26:32 +00:00
Stephen Turner
b8dd9f7374 Merge pull request #738 from MihaelaStoica/CA-188150
CA-188150: Fixed the issue where some of  the VIF parameters were not…
2015-11-11 11:50:26 +00:00
Mihaela Stoica
3c956f28ac CP-14780: Revert Windows Update changes (part2)
Revert "Merge pull request #708 from GaborApatiNagy/master_windows_update"

This reverts commit fe03f1382f, reversing
changes made to 423065a2c8.

Conflicts:
	XenAdminTests/TabsAndMenus/MainMenuGeorge.cs
2015-11-10 13:13:23 +00:00
Mihaela Stoica
da718b4af6 CP-14780: Revert Windows Update changes
Revert "Merge pull request #710 from GaborApatiNagy/master_windows_update"

This reverts commit f36c30362f, reversing
changes made to fe03f1382f.
2015-11-10 13:06:52 +00:00
Mihaela Stoica
9ca480a5cd CA-188017: When checking credentials on the Health Check dialog, display a better error message when the user is not authorised to connect to the server
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 22:34:32 +00:00
Mihaela Stoica
5e96cbf9c2 CA-188150: Removed unneeded call
- removed the call that assigns vif.VM property, as this property is already assigned in ToProxy()

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 22:19:27 +00:00
Mihaela Stoica
bc12d8c92c CA-188150: Fixed the issue where some of the VIF parameters were not preserved when editing VIF properties
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 16:00:47 +00:00
Stephen Turner
3e7fda871a CP-14647: Remove four unused variables 2015-11-09 14:54:11 +00:00
Mihaela Stoica
f352c0cc73 CA-149229: Add VDI and VIF mappings when calling "assert_can_migrate"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 14:20:37 +00:00
Stephen Turner
f2f590e3e7 CP-14647: More changes after read-through, including getting rid of OEM edition 2015-11-08 16:31:48 +00:00
Stephen Turner
524d6eea8e CP-14647: Intermediate check-in #8
All tests now pass, via a combination of
a) Use more up to date databases
b) Delete obsolete tests
c) Edit the version number in the databases (these should be fixed later)
2015-11-08 11:28:06 +00:00
Stephen Turner
448ee7fa4e CP-14647: Intermediate check-in #6
Fix two warnings-as-errors, and update sample dbs to newer API
2015-11-08 11:28:03 +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
Stephen Turner
ce609e31ff CP-14647: Intermediate check-in #4 2015-11-08 11:28:01 +00:00
Stephen Turner
c667e51fd2 CP-14647: Intermediate check-in #3 2015-11-08 11:27:59 +00:00
Stephen Turner
cf6534275e CP-14647: Intermediate check-in #2 2015-11-08 11:27:57 +00:00
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Gabor Apati-Nagy
c459211f80 CP-14778: Update CIFS -> SMB in XenCenter
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-06 14:31:52 +00:00
Mihaela Stoica
817d42fb18 CA-187698: When restoring dismissed updates, only do it on the connections with sufficient privileges
- This fixes the uncaught exception raised when an unauthorized user tries to restore dismissed updates.
- Also added the roles check when dismissing updates.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-05 15:49:38 +00:00
Gabor Apati-Nagy
ffaced4b86 Merge pull request #724 from MihaelaStoica/CA-186232
CA-186232: Fix the "Test credentials" button in the Health Check dialog
2015-11-04 20:00:21 +00:00
Stephen Turner
9380134c9e Merge pull request #722 from MihaelaStoica/CP-14641
CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
2015-11-04 17:02:12 +00:00
Mihaela Stoica
40a634d324 CP-14641: Changes following code review
- vendor check is not needed in the functions where we check whether to warn the users about different feature levels, as the pool join is not allowed if the vendors are different
- renamed some of the functions
- feature comparison is now done eight characters at a time, converted into a 32-bit integer

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 16:33:23 +00:00
Stephen Turner
f0e673bd02 Merge pull request #730 from MihaelaStoica/CP-14642
CP-14642: Add friendly names for the new XenServer alerts
2015-11-04 13:39:26 +00:00
Mihaela Stoica
6a06645b92 CP-14642: Add friendly names for the new XenServer alerts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 12:18:20 +00:00
Mihaela Stoica
02b4a8fbb7 CA-186232: Trim the username before using it
- Add Trim() to the instances where we check if the username is null or empty and also where we use it for authentication
- This applies to both XenServer username and Citrix username

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 12:06:52 +00:00
Gabor Apati-Nagy
b43efd4116 Merge pull request #726 from MihaelaStoica/CA-180576
CA-180576: Provide a option to give case number when uploading a repo…
2015-11-04 12:03:03 +00:00
Mihaela Stoica
8042081abc Merge pull request #729 from GaborApatiNagy/master_CP-14470
CP-14470: UI: Show Management Agent not installed when guest agent does not support upgrading
2015-11-04 11:02:18 +00:00
Mihaela Stoica
4a5b44efd3 Merge pull request #728 from GaborApatiNagy/master_CA-187150
CA-187150: Dundee XenCenter cannot create iSCSI SRs on older hosts
2015-11-04 10:58:06 +00:00
Gabor Apati-Nagy
5f5930faf4 CP-14470: UI: Implement to show Management Agent not installed if not Upgraded (when no or older management agent is present)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-04 10:44:28 +00:00
Gabor Apati-Nagy
18a66189de CA-187150: Dundee XenCenter cannot create iSCSI SRs on older hosts
Fixed regression that was caused by hiding the Storage Provisioning page

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-04 10:39:18 +00:00
Hui Zhang
1723dcf910 CP-14533: Fix the WLB version check issue.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-11-04 11:34:25 +08:00
Mihaela Stoica
af7852c7a0 CA-180576: Provide a option to give case number when uploading a report from the Server Status Report wizard
- added Case Number edit box on the Destination page of the wizard
- valid case number needs to be 9 or less digits

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-03 15:48:14 +00:00
Mihaela Stoica
2358af543a CA-186232: Fix the "Test credentials" button in the Health Check dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-02 16:44:06 +00:00
Mihaela Stoica
366e6e4ec2 CP-14644: Check feature level on VM migration
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-02 15:55:52 +00:00
Mihaela Stoica
d650befbdc CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-30 15:52:24 +00:00
Mihaela Stoica
ffdede1ba7 Merge pull request #720 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk:
2015-10-28 14:11:32 +00:00
Gabor Apati-Nagy
fed8b7ccd7 CP-12617: Port CP-12191 to trunk:
Fixed build error: "ShowJustHostInSearch is not roaming"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-28 14:09:16 +00:00
Mihaela Stoica
dfeb841e5a Merge pull request #709 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk
2015-10-28 13:26:36 +00:00
Stephen Turner
12c2afcd7d Merge pull request #713 from MihaelaStoica/CA-184560
CA-184560: Fix the issue when the RPU wizard cannot check the host version after reboot
2015-10-22 15:15:28 +01:00
Mihaela Stoica
08b5ee109b CA-184560: Resolve the host after reboot with UpgradeHostPlanAction.Host
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-22 13:51:14 +01:00
Mihaela Stoica
4f8ba529b5 Merge pull request #715 from stephen-turner/halt-carmen
Halt Carmen
2015-10-22 13:42:31 +01:00
Stephen Turner
0ba97743a2 Halt Carmen 2015-10-22 13:19:34 +01:00
Stephen Turner
e877faf32b Merge pull request #704 from MihaelaStoica/CA-184563
CA-184563: Do not show Provisioning method for SRs other than iSCSI and LVM
2015-10-21 17:36:38 +01:00
Mihaela Stoica
cc67c313df CA-185737: Reattaching an existing SMB SR should not create a new one
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 17:14:09 +01:00
Mihaela Stoica
3b121c48a3 CA-184560: Fix the issue when the RPU wizard cannot check the host version after reboot
In the RPU wizard, after we notice that the host has been rebooted we try to resolve the host from cache, but sometimes the cache is not populated at that point.
Then, because we cannot resolve the host, we cannot check the host version and we assume is a newer version (which might not be true).
This commit adds a call to retry to resolve the host (with timeout).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 16:53:24 +01:00
Stephen Turner
79c59fa5fa Merge pull request #702 from MihaelaStoica/CA-179515
CA-179515: Move to online help
2015-10-20 16:52:52 +01:00
Stephen Turner
f36c30362f Merge pull request #710 from GaborApatiNagy/master_windows_update
CP-14573: UI: Improvements on Upgrade VM UI
2015-10-19 18:06:22 +01:00
Gabor Apati-Nagy
ecdadf7798 CP-14573: UI: Improvements on Upgrade VM UI
Fixed build - warning as error errors...

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:59:52 +01:00
Gabor Apati-Nagy
6168c1bab8 CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:13:15 +01:00
Gabor Apati-Nagy
617ad06f1f CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:12:27 +01:00
Mihaela Stoica
fe03f1382f Merge pull request #708 from GaborApatiNagy/master_windows_update
Upgrade VMs
2015-10-19 16:29:52 +01:00
Gabor Apati-Nagy
fdfbe1daa0 CP-14573: UI: Improvements on Upgrade VM UI
Removed unneeded code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 16:28:27 +01:00
Gabor Apati-Nagy
f264fffe0c CP-14573: UI: Improvements on Upgrade VM UI
Fixed the checkbox logic - selected state is now preserved on search or update/refresh. All rows (that can be selected) are selected by default.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 14:23:54 +01:00
Gabor Apati-Nagy
a73a91c1a7 CP-14573: UI: Improvements on Upgrade VM UI
Fixed when to enable the Command, the screen uses the connection (works for standalone hosts)
Using CollectionChanged instead of BatchCollectionChanged
Removed unnecessary Invoke
Removed values from the VmUpgradeState enum

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 12:13:26 +01:00
Gabor Apati-Nagy
7b7bcb0aa5 CP-14379, CP-14461, CP-14462, CP-14463, CP-14464, CP-14465, CP-14467:
Implementing Upgrading VMs to Windows Update

New screen features:
-Create skeleton of the Upgrade VM dialog
-Implement a Go To Console link (just a link that opens a vm console)
-Implement logic to show the right status for a VM (includes rules to
get the states). Includes updating the dialog whenever the status changes.
-Add status texts to Messages, proper text on the UI
-Add stub methods to VM class in XenAPI-Extensions to r/w states from
Guest Agent
-UI: Implement rules what vms to display, checkbox rules, read only vms,
and when to enable the Upgrade button
-Implement Upgrade button (writes state for GA, mounts ISO) + maximum
parallel executions/actions

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-16 12:47:00 +01:00
Mihaela Stoica
cd4466e9f2 CA-184563: Do not show Provisioning method for SRs other than iSCSI and LVM
- display the Provisioning entries in the General Tab only for iSCSI and LVM SRs
- also changed the checks in the ConvertToThinSRCommand to use SR.IsThinProvisioned property instead of SR.Provisioning

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-13 16:24:51 +01:00
Mihaela Stoica
81761c33b0 CA-179515: Move to online help: remove .chm files
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-09 13:27:00 +01:00
Mihaela Stoica
0d0cf47523 CA-179515: Move to online help
Launch online help instead of XenCenter.chm
2015-10-09 12:36:30 +01:00
Mihaela Stoica
d1fb03f0a1 CA-179515: Move to online help: sort HelpManager.resx
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-08 13:39:28 +01:00
Stephen Turner
cb9a66a64d CA-185020: Search by UUID 2015-10-07 17:19:44 +01:00
Mihaela Stoica
607ff446a6 Merge pull request #696 from GaborApatiNagy/master_CA-184521
CA-184521: Fixed disk allocation-related calculations in New VM Wizard
2015-10-06 17:40:37 +01:00
Mihaela Stoica
b756c353f3 Merge pull request #694 from GaborApatiNagy/master_CA-173102
CA-173102: Validation issues with address field in connection proxy settings
2015-10-06 15:52:48 +01:00
Gabor Apati-Nagy
80f855b981 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Fixed issues where total initial allocation for an SR was not calculated correctly. Also some minor improvements.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-06 14:04:36 +01:00
Gabor Apati-Nagy
4d3064c733 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-02 18:14:00 +01:00
Gabor Apati-Nagy
92bde85d25 CA-173102: Validation issues with address field in connection proxy settings
Improved validation for the proxy address

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-02 13:13:01 +01:00
Gabor Apati-Nagy
db9730b1d9 Merge pull request #691 from MihaelaStoica/CA-183959
CA-183959: Storage page of New VM wizard should not display over-comm…
2015-10-01 13:42:03 +01:00
Mihaela Stoica
8ab4c45779 CA-183959: Storage page of New VM wizard should not display over-committed warning for thin lvhd SRs
- removed unneeded code, as the item.OverCommit is set to None at the beginning of the function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-01 13:39:32 +01:00
Gabor Apati-Nagy
7e9429c82c Merge pull request #690 from MihaelaStoica/CP-14048
CP-14048: Search for Virtualization Status
2015-10-01 13:29:20 +01:00
Stephen Turner
7ae0a4115d Merge pull request #693 from agimofcarmen/CA-184544
CA-184544: Change wording in SR Convert Dialog.
2015-09-30 18:00:27 +01:00
Carmen Agimof
8415fbd2b9 CA-184544: Change wording in SR Convert Dialog. 2015-09-30 17:16:04 +01:00
Carmen Agimof
20899036fe CA-184303: Adds condition so that the "Allow XenCenter to delete update installation files" checkbox would be hidden if the any of the selected servers is older than 6.1. 2015-09-30 12:57:08 +01:00
Mihaela Stoica
e0ebcc77d5 CA-183959: Storage page of New VM wizard should not display over-committed warning for thin lvhd SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-30 10:29:03 +01:00
Mihaela Stoica
6b212d58b4 CP-14048: Search for Virtualization Status
The links displayed in the search result for not optimized VMs are:
- "XenServer Tools not installed", for all pre-Dundee VMs and Dundee non-Windows VMs
- "I/O not optimized" and/or "Management Agent not installed",  for Dundee Windows VMs not fully optimized

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-29 17:15:06 +01:00
Stephen Turner
d28e97093c Merge pull request #683 from MihaelaStoica/hide_convert_sr
Revert "Temporarily hide "Convert SR""
2015-09-29 14:58:19 +01:00
Gabor Apati-Nagy
659dd4778d Merge pull request #675 from MihaelaStoica/CP-13985
CP-13985: Add "Test credentials" button on the Health Check dialog
2015-09-29 14:48:56 +01:00
Mihaela Stoica
260e36ec4e Revert "Temporarily hide "Convert SR""
This reverts commit 127b60871c.
2015-09-29 14:44:13 +01:00
Hui Zhang
254b98048d CA-134554: Re-enable WLB Disk Read/Write configuration since WLB VPX is ready
Revert commit 32c945e104 which was used to
"Hide Disk Read/Write configuration until the backend server side is
ready."
2015-09-28 14:01:48 +08:00
Mihaela Stoica
2038a708aa CA-183816: Updated RPU hotfixes in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-25 12:47:39 +01:00
Mihaela Stoica
12895f7774 CP-13985: "Test Credentails" button on Health Check dialog - changes following code review
- Button enabled only when "New XS credentials" radio button is ticked and username and password textboxes are not empty
- Button and the textboxes are disabled while the test is in progress
- When test credentials fails, log userName, not UserDisplayName

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 15:07:05 +01:00
Gabor Apati-Nagy
3ef71a803b Merge pull request #681 from MihaelaStoica/CP-13770
CP-13770: Configure the alerts for SR physical utilisation in XenCenter
2015-09-23 14:33:23 +01:00
Mihaela Stoica
2bae0ddae9 CP-13770: Configure the alerts for SR physical utilisation in XenCenter - changes following code review
- change "utilisation" to "utilization"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 14:26:11 +01:00
Carmen Agimof
e44c7b20e2 Merge pull request #679 from MihaelaStoica/CA-183321
CA-183321 and more thin-lvhd-related fixes
2015-09-23 14:19:12 +01:00
Mihaela Stoica
c48c28968d Improvements to the Storage page of New VM Wizard - changes following code review
- renamed srSpace and srInitialSpace variables
- removed unnecessary checks for thin provisioned sr
- fixed some error on NewDiskDialog.SMConfig property (smconfig was wrongly populated based on controls enablement; the conversion to long was made before converting to bytes

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 14:15:40 +01:00
Stephen Turner
0bf66a113c Merge pull request #666 from GaborApatiNagy/master_CP-13786-4
CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
2015-09-23 11:51:19 +01:00
Gabor Apati-Nagy
438b8446c3 CP-13786: GetVirtualisationStatus: Removed unused method from Column class
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-22 21:43:06 +01:00
Gabor Apati-Nagy
ff4da8b45e CP-14248: VM General Tab: fixing context menu on the Install Management agent link 2015-09-22 17:19:03 +01:00
Gabor Apati-Nagy
3eb796d13e CP-13786: GetVirtualisationStatus
Moving GetVirtualisationWarningMessages back to VM
Also added EVACUATE_HOST_INSTALL_MGMNT_PROMPT what is shown on the EvacuateHostDialog when a 'new' VM is given and Management Agent can be installed

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:59:43 +01:00
Gabor Apati-Nagy
acbc21597a CP-13786: GetVirtualisationStatus
More small fixes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:09:12 +01:00
Mihaela Stoica
e36b674f0e CP-14240: Rename CIFS to SMB in the UI
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-21 11:11:57 +01:00
Mihaela Stoica
84372eb118 CP-13770: Configure the alerts for SR physical utilisation in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-21 00:04:46 +01:00
Mihaela Stoica
46ac1981eb Improvements to the Storage page of New VM Wizard
- If the new disks cannot be created because their total initial size is greater than the SR free space, then an error icon (with tooltip) is displayed and Next button is disabled.
- If the total size of the new disks is greater than the SR free space, but the disks can still be created (because the initial allocation is smaller), then a warning icon (with tooltip) is displayed and Next button is enabled.
- The tooltip mentions the initial space required for thinly provisioned SRs (initial allocation).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-20 23:57:58 +01:00
Mihaela Stoica
14e0330291 Merge pull request #676 from agimofcarmen/CA-179502
Removes the extra line in the Disk Space Allocation Message in the Ge…
2015-09-18 17:28:19 +01:00
Mihaela Stoica
13d933ec22 Display overcommitted percentage for thinly provisioned SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:57:31 +01:00
Mihaela Stoica
7df999c532 Improved behavior of the SR picker in the New Disk dialog
- when the user changes the disk size (or initial allocation), the selection in the SR list should not change and the list should not be automatically resorted
- users should not be allowed to create disks larger than the SR size (the SR is disabled and an explicit reason is displayed)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:45:05 +01:00
Mihaela Stoica
687df9179e Hide the allocation fields in the New disk dialog if the SR is not thin lvhd
Also fixed the anchoring of the controls on this dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:25:57 +01:00
Mihaela Stoica
f507b65126 CA-183321: Fixed the bug where the disk initial and incremental allocations values were ignored while creating new VM's disk
When creating a new VM, we no longer use vm.provision to create VM's disks, but instead we create the disks ourselves using vdi.create; this way we can specify the initial and incremental allocations for the new disks.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 15:51:17 +01:00
Gabor Apati-Nagy
f4cd9bd97c CP-13786: GetVirtualisationStatus: Refactoring, bugfixes
Removed PV_DRIVERS_NOT_INSTALLED=0 from the VirtualisationStatus [Flags]enum - 0 will mean the same (to avoid bugs with enum.HasFlag(0) is always true)
Extracted common code to VMLifeCycleCommand.GetCantExecuteNoToolsOrDriversReasonCore() method (instead of defining overridden GetCantExecuteReasonCore() method at this level, because not all child classes need this...)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-18 15:48:59 +01:00
Mihaela Stoica
127b60871c Temporarily hide "Convert SR"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-17 15:08:21 +01:00
Carmen Agimof
34024a7427 Removes the extra line in the Disk Space Allocation Message in the General Tab.
Creates a new function MemorySizeStringSuitableUnits that takes one more parameter that specifies the units that must be used when the number of bytes is 0.
2015-09-17 13:24:21 +01:00
Gabor Apati-Nagy
cb861b0c2a CP-13786: GetVirtualisationStatus: Refactoring
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 18:22:16 +01:00
Gabor Apati-Nagy
21a74d3d49 CP-13786: GetVirtualisationStatus: More fixes after code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 13:57:32 +01:00