Commit Graph

34 Commits

Author SHA1 Message Date
Ji Jiang
0018981782 CP-24704: Add pool size license check
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-25 09:53:37 +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
Mihaela Stoica
5b75b5f25d CA-260365: Hide the build number from the General Tab for Ely and newer hosts (to cover the Honolulu case)
Also restrict the use of build number as an integer to pre-Ely hosts (because a Honolulu host has a non-numeric build number and XenCenter doesn't know the difference between Ely and Honolulu)
And a small update to the pool join rule to match what we have in Honolulu XenCenter (check the database schema regardless of the version)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-27 14:47:12 +01:00
Mihaela Stoica
b783bff444 CA-260364: Pool join in XenCenter: Use homogeneity flag from other_config for Ely/Honolulu hosts (#1710)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-24 15:05:14 +01:00
Mihaela Stoica
e12daf5a00 CA-259659: Revise the update homogeneity pool join rule (#1692)
* CA-259659: Revise the update homogeneity pool join rule

- only check the updates on the master and the new slave

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-259659: Revise the update homogeneity pool join rule

- simplify the algorithm that checks the updates on the master and the slave

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-13 14:20:43 +01:00
Mihaela Stoica
a05e662246 CP-23197: Check platform version (instead of product version) in the Pool Join rules
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 10:56:50 +01:00
Mihaela Stoica
6950ad285e CP-23197: Implement the Update homogeneity Pool Join rule in XenCenter
- changes following code review

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-30 16:01:02 +01:00
Mihaela Stoica
533bf0ce02 CP-23197: Implement the Update homogeneity Pool Join rule in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-30 14:05:52 +01:00
Gabor Apati-Nagy
3a9c733ead CA-249084: Fixed Debug build Assert 2017-06-13 15:51:00 +01:00
Sharath Babu
93f6ae8282 Fixing spell check issues.
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-05-31 09:48:12 +05:30
Mihaela Stoica
443f01fa55 Merge pull request #1601 from xenserver/master
Merge master into management-on-vlan
2017-05-22 10:38:26 +01:00
Mihaela Stoica
a31c31eb07 CA-242134: Remove licensing code targeting pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 13:40:48 +01:00
Gabor Apati-Nagy
e3eddb42ee Merge branch 'master' of https://github.com/xenserver/xenadmin into CA-249084
Conflicts:
	XenModel/PoolJoinRules.cs
2017-04-11 17:41:36 +01:00
Gabor Apati-Nagy
32124f9e00 CA-249084: PoolJoinRules to ignore Build Number from Falcon
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-11 15:57:38 +01:00
Konstantina Chremmou
a46815cc74 CA-243971: Check API version and database schema to decide whether a host can join a pool.
Removed check of the obsolete mercurial id.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-04-10 09:25:51 +01:00
Stephen Turner
24a9655988 CA-236692: XenCenter does not allow host with suspended Vms to join pool 2017-03-10 17:05:10 +00:00
Sharath Babu
997b9f6367 Enable Pool join over VLAN 2017-03-02 16:11:00 +05:30
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
Stephen Turner
cdfddd6993 Merge pull request #881 from MihaelaStoica/CA-201119
CA-201119: Updating XenModel/XenAPI with the latest SDK
2016-03-09 11:37:54 +00:00
Stephen Turner
8ec74fccd5 CA-202427: Correction: we do still need to check the vendor, so moving the test below that 2016-03-07 15:04:38 +00:00
Stephen Turner
3e1658d817 CA-202427: XenCenter throws an exception when trying to create a new pool 2016-03-07 14:54:06 +00:00
Mihaela Stoica
b0c86199fb CA-202268: Use PIF,physical field in the pool join check
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-03-04 13:28:57 +00:00
Gabor Apati-Nagy
9a53cf9463 CA-198767: Add only-physical-PIFs pool-join constraint
There is a new pool join rule in xapi: the joining host may only have physical PIFs, i.e. no bonds, VLANs and tunnels (cross-server private networks). This is checked by asserting that for all PIFs of the joining host, PIF.physical = true. When this occurs, people should be encouraged to manually remove any existing bonds, VLANs or tunnels and try again.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-19 17:31:30 +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
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
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
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
0a6955d157 CP-14085: Feature leveling not needed on pool-join
Feature leveling should "just work" for Dundee and higher hosts, without the need for us to level them explicitly

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-23 12:08:19 +01:00
Mihaela Stoica
2a66b0a43f [CA-11044] & [CA-109243] Added new pool-join reasons and associated messages.
These will cover the following two cases, for XenServer v6.2.0 and later:
1) a licensed host cannot be added to an unlicensed pool;
2) an unlicensed host cannot be added to a licensed pool.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-03 13:05:37 +01:00
Mihaela Stoica
b6a8845bd0 CA-110447 Updating the pool-join rules so that we do not allow a licensed host to join an unlicensed pool
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-01 16:48:22 +01:00
Mihaela Stoica
a7186ee4e6 CA-109243: Offer to license a host when joining a pool that is licensed
with a per-socket licence (minor code refactoring).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-01 16:04:19 +01:00
Mihaela Stoica
462ada64eb CA-109243: Offer to license a host when joining a pool that is licensed
with a per-socket licence.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-07-01 10:37:25 +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