# -*- coding: UTF-8 -*-

BLACKLIST_DICT = [
{
    "key_word":"-bash:",
    "msg_zh":u"\n系统没有运行在admin模式",
    "msg_en":"\nSystem is not in admin mode"
 },
           
{
    "key_word":"minisystem>",
    "msg_zh":u"\n系统没有运行在admin模式",
    "msg_en":"\nSystem is not in admin mode"
 },
                            
{
    "key_word":"upgrade:/>",
    "msg_zh":u"\n系统处于升级模式",
    "msg_en":"\nSystem is in upgrade Mode"
 },

{
    "key_word":"System is in safe mode",
    "msg_zh":u"\n系统处于安全模式",
    "msg_en":"\nSystem is in safe mode"
},

{
    "key_word":"System is not ready",
    "msg_zh":u"\n系统正在启动中",
    "msg_en":"\nSystem is not ready"
},

{
    "key_word":"The system is powering off",
    "msg_zh":u"\n系统处于下电模式",
    "msg_en":"\nThe system is powering off"
 },

{
    "key_word":"The system failed to be started",
    "msg_zh":u"\n系统启动失败",
    "msg_en":"\nThe system failed to be started"
 },
                  
{
    "key_word":"system is busy",
    "msg_zh":u"\n系统忙",
    "msg_en":"\nSystem is busy"
 },
   
{
    "key_word":"Processing...",
    "msg_zh":u"\n系统处理中",
    "msg_en":"\nSystem is processing"
 },
                  
{
    "key_word":"Socket connect failed",
    "msg_zh":u"\nSocket连接失败",
    "msg_en":"\nSocket connect failed"
 },

{
    "key_word":"Failed to process the message",
    "msg_zh":u"\n处理失败",
    "msg_en":"\nFailed to process the message"
 },

{
    "key_word":"Operation timeout",
    "msg_zh":u"\n执行超时",
    "msg_en":"\nOperation timeout"
 },

{
    "key_word":"Receive message time out",
    "msg_zh":u"\n信息查询超时",
    "msg_en":"\nReceive message time out"
 },

{
    "key_word":"Error:",
    "msg_zh":u"\n系统异常",
    "msg_en":"\nSystem is abnormal"
 },
    
{
    "key_word":"Error :",
    "msg_zh":u"\n系统异常",
    "msg_en":"\nSystem is abnormal"
 },
]

MESSAGES_DICT={
"device.connect.abnormal":
    {
        "zh":u"\n设备未连接，可能原因：网络连接异常或设备异常等",
        "en":"\nThe device is disconnected. Possible causes may be network connection or device anomaly",
    },
 
"system.status.abnormal":
    {
        "zh":u"\n命令执行失败",
        "en":"\nCommand execute failed",
    },
 
"cli.result.is.empty":
    {
        "zh":u"\nCLI回显结果为空",
        "en":"\nThe display of cli result is empty",
    },

"has.not.cli.privilege":
    {
        "zh":u"\n当前用户没有权限执行此命令",
        "en":"\nThe current user does not have sufficient privileges to execute this command",
    },

"has.not.license":
    {
        "zh":u"\n没有license",
        "en":"\nLicense file does not exist",
    },
                       
"cannot.get.sys.info":
    {
        "zh":u"\n无法获取系统信息",
        "en":"\nCannot get information about system",
    },
               
"cannot.get.user.info":
    {
        "zh":u"\n无法获取用户信息",
        "en":"\nCannot get information about user",
    },
               
"cannot.get.product.version.info":
    {
        "zh":u"\n无法获取产品版本信息",
        "en":"\nCannot get information about product version",
    },

"cannot.get.product.model.info":
    {
        "zh":u"\n无法获取产品型号信息",
        "en":"\nCannot get information about product model",
    },
               
"cannot.get.storage.type.info":
    {
        "zh":u"\n无法获取存储设备类型",
        "en":"\nCannot get information about storage type",
    },

"cannot.get.controller.info":
    {
        "zh":u"\n无法获取控制器信息",
        "en":"\nCannot get information about controller",
    },

"cannot.get.enclosure.info":
    {
        "zh":u"\n无法获取机框信息",
        "en":"\nCannot get information about enclosure",
    },

"cannot.access.developer.mode":
    {
        "zh":u"\n系统不能进入developer模式",
        "en":"\nCannot access the developer mode",
    },
    
"does.not.support.vm":
    {
        "zh":u"\n设备不支持虚拟机服务",
        "en":"\nThe device does not support the VM service"
    },
"vm.is.not.started":
    {
        "zh":u"\n虚拟机服务未启动",
        "en":"\nThe VM service is not started"
    },
}
