Change-Id: Ia9afdf59aa1934f310528f76934b2d4c365ccb06
Issue-Id: VFC-550
Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
+ "ResourceChange" : {\r
+ "type": "object",\r
+ "properties": {\r
+ "type": {\r
+ "type": "string",\r
+ "description": " The value should be VDU,VL,CP,Strorage."\r
+ },\r
+ "resourceDefinitionId": {\r
+ "type": "string"\r
+ },\r
+ "vdu": {\r
+ "type": "string"\r
+ }\r
+ }\r
+ },\r
"GrantVNFRequest": {\r
"type": "object",\r
"properties": {\r
"GrantVNFRequest": {\r
"type": "object",\r
"properties": {\r
"type": "string"\r
},\r
"addResource": {\r
"type": "string"\r
},\r
"addResource": {\r
- "type": "object",\r
- "properties": {\r
- "type": {\r
- "type": "string",\r
- "description": " The value should be VDU,VL,CP,Strorage."\r
- },\r
- "resourceDefinitionId": {\r
- "type": "string"\r
- },\r
- "vdu": {\r
- "type": "string"\r
- }\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/ResourceChange"\r
}\r
},\r
"removeResource": {\r
}\r
},\r
"removeResource": {\r
- "type": "object",\r
- "properties": {\r
- "type": {\r
- "type": "string",\r
- "description": " The value should be VDU,VL,CP,Strorage."\r
- },\r
- "resourceDefinitionId": {\r
- "type": "string"\r
- },\r
- "vdu": {\r
- "type": "string"\r
- }\r
+ "type": "array",\r
+ "items": {\r
+ "$ref": "#/definitions/ResourceChange"\r
}\r
},\r
"additionalParam": {\r
}\r
},\r
"additionalParam": {\r
-}
\ No newline at end of file