utils.unix.sshd_config_helper module
- class utils.unix.sshd_config_helper.sshdConfigHelper
Bases:
object- comma_separated_string(data)
Converts a list of unknown length to a comma-separated string with an “and” after the last comma.
- Args:
data: A list of any data type.
- Returns:
A string with the elements of the list separated by commas, with “and” before the last element.
- effective_keyword_check(command_output, keyword, valid_values, invalid_values, valid_values_required=False)
- keyword_check(command_output, keyword, valid_values, invalid_values, valid_values_required=False)