]> 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)
committerAbhishek Raut <abhraut@cisco.com>
Fri, 17 Oct 2014 05:58:36 +0000 (22:58 -0700)
commitc97069dc9a73344ebdc7b686133269850a81b3b2
treeda566dd7d7502cce2eded9eec73d1963ac5dd5eb
parentdd238d0aac25ffec2734c75a7f893040ec42eb7b
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
neutron/plugins/cisco/db/n1kv_db_v2.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py