def cleanup(services):
    """Decorates scenario methods requiring a cleanup of resources.

    If a scenario method is not decorated by @cleanup all the resources
    (nova, glance and cinder) will be cleaned.

    :param services: list of services which will be cleaned.
    """
    def wrap(func):
        func.cleanup_services = services
        return func
    return wrap