Instance: add a new all_nodes property
authorIustin Pop <iustin@google.com>
Fri, 16 Jan 2009 11:02:57 +0000 (11:02 +0000)
committerIustin Pop <iustin@google.com>
Fri, 16 Jan 2009 11:02:57 +0000 (11:02 +0000)
commitcfcc5c6d734c35cb32b753a14d59269736768e3b
treea4bb17798e420f3b53c45edac9d59e4c6799def1
parentaeb83a2b8a103477d66fbf539adb171f3dfc284c
Instance: add a new all_nodes property

Since we often need the list of all nodes of an instance, we add a new
"all_nodes" property that returns all nodes of the instance, and we
switch secondary_nodes to a simpler implementation based on this new
function.

Reviewed-by: ultrotter
lib/objects.py