CA-145257: Set the right month for host_crashdump.

Date.of_float increments tm_mon by 1.So, we need to pass tm_mon value
decremented by 1.

Signed-off-by: Ravi Pandey <ravi.pandey@citrix.com>
Merge pull request #1916 from ravippandey/CA-145257

CA-145257: Set the right month for host_crashdump.
API docs: update API version number to 2.3 on PDF

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #1928 from robhoes/apidocs

API docs: update API version number to 2.3 on PDF
HTML docs: add whetstone and  creedence

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #1929 from robhoes/docs

HTML docs: add whetstone and  creedence
CA-143836: Add VDI.revert to SMAPI

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Add VDI.revert API call

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Pass down correct values of is_a_snapshot/snapshot_of

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Allow VDI.revert operation for cloneable snapshots

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: During VDI.revert, mark leaf with operation `reverting

This mirrors the way allowed_operations are handled for VM.revert.

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Add vdi_revert to SR allowed_operations

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Add VDI.revert test to quicktest

Signed-off-by: John Else <john.else@citrix.com>
unittest: Variable rename and label for clarity

Signed-off-by: John Else <john.else@citrix.com>
unittest: Get VDI record after tinkering with the VDI

This ensures that the up-to-date record is passed to
Xapi_vdi.check_operation_error.

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Add allowed_operations tests

Test that we...

* can revert to a snapshot.
* cannot revert to a leaf VDI.

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Use VDI.revert

Signed-off-by: John Else <john.else@citrix.com>
CA-143836: Allow reverting to "live" VDIs

Since we can only revert to snapshot VDIs, the only time this is needed
is when reverting to a checkpoint.

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