throw new ContextBrokerException(
"these arbitrary identities are not supported at the moment," +
"you may only use 1 or 2 NICs");
}
Cloudcluster_Type cluster = ctxDocAndID.getCluster();
// checks that there is nothing illegal and that one and only
// one section will be marked active
int totalNodes = this.clusterSanityAndCount(cluster);
logger.debug("total nodes: " + totalNodes);
final Cloudworkspace_Type[] vms = cluster.getWorkspace();
Contextualization_Type ctxDoc = null;
for (Cloudworkspace_Type vm : vms) {
if (Boolean.TRUE.equals(vm.getActive())) {
ctxDoc = vm.getCtx(); // clusterSanityAndCount guarantees one and only one
break;