5 "title": "ONAP SO VNFM Adapter API v2",
6 "description": "Describes the API between SO and the adapter for VNFM",
8 "name": "ONAP SO VNFM",
9 "email": "onap-discuss@lists.onap.org",
10 "url": "https://gerrit.onap.org/r/#/admin/projects/vfc/nfvo/lcm"
13 "basePath": "/api/v1",
30 "summary": "Test VNFM driver health",
31 "description": "Test VNFM driver health",
34 "description": "VNFM adapter is healthy"
39 "/so/v2/vnfs/{vnfIdInAai}/rollback": {
44 "summary": "Rollback VNF update operation",
45 "description": "Rollback VNF update operation",
46 "operationId": "rollback",
54 "description": "The identifier of the VNF",
61 "description": "Rollback parameters",
64 "$ref": "#/definitions/SoV2RollbackVnfUpdate"
70 "description": "Operation has been rolled back"
75 "/so/v2/vnfs/{vnfIdInAai}": {
80 "summary": "VNF query",
81 "description": "VNF query",
82 "operationId": "vnf_query",
93 "description": "The identifier of the VNF in A&AI.",
100 "description": "VNF creation query parameter",
103 "$ref": "#/definitions/SoV2VnfQueryRequest"
111 "$ref": "#/definitions/SoV2VnfQueryResponse"
115 "descriotion": "The VNF does not exist on the VNFM side"
123 "summary": "VNF create",
124 "description": "VNF create",
125 "operationId": "vnf_create",
133 "description": "The identifier of the VNF",
134 "name": "vnfIdInAai",
140 "description": "VNF creation query parameter",
143 "$ref": "#/definitions/SoV2VnfCreateRequest"
149 "description": "The VNF was created on the VNFM side."
152 "description": "The VNF could not be instantiated on the VNFM side. Failure has been treated according to deleteUponFailure parameter"
160 "summary": "VNF update",
161 "description": "VNF update",
162 "operationId": "vnf_update",
173 "description": "The identifier of the VNF",
174 "name": "vnfIdInAai",
180 "description": "VNF update parameter",
183 "$ref": "#/definitions/SoV2VnfUpdateRequest"
189 "description": "The VNF update has finished. Success is indicated in the success field.",
191 "$ref": "#/definitions/SoV2VnfUpdateResponse"
200 "summary": "VNF delete",
201 "description": "VNF delete",
202 "operationId": "vnf_delete",
210 "description": "The identifier of the VNF",
211 "name": "vnfIdInAai",
217 "description": "VNF delete parameter",
220 "$ref": "#/definitions/SoV2VnfDeleteRequest"
226 "description": "The VNF was successfully deleted."
231 "/so/v2/vfmodule/{vnfIdInAai}/{vfModuleId}": {
236 "summary": "VF module create",
237 "description": "VF module create",
238 "operationId": "vf_module_create",
246 "description": "The identifier of VNF in A&AI.",
247 "name": "vnfIdInAai",
253 "description": "The identifier of the VF module in A&AI",
254 "name": "vfModuleId",
260 "description": "VNF creation query parameter",
263 "$ref": "#/definitions/SoV2VfModuleCreateRequest"
269 "description": "The VF module has been created"
277 "summary": "VF module update",
278 "description": "VF module update",
279 "operationId": "vf_module_update",
290 "description": "The identifier of VNF in A&AI.",
291 "name": "vnfIdInAai",
297 "description": "The identifier of the VF module in A&AI",
298 "name": "vfModuleId",
304 "description": "VNF creation query parameter",
307 "$ref": "#/definitions/SoV2VnfUpdateRequest"
314 "$ref": "#/definitions/SoV2VnfUpdateResponse"
323 "summary": "VF module delete",
324 "description": "VF module delete",
325 "operationId": "vf_module_delete",
333 "description": "The identifier of VNF in A&AI.",
334 "name": "vnfIdInAai",
340 "description": "The identifier of the VF module in A&AI",
341 "name": "vfModuleId",
347 "description": "VNF delete parameter",
350 "$ref": "#/definitions/SoV2VnfDeleteRequest"
356 "description": "The VNF was successfully deleted."
361 "/so/v2/vfmodule/{vnfIdInAai}/{vfModuleId}/rollback": {
366 "summary": "VF module update rollback",
367 "description": "VF module update rollback",
368 "operationId": "vf_module_update rollback",
379 "description": "The identifier of VNF in A&AI.",
380 "name": "vnfIdInAai",
386 "description": "The identifier of the VF module in A&AI",
387 "name": "vfModuleId",
393 "description": "VNF update rollback parameter",
396 "$ref": "#/definitions/SoV2RollbackVnfUpdate"
402 "description": "Operation has been rolled back"
414 "description": "The identifier of the request in SO. Used to track requests.",
417 "serviceInstanceId": {
419 "description": "The identifier of the service instance in A&AI.",
424 "SoV2VnfQueryRequest": {
429 "$ref": "#/definitions/SoMsoRequest"
434 "description": "The status of the VNF",
445 "additionalProperties": {
451 "additionalProperties": {
455 "SoV2VnfQueryResponse": {
460 "description": "The status of the VNF",
461 "$ref": "#/definitions/SoVnfStatus"
465 "SoV2VnfCreateRequest": {
471 "description": "The owner of cloud in A&AI."
476 "description": "The regionName of cloud in A&AI."
481 "description": "The identifier of the tenant."
486 "description": "The name of the VNF."
490 "description": "The inputs of the VNF.",
491 "$ref": "#/definitions/SoInput"
495 "description": "Should the VNF creation fail if the VNF already exists. (defaults to false)",
498 "deleteUponFailure": {
500 "description": "Delete VNF in case of failure. (defaults to false)",
505 "$ref": "#/definitions/SoMsoRequest"
511 "description": "Generic rollback parameters",
515 "description": "Delete the VNF if exists",
520 "description": "The identifier of the VNF in AAI",
525 "description": "The pointer to the original request that triggered the rollback",
526 "$ref": "#/definitions/SoMsoRequest"
530 "OriginalVnfProperties": {
532 "additionalProperties": {
536 "SoV2RollbackVnfUpdate": {
539 "originalVnfProperties": {
541 "description": "The original VNF properties before the operation",
542 "$ref": "#/definitions/OriginalVnfProperties"
546 "SoV2VnfUpdateRequest": {
551 "description": "The inputs of the VNF.",
552 "$ref": "#/definitions/SoInput"
556 "$ref": "#/definitions/SoMsoRequest"
560 "SoV2VnfUpdateResponse": {
563 "$ref": "#/definitions/SoV2RollbackVnfUpdate"
570 "description": "Is the update successful. The operation can be rolled back regardless of this attribute",
577 "SoV2VnfDeleteRequest": {
582 "$ref": "#/definitions/SoMsoRequest"
586 "SoV2VfModuleCreateRequest": {
591 "description": "The identifier of the scaling aspect",
596 "description": "The inputs of the VNF.",
597 "$ref": "#/definitions/SoInput"
601 "description": "Should the VNF creation fail if the VNF already exists. (defaults to false)",
604 "deleteUponFailure": {
606 "description": "Delete VF module in case of failure. (defaults to false)",
611 "$ref": "#/definitions/SoMsoRequest"