]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
_validate_network_tenant_ownership must be less strict
authorAvishay Balderman <avishayb@radware.com>
Wed, 11 Sep 2013 11:46:56 +0000 (13:46 +0200)
committerAvishay Balderman <avishayb@radware.com>
Mon, 16 Sep 2013 10:55:48 +0000 (12:55 +0200)
commit44fd0f74e5b19593e9d37eaec1f87134003b10f4
tree5aad39b907a19fd5bdc4a60dd4e8cf1b153b5adf
parent495bdeb580353d467093fef4fe7f15a15d210726
_validate_network_tenant_ownership must be less strict

Neutron, currently does a strict validation code
so that for non-shared network the subnets and
ports must belong to the same tenant as the network. In
the case of a "service VM" created by
admin user, this function should return thus allowing
admin users to create ports and networks in a tenant
network.

Change-Id: Ied831402d56b98a1323d30eb6a769fd2df5278ee
Closes-Bug: #1221315
neutron/api/v2/base.py
neutron/tests/unit/test_db_plugin.py