def filter_bridge_domain_dump_by_id(data, bd_id):
    """Find bridge domain entry in provided dump by the specified bridge domain index.

    :param data: API reply from vridge_domain_dump
    :param bd_id: Bridge domain index.
    :type data: list
    :type bd_id: int
    :returns: Single bridge domain entry.
    :rtype: dict
    :raises RuntimeError: If the bridge domain is not present in API dump."""

    for item in data:
        if str(item["bd_id"]) == str(bd_id):
            return item
    else:
        raise RuntimeError("Bridge domain not found by id {id}.".format(id=bd_id))