blob: 1fb4899424dbe7d2823b94491e2d1668d1d050d4 [file] [log] [blame]
package org.onlab.onos.net.device;
import org.onlab.onos.mastership.MastershipTerm;
import org.onlab.onos.net.DeviceId;
/**
* Interface for feeding term information to a logical clock service
* that vends per device timestamps.
*/
public interface DeviceClockProviderService {
/**
* Updates the mastership term for the specified deviceId.
*
* @param deviceId device identifier.
* @param term mastership term.
*/
public void setMastershipTerm(DeviceId deviceId, MastershipTerm term);
}