NCM::Component::OpenNebula::Image adds OpenNebula VM images support to NCM::Component::OpenNebula.

Public methods

  • get_images

    Gets the image template from TT file and gathers the image names (<fqdn_<vdx>>) and datastore names to store the new images.

  • remove_or_create_vm_images

    Creates new VM images and it detects if the image is already available or not. Also it removes images if the remove flag is set.

  • create_vm_images

    Creates new VM images.

  • remove_vm_images

    Removes VM images. Updates $ref_rimages to track the removed images.

  • check_vm_images_list

    Checks the difference between two image lists to detect if the images were correctly created/removed.