2017-12-12 04:19:45 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
|
|
|
|
2017-12-15 07:50:15 +00:00
|
|
|
UPDATE_ASSETS_HARDWARE_TASKS = [
|
|
|
|
{
|
2017-12-29 15:53:45 +00:00
|
|
|
'name': "setup",
|
2017-12-15 07:50:15 +00:00
|
|
|
'action': {
|
|
|
|
'module': 'setup'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
ADMIN_USER_CONN_CACHE_KEY = "ADMIN_USER_CONN_{}"
|
|
|
|
TEST_ADMIN_USER_CONN_TASKS = [
|
|
|
|
{
|
2017-12-29 15:53:45 +00:00
|
|
|
"name": "ping",
|
2017-12-15 07:50:15 +00:00
|
|
|
"action": {
|
|
|
|
"module": "ping",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
ASSET_ADMIN_CONN_CACHE_KEY = "ASSET_ADMIN_USER_CONN_{}"
|
|
|
|
|
|
|
|
SYSTEM_USER_CONN_CACHE_KEY = "SYSTEM_USER_CONN_{}"
|
|
|
|
TEST_SYSTEM_USER_CONN_TASKS = [
|
|
|
|
{
|
2017-12-29 15:53:45 +00:00
|
|
|
"name": "ping",
|
2017-12-15 07:50:15 +00:00
|
|
|
"action": {
|
|
|
|
"module": "ping",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
TASK_OPTIONS = {
|
2017-12-15 09:07:52 +00:00
|
|
|
'timeout': 10,
|
2017-12-15 07:50:15 +00:00
|
|
|
'forks': 10,
|
|
|
|
}
|