CP-4322: Remove license check from VM lifecycle operations

Signed-off-by: John Else <john.else@citrix.com>
CP-4273: Remove Hotfix_apply licensing feature

It will instead be added to the list of additional features defined in
v6d.

Signed-off-by: John Else <john.else@citrix.com>
CP-4318: Handle v6d not running when creating software_version

Signed-off-by: John Else <john.else@citrix.com>
CP-4318: Fall back to free edition if v6d is not running at startup

Signed-off-by: John Else <john.else@citrix.com>
CP-4319: Detect socket count in v6client.ml

Sending the socket count in the params list to V6client.apply_edition is
a bad idea, since this function also sends the current
Host.license_params, which may also contain the socket count, to v6d.

Instead, we update the license_params map with the socket count before
sending it to v6d.

This also means that the correct socket count is sent to v6d at xapi
startup.

Signed-off-by: John Else <john.else@citrix.com>
CA-102927: network monitor: better represent duplex mode for NIC bonds

For bonds, "duplex" is now defined as the "minimum" duplex of all bond
members that are up, where "half duplex" < "full duplex". If all members
are down, duplex is "unknown".

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
CA-102927: xe: when a PIF's carrier is down, report duplex as "unknown"

The PIF_metrics.duplex field in the DB is a Boolean, where "true" means
"full duplex" and "false" can either mean "half duplex" or "duplex unknown".

For links that are down, duplex used to be reported as "half", which is silly.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #1125 from johnelse/sku-flattening-xapi-II

Second wave of commits for PR-1589
Merge pull request #1135 from robhoes/ca102927

CA-102927: improvements to duplex reporting of PIFs
XOP-311, SCTX-942, CA-88975: Modifications for VM Shutdown
	First attempt to perform a clean_shutdown
	If clean_shutdown fails, then perform a hard_shutdown

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Adding warn level logging when unable to perform clean_shutdown

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>