Sha256: 95ac85a436ed5af2b8062642fdf14db6f3f568377c28a23a3e549f1230a078ba
Contents?: true
Size: 412 Bytes
Versions: 22
Compression:
Stored size: 412 Bytes
Contents
module Overcloud module Image def list_images service('Image').images end def find_image_by_name(image_name) service('Image').images.find{|image| image.name == image_name} end def get_baremetal_deploy_kernel_image find_image_by_name('bm-deploy-kernel') end def get_baremetal_deploy_ramdisk_image find_image_by_name('bm-deploy-ramdisk') end end end
Version data entries
22 entries across 22 versions & 1 rubygems