Example #1
0
    def validate_profile_entry_name_contains_valid_chars(
            self, profile_entry_row):
        if profile_entry_row.description is None:
            return

        profile_entry_name = profile_entry_row.description[0]
        qos_utils.validate_string_contains_valid_chars(profile_entry_name)
Example #2
0
    def validate_dscp_map_description_contains_valid_chars(
            self, qos_dscp_map_entry_row):
        if qos_dscp_map_entry_row.description is None:
            return

        description = qos_dscp_map_entry_row.description[0]
        qos_utils.validate_string_contains_valid_chars(description)
Example #3
0
 def validate_profile_name_contains_valid_chars(self, profile_row):
     profile_name = profile_row.name
     qos_utils.validate_string_contains_valid_chars(profile_name)