<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openvswitch.git/python, branch v1.1.0</title>
<subtitle>github.com: openvswitch/ovs.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/'/>
<entry>
<title>ovsdb: Force strong references to non-root tables to be persistent.</title>
<updated>2011-03-31T23:43:43+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2011-03-31T23:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=42a49b96013c6a149ad0bdd9799b22db59630ae7'/>
<id>42a49b96013c6a149ad0bdd9799b22db59630ae7</id>
<content type='text'>
When a strong reference to a non-root table is ephemeral, the database log
can contain inconsistencies.  In particular, if the column in question is
the only reference to a row, then the row will be created in one logged
transaction but the reference to it will not be logged (because it is
ephemeral).  Thus, any later occurrence of the row later in the log (to
modify it, to delete it, or just to reference it) will yield a transaction
error and reading the database will abort at that point.

This commit fixes the problem by forcing any column with a strong reference
to a non-root table to be persistent.

The change to ovsdb_schema_from_json() looks bigger than it really is: it
just swaps the order of two operations on the schema and updates their
comments.  Similarly for the update to ovs.db.DbSchema.__init__().

Bug #5144.
Reported-by: Sujatha Sumanth &lt;ssumanth@nicira.com&gt;
Bug #5149.
Reported-by: Ram Jothikumar &lt;rjothikumar@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a strong reference to a non-root table is ephemeral, the database log
can contain inconsistencies.  In particular, if the column in question is
the only reference to a row, then the row will be created in one logged
transaction but the reference to it will not be logged (because it is
ephemeral).  Thus, any later occurrence of the row later in the log (to
modify it, to delete it, or just to reference it) will yield a transaction
error and reading the database will abort at that point.

This commit fixes the problem by forcing any column with a strong reference
to a non-root table to be persistent.

The change to ovsdb_schema_from_json() looks bigger than it really is: it
just swaps the order of two operations on the schema and updates their
comments.  Similarly for the update to ovs.db.DbSchema.__init__().

Bug #5144.
Reported-by: Sujatha Sumanth &lt;ssumanth@nicira.com&gt;
Bug #5149.
Reported-by: Ram Jothikumar &lt;rjothikumar@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: Avoid redundant code in already_running().</title>
<updated>2011-03-29T17:09:47+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2011-03-29T16:44:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=18e124a20b366ee96e73600624a1a4000c816604'/>
<id>18e124a20b366ee96e73600624a1a4000c816604</id>
<content type='text'>
This function substantially duplicated read_pidfile(), so reuse that
code instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function substantially duplicated read_pidfile(), so reuse that
code instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: Write "already running" message to log also.</title>
<updated>2011-03-29T17:09:23+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2011-03-29T17:09:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=2159de839136af40641738284c7eabde1b0fc72b'/>
<id>2159de839136af40641738284c7eabde1b0fc72b</id>
<content type='text'>
Otherwise it's hard to diagnose later if the daemon failed to start because
it thinks that it is already running.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise it's hard to diagnose later if the daemon failed to start because
it thinks that it is already running.
</pre>
</div>
</content>
</entry>
<entry>
<title>reconnect.py: Fix Python 2.4 compatibility break.</title>
<updated>2011-03-15T21:42:49+00:00</updated>
<author>
<name>Andrew Evans</name>
<email>aevans@nicira.com</email>
</author>
<published>2011-03-15T21:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=34d84bb951caa50831f0a2f553b41d9da8ceb128'/>
<id>34d84bb951caa50831f0a2f553b41d9da8ceb128</id>
<content type='text'>
Commit 5eda645e36 (ovsdb-server: Report time since last connect and disconnect
for each manager.) used a conditional expression in reconnect.py. That syntax
is only supported in Python 2.5 and later. XenServer 5.6 is based on RHEL 5,
which uses Python 2.4.3, so various OVS scripts on XenServer fail with Python
tracebacks.

Reported-by: Cedric Hobbs &lt;cedric@nicira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 5eda645e36 (ovsdb-server: Report time since last connect and disconnect
for each manager.) used a conditional expression in reconnect.py. That syntax
is only supported in Python 2.5 and later. XenServer 5.6 is based on RHEL 5,
which uses Python 2.4.3, so various OVS scripts on XenServer fail with Python
tracebacks.

Reported-by: Cedric Hobbs &lt;cedric@nicira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ovsdb-server: Report time since last connect and disconnect for each manager.</title>
<updated>2011-03-14T20:10:02+00:00</updated>
<author>
<name>Andrew Evans</name>
<email>aevans@nicira.com</email>
</author>
<published>2011-03-14T20:10:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=5eda645e36a9b5dd72c275b7e400dfefcba281d3'/>
<id>5eda645e36a9b5dd72c275b7e400dfefcba281d3</id>
<content type='text'>
Only the time connected (if connected) or disconnected (if disconnected) is
currently reported for each manager. Change to reporting both in seconds since
the last connect and disconnect events respectively. An empty value indicates
no previous connection or disconnection.

This can help diagnose certain connectivity problems, e.g. flapping.

Requested-by: Peter Balland &lt;peter@nicira.com&gt;
Bug #4833.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only the time connected (if connected) or disconnected (if disconnected) is
currently reported for each manager. Change to reporting both in seconds since
the last connect and disconnect events respectively. An empty value indicates
no previous connection or disconnection.

This can help diagnose certain connectivity problems, e.g. flapping.

Requested-by: Peter Balland &lt;peter@nicira.com&gt;
Bug #4833.
</pre>
</div>
</content>
</entry>
<entry>
<title>ovsdb: Implement garbage collection.</title>
<updated>2011-03-10T19:24:00+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2011-03-10T19:15:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=c5f341ab193b9126dffef8c77bf8ed35e91290fd'/>
<id>c5f341ab193b9126dffef8c77bf8ed35e91290fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ovsdb-idlc: Initialize refType in IDL reference columns' types.</title>
<updated>2011-03-10T19:23:58+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2011-02-28T20:36:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=acb4f876b8cdf37191355724da8f4aca64c9bfae'/>
<id>acb4f876b8cdf37191355724da8f4aca64c9bfae</id>
<content type='text'>
Otherwise the refType always appears to be 0 (OVSDB_REF_STRONG).

Nothing in the code that uses these structures actually uses the refType
yet, so this does not fix any existing bug, but upcoming commits will add
users.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the refType always appears to be 0 (OVSDB_REF_STRONG).

Nothing in the code that uses these structures actually uses the refType
yet, so this does not fix any existing bug, but upcoming commits will add
users.
</pre>
</div>
</content>
</entry>
<entry>
<title>python/ovs/ovsuuid: Fix behavior of UUID.from_json() with no symbol table.</title>
<updated>2011-03-10T19:23:58+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@nicira.com</email>
</author>
<published>2011-02-28T23:33:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=fdba672899fe192cb8c646d5b6d6d9260f42904d'/>
<id>fdba672899fe192cb8c646d5b6d6d9260f42904d</id>
<content type='text'>
UUID.from_json(['named-uuid', 'x'], None) should raise an error about
invalid syntax, but instead it was raising a TypeError because it would
try to evaluate "'x' not in None".  This fixes the problem and adds a test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
UUID.from_json(['named-uuid', 'x'], None) should raise an error about
invalid syntax, but instead it was raising a TypeError because it would
try to evaluate "'x' not in None".  This fixes the problem and adds a test.
</pre>
</div>
</content>
</entry>
<entry>
<title>reconnect: Rename CONNECT_IN_PROGRESS state to CONNECTING (like rconn).</title>
<updated>2011-03-10T19:12:20+00:00</updated>
<author>
<name>Andrew Evans</name>
<email>aevans@nicira.com</email>
</author>
<published>2011-03-09T18:42:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=c36cf65edac28ccd7d2681521a651c35c8b2453e'/>
<id>c36cf65edac28ccd7d2681521a651c35c8b2453e</id>
<content type='text'>
reconnect uses the same connection state names as rconn with the exception of
the above. This commit makes their states identical, which should reduce
confusion for people debugging connection problems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
reconnect uses the same connection state names as rconn with the exception of
the above. This commit makes their states identical, which should reduce
confusion for people debugging connection problems.
</pre>
</div>
</content>
</entry>
<entry>
<title>reconnect: Track last-disconnected time.</title>
<updated>2011-03-10T02:40:03+00:00</updated>
<author>
<name>Andrew Evans</name>
<email>aevans@nicira.com</email>
</author>
<published>2011-03-10T02:36:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=eba18f0044cbe3654b4c796bbe7c056ca1793c70'/>
<id>eba18f0044cbe3654b4c796bbe7c056ca1793c70</id>
<content type='text'>
Commit a4613b01ab (ovsdb: Change the way connection duration time is reported
in Manager table.), pushed earlier today, requires this commit, so OVSDB has
been unbuildable from then to now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit a4613b01ab (ovsdb: Change the way connection duration time is reported
in Manager table.), pushed earlier today, requires this commit, so OVSDB has
been unbuildable from then to now.
</pre>
</div>
</content>
</entry>
</feed>
