private List<EdgeRef> createChennaiToDehli() { Vertex sourceVertex = new AbstractVertex("nodes", "14", "CHENNAI"); Vertex targetVertex = new AbstractVertex("nodes", "10", "DEHLI"); EdgeRef edge = new AbstractEdge( EnhancedLinkdTopologyProvider.OSPF_EDGE_NAMESPACE, "7|8", sourceVertex, targetVertex); return Arrays.asList(edge); }
private List<EdgeRef> createEdges() { Vertex sourceVertex = new AbstractVertex("nodes", "1", "source"); Vertex targetVertex = new AbstractVertex("nodes", "2", "target"); EdgeRef edge = new AbstractEdge( EnhancedLinkdTopologyProvider.OSPF_EDGE_NAMESPACE, "1|2", sourceVertex, targetVertex); return Arrays.asList(edge); }