def METHOD_NAME(bmp_str):
    """
    :param str bmp_str:
    :rtype: tuple(str, str or None)
    """
    if ";" in bmp_str:
        raise NotImplementedError(
            "cfg bmp_names no longer supports cabinet and frame")
    host = bmp_str.split(",")
    if len(host) == 1:
        return bmp_str, None
    return host[0], host[1]