]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix failure in multi-chunk state sync for nicira plugin
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 12 Sep 2013 22:23:46 +0000 (15:23 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Fri, 13 Sep 2013 14:51:37 +0000 (07:51 -0700)
commitde1db2023597dd3555da33bd86582627c85d4856
tree4877d2dad2b2cb3b100ea29c2edbeed04ae02681
parente541ca285d5a0f484c886fb28514b84580c3dc02
Fix failure in multi-chunk state sync for nicira plugin

Bug 1224719

This patch ensures the 'result_count' attribute from NVP API responses
is properly handled, and adds support for '_page_cursor' request query
parameter in the fake nvp api client in order to ensure issues like this
are captured by unit tests.

Change-Id: I1d6179bd58a14d19729fc882f004b6d1afccbe3d
neutron/plugins/nicira/common/sync.py
neutron/tests/unit/nicira/fake_nvpapiclient.py