Commit Graph

67 Commits

Author SHA1 Message Date
Mihaela Stoica
b758e0660a Resurrect CP-18011: [XenCenter] Add live patching checkbox
(reverting  8a10351c5d: Revert "Cp 18011: [XenCenter] Add live patching checkbox")

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-09-01 14:59:37 +01:00
Gabor Apati-Nagy
53619c775d Merge remote-tracking branch 'github_xenadmin/master' into REQ-156_github_master
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_SelectServers.cs
	XenModel/Actions/ParallelAction.cs
	XenModel/FriendlyNames.resx
	XenModel/Messages.Designer.cs
	XenModel/Messages.resx
2016-08-18 12:22:40 +01:00
Gabor Apati-Nagy
9dd3a41857 Revert "Cp 18011: [XenCenter] Add live patching checkbox" 2016-08-12 17:19:34 +01:00
Callum McIntyre
1cfa2f6df0 CP-18011: Change the restrict_live_patching check to use BoolKeyPrefer true
This means that if license_params doesn't contain this key we consider it restricted.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-08-12 16:05:50 +01:00
Callum McIntyre
82092adee4 CP-18011: Add licensing check for live patching before showing the new page
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-08-12 11:55:12 +01:00
Konstantina Chremmou
ea60eaa24e Merge pull request #1065 from xenserver/CAR-2217
Request to merge CAR-2217 into master
2016-07-11 14:11:00 +01:00
Konstantina Chremmou
094e4c4c4f CP-18028: For hosts with more than one control domain (dom0 and cvm at the moment) add an extra tab to display the console of the cvm. 2016-07-05 08:14:13 +01:00
Konstantina Chremmou
56265bbfd6 CP-17756: The dom0 VM is found now using the new field Host.control_domain as
there can be more than one control domains. For older hosts return the control
domain with domid 0. Renamed property.
2016-07-04 13:21:52 +01:00
Gabor Apati-Nagy
994f5b4811 Merge remote-tracking branch 'github_xenadmin/master' into master_batch_new2 2016-06-29 16:52:13 +01:00
Mihaela Stoica
05059c6f52 CA-213414: Check feature-flag for ssl-legacy control switch
- For Dundee and newer hosts: the feature is restricted only if the "restrict_ssl_legacy_switch" flag exists and it is set to true
- For pre-Dundee hosts: the feature is restricted if the "restrict_ssl_legacy_switch" is absent or it is present and set to true

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-24 13:16:40 +01:00
Konstantina Chremmou
8e2c381f85 CP-17470: Warn users if they attempt rebooting or shutting down a host running a
VM with the hci-warn-before-shutdown flag. Minor changes to make the warnings for
rebooting and shutting down more consistent (preselect the No button for rebooting;
extended the Yes button text; modified warning text)
2016-06-23 15:26:32 +01:00
Mihaela Stoica
9d3dd539af CA-213236: Wrong license edition reported at pool level
Fix the order in the Edition enumeration

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-14 13:27:43 +01:00
Gabor Apati-Nagy
9ea99ec91a Merge remote-tracking branch 'github_xenadmin/master' into master_batch_new2 2016-06-03 13:28:48 +01:00
Frederico Mazzone
9a729e2547 [CP-17415] XC: Add awareness of new AD feature flag
Added awareness; basic license now shows upsell tab and premium license shows full feature tab.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-05-20 13:01:51 +01:00
Gabor Apati-Nagy
235ebe9b33 Merge branch 'master' of https://github.com/xenserver/xenadmin into master_batchupdate_new 2016-05-05 13:59:28 +01:00
Gabor Apati-Nagy
72147734b5 CP-16513: UI: Apply licensing requirements 2016-05-04 11:08:08 +01:00
Mihaela Stoica
7d23bf8ce5 CA-207273: The default description string “Default install” of a server is not localized on “General” window.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-13 15:49:03 +01:00
Gabor Apati-Nagy
cb31f6cbed Merge pull request #894 from MihaelaStoica/CA-203428
CA-203428: XenCenter not allowing SXM from/between Cream hosts
2016-03-15 15:06:51 +00:00
Mihaela Stoica
e3f7ef61a4 CA-203428: XenCenter not allowing SXM from/between Cream hosts
Intra pool migration should be restricted only if the "restrict_xen_motion" key exists and it is true, as this license key has been introduced in Dundee and therefore pre-Dundee hosts won't have it

Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-10 13:14:09 +00:00
Rob Hoes
bf9fdb2a85 Add Standard license edition
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
2016-03-09 16:14:05 +00:00
Gabor Apati-Nagy
b211ab4a09 Merge pull request #821 from MihaelaStoica/CA-197388
CA-197388: Fix error where License Manager displays "Standard feature…
2016-02-10 15:18:23 +00:00
Gabor Apati-Nagy
b8e447afa3 CA-196315: XS65ESP1018 not showing up in XenCenter Updates (on staging)
Fixed code to treat uuids of patches case-insensitive when consuming, but not changing them (eg. to lowercase) to keep compatibility with older XAPIs.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-08 10:14:05 +00:00
Mihaela Stoica
7b2a0c6922 CA-197388: Fix error where License Manager displays "Standard features only" for Premium edition
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-08 10:10:01 +00:00
Mihaela Stoica
bd7c378f50 CP-15407: Add license editions
- added case for "basic" edition, being treated as Free

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-25 12:07:58 +00: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
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
274c98d8d9 CP-14822: UI: New VM Creation: update code to apply recommendations
This changeset implements the followings:

On creation of a new VM,
* XenCenter will use licensed state of the host to determine whether it should obey/apply the template-recommendation regarding the vendor device.
* If the host is licensed, and the selected template's recommendations suggest that has_vendor_device can be set/should be set to true, as part of VM creation, XenCenter will set the vm's has_vendor_device based on the recommendation using set_has_vendor_device API call (after it has cloned the template and before calling vm.provision).
* XenCenter will not expose details whether 1G or 2G VM is going to be created.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-17 15:31:41 +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
f2f590e3e7 CP-14647: More changes after read-through, including getting rid of OEM edition 2015-11-08 16:31:48 +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
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Carmen Agimof
4fadf796ad CA-179502: Reviewed all use of MemorySizeStringMB and came to the conclusion that all its usages must be replaced with MemorySizeStringSuitableUnits. 2015-09-10 14:36:46 +01:00
Mihaela Stoica
0a3deaf526 Merge pull request #624 from agimofcarmen/CA-147944_II
CA-147944: Use GB for VM Memory if large values
2015-08-20 17:17:12 +01:00
Carmen Agimof
4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
Mihaela Stoica
93610007b7 Re-enable Health Check: Revert "Merge pull request #614 from GaborApatiNagy/master_disable_health_check"
This reverts commit dba1d3e60e, reversing
changes made to 731f968a8e.
2015-08-19 10:04:13 +01:00
Mihaela Stoica
0edd2e05f9 CP-13165: Make quiescing into a licensed feature
- Add code to check license before offering quiescing on the VM Snapshot dialog
- If the feature is not available, the message displayed is: "This feature is disabled due to license restrictions on the server."

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 17:32:22 +01:00
Mihaela Stoica
228a996d99 Temporarily disable Health Check feature for all hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-13 13:58:18 +01:00
Mihaela Stoica
9c28e31661 Revert "Temporarily disable Health Check feature for all hosts"
This reverts commit 93371ed8c8.
2015-07-13 09:41:55 +01:00
Mihaela Stoica
93371ed8c8 Temporarily disable Health Check feature for all hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-26 11:40:36 +01:00
Mihaela Stoica
926d69d132 CP-12154: Check whether the Health Check feature is available before displaying the overview dialog when connecting to a host
- also the "Health Check" menu item will only be enabled if the feature is available

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-26 10:56:58 +01:00
Gabor Apati-Nagy
2d98dd9d85 CP-10144: Support CIFS as an SR type in XenCenter
-Added support for CIFS (SR type, SR Wizard)
-Added some Debug.Asserts to the Create SR action to watch for clear text paswords

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-03 15:51:56 +00:00
Mihaela Stoica
9c0bdcf08c Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-10625 2015-02-25 15:50:59 +00:00
Mihaela Stoica
bf2e9bcfb1 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- Added a "Integrated GPU passthrough" section to the PoolGpuEdit page.
- This section is only visible for a host that has GPU capability and the enabling/disabling of integrated GPU passthrough is not restricted.
- With this addition, the GPU page can now be displayed for a pooled host as well (previously only pool or standalone host)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 13:01:03 +00:00
Mihaela Stoica
fecde2e3be CP-10772: Display the read caching status in XenCenter
- Show a “Read Caching” section on the General Tab of a VM when the VM is running on a Cream or greater host
- When the Read Caching is enabled, the “Read Caching” section will contain two entries: Status and Disks (list of disks with RC enabled)
- When the Read Caching is disabled, the “Read Caching” section will contain two entries: Status and Reason

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-19 14:09:08 +00:00
Mihaela Stoica
272585aa1d CP-10825: Supp Pack installation through XenCenter: Display installed supplemental packs on host's General tab
The 'Updates' section on host's General tab displays which packs have been installed onto a host, including the version number

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-28 13:17:58 +00:00
Mihaela Stoica
355dd63ae7 CP-10824: Supp Pack installation through XenCenter: Removed comment
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-27 12:37:13 +00:00
Mihaela Stoica
23eabb23d9 CP-10824: Supp Pack installation through XenCenter: Feature only available for Cream or greater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 16:01:59 +00:00