commit | 37d5dbf8b6088a77f9a2ee9ae8ae4b2fdc5a9883 | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@onlab.us> | Mon Apr 18 15:15:48 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed May 04 17:21:32 2016 +0000 |
tree | bc6ae59f773b3ea6095b05149ea165893476d2ee | |
parent | 6ac20982075c4cec74ddffc5f0e99ad2b8e6d4cf [diff] |
ONOS-4118 Added synchronization and resiliency to Bmv2ThriftClient Due to the multi-threaded nature of drivers, calls to a Bmv2ThriftClient could result in a race condition if not properly synchronized. Also, once open, transport session might close due to several reasons. Now the client calls are synchronized and automatically wrapped in a try/catch that tries to re-open the session for fixed number of times before giving up. Change-Id: I5dcdd5a6304406dc6d9d3a0ccf7f16cdbf3b9573
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.