def a_new_image_created_in_glance_of_target_and_file(context, image_name,
                                                     file):
    """Create new image in the Glance of all target nodes with the content of the given file"""

    for region in context.glance_manager_list:
        if region != context.master_region_name:
            create_new_image(context, region, image_name, file)
def other_new_image_created_in_glance_of_master(context, image_name, file):
    """Create new image in the Glance of Master Node with the content of the given file"""

    create_new_image(context, context.master_region_name, image_name, file)
def a_new_image_created_in_glance_of_master(context, image_name):
    """Create New image in the Glance of Master Node"""

    create_new_image(context, context.master_region_name, image_name)
def a_new_image_created_in_glance_of_target(context, image_name):
    """Create new image in the Glance of all target nodes"""

    for region in context.glance_manager_list:
        if region != context.master_region_name:
            create_new_image(context, region, image_name)
def other_new_image_created_in_glance_of_master(context, image_name, file):
    """Create new image in the Glance of Master Node with the content of the given file"""

    create_new_image(context, context.master_region_name, image_name, file)
def a_new_image_created_in_glance_of_master(context, image_name):
    """Create New image in the Glance of Master Node"""

    create_new_image(context, context.master_region_name, image_name)
def following_images_created_in_glance_of_master(context):
    """Create the given images in the dataset of the step in the Glance of Master node"""

    for row in __dataset_utils__.prepare_data(context.table):
        create_new_image(context, context.master_region_name,
                         row['image_name'])
def a_new_image_created_in_glance_of_target_and_file(context, image_name, file):
    """Create new image in the Glance of all target nodes with the content of the given file"""

    for region in context.glance_manager_list:
        if region != context.master_region_name:
            create_new_image(context, region, image_name, file)
def a_new_image_created_in_glance_of_target(context, image_name):
    """Create new image in the Glance of all target nodes"""

    for region in context.glance_manager_list:
        if region != context.master_region_name:
            create_new_image(context, region, image_name)
def following_images_created_in_glance_of_master(context):
    """Create the given images in the dataset of the step in the Glance of Master node"""

    for row in __dataset_utils__.prepare_data(context.table):
        create_new_image(context, context.master_region_name, row["image_name"])