"$ref": "#/definitions/GrantVNFResponse"\r
}\r
},\r
+ "404": {\r
+ "description": "URL not found"\r
+ },\r
"500": {\r
"description": "the url is invalid"\r
}\r
"202": {\r
"description": ""\r
},\r
+ "404": {\r
+ "description": "URL not found"\r
+ },\r
"500": {\r
"description": "the url is invalid"\r
}\r
"$ref": "#/definitions/VnfmInfo"\r
}\r
},\r
+ "404": {\r
+ "description": "URL not found"\r
+ },\r
"500": {\r
"description": "internal error"\r
}\r
"$ref": "#/definitions/VimInfo"\r
}\r
},\r
+ "404": {\r
+ "description": "URL not found"\r
+ },\r
"500": {\r
"description": "internal error"\r
}\r
}\r
}\r
- }, \r
+ }\r
},\r
"definitions": {\r
"jobResponseInfo": {\r
}\r
}\r
},\r
+ "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
"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
- "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
}\r
-}
\ No newline at end of file
+}\r