def METHOD_NAME(dut, fanouthosts, result, wait_time):
    action = None
    for port in result['down_ports']:
        logging.warning("Restoring port: {}".format(port))
        pn = str(port).lower()
        if 'portchannel' in pn or 'vlan' in pn:
            action = 'config_reload'
            continue
        # If internal port is down, do 'config_reload' to recover.
        # Here we do lowercase string search as pn is converted to lowercase
        if '-ib' in pn or '-rec' in pn or '-bp' in pn:
            action = 'config_reload'
            continue
        fanout, fanout_port = fanout_switch_port_lookup(fanouthosts, dut.hostname, port)
        if fanout and fanout_port:
            fanout.shutdown(fanout_port)
            fanout.no_shutdown(fanout_port)
        if dut.facts["num_asic"] > 1:
            asic = dut.get_port_asic_instance(port)
            dut.asic_instance(asic.asic_index).startup_interface(port)
        else:
            dut.no_shutdown(port)
    wait(wait_time, msg="Wait {} seconds for interface(s) to restore.".format(wait_time))
    return action