def _get_switch_info(switch_info, host_id):
    """Get the chassis IP and server ID the host_id belongs to."""
    for switch_ip in switch_info:
        if host_id in switch_info[switch_ip]:
            info = switch_info[switch_ip][host_id].split(',')
            return switch_ip, info[0], info[1:]
    return None, None, None
