
This is the difference between this and the previous patchset (v1): - Use "dict.get(key, default_value)" instead of handling "dict[key]" in a try/except block when the key doesn't exist. - Remove the mention of a parameter in the snapshot method DELETE because it wasn't implemented. - Fix documentation, including mispelled words. - Rebased to the latest revision (bde438e). Crístian Viana (10): Update clone test snapshot: Create domain snapshots snapshot: Lookup a domain snapshot snapshot: List domain snapshots snapshot: Delete a domain snapshot snapshot: Lookup current snapshot on a domain snapshot: Revert a domain to a snapshot snapshot: Add model tests snapshot: Delete snapshots when deleting a VM snapshot: Clone snapshots when cloning a VM docs/API.md | 27 ++++++ src/kimchi/control/vm/snapshots.py | 58 ++++++++++++ src/kimchi/i18n.py | 10 ++ src/kimchi/mockmodel.py | 90 ++++++++++++++++++ src/kimchi/model/vms.py | 47 +++++++++- src/kimchi/model/vmsnapshots.py | 185 +++++++++++++++++++++++++++++++++++++ tests/test_model.py | 74 ++++++++++++++- tests/test_rest.py | 100 ++++++++++++++++++++ 8 files changed, 589 insertions(+), 2 deletions(-) create mode 100644 src/kimchi/control/vm/snapshots.py create mode 100644 src/kimchi/model/vmsnapshots.py -- 1.9.3