ovs-xapi-sync: Make bridge-id caching logic easier to understand.
authorBen Pfaff <blp@nicira.com>
Wed, 19 Jun 2013 17:49:36 +0000 (10:49 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 19 Jun 2013 17:49:36 +0000 (10:49 -0700)
commitf04f9af065c44d5a582b65097813dd70c5adbb56
treec8a90d3555526a2e4a554bb68b5b960dc6a52053
parent427863a5b34e393e1d7c4d0f09fd3e3c6e2d3756
ovs-xapi-sync: Make bridge-id caching logic easier to understand.

The previous code had many subtleties that were easy to miss.  This code
is intended to be more obviously correct.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Tested-by: Gurucharan Shetty <shettyg@nicira.com>
xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync