Convert the job queue rpcs to address-based
authorIustin Pop <iustin@google.com>
Mon, 20 Oct 2008 14:47:17 +0000 (14:47 +0000)
committerIustin Pop <iustin@google.com>
Mon, 20 Oct 2008 14:47:17 +0000 (14:47 +0000)
commit99aabbed5d61268db84cc339ccae129b0d7f867e
treea818d00654626dfa21b3070381e303d1f231ca4d
parent6b294c53bb19399e67a6663270cf0579d921727f
Convert the job queue rpcs to address-based

The two main multi-node job queue RPC calls (jobqueue_update,
jobqueue_rename) are converted to address-based calls, in order to speed
up queue changes. For this, we need to change the _nodes attribute on
the jobqueue to be a dict {name: ip}, instead of a set.

Reviewed-by: imsnah
daemons/ganeti-masterd
lib/jqueue.py
lib/rpc.py