5 "title": "ONAP VNFM Driver Development Related API",
\r
6 "description": "ONAP VNFM Driver Development Related Rest API.",
\r
8 "name": "ONAP VFC team",
\r
9 "email": "onap-discuss@lists.onap.org",
\r
10 "url": "https://gerrit.onap.org/r/#/admin/projects/vfc/nfvo/lcm"
\r
25 "/{vnfmtype}/v1/{vnfmid}/vnfs": {
\r
30 "summary": "vnf create&instantiate",
\r
31 "description": "VNF create&instantiate Rest API should be provided by the VNFM Driver",
\r
32 "operationId": "vnf_instantiate",
\r
43 "description": "The value of vnfmtype should be the SVNFM driver service name",
\r
50 "description": "The value of vnfmid should be the VNFM Instantiate ID",
\r
57 "description": "instantiate request param",
\r
60 "$ref": "#/definitions/VnfInstantiateRequest"
\r
68 "$ref": "#/definitions/VnfInstantiateResponse"
\r
74 "/{vnfmtype}/v1/{vnfmid}/vnfs/{vnfInstanceId}/scale": {
\r
79 "summary": "vnf Scale",
\r
80 "description": "VNF Scale Rest API should be provided by the VNFM Driver",
\r
81 "operationId": "vnf_scale",
\r
92 "description": "The value of vnfmtype should be the SVNFM driver service name",
\r
99 "description": "The value of vnfmid should be the VNFM Instantiate ID",
\r
106 "description": "The value of vnfInstanceId should be the VNF Instantiate ID",
\r
107 "name": "vnfInstanceId",
\r
113 "description": "instantiate request param",
\r
116 "$ref": "#/definitions/VnfScaleRequest"
\r
124 "$ref": "#/definitions/JobInfo"
\r
128 "description": "the VNF instance id is wrong"
\r
131 "description": "the url is invalid"
\r
136 "/{vnfmtype}/v1/{vnfmid}/vnfs/{vnfInstanceId}/heal": {
\r
141 "summary": "vnf heal",
\r
142 "description": "VNF Heal Rest API should be provided by the VNFM Driver",
\r
143 "operationId": "vnf_heal",
\r
154 "description": "The value of vnfmtype should be the SVNFM driver service name",
\r
155 "name": "vnfmtype",
\r
161 "description": "The value of vnfmid should be the VNFM Instantiate ID",
\r
168 "description": "The value of vnfInstanceId should be the VNF Instantiate ID",
\r
169 "name": "vnfInstanceId",
\r
175 "description": "instantiate request param",
\r
178 "$ref": "#/definitions/VnfHealRequest"
\r
186 "$ref": "#/definitions/JobInfo"
\r
190 "description": "the VNF instance id is wrong"
\r
193 "description": "the url is invalid"
\r
198 "/{vnfmtype}/v1/{vnfmid}/vnfs/{vnfInstanceId}/terminate": {
\r
203 "summary": "delete vnf",
\r
204 "description": "VNF terminate Rest API should be provided by the VNFM Driver",
\r
205 "operationId": "delete_vnf",
\r
216 "description": "The value of vnfmtype should be the SVNFM driver service name",
\r
217 "name": "vnfmtype",
\r
223 "description": "The value of vnfmid should be the VNFM Instantiate ID",
\r
230 "description": "The value of vnfInstanceId should be the VNF Instantiate ID",
\r
231 "name": "vnfInstanceId",
\r
237 "description": "instantiate request param",
\r
240 "$ref": "#/definitions/VnfTerminateRequest"
\r
246 "description": "successful operation",
\r
248 "$ref": "#/definitions/JobInfo"
\r
252 "description": "the VNF instance id is wrong"
\r
255 "description": "the url is invalid"
\r
260 "/{vnfmtype}/v1/{vnfmid}/vnfs/{vnfInstanceId}": {
\r
265 "summary": "query the specified vnf info",
\r
267 "operationId": "query_vnf",
\r
278 "description": "The value of vnfmtype should be the SVNFM driver service name",
\r
279 "name": "vnfmtype",
\r
285 "description": "The value of vnfmid should be the VNFM Instantiate ID",
\r
292 "description": "The value of vnfInstanceId should be the VNF Instantiate ID",
\r
293 "name": "vnfInstanceId",
\r
299 "description": "successful operation",
\r
301 "$ref": "#/definitions/VnfInfo"
\r
305 "description": "the vnf instance id is wrong"
\r
308 "description": "the url is invalid"
\r
313 "/nslcm/v1/ns/grantvnf": {
\r
318 "summary": "grantvnf",
\r
319 "description": "Grant VNF, provived by the NSLCM component",
\r
320 "operationId": "grantvnf",
\r
324 "name": "grantvnf",
\r
325 "description": "Grant VNF Request",
\r
328 "$ref": "#/definitions/GrantVNFRequest"
\r
336 "$ref": "#/definitions/GrantVNFResponse"
\r
340 "description": "the url is invalid"
\r
345 "/nslcm/v1/vnfs/{vnfInstanceId}/Notify": {
\r
350 "summary": "VNF LCM Notification",
\r
351 "description": "VNF LCM Notification API should be provided by NSLCM component",
\r
352 "operationId": "VNF_LCM_Notification",
\r
357 "description": "VNF Instance Id",
\r
358 "name": "vnfInstanceId",
\r
363 "name": "vnf Notification",
\r
364 "description": "VNF LCM Notification",
\r
367 "$ref": "#/definitions/VNFLCMNotification"
\r
376 "description": "the url is invalid"
\r
381 "/{vnfmid}/jobs/{jobid}": {
\r
386 "summary": "jobstatus",
\r
387 "description": "Job Infomation API should be provided by VNFM Driver",
\r
388 "operationId": "get_jobstatus",
\r
393 "description": "job Id",
\r
400 "description": "The value of vnfmid should be the VNFM Instantiate ID",
\r
407 "description": "job response message id",
\r
408 "name": "responseId",
\r
416 "$ref": "#/definitions/JobDetailInfo"
\r
422 "/catalog/v1/vnfpackages/{csarId}": {
\r
427 "summary": "query vnf package info",
\r
428 "description": "query one vnf package info via vnf package csarId",
\r
429 "operationId": "query_vnf_package",
\r
440 "description": "csar id of vnf package",
\r
447 "description": "successful operation",
\r
449 "$ref": "#/definitions/VnfPkgDetailInfo"
\r
453 "description": "internal error"
\r
458 "/nslcm/vl/vnfms/{vnfmid}":{
\r
463 "summary": "Query VNFM register info",
\r
464 "description": "query VNFM register info",
\r
465 "operationId": "query_vnfm_info",
\r
476 "description": "vnfm id",
\r
483 "description": "successful operation",
\r
485 "$ref": "#/definitions/VnfmInfo"
\r
489 "description": "internal error"
\r
494 "/nslcm/vl/vims/{vimid}":{
\r
499 "summary": "Query VIM register info",
\r
500 "description": "query VIM register info",
\r
501 "operationId": "query_VIM_info",
\r
512 "description": "vim id",
\r
519 "description": "successful operation",
\r
521 "$ref": "#/definitions/VimInfo"
\r
525 "description": "internal error"
\r
532 "jobResponseInfo": {
\r
541 "statusDescription": {
\r
558 "responseDescriptor": {
\r
567 "statusDescription": {
\r
576 "responseHistoryList": {
\r
579 "$ref": "#/definitions/jobResponseInfo"
\r
586 "GrantVNFRequest": {
\r
592 "vnfDescriptorId": {
\r
595 "lifecycleOperation": {
\r
597 "description": "The value should be Instantiate,Scaleout,Scalein,Scaleup,Scaledown, Heal, Terminal"
\r
607 "description": " The value should be VDU,VL,CP,Strorage."
\r
609 "resourceDefinitionId": {
\r
617 "removeResource": {
\r
622 "description": " The value should be VDU,VL,CP,Strorage."
\r
624 "resourceDefinitionId": {
\r
632 "additionalParam": {
\r
634 "description": "The data type is KeyValuePair. Additional parameters passed by the NFVO, specific to the VNF and the LCM operation."
\r
638 "GrantVNFResponse": {
\r
655 "description": "The vim Type value wil be openstack"
\r
659 "description": "The api Version Type value will be "
\r
663 "description": "The protocol Type value will be http or https"
\r
672 "description": "Tenant Name of tenant"
\r
676 "description": "Username for login"
\r
680 "description": "Password of login user"
\r
684 "interfaceEndpoint": {
\r
686 "description": "Information about the interface endpoint. It is a URL"
\r
692 "VNFLCMNotification": {
\r
710 "vnfcInstanceId": {
\r
712 "description": "Identifier of the VNFC instance"
\r
716 "description": "Identifier of the VDU in the VNFD"
\r
720 "description": "Signals the type of change: added,removed, modified"
\r
724 "description": "Identifier of vim"
\r
728 "description": "Identifier of virtual machine"
\r
732 "description": "Name of virtual machine"
\r
741 "description": "Identifier of the VL instance"
\r
745 "description": "Identifier of the VLD in the VNFD"
\r
749 "description": "Signals the type of change: vl_added,vl_removed,vl_modified"
\r
751 "networkResource": {
\r
753 "description": "storage Resource",
\r
757 "description": "The value should be vm,volume,network,port"
\r
761 "description": "Identifier of the resource in the scope of the VIM"
\r
765 "description": "Resource name in the vim"
\r
771 "affectedVirtualStorage": {
\r
776 "description": "Identifier of the VL instance"
\r
780 "description": "Identifier of the VLD in the VNFD"
\r
784 "description": "Signals the type of change: vl_added,vl_removed,vl_modified"
\r
786 "storageResource": {
\r
788 "description": "storage Resource",
\r
792 "description": "The value should be vm,volume,network,port"
\r
796 "description": "Identifier of the resource in the scope of the VIM"
\r
800 "description": "Resource name in the vim"
\r
808 "VnfInstantiateRequest": {
\r
811 "vnfInstanceName": {
\r
817 "vnfDescriptorId": {
\r
820 "vnfInstanceDescription": {
\r
823 "extVirtualLink": {
\r
826 "$ref": "#/definitions/extVirtualLinkInfo"
\r
829 "additionalParam": {
\r
834 "extVirtualLinkInfo":{
\r
847 "$ref": "#/definitions/vimInfo"
\r
852 "VnfInstantiateResponse": {
\r
863 "VnfScaleRequest":{
\r
868 "description": "The VNF scale type value should be SCALE_OUT, SCALE_IN"
\r
872 "description": "Identifies the aspect of the VNF that is requested to be scaled"
\r
876 "description": "Number of scaling steps to be executed as part of this ScaleVnf operation. It shall be a positive number"
\r
878 "additionalParam":{
\r
880 "description": "Additional parameters passed by the NFVO as input to the scaling process, specific to the VNF being scaled"
\r
906 "VnfTerminateRequest":{
\r
909 "terminationType": {
\r
912 "gracefulTerminationTimeout": {
\r
931 "vnfInstanceName": {
\r
934 "vnfInstanceDescription": {
\r
971 "description": "The vim Type value wil be openstack"
\r
975 "description": "The api Version Type value will be "
\r
979 "description": "The protocol Type value will be http or https"
\r
988 "description": "Tenant Name of tenant"
\r
992 "description": "Username for login"
\r
996 "description": "Password of login user"
\r
1000 "interfaceEndpoint": {
\r
1002 "description": "Information about the interface endpoint. It is a URL"
\r
1006 "VnfPkgDetailInfo": {
\r
1011 "description": "vnf package id, UUID"
\r
1014 "$ref": "#/definitions/VnfPkgInfo"
\r
1017 "$ref": "#/definitions/VnfPkgImgListInfo"
\r
1019 "vnfInstanceInfo": {
\r
1020 "$ref": "#/definitions/VnfInstListInfo"
\r
1026 "description": "vnf package infomation",
\r
1030 "description": "vnf package id, UUID"
\r
1034 "description": "VNF descriptor ID"
\r
1038 "description": "VNF descriptor vendor ID"
\r
1042 "description": "VNF descriptor version"
\r
1046 "description": "VNF Software version"
\r
1050 "description": "The download uri of VNF package"
\r
1054 "VnfInstListInfo": {
\r
1057 "$ref": "#/definitions/VnfInstInfo"
\r
1063 "vnfInstanceId": {
\r
1065 "description": "VNF instance ID"
\r
1067 "vnfInstanceName": {
\r
1069 "description": "VNF instance name"
\r
1073 "VnfPkgImgListInfo": {
\r
1076 "$ref": "#/definitions/VnfPkgImgInfo"
\r
1079 "VnfPkgImgInfo": {
\r
1084 "description": "image file name"
\r
1088 "description": "image file path in the csar or image url in external repository"
\r
1097 "description": "vnfm Id"
\r
1101 "description": "vnfm name"
\r
1105 "description": "vnfm type"
\r
1109 "description": "vnfm url"
\r
1113 "description": "vnfm login username"
\r
1117 "description": "vnfm login password"
\r
1121 "description": "vim Id"
\r
1125 "description": "vendor name"
\r
1129 "description": "vnfm version"
\r
1133 "description": "vnfm description"
\r
1135 "certificateUrl": {
\r
1137 "description": "vnfm certificate Url"
\r
1141 "description": "vnfm info createTime"
\r
1150 "description": "vim Id"
\r
1154 "description": "vnfm name"
\r
1158 "description": "vnfm type"
\r
1162 "description": "vnfm url"
\r
1166 "description": "vnfm login username"
\r
1170 "description": "vnfm login password"
\r
1174 "description": "vendor name"
\r
1178 "description": "vnfm version"
\r
1182 "description": "vnfm description"
\r
1186 "description": "vnfm info createTime"
\r