
Implementation of the configuration of the workers nodes for the STANDARD installation. Test Case: PASS - Workers are being properly configured PASS - host_bulk_add file is being correctly generated Story: 2005051 Task: 49183 Task: 49184 Change-Id: I46368655616a727f3900c4eb0b107ef79387d133 Signed-off-by: Daniel Caires <daniel.caires@encora.com>
24 lines
493 B
Python
24 lines
493 B
Python
#!/usr/bin/python3
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
"""
|
|
This module contains the HostTimeout class, which provides timeout values (in seconds)
|
|
for various operations on a host.
|
|
"""
|
|
|
|
# pylint: disable=R0903
|
|
|
|
|
|
class HostTimeout:
|
|
CONTROLLER_UNLOCK = 3600 + 1800
|
|
REBOOT = 900
|
|
INSTALL = 3600
|
|
LAB_INSTALL = 3600
|
|
HOST_INSTALL = 3600
|
|
LAB_CONFIG = 5400
|
|
INSTALL_PATCHES = 900
|
|
NORMAL_OP = 120
|
|
REATTEMPT_DELAY = [0, 2, 5, 10, 30, 60, 2*60, 3*60, 5*60, 10*60]
|