mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
73a2e73c44
The ^ operator in a noderange names a file, and noderange() reads it. Add a nofile option. When nofile is set, noderange() does not open the file. It records that a ^file atom was present, so a caller can fail closed even when the range also holds plain nodes. file_operator_rejected() reports this. noderange() also expands site.excludenodes through a nested call. That range is trusted site data. Expand it without nofile and keep the request's rejection state across the call. A configured exclusion cannot clear the flag, and a ^file in site.excludenodes cannot set it. The default behavior does not change. Forward the option through extnoderange().
xCAT is a toolkit for the deployment and administration of clusters. xCAT documentation is available at: http://xcat-docs.readthedocs.org/ xCAT is made available as open source software under the EPL license: http://www.opensource.org/licenses/eclipse-1.0.php