def updateAdProperty(job, name, type=None, value=None):
for i in range(len(job)):
if (job[i].name == name):
job[i].type = type
job[i].value = value
You may want to check out the alternate SOAP API in the contrib
space: Aviary. It goes pretty fast after the nominal overhead of the
HTTP connection. With Aviary, there is more packing into the single
submit RPC call as opposed to the 3 separate RPC calls used above in
the original Birdbath SOAP interface.
On my machine I get results like this for 150 "simple" submits like
Another user obtained:
$ time PYTHONPATH=/usr/share/condor/aviary/module/ submit.py | wc -l
Cloud BU/MRG Grid
Red Hat Inc.
Many thanks Pete,
This SOAP interface alternative is great.
I'm trying to get the condor-aviary contrib from RPMs, but I can not find it in the UW repositories. The stable and development versions looks like they don't include the Aviary contrib plugin:
Nevertheless, I've decided to include the Aviary plugin from sources, I've run into a new problem. When I build the Condor source code from condor_src-7.9.1-all-all.tar.gz (last version), I'm not getting the AviaryScheddPlugin-plugin.so, even with the command: