Constants
Miscellaneous constants and recommended values:
- tgtools.consts.DEFAULT_FILE_TIMESTAMP_FORMAT = '%Y%m%d_%H%M%S'
Default format for timestamp in filename.
- tgtools.consts.DEFAULT_FILE_TIMESTAMP_LEN = 15
Length of DEFAULT_FILE_TIMESTAMP_FORMAT.
- tgtools.consts.LEN_RESP_DISPL_TRUNC = 100
Maximum number of chars for displaying a response to a command
- tgtools.consts.MAX_NUM_GET_EVENTS_RPC = 200
Maximum number of events retrievable via the get-events RPC.
- tgtools.consts.NETCONF_SSH_TIMEOUT = 2.5
Socket timeout for NETCONF session.
- tgtools.consts.RADIO_NAME_MAX_LEN = 8
Max number of characters in radio name
- tgtools.consts.RE_RADIO_NAME = re.compile('[-a-zA-Z0-9]{1,8}')
Regex for radio name