api.node.snapshot

/node/(hostname)/storage/(zpool)/snapshot

api.node.snapshot.views.node_vm_snapshot_list(*args, **kwargs)

List (GET) all VM snapshots on compute node storage or synchronize (PUT) snapshots of all VM’s disks on a compute node storage with snapshots saved in database.

GET /node/(hostname)/storage/(zpool)/snapshot
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • data.full (boolean) – Return list of objects with all snapshot details (default: false)
  • data.disk_id (integer) – Filter by disk number/ID
  • data.type (integer) – Filter by snapshot type (1 - Automatic, 2 - Manual)
  • data.vm (string) – Filter by server hostname
  • data.define (string) – Filter by snapshot definition name
  • data.order_by (string) – Available fields for sorting: name, disk_id, hostname, size, created (default: -created)
Status Codes:
PUT /node/(hostname)/storage/(zpool)/snapshot
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
Status Codes: