mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.3 KiB
79 lines
1.3 KiB
# -*- coding: utf-8 -*-
|
|
#
|
|
|
|
|
|
UPDATE_ASSETS_HARDWARE_TASKS = [
|
|
{
|
|
'name': "setup",
|
|
'action': {
|
|
'module': 'setup'
|
|
}
|
|
}
|
|
]
|
|
|
|
ADMIN_USER_CONN_CACHE_KEY = "ADMIN_USER_CONN_{}"
|
|
TEST_ADMIN_USER_CONN_TASKS = [
|
|
{
|
|
"name": "ping",
|
|
"action": {
|
|
"module": "ping",
|
|
}
|
|
}
|
|
]
|
|
TEST_WINDOWS_ADMIN_USER_CONN_TASKS = [
|
|
{
|
|
"name": "ping",
|
|
"action": {
|
|
"module": "win_ping",
|
|
}
|
|
}
|
|
]
|
|
|
|
ASSET_ADMIN_CONN_CACHE_KEY = "ASSET_ADMIN_USER_CONN_{}"
|
|
|
|
SYSTEM_USER_CONN_CACHE_KEY = "SYSTEM_USER_CONN_{}"
|
|
TEST_SYSTEM_USER_CONN_TASKS = [
|
|
{
|
|
"name": "ping",
|
|
"action": {
|
|
"module": "ping",
|
|
}
|
|
}
|
|
]
|
|
TEST_WINDOWS_SYSTEM_USER_CONN_TASKS = [
|
|
{
|
|
"name": "ping",
|
|
"action": {
|
|
"module": "win_ping",
|
|
}
|
|
}
|
|
]
|
|
|
|
ASSET_USER_CONN_CACHE_KEY = 'ASSET_USER_CONN_{}'
|
|
TEST_ASSET_USER_CONN_TASKS = [
|
|
{
|
|
"name": "ping",
|
|
"action": {
|
|
"module": "ping",
|
|
}
|
|
}
|
|
]
|
|
TEST_WINDOWS_ASSET_USER_CONN_TASKS = [
|
|
{
|
|
"name": "ping",
|
|
"action": {
|
|
"module": "win_ping",
|
|
}
|
|
}
|
|
]
|
|
|
|
|
|
TASK_OPTIONS = {
|
|
'timeout': 10,
|
|
'forks': 10,
|
|
}
|
|
|
|
CACHE_KEY_ASSET_BULK_UPDATE_ID_PREFIX = '_KEY_ASSET_BULK_UPDATE_ID_{}'
|
|
|
|
|