Renamed obsoleted class NetworkGraphPublisher to OldNetworkGraphPublisher.
It will be kept around for a bit more, for cross-reference purpose.
Change-Id: Ie970e2739f62642d651b8ec5fa190566d854901a
diff --git a/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/NetworkGraphPublisher.java b/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/OldNetworkGraphPublisher.java
similarity index 98%
rename from src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/NetworkGraphPublisher.java
rename to src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/OldNetworkGraphPublisher.java
index 533e05a..f664dfd 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/NetworkGraphPublisher.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/OldNetworkGraphPublisher.java
@@ -39,13 +39,13 @@
import com.google.common.net.InetAddresses;
-public class NetworkGraphPublisher implements IDeviceListener,
+public class OldNetworkGraphPublisher implements IDeviceListener,
IOFSwitchListener,
IOFSwitchPortListener,
ILinkDiscoveryListener,
IFloodlightModule {
- protected final static Logger log = LoggerFactory.getLogger(NetworkGraphPublisher.class);
+ protected final static Logger log = LoggerFactory.getLogger(OldNetworkGraphPublisher.class);
//protected IDeviceService deviceService;
protected IControllerRegistryService registryService;
// protected DBOperation op;
@@ -387,7 +387,7 @@
@Override
public String getName() {
- return "NetworkGraphPublisher";
+ return "OldNetworkGraphPublisher";
}
@Override
@@ -463,7 +463,7 @@
registryService = context.getServiceImpl(IControllerRegistryService.class);
datagridService = context.getServiceImpl(IDatagridService.class);
- log.debug("Initializing NetworkGraphPublisher module with {}", conf);
+ log.debug("Initializing OldNetworkGraphPublisher module with {}", conf);
}
diff --git a/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/RCNetworkGraphPublisher.java b/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/RCNetworkGraphPublisher.java
index f8bbf22..e0b7c19 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/RCNetworkGraphPublisher.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/floodlightlistener/RCNetworkGraphPublisher.java
@@ -35,7 +35,7 @@
import org.slf4j.LoggerFactory;
/*
- * I've created a copy of the NetworkGraphPublisher so I can integrate
+ * I've created a copy of the old NetworkGraphPublisher so I can integrate
* the new API with ONOS while still having the old NetworkGraphPublisher
* to reference. I've renamed to RCNetworkGraphPublisher.
* TODO Remove old NetworkGraphPublisher once the integration of the new