rename topology related objects: Device -> Host
- KVDevice to be renamed later.
- Use fully qualified name for topology's Host. (HostManager.java)
Change-Id: I1538f96d7ca93ca2197d23e5a69b85d284611412
diff --git a/src/main/java/net/onrc/onos/core/topology/TopologyEvents.java b/src/main/java/net/onrc/onos/core/topology/TopologyEvents.java
index e553836..1900132 100644
--- a/src/main/java/net/onrc/onos/core/topology/TopologyEvents.java
+++ b/src/main/java/net/onrc/onos/core/topology/TopologyEvents.java
@@ -37,8 +37,8 @@
private final Collection<PortEvent> removedPortEvents;
private final Collection<LinkEvent> addedLinkEvents;
private final Collection<LinkEvent> removedLinkEvents;
- private final Collection<DeviceEvent> addedHostEvents;
- private final Collection<DeviceEvent> removedHostEvents;
+ private final Collection<HostEvent> addedHostEvents;
+ private final Collection<HostEvent> removedHostEvents;
/**
* Constructor.
@@ -61,8 +61,8 @@
Collection<PortEvent> removedPortEvents,
Collection<LinkEvent> addedLinkEvents,
Collection<LinkEvent> removedLinkEvents,
- Collection<DeviceEvent> addedHostEvents,
- Collection<DeviceEvent> removedHostEvents) {
+ Collection<HostEvent> addedHostEvents,
+ Collection<HostEvent> removedHostEvents) {
// CHECKSTYLE:ON
this.timestamp = timestamp;
this.addedSwitchEvents =
@@ -151,7 +151,7 @@
*
* @return the collection of added Host Events.
*/
- public Collection<DeviceEvent> getAddedHostEvents() {
+ public Collection<HostEvent> getAddedHostEvents() {
return addedHostEvents;
}
@@ -160,7 +160,7 @@
*
* @return the collection of removed Host Events.
*/
- public Collection<DeviceEvent> getRemovedHostEvents() {
+ public Collection<HostEvent> getRemovedHostEvents() {
return removedHostEvents;
}
}