# (C) Copyright 2013 Hewlett-Packard Development Company, L.P.
'''

This file is a container of all time constant values
Certain values are based on Fusion performance specification
See http://fusionwiki.vse.adapps.hp.com/fusionwiki/PerformanceGoals for details

Time in seconds
'''


class PerfConstants(object):
    WAIT_UNTIL_CONSTANT = 20
    IMPORT_ENCLOSURE_TIME = 1800
    IMPORT_RACK_SERVER_TIME = 60
    CREATE_NETWORK_TIME = 10
    APPLY_PROFILE_CONNTECTIONS_ONLY_TIME = 30
    APPLY_PROFILE_CONNTECTIONS_BIOS_TIME = 300
    UNASSIGN_PROFILE_TIME = 30
    DELETE_PROFILE_TIME = 50
    FACTORY_RESET_TIME = 300
    LOAD_BACKUP_DATA_ONTO_APPLIANCE_TIME = 900
    RESTORE_DATA_FROM_BACKUP_TIME = 1800
    # time for users to be removed from list - not verified.
    REMOVE_USER_TIME = 10
    FUSION_LOGOUT_TIME = 5  # time for user to be logged out
    FUSION_LOGIN_TIME = 20  # time to login to Fusion - not verified.
    ALTAIR_LOGOUT_TIME = 5  # time for user to be logged out
    ALTAIR_PAGE_SYNC = 3  # delay while clicking on objects
    ALTAIR_LOGIN_TIME = 10  # time to login to Fusion - not verified.
    FUSION_PAGE_SYNC = 3  # delay while clicking on objects
    SELECT_ENCLOSURE = 25  # time to select enclosure in the appliance
    SELECT_COMBO_BOX = 20  # time to select the option from the baseline
    ENCLOSURE_ACTIVITY = 30  # time for the activity
    FIRMWARE_ADD_BUTTON_TIME = 30  # time to load the add firmware button
    FIRMWARE_CHOOSE_BUTTON_TIME = 5  # time to load the add firmware page
    # time for validating whether update enclosure is success or failure
    FIRMWARE_PASS_FAIL_VALIDATION = 300
    FIRMWARE_VALIDATION = 20  # time taken for validation
    # time for validating whether update enclosure is success or failure
    FIRMWARE_SUCCESS_OR_FAILURE = 1200
    # time to validate the state of the update firmware
    FIRMWARE_STATE_START = 40
    FIRMWARE_MANUALLY_VALIDATION = 20  # time to validate with manually
    SELECT_ENCLOSURE = 50  # time to select the enclosure in the appliance
    ENCLOSURE_TITLE = 10  # time to validate the enclosure title
    LI_UPDATE_TIMEOUT = 5400
    # time to select the update firmware action button
    SELECT_UPDATE_FIRMWARE_ACTION = 15

    DEFAULT_SYNC_TIME = 15
    FUSION_NETWORKSET_REMOVE_TIME = 10
    ADD_ENCLOSURE_ERROR_TIME = 30
    DELETE_ENCLOSURE_TIME = 300
    ACTIVITY = 15
    CREATE_SERVER_PROFILE_TIME = 3600
    ADD_SNMP_ACCESS = 10
    # Traps
    INPUT_TEXT_TRAP = 15
    TRAP_BUTTON = 15
    SELECT_RACK = 100
    PROFILE_UPDATE = 80
    PROFILE_POWER_VALIDATION = 50
    CONFIGURE_NETWORK_SETTINGS_FTW = 180
    UPDATE_UNMANGED_DEVICE_TIME = 30
    # Create,Restore Backup
    RESTORE_BACKUP_CHOOSE_FILE = 15
    DOWNLOAD_BACKUP_TIMEOUT = 120
    CREATE_BACKUP_TIMEOUT = 300
    ALTAIR_CREATE_BACKUP_TIMEOUT = 4500
    FILE_COMPATIBILITY_CHECK = 60
    ALTAIR_FILE_COMPATIBILITY_CHECK = 2400
    RESTORING_LABEL_VISIBLE = 60
    ALTAIR_RESTORING_LABEL_VISIBLE = 300
    ALTAIR_RESTORE_FROM_BACKUP_MESSAGE = 180
    ALTAIR_RESTORE_DATA_FROM_BACKUP_TIME = 5000
    # Activity
    LOAD_ALERT_ACTIVITY = 60
    # Edit Firmware Baseline of Server Profiles
    PROFILE_ACTIVITY = 30  # time for the activity
    # time for validating whether update server profile is success or failure
    FIRMWARE_FAIL_PASS_VALIDATION = 900
    FIRMWARE_ERROR_VALIDATION = 200  # time for validating for warning
    # time for validating whether update server profile is success or failure
    FIRMWARE_FAIL_PASS_VALIDATION = 900
    FIRMWARE_ERROR_VALIDATION = 200  # time for validating for warning
    ADD_SERVER_ERR_TIME = 150
    ADD_SERVER_TIME = 240
    SELECT_DATACENTER = 100
    # time to create support dump for logical interconnect
    LOGICALINTERCONNECT_SUPPORT_DUMP = 180
    LOGICAL_INTERCONNECT_UPDATE_FIRMWARE = 90
    # Reapply Configuration
    UPDATE_ACTIVITY = 30  # time for the activity
    UPDATE_FROM_GRP = 120  # Update from group time
    # Hardware Types Page
    SUCCESS_TIME = 20
    PROFILE_HARDWARE_STATUS = 20
    SERVER_POWER_OFF = 45
    SERVER_POWER_ON = 45
    RESTART_LABEL_VISIBLE = 120
    STARTING_PROGRESS_VISIBLE = 1500
    EDIT_INTERCONNECTS = 300
    INTERCONNECT_ELEMENT_VISIBLE = 30
    ADD_PDU_ERR_TIME = 100
    ADD_PDU_TIME = 240
    REMOVE_PDD_TIME = 90
    # REMOVE LIG
    REMOVE_LIG = 30
    # REMOVE SERVER
    REMOVE_SERVER = 100
    ASSIGN_USER_TIME = 200  # Assign user time in Activity page
    # Time to load the table completely in FAN details UI page for fetching
    # the table data
    FAN_DETAILS_TABLE_LOAD = 20
    FAN_DEFAULT_SYNC_TIME = 5  # Time to load fan data
    # STORAGE SYSTEMS

    CONNECT_STORAGE = 20
    ADD_SYSTEM_STORAGE = 20
    EDIT_STORAGE_SYSTEM = 20
    REMOVE_STORAGE_SYSTEM = 20
    # STORAGE POOL
    REMOVE_STORAGE_POOL = 20
    BROWSER_REFRESH = 30
    UPLOAD_PATCH_FILE = 600
    UPGRADE_ALTAIR_APPLIANCE = 14400
    UPGRADE_FUSION_APPLIANCE = 9000
    ENCLR_REFRESH = 600
    FIRMWARE_UPDATE_TIME = 180  # this constant used to track update status for every 90 seconds
    REFRESH_SERVER = 20

    # Logical Enclosure
    UPDATE_FIRMWARE = 1200

    # Add vCenter
    ADD_VCENTER_TIME = 20
    ADD_VCENTER_ERROR_TIME = 30
    REMOVE_VCENTER = 130

    # LI Update firmware maximum timeout
    FIRMWARE_UPDATE_TIMEOUT = 3000

c173a6b7b8f77cf7b0e8653af64dcd8ef522e169
<mask token>

<mask token>


class PerfConstants(object):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class PerfConstants(object):
    WAIT_UNTIL_CONSTANT = 20
    IMPORT_ENCLOSURE_TIME = 1800
    IMPORT_RACK_SERVER_TIME = 60
    CREATE_NETWORK_TIME = 10
    APPLY_PROFILE_CONNTECTIONS_ONLY_TIME = 30
    APPLY_PROFILE_CONNTECTIONS_BIOS_TIME = 300
    UNASSIGN_PROFILE_TIME = 30
    DELETE_PROFILE_TIME = 50
    FACTORY_RESET_TIME = 300
    LOAD_BACKUP_DATA_ONTO_APPLIANCE_TIME = 900
    RESTORE_DATA_FROM_BACKUP_TIME = 1800
    REMOVE_USER_TIME = 10
    FUSION_LOGOUT_TIME = 5
    FUSION_LOGIN_TIME = 20
    ALTAIR_LOGOUT_TIME = 5
    ALTAIR_PAGE_SYNC = 3
    ALTAIR_LOGIN_TIME = 10
    FUSION_PAGE_SYNC = 3
    SELECT_ENCLOSURE = 25
    SELECT_COMBO_BOX = 20
    ENCLOSURE_ACTIVITY = 30
    FIRMWARE_ADD_BUTTON_TIME = 30
    FIRMWARE_CHOOSE_BUTTON_TIME = 5
    FIRMWARE_PASS_FAIL_VALIDATION = 300
    FIRMWARE_VALIDATION = 20
    FIRMWARE_SUCCESS_OR_FAILURE = 1200
    FIRMWARE_STATE_START = 40
    FIRMWARE_MANUALLY_VALIDATION = 20
    SELECT_ENCLOSURE = 50
    ENCLOSURE_TITLE = 10
    LI_UPDATE_TIMEOUT = 5400
    SELECT_UPDATE_FIRMWARE_ACTION = 15
    DEFAULT_SYNC_TIME = 15
    FUSION_NETWORKSET_REMOVE_TIME = 10
    ADD_ENCLOSURE_ERROR_TIME = 30
    DELETE_ENCLOSURE_TIME = 300
    ACTIVITY = 15
    CREATE_SERVER_PROFILE_TIME = 3600
    ADD_SNMP_ACCESS = 10
    INPUT_TEXT_TRAP = 15
    TRAP_BUTTON = 15
    SELECT_RACK = 100
    PROFILE_UPDATE = 80
    PROFILE_POWER_VALIDATION = 50
    CONFIGURE_NETWORK_SETTINGS_FTW = 180
    UPDATE_UNMANGED_DEVICE_TIME = 30
    RESTORE_BACKUP_CHOOSE_FILE = 15
    DOWNLOAD_BACKUP_TIMEOUT = 120
    CREATE_BACKUP_TIMEOUT = 300
    ALTAIR_CREATE_BACKUP_TIMEOUT = 4500
    FILE_COMPATIBILITY_CHECK = 60
    ALTAIR_FILE_COMPATIBILITY_CHECK = 2400
    RESTORING_LABEL_VISIBLE = 60
    ALTAIR_RESTORING_LABEL_VISIBLE = 300
    ALTAIR_RESTORE_FROM_BACKUP_MESSAGE = 180
    ALTAIR_RESTORE_DATA_FROM_BACKUP_TIME = 5000
    LOAD_ALERT_ACTIVITY = 60
    PROFILE_ACTIVITY = 30
    FIRMWARE_FAIL_PASS_VALIDATION = 900
    FIRMWARE_ERROR_VALIDATION = 200
    FIRMWARE_FAIL_PASS_VALIDATION = 900
    FIRMWARE_ERROR_VALIDATION = 200
    ADD_SERVER_ERR_TIME = 150
    ADD_SERVER_TIME = 240
    SELECT_DATACENTER = 100
    LOGICALINTERCONNECT_SUPPORT_DUMP = 180
    LOGICAL_INTERCONNECT_UPDATE_FIRMWARE = 90
    UPDATE_ACTIVITY = 30
    UPDATE_FROM_GRP = 120
    SUCCESS_TIME = 20
    PROFILE_HARDWARE_STATUS = 20
    SERVER_POWER_OFF = 45
    SERVER_POWER_ON = 45
    RESTART_LABEL_VISIBLE = 120
    STARTING_PROGRESS_VISIBLE = 1500
    EDIT_INTERCONNECTS = 300
    INTERCONNECT_ELEMENT_VISIBLE = 30
    ADD_PDU_ERR_TIME = 100
    ADD_PDU_TIME = 240
    REMOVE_PDD_TIME = 90
    REMOVE_LIG = 30
    REMOVE_SERVER = 100
    ASSIGN_USER_TIME = 200
    FAN_DETAILS_TABLE_LOAD = 20
    FAN_DEFAULT_SYNC_TIME = 5
    CONNECT_STORAGE = 20
    ADD_SYSTEM_STORAGE = 20
    EDIT_STORAGE_SYSTEM = 20
    REMOVE_STORAGE_SYSTEM = 20
    REMOVE_STORAGE_POOL = 20
    BROWSER_REFRESH = 30
    UPLOAD_PATCH_FILE = 600
    UPGRADE_ALTAIR_APPLIANCE = 14400
    UPGRADE_FUSION_APPLIANCE = 9000
    ENCLR_REFRESH = 600
    FIRMWARE_UPDATE_TIME = 180
    REFRESH_SERVER = 20
    UPDATE_FIRMWARE = 1200
    ADD_VCENTER_TIME = 20
    ADD_VCENTER_ERROR_TIME = 30
    REMOVE_VCENTER = 130
    FIRMWARE_UPDATE_TIMEOUT = 3000

# (C) Copyright 2013 Hewlett-Packard Development Company, L.P.
'''

This file is a container of all time constant values
Certain values are based on Fusion performance specification
See http://fusionwiki.vse.adapps.hp.com/fusionwiki/PerformanceGoals for details

Time in seconds
'''


class PerfConstants(object):
    WAIT_UNTIL_CONSTANT = 20
    IMPORT_ENCLOSURE_TIME = 1800
    IMPORT_RACK_SERVER_TIME = 60
    CREATE_NETWORK_TIME = 10
    APPLY_PROFILE_CONNTECTIONS_ONLY_TIME = 30
    APPLY_PROFILE_CONNTECTIONS_BIOS_TIME = 300
    UNASSIGN_PROFILE_TIME = 30
    DELETE_PROFILE_TIME = 50
    FACTORY_RESET_TIME = 300
    LOAD_BACKUP_DATA_ONTO_APPLIANCE_TIME = 900
    RESTORE_DATA_FROM_BACKUP_TIME = 1800
    # time for users to be removed from list - not verified.
    REMOVE_USER_TIME = 10
    FUSION_LOGOUT_TIME = 5  # time for user to be logged out
    FUSION_LOGIN_TIME = 20  # time to login to Fusion - not verified.
    ALTAIR_LOGOUT_TIME = 5  # time for user to be logged out
    ALTAIR_PAGE_SYNC = 3  # delay while clicking on objects
    ALTAIR_LOGIN_TIME = 10  # time to login to Fusion - not verified.
    FUSION_PAGE_SYNC = 3  # delay while clicking on objects
    SELECT_ENCLOSURE = 25  # time to select enclosure in the appliance
    SELECT_COMBO_BOX = 20  # time to select the option from the baseline
    ENCLOSURE_ACTIVITY = 30  # time for the activity
    FIRMWARE_ADD_BUTTON_TIME = 30  # time to load the add firmware button
    FIRMWARE_CHOOSE_BUTTON_TIME = 5  # time to load the add firmware page
    # time for validating whether update enclosure is success or failure
    FIRMWARE_PASS_FAIL_VALIDATION = 300
    FIRMWARE_VALIDATION = 20  # time taken for validation
    # time for validating whether update enclosure is success or failure
    FIRMWARE_SUCCESS_OR_FAILURE = 1200
    # time to validate the state of the update firmware
    FIRMWARE_STATE_START = 40
    FIRMWARE_MANUALLY_VALIDATION = 20  # time to validate with manually
    SELECT_ENCLOSURE = 50  # time to select the enclosure in the appliance
    ENCLOSURE_TITLE = 10  # time to validate the enclosure title
    LI_UPDATE_TIMEOUT = 5400
    # time to select the update firmware action button
    SELECT_UPDATE_FIRMWARE_ACTION = 15

    DEFAULT_SYNC_TIME = 15
    FUSION_NETWORKSET_REMOVE_TIME = 10
    ADD_ENCLOSURE_ERROR_TIME = 30
    DELETE_ENCLOSURE_TIME = 300
    ACTIVITY = 15
    CREATE_SERVER_PROFILE_TIME = 3600
    ADD_SNMP_ACCESS = 10
    # Traps
    INPUT_TEXT_TRAP = 15
    TRAP_BUTTON = 15
    SELECT_RACK = 100
    PROFILE_UPDATE = 80
    PROFILE_POWER_VALIDATION = 50
    CONFIGURE_NETWORK_SETTINGS_FTW = 180
    UPDATE_UNMANGED_DEVICE_TIME = 30
    # Create,Restore Backup
    RESTORE_BACKUP_CHOOSE_FILE = 15
    DOWNLOAD_BACKUP_TIMEOUT = 120
    CREATE_BACKUP_TIMEOUT = 300
    ALTAIR_CREATE_BACKUP_TIMEOUT = 4500
    FILE_COMPATIBILITY_CHECK = 60
    ALTAIR_FILE_COMPATIBILITY_CHECK = 2400
    RESTORING_LABEL_VISIBLE = 60
    ALTAIR_RESTORING_LABEL_VISIBLE = 300
    ALTAIR_RESTORE_FROM_BACKUP_MESSAGE = 180
    ALTAIR_RESTORE_DATA_FROM_BACKUP_TIME = 5000
    # Activity
    LOAD_ALERT_ACTIVITY = 60
    # Edit Firmware Baseline of Server Profiles
    PROFILE_ACTIVITY = 30  # time for the activity
    # time for validating whether update server profile is success or failure
    FIRMWARE_FAIL_PASS_VALIDATION = 900
    FIRMWARE_ERROR_VALIDATION = 200  # time for validating for warning
    # time for validating whether update server profile is success or failure
    FIRMWARE_FAIL_PASS_VALIDATION = 900
    FIRMWARE_ERROR_VALIDATION = 200  # time for validating for warning
    ADD_SERVER_ERR_TIME = 150
    ADD_SERVER_TIME = 240
    SELECT_DATACENTER = 100
    # time to create support dump for logical interconnect
    LOGICALINTERCONNECT_SUPPORT_DUMP = 180
    LOGICAL_INTERCONNECT_UPDATE_FIRMWARE = 90
    # Reapply Configuration
    UPDATE_ACTIVITY = 30  # time for the activity
    UPDATE_FROM_GRP = 120  # Update from group time
    # Hardware Types Page
    SUCCESS_TIME = 20
    PROFILE_HARDWARE_STATUS = 20
    SERVER_POWER_OFF = 45
    SERVER_POWER_ON = 45
    RESTART_LABEL_VISIBLE = 120
    STARTING_PROGRESS_VISIBLE = 1500
    EDIT_INTERCONNECTS = 300
    INTERCONNECT_ELEMENT_VISIBLE = 30
    ADD_PDU_ERR_TIME = 100
    ADD_PDU_TIME = 240
    REMOVE_PDD_TIME = 90
    # REMOVE LIG
    REMOVE_LIG = 30
    # REMOVE SERVER
    REMOVE_SERVER = 100
    ASSIGN_USER_TIME = 200  # Assign user time in Activity page
    # Time to load the table completely in FAN details UI page for fetching
    # the table data
    FAN_DETAILS_TABLE_LOAD = 20
    FAN_DEFAULT_SYNC_TIME = 5  # Time to load fan data
    # STORAGE SYSTEMS

    CONNECT_STORAGE = 20
    ADD_SYSTEM_STORAGE = 20
    EDIT_STORAGE_SYSTEM = 20
    REMOVE_STORAGE_SYSTEM = 20
    # STORAGE POOL
    REMOVE_STORAGE_POOL = 20
    BROWSER_REFRESH = 30
    UPLOAD_PATCH_FILE = 600
    UPGRADE_ALTAIR_APPLIANCE = 14400
    UPGRADE_FUSION_APPLIANCE = 9000
    ENCLR_REFRESH = 600
    FIRMWARE_UPDATE_TIME = 180  # this constant used to track update status for every 90 seconds
    REFRESH_SERVER = 20

    # Logical Enclosure
    UPDATE_FIRMWARE = 1200

    # Add vCenter
    ADD_VCENTER_TIME = 20
    ADD_VCENTER_ERROR_TIME = 30
    REMOVE_VCENTER = 130

    # LI Update firmware maximum timeout
    FIRMWARE_UPDATE_TIMEOUT = 3000
