aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/openflow/api/src/main/java/org/onosproject/openflow/controller/OpenFlowSwitch.java
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/openflow/api/src/main/java/org/onosproject/openflow/controller/OpenFlowSwitch.java')
-rw-r--r--framework/src/onos/openflow/api/src/main/java/org/onosproject/openflow/controller/OpenFlowSwitch.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/src/onos/openflow/api/src/main/java/org/onosproject/openflow/controller/OpenFlowSwitch.java b/framework/src/onos/openflow/api/src/main/java/org/onosproject/openflow/controller/OpenFlowSwitch.java
index 1b6810be..51a2ce42 100644
--- a/framework/src/onos/openflow/api/src/main/java/org/onosproject/openflow/controller/OpenFlowSwitch.java
+++ b/framework/src/onos/openflow/api/src/main/java/org/onosproject/openflow/controller/OpenFlowSwitch.java
@@ -30,6 +30,14 @@ public interface OpenFlowSwitch {
/**
* Writes the message to the driver.
*
+ * Note:
+ * Calling {@link #sendMsg(OFMessage)} does NOT guarantee the messages to be
+ * transmitted on the wire in order, especially during role transition.
+ * The messages may be reordered at the switch side.
+ *
+ * Calling {@link #sendMsg(List)} guarantee the messages inside the list
+ * to be transmitted on the wire in order.
+ *
* @param msg the message to write
*/
void sendMsg(OFMessage msg);