CA-99728: Spelling errors.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
CA-98936: Stop xapi from creating files in /tmp every time it gets an update from xenopsd

Signed-off-by: John Else <john.else@citrix.com>
CA-96893: Remove metadata from xenopsd after a suspend.

Previously metadata was only removed after a shutdown.

Signed-off-by: John Else <john.else@citrix.com>
CA-96893: VM.remove now also removes the VmExtra persistent data.

Signed-off-by: John Else <john.else@citrix.com>
CA-98535: Fix VDI.create

The other_config, shareable, tags and xenstore_data fields are now set
to their correct values when creating a VDI.

Signed-off-by: John Else <john.else@citrix.com>
CA-101922: Properly close the nbd connection

The recent change to default http connections to v1.1 and
keep-alive=true was probably the cause of failures in storage
migration. This patch reverts the connection in question to
the previous behaviour

It's likely what happened was that xapi kept the connection
open after the fd was handed off to tapdisk and consumed
the requests coming in from the source.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #1124 from jonludlam/CA-101922-clearwater

CLEARWATER: CA-101922: Properly close the nbd connection
Refactor unit tests for consistency

Signed-off-by: John Else <john.else@citrix.com>
Merge pull request #1128 from johnelse/unit-test-refactor-clearwater

CLEARWATER: Refactor unit tests for consistency
CP-4325: Split License_check.check_expiry up into two functions.

Signed-off-by: John Else <john.else@citrix.com>
CP-4325: Implement pool.get_license_state

Signed-off-by: John Else <john.else@citrix.com>
CP-4325: Add pool.license_state getter to CLI

Signed-off-by: John Else <john.else@citrix.com>
Add Test_common.make_pool

Signed-off-by: John Else <john.else@citrix.com>
Add high-level unit testing framework

Signed-off-by: John Else <john.else@citrix.com>
CP-4325: Add tests for pool-wide license logic

Signed-off-by: John Else <john.else@citrix.com>
Whitespace: create_misc.ml

$ camlp4o -printer o -no_comments ocaml/xapi/create_misc.ml | md5sum
016846314b732c13ecadc24ae47ec3f6  -
$ git checkout HEAD^
$ camlp4o -printer o -no_comments ocaml/xapi/create_misc.ml | md5sum
016846314b732c13ecadc24ae47ec3f6  -

Signed-off-by: John Else <john.else@citrix.com>
CP-4319: Add field host.cpu_info:socket_count

Signed-off-by: John Else <john.else@citrix.com>
CP-4319: Pass number of CPU sockets to v6d

Signed-off-by: John Else <john.else@citrix.com>
CP-4324: Implement pool.apply_edition

Signed-off-by: John Else <john.else@citrix.com>
CP-4324: Add pool.apply_edition to the CLI

Signed-off-by: John Else <john.else@citrix.com>