Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

createVMSnapshot:

Common workflow

  1. check Check authority, concurrency, existence...
  2. allocate Allocate VM snapshot entry in DB.
  3. transit vm and vmsnapshot Transit the VM and VM snapshot state to snapshotting/creating.
  4. prepare Prepare TO object and CreateVMSnapshotCommand.
  5. send command Send the command to the agent.
  6. update Update DB, like current/parent fields or volume table, depending on CreateVMSnapshotAnswer and TO object.
  7. transit vm and vmsnapshot stateTransit VM and VM snapshot state.

revertToVMSnapshot:

Common workflow

...