]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Cisco N1kv: Fix update network profile for add tenants
authorAbhishek Raut <abhraut@cisco.com>
Wed, 8 Oct 2014 00:06:10 +0000 (17:06 -0700)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 22 Oct 2014 11:20:29 +0000 (11:20 +0000)
commit560f8f8d40978d50c05d54ceb987d3cb26fb14dc
treeb693a7d95f8a502eca075ad3dd6e19aff9ff4a54
parent830142e6923ff5fa8303afc22b0b61c39a374fe8
Cisco N1kv: Fix update network profile for add tenants

This patch makes sure that while updating network profile to add new
tenants, it does not delete the older profile bindings and maintains
them, while adds only the new tenant ids to the bindings.

Change-Id: I862eb1c400e022334a2f6a4078425448bb144843
Closes-bug: #1379609
(cherry picked from commit c97069dc9a73344ebdc7b686133269850a81b3b2)
neutron/plugins/cisco/db/n1kv_db_v2.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py