use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.graph.topology.GraphBuilder in project bgpcep by opendaylight.
the class ConnectedGraphServer method createConnectedGraph.
@Override
public ConnectedGraph createConnectedGraph(final String name, final DomainScope scope) {
Graph graph = new GraphBuilder().setName(name).setDomainScope(scope).build();
addToDataStore(getGraphInstanceIdentifier(name), graph, "Graph(" + name + ")");
ConnectedGraphImpl cgraph = new ConnectedGraphImpl(graph, this);
graphs.put(graph.key(), cgraph);
return cgraph;
}
Aggregations