Execute each command in the given scenario's configured sequence.

    :param scenario: The scenario to execute.
    :returns: None

def execute_scenario(scenario):
    """
    Execute each command in the given scenario's configured sequence.

    :param scenario: The scenario to execute.
    :returns: None

    """

    for action in scenario.sequence:
        execute_subcommand(scenario.config, action)

    # pruning only if a 'destroy' step was in the sequence allows for normal
    # debugging by manually stepping through a scenario sequence
    if 'destroy' in scenario.sequence:
        scenario.prune()