open-cas-linux/test/functional/api/cas/casadm_params.py
Kamil Gierszewski 537c9656b8
test-api: rename stat filter
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:54:45 +01:00

37 lines
675 B
Python

#
# Copyright(c) 2019-2021 Intel Corporation
# Copyright(c) 2024-2025 Huawei Technologies Co., Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#
from enum import Enum
class ParamName(Enum):
seq_cutoff = "seq-cutoff"
cleaning = "cleaning"
cleaning_alru = "cleaning-alru"
cleaning_acp = "cleaning-acp"
promotion = "promotion"
promotion_nhit = "promotion-nhit"
def __str__(self):
return self.value
class OutputFormat(Enum):
table = 0
csv = 1
class StatsFilter(Enum):
all = "all"
conf = "config"
usage = "usage"
req = "request"
blk = "block"
err = "error"
def __str__(self):
return self.value