ciao-controller: abstract the listNodes() function
ciao-controller: abstract the listNodes() function

The current listNodes() function is coded in a way that tells a story
that it is return a list of information on compute nodes.  That's not
quite true.  But it would be useful if it were.  And then we'd want to
also be able to list other subsets of cluster nodes.

Toward that end listNodes() is abstracted into a listSubsetOfNodes(),
which takes an additional ssntp.Role argument.  This is wrapped by three
simple invocations of listNodes(), listNetworkNodes() and
listComputeNodes() which return all, network and compute nodes
respectively.

Signed-off-by: Tim Pepper <8dbd764830e941d092a1cb7fa16423169acc0b04@linux.intel.com>

01org/ciao,mcastelino/ciao,kaccardi/ciao,rbradford/ciao,mcastelino/ciao,tpepper/ciao,mcastelino/ciao,ciao-project/ciao,ciao-project/ciao,tpepper/ciao,markdryan/ciao,tpepper/ciao,markdryan/ciao,kaccardi/ciao,rbradford/ciao,01org/ciao