[HTCondor-devel] class ad attributes


Date: Sun, 17 Jan 2016 16:35:11 +0800
From: åå <715620615@xxxxxx>
Subject: [HTCondor-devel] class ad attributes
Hi,

I want to add some other attributes in the job class ad, and it can realize by inserting +attributeName = value in the submit file, now I want to get the attribute value in the Condor source code, how can I realize it? I notice some codes like "job->LookupInteger(ATTR_MAX_HOSTS, hosts)", can it be got in the same way just like
"job->LookUpInteger(AttributeName, value)"?

And another question is I want to add some attributes dynamically in the source code, is the
 "ad->Insert(attributeName, value)" way right? And then I can get the attribute value just like the above, is it right?

Thanks,

Kathy
[← Prev in Thread] Current Thread [Next in Thread→]