commit | cbf43678371efc295f6fbad71bab0e1e79eb76e7 | [log] [tgz] |
---|---|---|
author | James E. Blair <jeblair@redhat.com> | Wed Jan 04 14:33:41 2017 -0800 |
committer | James E. Blair <jeblair@redhat.com> | Wed Jan 04 15:43:43 2017 -0800 |
tree | 6c80a3891470b43c16b0e6781f21fbbf91106853 | |
parent | 15be0e1e1112c8f2e0cc87961d7148492c8e3406 [diff] |
Copy nodeset when making node requests Nodesets are collections of nodes, but they, and the Node objects they contain, have a dual role representing both the configuration of a job and the actual nodes returned from nodepool. So that multiple jobs sharing the same nodeset configuration don't end up sharing the same actual nodes, create a copy of a job's nodeset for use in interacting with nodepool/zk. Change-Id: I83f503ba22fc3f92b8c90b15ccfb6b07dc3c4709