ovs-xapi-sync: Retry getting bridge-ids in case xapi is not ready.
authorGurucharan Shetty <shettyg@nicira.com>
Fri, 14 Jun 2013 18:23:25 +0000 (11:23 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Sat, 15 Jun 2013 03:40:01 +0000 (20:40 -0700)
commitee389ff70254f7fb1531ee7b4e9434da76c0eefa
tree24c7814fd28b61a9c7a88887b7631b862dacf9f9
parent4371f019da9af2304b5e047adf2cdf2bc7c2261b
ovs-xapi-sync: Retry getting bridge-ids in case xapi is not ready.

When there are multiple xs-network-uuids set for a bridge,
we query xapi to get the record that does not have a VLAN
associated with it. For cases when xapi does not respond,
retry again after a second.

During the times when xapi does not respond, set the value
as external_ids:bridge_id "".

Bug #17877.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync