Fix the error of create VNF with very big name
Create VNF with very big name, instead of giving proper message.
It is giving the internal server error. But the server should
return the length of name exceeds maximum length of 255.
Closes-Bug:
@@ -276,7 +276,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'name': {
'allow_post': True,
'allow_put': True,
- 'validate': {'type:string': None},
+ 'validate': {'type:string': 255},
'is_visible': True,
},
'description': {
