Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
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)
Ejemplo n.º 3
0
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)
Ejemplo n.º 4
0
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)
Ejemplo n.º 5
0
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)
Ejemplo n.º 6
0
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)
Ejemplo n.º 7
0
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'])
Ejemplo n.º 8
0
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)
Ejemplo n.º 9
0
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)
Ejemplo n.º 10
0
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"])