CA-74932: Network reset: ensure networkd is not running before clearing its state file

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
[xapi]: use object-level events for monitoring VMs which are being managed on this host by xenopsd

So rather than getting pool-wide VM change spam, we only get spam intended for us.
CA-54945: Add tab completion for pif-uuids in bond-create.

Signed-off-by: John Else <john.else@citrix.com>
CD `attach operation required for VM resume.

The `attach operation must be allowed for the CD drive when the VM is
suspended in order to allow the VM to resume.

Signed-off-by: Rok Strnisa <rok.strnisa@citrix.com>
CA-68581: Update docs for task.progress to better reflect its meaning.

We don't want API consumers relying on the task.progress field to
determine whether a task is complete, since it's not always accurate.
This change points API users at the task.status field instead.

Signed-off-by: John Else <john.else@citrix.com>
[xenopsd]: add Vif.set_carrier to signal carrier present/absent to PV drivers
CA-67109: Conflate checks for bad power-states

Previously, there were two checks for bad power-states:

  1. Look in the "allowed_power_states" table.
  2. Checking some constraints over when Suspended is validly allowed for clones and copies.

In the case of cloning or copying a running VM, the first check would fail, giving an error message stating that the power-state should be either Halted or Suspended, as the allowed_power_states table statically listed these two options. However, the second check would add additional constraints, often meaning that Suspended was not a valid power-state.

There are two obvious solutions:

  (a) Changing the order of the checks, so that the most specific check is done first.
  (b) Factoring the constraints expressed in 2 into 1.

This patch adopts approach (b), since it's nicer to have all of the power-state-checking logic in one place.

Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
Merge commit 'cef7745290f310cda0036b039e0b818634764f2f'
Merge commit '9aff1ef8c17c9225b0eee572e8267dc568b3dd11'
CA-72538: On pool-join, do not rely on the naming of bridges

...to decide whether to merge the associated networks or not.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
==->=

Signed-off-by: Zheng Li <zheng.li@eu.citrix.com>
[logging]: always log to syslog (via the debug module)

Use the main xapi.conf file to disable logging on a per-module basis.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
CP-3126: Fix inconsistency in the guest agent code.

"lookup" adds a slash between the path and the key, whereas "list"
doesn't add a slash between the path and dirname. Fixing this makes the
next commit a bit simpler...

Signed-off-by: John Else <john.else@citrix.com>
CP-3126: Expose VM IPv6 addresses via the API and CLI.

Signed-off-by: John Else <john.else@citrix.com>
Merge commit '6bcf1b59b26d177af6644e71026e9c61504e30fd'
Merge commit '83f85a3b607b590084598cf562541b22e7fe0975'
Merge commit '3a4c911c2ab6e9704bdee578488b26bceb9b9cad'
Merge commit 'a44665a12d6de2cb7bbb237ceac87d12a3daf596'
Simplifies two functions in monitor.ml, making them more efficient.

Signed-off-by: Rok Strnisa <rok.strnisa@citrix.com>
Merge commit 'd1143cee8b84ce2498eb9895afe8e1204327223f'