Merge the Node.setPri and Node.addCpus functions
authorIustin Pop <iustin@google.com>
Fri, 16 Oct 2009 11:09:55 +0000 (13:09 +0200)
committerIustin Pop <iustin@google.com>
Fri, 16 Oct 2009 11:43:49 +0000 (13:43 +0200)
commita488a21718694f6b8150eb43a7a8467fcec20dfe
treeb437738762647b168335aba704dad39b743bff75
parent5b76347008ba482c0e82db7f99a6aa1b23e13032
Merge the Node.setPri and Node.addCpus functions

The latter is only used right after the former in the Loader module, and
we'll need more of this 'update not with the data of this instance'
functionality (which is different than addPri where all information must
be updated).

The patch also changes the signature of Node.setSec (to remain
consistent with setPri).
Ganeti/HTools/Loader.hs
Ganeti/HTools/Node.hs