Search in sources :

Example 1 with GenericNode

use of com.ms.silverking.cloud.topology.GenericNode in project SilverKing by Morgan-Stanley.

the class TopologyRingCreator method dummySetNodes.

private static Set<Node> dummySetNodes(Set<String> nodeIDs) {
    Set<Node> dummyNodes;
    dummyNodes = new HashSet<>();
    for (String nodeID : nodeIDs) {
        dummyNodes.add(new GenericNode(NodeClass.server, nodeID));
    }
    return dummyNodes;
}
Also used : Node(com.ms.silverking.cloud.topology.Node) GenericNode(com.ms.silverking.cloud.topology.GenericNode) GenericNode(com.ms.silverking.cloud.topology.GenericNode)

Example 2 with GenericNode

use of com.ms.silverking.cloud.topology.GenericNode in project SilverKing by Morgan-Stanley.

the class RingTreeBuilder method dummySetNodes.

private static Set<Node> dummySetNodes(Set<String> nodeIDs) {
    Set<Node> dummyNodes;
    dummyNodes = new HashSet<>();
    for (String nodeID : nodeIDs) {
        dummyNodes.add(new GenericNode(NodeClass.server, nodeID));
    }
    return dummyNodes;
}
Also used : Node(com.ms.silverking.cloud.topology.Node) GenericNode(com.ms.silverking.cloud.topology.GenericNode) GenericNode(com.ms.silverking.cloud.topology.GenericNode)

Aggregations

GenericNode (com.ms.silverking.cloud.topology.GenericNode)2 Node (com.ms.silverking.cloud.topology.Node)2