#!/usr/bin/python3
import enum
import osclass 

FwutechEnum(enum.Enum):    

    RESTART_AGENT_CMD = 'systemctl restart fwutech'    
    DATE_CMD = "bash %s/lateral_tools/setDate.sh"    
    IP_LINK_CMD = "ip link"    
    MOUNT_READONLY_CMD="mount -o remount,ro /home"    
    MOUNT_WRITEABLE_CMD="mount -o remount,rw /home"    
    CONFIG_PATH = "%sconf.json"    
    INFO_PATH = "%sinfo.json"    
    RESULT_DIR_PATH = "/tmp/scen_res_dir/"    
    SEND_RESULT_URL = "http://%s:%s/result/exec"    
    DATE_URL = "\"http://%s:%s/uitls/getIpAndDate?mid=202481586816943 &parent=%s&operator=%s&model=%s&type=%s\""    
    GET_PARENT_MID_URL = "http://%s:%s/probe/interface/mid/get"    
    CHECK_UPDATE_URL="http://%s:%s/update/config/checkUpdate?mid=%s"    
    UPDATE_CONFIG_URL="http://%s:%s/update/config?mid=%s"    
    UPDATE_COMPLATE_URL="http://%s:%s/update/config/complete?mid=%s"    
    UPGRADE_COMPLATE_URL="http://%s:%s/update/tool/upgrade/complate?mid=%s&tool=%s"    
    UPGRADE_TOOLS_LIST_URL="http://%s:%s/update/tools/upgrade/list?mid=%s"    
    DOWNLOAD_TOOL_URL = "http://%s:%s/update/tools/upgrade?mid=%s&tool="    
    DATE_FAILD_MSG = "there is some wrong in Date Syncing!"    
    RESULT_SEND_FAILD_MSG = "Can not send result to Server.(faild) !"    
    RESULT_SEND_SUCCESS_MSG = "Send Result to Sever successfuly !"    
    SUCCESS_REMOVE_RSLT_MSG = "File: %s removed!"    
    FAILD_REMOVE_RSLT_MSG = "Can not remove File: %s !"    
    SAVE_RSLT_TO_TEMP_SUCC_MSG = "result saved !"    
    SAVE_RSLT_TO_TEMP_FAILD_MSG = "Cant result saved!"    
    SAVE_INFO_SUCC_MSG = "info saved!"    
    SAVE_SCENARIO_SUCC_MSG = "Scenario updated!"    
    CHECKING_UPDATE_SCENARIO_MSG="checking Config Update"    
    NOTHING_UPDATE_SCEN_MSG="There is not any scenario update !"    
    CHECK_SCENARIO_FAILD_MSG="Error: check scenario is faild !"    
    UPGRADE_COMPLATED_SUCCESS_MSG="%s upgrate Complated !"    
    CHECKING_UPDATE_TOOLS_MSG="checking upgrade tools!"    
    NOTHING_TO_UPGRADE_TOOLS="There isnt any upgrade tool!"
