docs: def __get_config_table_options(conf_file_options):
      """ Get all table options from the config file
  
      :type conf_file_options: ordereddict
      :param conf_file_options: Dictionary with all config file options
      :returns: ordereddict -- E.g. {'table_name': {}}
      """
      options = ordereddict()
  
      if not conf_file_options:
          return options
  
      for table_name in conf_file_options['tables']:
          options[table_name] = {}
  
          # Regular table options
          for option in DEFAULT_OPTIONS['table'].keys():
              options[table_name][option] = DEFAULT_OPTIONS['table'][option]
  
              if option not in conf_file_options['tables'][table_name]:
                  continue
  
              if option == 'sns_message_types':
                  try:
                      raw_list = conf_file_options['tables'][table_name][option]
                      options[table_name][option] = \
                          [i.strip() for i in raw_list.split(',')]
                  except:
                      print(
                          'Error parsing the "sns-message-types" '
                          'option: {0}'.format(
                              conf_file_options['tables'][table_name][option]))
              else:
                  options[table_name][option] = \
                      conf_file_options['tables'][table_name][option]
  
          # GSI specific options
          if 'gsis' in conf_file_options['tables'][table_name]:
              for gsi_name in conf_file_options['tables'][table_name]['gsis']:
                  for option in DEFAULT_OPTIONS['gsi'].keys():
                      opt = DEFAULT_OPTIONS['gsi'][option]
  
                      if 'gsis' not in options[table_name]:
                          options[table_name]['gsis'] = {}
  
                      if gsi_name not in options[table_name]['gsis']:
                          options[table_name]['gsis'][gsi_name] = {}
  
                      if (option not in conf_file_options[
                              'tables'][table_name]['gsis'][gsi_name]):
                          options[table_name]['gsis'][gsi_name][option] = opt
                          continue
  
                      if option == 'sns_message_types':
                          try:
                              raw_list = conf_file_options[
                                  'tables'][table_name]['gsis'][gsi_name][option]
                              opt = [i.strip() for i in raw_list.split(',')]
                          except:
                              print(
                                  'Error parsing the "sns-message-types" '
                                  'option: {0}'.format(
                                      conf_file_options[
                                          'tables'][table_name][
                                              'gsis'][gsi_name][option]))
                      else:
                          opt = conf_file_options[
                              'tables'][table_name]['gsis'][gsi_name][option]
  
                      options[table_name]['gsis'][gsi_name][option] = opt
  
      return options