def METHOD_NAME(self):
    sfp_info_obj = {}
    port_info_path = os.path.join(
        PLATFORM_PATH, SWITCH_BRD_PLATFORM, self.PORT_INFO_DIR)
    for index in range(self.num_sfp):
        port_num = index + 1
        if port_num <= 32:
            port_name = "QSFP{}".format(port_num)
            port_type = "qsfp"
            sysfs_prs_file = "{}_modprs".format(port_type)
        else:
            port_name = "SFP{}".format(port_num - 32)
            port_type = "sfp"
            sysfs_prs_file = "{}_modabs".format(port_type)
        sfp_info_obj[index] = {}
        sfp_info_obj[index]['intmask_sysfs'] = self.PATH_INTMASK_SYSFS.format(
            port_info_path,
            port_name=port_name,
            type_prefix=port_type)
        sfp_info_obj[index]['int_sysfs'] = self.PATH_INT_SYSFS.format(
            port_info_path,
            port_name=port_name,
            type_prefix=port_type)
        sfp_info_obj[index]['prs_sysfs'] = self.PATH_PRS_SYSFS.format(
            port_info_path,
            port_name=port_name,
            prs_file_name=sysfs_prs_file)
        self._api_common.write_txt_file(
            sfp_info_obj[index]["intmask_sysfs"], hex(self.PRESENT_EN))
    self.sfp_info_obj = sfp_info_obj