Merge "Big Switch: Remove consistency hash on full sync"

This commit is contained in:
Jenkins 2014-07-16 21:59:40 +00:00 committed by Gerrit Code Review
commit fbb1d0eaa8
1 changed files with 2 additions and 0 deletions

View File

@ -421,6 +421,8 @@ class ServerPool(object):
if not self.get_topo_function:
raise cfg.Error(_('Server requires synchronization, '
'but no topology function was defined.'))
# The hash was incorrect so it needs to be removed
hash_handler.put_hash('')
data = self.get_topo_function(**self.get_topo_function_args)
active_server.rest_call('PUT', TOPOLOGY_PATH, data,
timeout=None)