def profile_to_subject(device_mrid, profile):
    """Convert the profile to it's topic as per RMQ.26.6.5.2.

    :param device_mrid: The MRID of the device.
    :param profile: The protobuf profile object.
    """
    return ".".join(["openfmb", profile.DESCRIPTOR.full_name, device_mrid])