Merge "objects: forbid updates for project_id field for subnets"

This commit is contained in:
Jenkins 2016-08-03 20:13:07 +00:00 committed by Gerrit Code Review
commit 2a75049c50
1 changed files with 2 additions and 0 deletions

View File

@ -174,6 +174,8 @@ class Subnet(base.NeutronDbObject):
foreign_keys = {'network_id': 'id'}
fields_no_update = ['project_id']
fields_need_translation = {
'project_id': 'tenant_id',
'host_routes': 'routes'