blob: a73b90f41aea1931b223cf35354bf0607e4516cb [file] [log] [blame]
Jonathan Hart627f10c2013-01-16 14:20:03 -08001package net.floodlightcontroller.core.internal;
2
3import java.util.Set;
4
HIGUCHI Yutaed49ef72013-06-12 11:34:10 -07005import net.onrc.onos.ofcontroller.core.internal.SwitchStorageImpl;
6
Jonathan Hart627f10c2013-01-16 14:20:03 -08007import com.thinkaurelius.titan.core.TitanGraph;
8import com.tinkerpop.blueprints.Vertex;
9import com.tinkerpop.blueprints.TransactionalGraph.Conclusion;
10
11/**
12 * Seam that allows me to set up a testable instance of SwitchStorageImpl that
13 * writes to a file database rather than a Cassandra cluster.
14 * It seems the init() API on SwitchStorageImpl might change so I won't rely
15 * on it yet.
16 *
17 * @author jono
18 *
19 */
20
21public class TestableSwitchStorageImpl extends SwitchStorageImpl {
22
Pankaj Berde15193092013-03-21 17:30:14 -070023 public TestableSwitchStorageImpl(){
Jonathan Hart627f10c2013-01-16 14:20:03 -080024 }
25
26 @Override
27 public void init(String conf){
Pankaj Berde15193092013-03-21 17:30:14 -070028
29 super.init(conf);
Jonathan Hart627f10c2013-01-16 14:20:03 -080030
31 }
32}