You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for file returner to format filename using ttp["vars"] and ttp["global_vars"] dictionaries, as a result filenames can now be formatted on a per results basis #41
Added support to gethostname to extract hostname from Nokia SROS prompt #43
Made regexes to account for \r\n ending in addition to \n to detect a new line #44
Added support for excel formatter to update existing spreadsheets using "update" parameter
Made ## comments to support indentation without generating log message
Added outputters "condition" attribute to be able to run outputters conditionally based on variable in vars passed to TTP object
BUGS
Improved behavior of results selection and fixed bug with same group name/path results selection by adding grp_id in self.record to track previous group identification #37
Added support for \r\n line ending in addition to \n #44
Fixed joinmatches to properly handle sanitized match variable names
Fixed BUG with match result selection for multiple start re matches
CHANGES
TTP Lazy importing system modified to use pickle module to cache ttp dictionary and to scan subfolders' files one by one,
that is to avoid "OSError: [Errno 24] Too many open files" problem when TTP scans through folders to find all function;
additionally, added caching functions to speed up initialization process roughly by 60ms.
Output traverse function added "strict=True" boolean parameter, if True - traverse raises KeyError if no path item found
in results, if False, will return empty dictionary if no item found in results
Improved Syslog returner - wrapped sending logs to try-except blocks with logging of errors on failure
Improved results path selection to use group.group_id instead of path and index attributes
Generalized anonymous group name, path and group_id formation to account for nested/child anonymous groups
Modified yangson validate behavior to return error if no yangson installed, added option to just return results without metadata if validation was successful