xe console should not be hidden command

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
XOP-229: Make xenopsd using keep_alive.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
XOP-229: Make rrd_updates uses keep_alive=true.

Signed-off-by: Jerome Maloberti <jerome.maloberti@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>
Whitespace: xapi_sr.ml

$ camlp4o -printer o -no_comments ocaml/xapi/xapi_srl | md5sum
7760aa8c3f302bc5ebca565b2c83b483  -
$ git checkout HEAD^
$ camlp4o -printer o -no_comments ocaml/xapi/xapi_sr.ml | md5sum
7760aa8c3f302bc5ebca565b2c83b483  -

Signed-off-by: John Else <john.else@citrix.com>
CA-98633: Raise SR_UUID_EXISTS in SR.introduce if an SR with the same UUID already exists.

Signed-off-by: John Else <john.else@citrix.com>
Simplify network module for xapi -> networkd calls

Also move it from ocaml/network to ocaml/xapi for consistency.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Add network.mli to fix namespace collision

Signed-off-by: John Else <john.else@citrix.com>
Stop using Netdev module in Nm

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Xapi_pif

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Create_misc

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Helpers

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Mtc

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Dbsync_slave

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Xapi_network

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Xapi_pool

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Stop using Netdev module in Monitor_master

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
CA-86883: Detach SR if SR.destroy fails

The storage backend can destroy an SR only if it is attached.
Therefore when xapi wants to destroy an SR, first it attaches it.
When the backend destroys the SR it is no longer attached.

This change adds exception handling so that if the backend fails
to destroy the SR, xapi will detach it.
XAPI-261/CA-96936: Make himn_only more general

To also manage the case of a localhost server.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>

Conflicts:
	ocaml/xapi/xapi_mgmt_iface.ml

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
XOP-261/CA-96936: Prevent multiple starts of localhost server

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>