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:35:54 +0000 (20:35 -0700)
commit91a9863c4512d2e03378f4ea21c1662e503d2899
treef4a94891ed646018419c97c2fbb86617f80b9cd8
parent26ce77057c0fb9255d6023330ebe8c6694c16b7d
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