def METHOD_NAME(isis_common_setup_teardown, request):
    target_devices = []
    selected_connections = isis_common_setup_teardown
    config_key = "level_capability"
    config_dict = {config_key: 'level-1'}
    for (dut_host, _, _, _) in selected_connections:
        add_dev_isis_attr(dut_host, config_dict)
        target_devices.append(dut_host)
        config_device_isis(dut_host)
    def revert_isis_config(devices):
        for device in devices:
            del_dev_isis_attr(dut_host, [config_key])
            config_device_isis(device)
    request.addfinalizer(functools.partial(revert_isis_config, target_devices))