# -*- coding: utf-8 -*-
# 基础用例信息
# 作者: 陈磊
# 时间: 2019-11-08


class CaseBase:
    def __init__(self):

        self.app_environment = {
            # 阿蒙
            # "host": "http://172.16.3.25:3334/api",
            # 东方
            "host": "http://172.16.3.78:3334/api",
            "db_url": "172.16.2.155",
            "db_port": 3306,
            "db_user": "root",
            "db_pw": "123456",
            "db_base": "argus",

            "host_zabbix": "http://172.16.3.78:7070",
            "db_url_zabbix": "172.16.2.153",
            "db_port_zabbix": 3306,
            "db_user_zabbix": "zmops",
            "db_pw_zabbix": "0VMoH%W7|h",
            "db_base_zabbix": "zabbix2"
            # "db_url": "172.16.2.153",
            # "db_port": 3306,
            # "db_user": "zmops",
            # "db_pw": "0VMoH%W7|h",
            # "db_base": "zabbix",
        }

        self.environment_test = {
            "host": "http://client.argus.zmops.cn/api",
            "db_url": "47.110.118.218",
            "db_port": 23306,
            "db_user": "argus",
            "db_pw": "Argus@2019",
            "db_base": "argus",

            "host_zabbix": "http://api.argus.zmops.cn",
            # "host_zabbix": "http://172.16.3.197:7070",
            "db_url_zabbix": "172.16.2.153",
            "db_port_zabbix": 3306,
            "db_user_zabbix": "zmops",
            "db_pw_zabbix": "0VMoH%W7|h",
            "db_base_zabbix": "zabbix"
        }

        self.status = {
            "ON": 0,
            "OFF": 1
        }

        self.del_flag = {
            "ON": 1,
            "OFF": 0
        }

        self.available = {
            "ON": 0,
            "OFF": 1
        }

        self.acknowledged = {
            "ON": 1,
            "OFF": 0
        }
