Merge "deal with parent_id not in target."

This commit is contained in:
Jenkins 2012-08-14 08:25:04 +00:00 committed by Gerrit Code Review
commit 99021f44ff
1 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'name': {'allow_post': True, 'allow_put': True, 'default': '',
'is_visible': True},
'network_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
'validate': {'type:regex': UUID_PATTERN},
'is_visible': True},
'admin_state_up': {'allow_post': True, 'allow_put': True,
@ -228,6 +229,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'validate': {'type:values': [4, 6]},
'is_visible': True},
'network_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
'validate': {'type:regex': UUID_PATTERN},
'is_visible': True},
'cidr': {'allow_post': True, 'allow_put': False,