def METHOD_NAME():
    if os.path.isfile('/host/machine.conf'):
        return getonieplatform('/host/machine.conf')
    elif os.path.isfile('/usr/share/sonic/hwsku/machine.conf'):
        return getonieplatform('/usr/share/sonic/hwsku/machine.conf')
    else:
        return getplatform_config_db()