api.node.image

/node/(hostname)/storage/(zpool)/image

api.node.image.views.node_image_list(*args, **kwargs)

List (GET) all images imported on a compute node storage or remove (DELETE) all unused images imported on a compute node storage.

GET /node/(hostname)/storage/(zpool)/image
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • zpool (string) – required - Node storage pool name
  • data.full (boolean) – Return list of objects with all image details (default: false)
  • data.order_by (string) – Available fields for sorting: name (default: name)
Status Codes:
DELETE /node/(hostname)/storage/(zpool)/image

Note

This API function will run DELETE node_image for every unused image.

DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • zpool (string) – required - Node storage pool name
Status Codes:

/node/(hostname)/storage/(zpool)/image/(name)

api.node.image.views.node_image(*args, **kwargs)

Show (GET), import (POST) or delete (DELETE) an image (name) on a compute node (hostname) storage (zpool).

GET /node/(hostname)/storage/(zpool)/image/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • zpool (string) – required - Node storage pool name
  • name (string) – required - Image name
Status Codes:
POST /node/(hostname)/storage/(zpool)/image/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • zpool (string) – required - Node storage pool name
  • name (string) – required - Image name
Status Codes:
DELETE /node/(hostname)/storage/(zpool)/image/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • hostname (string) – required - Node hostname
  • zpool (string) – required - Node storage pool name
  • name (string) – required - Image name
Status Codes: