Using HostId instead of MacAddress when requesting timestamps from HostClockService
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/host/impl/HostClockManager.java b/core/store/dist/src/main/java/org/onlab/onos/store/host/impl/HostClockManager.java
index 49eeb06..176f05d 100644
--- a/core/store/dist/src/main/java/org/onlab/onos/store/host/impl/HostClockManager.java
+++ b/core/store/dist/src/main/java/org/onlab/onos/store/host/impl/HostClockManager.java
@@ -6,10 +6,10 @@
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Deactivate;
import org.apache.felix.scr.annotations.Service;
+import org.onlab.onos.net.HostId;
import org.onlab.onos.net.host.HostClockService;
import org.onlab.onos.store.Timestamp;
import org.onlab.onos.store.impl.WallClockTimestamp;
-import org.onlab.packet.MacAddress;
import org.slf4j.Logger;
/**
@@ -32,7 +32,7 @@
}
@Override
- public Timestamp getTimestamp(MacAddress hostMac) {
+ public Timestamp getTimestamp(HostId hostId) {
return new WallClockTimestamp();
}
}