use of com.yahoo.vespa.hosted.controller.api.integration.noderepository.NodeMembership in project vespa by vespa-engine.
the class NodeRepositoryClientMock method createNodeB.
private static NodeRepositoryNode createNodeB() {
NodeRepositoryNode node = new NodeRepositoryNode();
node.setHostname("hostB");
node.setCost(20);
node.setFlavor("C-2C/24/500");
NodeMembership membership = new NodeMembership();
membership.clusterid = "clusterB";
membership.clustertype = "content";
node.setMembership(membership);
return node;
}
use of com.yahoo.vespa.hosted.controller.api.integration.noderepository.NodeMembership in project vespa by vespa-engine.
the class NodeRepositoryClientMock method createNodeA.
private static NodeRepositoryNode createNodeA() {
NodeRepositoryNode node = new NodeRepositoryNode();
node.setHostname("hostA");
node.setCost(10);
node.setFlavor("C-2B/24/500");
NodeMembership membership = new NodeMembership();
membership.clusterid = "clusterA";
membership.clustertype = "container";
node.setMembership(membership);
return node;
}
Aggregations