On 3/14/11 11:02 AM, Ben Pfaff wrote:
> On Mon, Mar 14, 2011 at 10:56:49AM -0700, Andrew Evans wrote:
>> Sorry, I forgot to update the schema doc before sending out the patch.
>> Here is an incremental diff:
>
> Didn't we get rid of CONNECT_IN_PROGRESS in favor of CONNECTING?
> Otherwise looks good to me.
I'm sorry, I completely screwed that up. Here is the correct incremental
diff (to the last one).
---
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index e2b8458..497da5d 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -1925,20 +1925,26 @@
</dl>
<dl>
<dt><code>state</code></dt>
- <dd>The state of the connection to the manager. Possible values
+ <dd>The state of the connection to the controller. 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),
+ period), <code>CONNECTING</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>
- <dd>Seconds since connecting to (if currently connected) or
- disconnecting from (if currently disconnected) this
- controller.</dd>
+ <dt><code>sec_since_connect</code></dt>
+ <dd>The amount of time since this controller last successfully
+ connected to the switch (in seconds). Value is empty if controller
+ has never successfully connected.</dd>
+ </dl>
+ <dl>
+ <dt><code>sec_since_disconnect</code></dt>
+ <dd>The amount of time since this controller last disconnected from
+ the switch (in seconds). Value is empty if controller has never
+ disconnected.</dd>
</dl>
</column>
</group>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev