Adds attributes for verify support

Add attributes to VNFFG resource properties

Change-Id: I04a62f56a8476c28b31db2c3dd5df744316c815f
Closes-Bug: #1664803
This commit is contained in:
Jimmy.Ye 2017-02-15 11:06:28 +08:00
parent 885a917fb5
commit 8596d643d0
1 changed files with 8 additions and 0 deletions

View File

@ -387,6 +387,14 @@ RESOURCE_ATTRIBUTE_MAP = {
'is_visible': True,
'default': None,
},
'attributes': {
'allow_post': True,
'allow_put': True,
'convert_to': attr.convert_none_to_empty_dict,
'validate': {'type:dict_or_nodata': None},
'is_visible': True,
'default': None,
},
'symmetrical': {
'allow_post': True,
'allow_put': True,