def vs_complexity_level(self):
    '\n        This method calculate complexity of vs.\n        :return:\n        '
    vs_csv_objects = [row for row in csv_writer_dict_list if ((row['Status'] in [STATUS_PARTIAL, STATUS_SUCCESSFUL]) and (row['Netscaler Command'] in ['add cs vserver', 'add lb vserver']))]
    for vs_csv_object in vs_csv_objects:
        virtual_service = self.format_string_to_json(vs_csv_object['AVI Object'])
        self.update_vs_complexity_level(vs_csv_object, virtual_service)
This method calculate complexity of vs.
:return:
def vs_complexity_level(self):
    '\n        This method calculate complexity of vs.\n        :return:\n        '
    vs_csv_objects = [row for row in csv_writer_dict_list if ((row['Status'] in [STATUS_PARTIAL, STATUS_SUCCESSFUL]) and (row['Netscaler Command'] in ['add cs vserver', 'add lb vserver']))]
    for vs_csv_object in vs_csv_objects:
        virtual_service = self.format_string_to_json(vs_csv_object['AVI Object'])
        self.update_vs_complexity_level(vs_csv_object, virtual_service)