Commit Graph

22 Commits

Author SHA1 Message Date
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
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