@register_bounce_method('downthenup')
def downthenup_bounce(
    new_config,
    new_app_running,
    happy_new_tasks,
    old_app_live_happy_tasks,
    old_app_live_unhappy_tasks,
):
    return {
        "create_app": not old_app_live_happy_tasks and not new_app_running,
        # set.union doesn't like getting zero arguments,
        "tasks_to_drain": flatten_tasks(old_app_live_happy_tasks) | flatten_tasks(old_app_live_unhappy_tasks),
    }
Get the list of disks.
dataset/ETHPy150Open Yelp/paasta/paasta_tools/bounce_lib.py/downthenup_bounce--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter._UnlockedGetDiskList