commit | 3ef2b0db6c510e2e0612b450f48024b2de607e37 | [log] [tgz] |
---|---|---|
author | Ayaka Koshibe <ayaka@onlab.us> | Fri Oct 31 13:58:27 2014 -0700 |
committer | Ayaka Koshibe <ayaka@onlab.us> | Fri Oct 31 14:02:54 2014 -0700 |
tree | 9c506737ed1c09b02c3592ad8a09bfc6754b5464 | |
parent | 211f4e562cf5c3d4939c80d9480a3fd55cb9f1de [diff] [blame] |
vertical feedback path for Role replies Change-Id: I31bdb85f90901ec79147adeea0df8ceae00ed1dc
diff --git a/openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowSwitch.java b/openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowSwitch.java index 17f168f..77eb437 100644 --- a/openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowSwitch.java +++ b/openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowSwitch.java
@@ -121,11 +121,12 @@ public void disconnectSwitch(); /** - * Notifies the controller that role assertion has failed. + * Notifies the controller that the device has responded to a set-role request. * - * @param role the failed role + * @param requested the role requested by the controller + * @param response the role set at the device */ - public void returnRoleAssertFailure(RoleState role); + public void returnRoleReply(RoleState requested, RoleState reponse); /** * Indicates if this switch is optical.