]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Big Switch: Don't clear hash before sync
authorKevin Benton <blak111@gmail.com>
Tue, 7 Oct 2014 11:34:41 +0000 (04:34 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Sat, 18 Oct 2014 00:09:33 +0000 (00:09 +0000)
commit11f480ea272ad41da542e55e0d35bd84c48d64eb
tree16e05b3dbdc5251967fc222d424c21b3388ac1b7
parent7ccb76a00c9bd3896b84ea67076f27a0892861c3
Big Switch: Don't clear hash before sync

This patch removes the step of clearing the consistency
hash from the DB before a topology sync. This will ensure
that inconsistency will be detected if the topology sync
fails.

This logic was originally there to make sure the hash header
was not present on the topology sync call to the backend.
However, the hash header is ignored by the backend in a sync
call so it wasn't necessary.

Closes-Bug: #1379510
Change-Id: I2d58fa2aea3b692834d64192d06ace727c7df8a0
(cherry picked from commit 24e4110eb284078775496501ff81630eb1619c11)
neutron/plugins/bigswitch/servermanager.py