Hi Timur,
is it possible to exclude renderclients from a job?
I saw in the Blender plugin the input field 'Exclude Hosts'.
Can I specify the hostname or IP address to exclude?
For example:
[192.168.0.100, 192.168.0.100] or [pc-01, pc-02]
If this could also be done via JSON-API?
"hosts_mask_exclude" : "badhost.*"
Thanks in advance.
Best regards,
Laurence
Exclude Hosts
Re: Exclude Hosts
Hi.
Yes.
Each job (and block, and user) has a "hosts_mask_exclude" parameter, with can be set from any GUI and JSON protocol.
Yes.
Each job (and block, and user) has a "hosts_mask_exclude" parameter, with can be set from any GUI and JSON protocol.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Exclude Hosts
Hi Timur,
thank you very much!
So to exclude multiple hosts I have to specify the hostname in a JSON array?
"hosts_mask_exclude" : ["pc-01", "pc-02"]
Do I have to do the same in the plugins?
Best regards,
Laurence
thank you very much!
So to exclude multiple hosts I have to specify the hostname in a JSON array?
"hosts_mask_exclude" : ["pc-01", "pc-02"]
Do I have to do the same in the plugins?
Best regards,
Laurence
Re: Exclude Hosts
"hosts_mask_exclude" is a string parameter, not an array.
It represents a regular expression, so it should be some "pc-0.*" or "pc-0[12]", or you can simple list hosts (like array) "pc-01|pc-01".
There are lots regular expressions of online manuals and checkers.
It represents a regular expression, so it should be some "pc-0.*" or "pc-0[12]", or you can simple list hosts (like array) "pc-01|pc-01".
There are lots regular expressions of online manuals and checkers.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Exclude Hosts
Okay, got it!
Thanks again!
Best regards,
Laurence
Thanks again!
Best regards,
Laurence