There is a blog post covering custom plugin creation. Check it out if it helps?.
You can set whitelist machine per job. I’m not sure it’s possible on a per frame basis.
Submission interface has a field you can select the slaves. If you want to read from json you can manually submit the job adding parameter
Whitelist=<slaveName,slaveName,slaveName> Here’s URL of the doc, I can’t link because there’s space after 1_User - https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/manual-submission.html
Another way is to use deadlinecommand.exe
deadlinecommand.exe SetJobMachineLimit <job ID> <slave1,slave2,slave3> <true/false> true if whitelist, false if blacklist
Now I’m not sure if it’s possible to add black/whitelist with Event or Job PreLoad scripts. Looking at the scripting reference,
Job.JobMahineLimit means something different. It’s a getter method which returns int instead.
There is another method
Job.JobListedSlaves that seems to store white/black list machines but its also a getter not a setter according to the ref. Would love to hear staff input on this @Justin_B