]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Run only one instance of Nuage sync cycle at a time
authorSayaji <sayaji15@gmail.com>
Mon, 1 Dec 2014 23:25:57 +0000 (15:25 -0800)
committerSayaji <sayaji15@gmail.com>
Fri, 9 Jan 2015 21:21:38 +0000 (13:21 -0800)
commit674d62a581da5164f6d5d2fe0d9b82a074f229eb
tree59eabfed853af266dde011b62b22b7a1d8d98085
parent46a34469b24f4cad4e609980df5fa5cc5c4ca981
Run only one instance of Nuage sync cycle at a time

Sync can run as part of Neutron and as a standalone tool.
So when sync is triggered through Neutron, someone can
trigger another sync cycle using the standalone tool.
Similarly when sync is triggered by standalone tool, Neutron
can trigger another sync cycle. This can lead to unexpected
sync behaviour .This fix will allow only one sync cycle at a
time and the other cycle will be blocked till the first one is
complete.

Change-Id: I9ffd07bea38d806f92edc160480b5896d3393202
Closes-Bug:1398190
neutron/plugins/nuage/syncmanager.py