Commiting our first manpages.
Made changes requested by XenAPI admins and also added xe-network-create.ad
Made changes requested by Xen-API admins and also added xe-network-create.ad
Changed copyright message
CA-96886: Fix race for a PCI device by multiple starting VMs

When multiple simultaneously starting VMs try to grab the same PCI device, only one of them
may get it, and the others must fail to start. However, xapi considers a PCI device "assigned"
to a VM only when the VM has started and the device has been made available to the VM, which
is some time after xapi has asked xenopsd to start the VM and give it the PCI device. This means
that there is a window during which multiple VM may be given the same device.

This patch attempts to resolve this by temporarily reserving a PCI device for a VM in xapi, before telling xenopsd to start the VM.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
xenopsd: Support driver domains for PV guests

The case of HVM guests with emulated QEMU networks devices is not yet
handled.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Allow setting the VIF backend for a network

If, on a network, other_config:backend_vm is set to the UUID of a VM, this VM is
used for the VIF backends (netback) of any VIFs on the network.

This is useful for internal networks (only), since the key is set on a network
rather than on a PIF.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
CA-94335: Dom0 should be managed in xenopsd before the record is created.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
PR-1510: LACP timeout, aggregator/actor parameters settable

LACP timeout, aggregator/actor parameters are now settable through XenAPI and
CLI. New bond parameters are lacp-time, lacp-aggregator-key and lacp-actor-key.

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Refactor Network_utils.Ovs to functorize vsctl commands for testing

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
PR-1510: add unit tests for LACP params setting

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
PR-1510: bond parameters either have defaults or are omitted

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
PR-1510: More test cases

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Remove unecessary debug line

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Trim trailing whitespace.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Use a consistent indentation style.

For want of a better standard, use the Xen prefered style.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Correct sementics of syslog() calls.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Make use of /proc/self/

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Whitespace: xapi_vm.ml

$ camlp4o -printer o -no_comments ocaml/xapi/xapi_vm.ml | md5sum
46e5866dd5fcb2d8ebac427aa1889aad  -
$ git checkout HEAD^
$ camlp4o -printer o -no_comments ocaml/xapi/xapi_vm.ml | md5sum
46e5866dd5fcb2d8ebac427aa1889aad  -

Signed-off-by: John Else <john.else@citrix.com>
CA-99726: Don't make VM.provisions wait in line

VM.provision will run after a template has been copied or cloned, so we
don't need it to wait in line behind other VM.copy or VM.checkpoint
tasks.

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