String net = "*";
boolean vacant = true;
Gson gson = new Gson();
List<VmmNode> nodes = new ArrayList<VmmNode>(4);
nodes.add(new VmmNode("fakehost1", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost2", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost3", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost4", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost5", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost6", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost7", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost8", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost9", active, nodePool, nodeMemory, net, vacant));
nodes.add(new VmmNode("fakehost10", active, nodePool, nodeMemory, net, vacant));
final String nodesJson = gson.toJson(nodes);
RemoteNodeManagement rnm = this.locator.getNodeManagement();
rnm.addNodes(nodesJson);
}