vertical feedback path for Role replies
Change-Id: I31bdb85f90901ec79147adeea0df8ceae00ed1dc
diff --git a/core/api/src/main/java/org/onlab/onos/net/device/DeviceProviderService.java b/core/api/src/main/java/org/onlab/onos/net/device/DeviceProviderService.java
index f1667db..6f71495 100644
--- a/core/api/src/main/java/org/onlab/onos/net/device/DeviceProviderService.java
+++ b/core/api/src/main/java/org/onlab/onos/net/device/DeviceProviderService.java
@@ -61,12 +61,12 @@
void portStatusChanged(DeviceId deviceId, PortDescription portDescription);
/**
- * Notifies the core about the providers inability to assert the specified
- * mastership role on the device.
+ * Notifies the core about the result of a RoleRequest sent to a device.
*
* @param deviceId identity of the device
- * @param role mastership role that was asserted but failed
+ * @param requested mastership role that was requested by the node
+ * @param replied mastership role the switch accepted
*/
- void unableToAssertRole(DeviceId deviceId, MastershipRole role);
+ void receivedRoleReply(DeviceId deviceId, MastershipRole requested, MastershipRole response);
}