'is_visible': True},
'tenant_id': {'allow_post': True,
'allow_put': False,
- 'validate': {'type:string': None},
+ 'validate': {'type:string': TENANT_ID_MAX_LEN},
'required_by_policy': True,
'is_visible': True},
'prefixes': {'allow_post': True,
'is_visible': True, 'default': ''},
'tenant_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
+ 'validate': {'type:string': attr.TENANT_ID_MAX_LEN},
'is_visible': True},
'shared': {'allow_post': True, 'allow_put': False,
'is_visible': True, 'default': False,
'validate': {'type:subnet': None}},
'tenant_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
+ 'validate': {'type:string': attr.TENANT_ID_MAX_LEN},
'is_visible': True}
}
}
'is_visible': True, 'default': ''},
'tenant_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
+ 'validate': {'type:string': attr.TENANT_ID_MAX_LEN},
'is_visible': True},
'security_group_rules': {'allow_post': False, 'allow_put': False,
'is_visible': True},
'convert_to': convert_ip_prefix_to_cidr},
'tenant_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
+ 'validate': {'type:string': attr.TENANT_ID_MAX_LEN},
'is_visible': True},
}
}