Added outline of the path taken through the NetworkGraph by an event generated from the discovery modules
Change-Id: Id875f54f522e3a9135e1a7e9a989167ca532a7a5
diff --git a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraphModule.java b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraphModule.java
index 0824f63..7315f1c 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraphModule.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/networkgraph/NetworkGraphModule.java
@@ -19,7 +19,7 @@
// private RCNetworkGraphPublisher eventListener;
private NetworkGraphImpl networkGraph;
- private NetworkGraphDatastore southboundNetworkGraph;
+ //private NetworkGraphDatastore southboundNetworkGraph;
private IRestApiService restApi;
@@ -54,7 +54,7 @@
restApi = context.getServiceImpl(IRestApiService.class);
networkGraph = new NetworkGraphImpl();
- southboundNetworkGraph = new NetworkGraphDatastore(networkGraph);
+ //southboundNetworkGraph = new NetworkGraphDatastore(networkGraph);
}
@Override
@@ -68,8 +68,8 @@
}
@Override
- public NetworkGraphDatastore getSouthboundNetworkGraph() {
- return southboundNetworkGraph;
+ public NetworkGraphDiscoveryInterface getNetworkGraphDiscoveryInterface() {
+ return networkGraph;
}
}