aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/availability/__init__.py
blob: c3b3aae30206c8547c15d8e4fdd59fbb07a88e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##############################################################################
# Copyright (c) 2016 Juan Qiu and others
# juan_ qiu@tongji.edu.cn
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################


class ActionType:
    ATTACKER = "attacker"
    MONITOR = "monitor"
    RESULTCHECKER = "resultchecker"
    OPERATION = "operation"


class Condition:
    EQUAL = "eq"
    GREATERTHAN = "gt"
    GREATERTHANEQUAL = "gt_eq"
    LESSTHAN = "lt"
    LESSTHANEQUAL = "lt_eq"
    IN = "in"