HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-devel] daemon ad generation




On Feb 5, 2008, at 9:35 AM, Matthew Farrellee wrote:

i have a fading memory that you were working on a mechanism to centralize, or at least make more consistent, the creation of daemon ads, e.g. collector ad/schedd ad/startd ad.

Right.

am i remembering incorrectly?

Yes.

what ever came of that effort?

DaemonCore::publish(ClassAd *ad)

All daemons invoke this, so it handles shared attributes. Of course, every daemon still needs its own publish() method to handle the daemon-specific stuff.

See also DaemonCore::sendUpdates() for actually sending an ad to the DC-managed list of collectors.


Cheers,
-Derek