[ovs-dev] [PATCH] ofproto: Store time since last connect and disconnect in Controller table.

Andrew Evans aevans at nicira.com
Mon Mar 14 17:56:49 UTC 2011


Sorry, I forgot to update the schema doc before sending out the patch.
Here is an incremental diff:
---
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 89354da..e2b8458 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -1925,10 +1925,14 @@
         </dl>
         <dl>
           <dt><code>state</code></dt>
-          <dd>The state of the connection to the controller.  Possible
values
-            are: <code>VOID</code>, <code>BACKOFF</code>,
-            <code>CONNECTING</code>, <code>ACTIVE</code>, and
-            <code>IDLE</code>.</dd>
+          <dd>The state of the connection to the manager.  Possible values
+            are: <code>VOID</code> (connection is disabled),
+            <code>BACKOFF</code> (attempting to reconnect at an increasing
+            period), <code>CONNECT_IN_PROGRESS</code> (attempting to
connect),
+            <code>ACTIVE</code> (connected, remote host responsive), and
+            <code>IDLE</code> (remote host unresponsive,
disconnecting).  These
+            values may change in the future.  They are provided only
for human
+            consumption.</dd>
         </dl>
         <dl>
           <dt><code>time_in_state</code></dt>



More information about the dev mailing list