Merge "Fix VFC swagger bug"
[vfc/nfvo/lcm.git] / lcm / ns / swagger.json
1 {
2     "swagger": "2.0",
3     "info": {
4         "version": "1.0.0",
5         "title": "ONAP VFC Service Rest API"
6     },
7     "basePath": "/api/nslcm/v1",
8     "tags": [
9         {
10             "name": "vfc nslcm resource"
11         }
12     ],
13     "paths": {
14         "/nspackage": {
15             "get": {
16                 "tags": [
17                     "ns package Resource"
18                 ],
19                 "summary": "query ns package info",
20                 "description": "query ns package info",
21                 "operationId": "query_ns_package",
22                 "consumes": [
23                     "application/json"
24                 ],
25                 "produces": [
26                     "application/json"
27                 ],
28                 "parameters": [
29                 ],
30                 "responses": {
31                     "200": {
32                         "description": "successful operation",
33                         "schema": {
34                             "$ref": "#/definitions/NsPackageListInfo"
35                         }
36                     },
37                     "500": {
38                         "description": "internal error"
39                     }
40                 }
41             },
42             "post": {
43                 "tags": [
44                     "ns package Resource"
45                 ],
46                 "summary": "ns package distribute",
47                 "description": "ns package distribute",
48                 "operationId": "ns_pkg_distribute",
49                 "consumes": [
50                     "application/json"
51                 ],
52                 "produces": [
53                     "application/json"
54                 ],
55                 "parameters": [
56                     {
57                         "in": "body",
58                         "name": "body",
59                         "description": "distribute request param",
60                         "required": true,
61                         "schema": {
62                             "$ref": "#/definitions/NsPkgPostRequest"
63                         }
64                     }
65                 ],
66                 "responses": {
67                     "202": {
68                         "description": "",
69                         "schema": {
70                             "$ref": "#/definitions/NsPkgPostResponse"
71                         }
72                     },
73                     "500": {
74                         "description": "internal error"
75                     }
76                 }
77             }
78         },
79         "/nspackage/{csarId}": {
80             "get": {
81                 "tags": [
82                     "ns package Resource"
83                 ],
84                 "summary": "query one ns package info",
85                 "description": "query one ns package info",
86                 "operationId": "query_one_ns_package",
87                 "consumes": [
88                     "application/json"
89                 ],
90                 "produces": [
91                     "application/json"
92                 ],
93                 "parameters": [
94                     {
95                         "name": "csarId",
96                         "in": "path",
97                         "description": "csar id of ns package",
98                         "required": true,
99                         "type": "string"
100                     }
101                 ],
102                 "responses": {
103                     "200": {
104                         "description": "successful operation",
105                         "schema": {
106                             "$ref": "#/definitions/NsPackageInfo"
107                         }
108                     },
109                     "500": {
110                         "description": "internal error"
111                     }
112                 }
113             },
114             "delete": {
115                 "tags": [
116                     "ns package Resource"
117                 ],
118                 "summary": "delete ns pkg",
119                 "description": "delete ns pkg",
120                 "operationId": "delete_ns_pkg",
121                 "consumes": [
122                     "application/json"
123                 ],
124                 "produces": [
125                     "application/json"
126                 ],
127                 "parameters": [
128                     {
129                         "name": "csarId",
130                         "in": "path",
131                         "description": "csar id of ns package",
132                         "required": true,
133                         "type": "string"
134                     }
135                 ],
136                 "responses": {
137                     "202": {
138                         "description": "",
139                         "schema": {
140                             "$ref": "#/definitions/NsPkgPostResponse"
141                         }
142                     },
143                     "500": {
144                         "description": "internal error"
145                     }
146                 }
147             }
148         },
149         "/vnfpackage": {
150             "get": {
151                 "tags": [
152                     "nf package Resource"
153                 ],
154                 "summary": "query nf package info",
155                 "description": "query nf package info",
156                 "operationId": "query_nf_package",
157                 "consumes": [
158                     "application/json"
159                 ],
160                 "produces": [
161                     "application/json"
162                 ],
163                 "parameters": [
164                 ],
165                 "responses": {
166                     "200": {
167                         "description": "successful operation",
168                         "schema": {
169                             "$ref": "#/definitions/NfPackageListInfo"
170                         }
171                     },
172                     "500": {
173                         "description": "internal error"
174                     }
175                 }
176             },
177             "post": {
178                 "tags": [
179                     "nf package Resource"
180                 ],
181                 "summary": "nf package distribute",
182                 "description": "nf package distribute",
183                 "operationId": "nf_pkg_distribute",
184                 "consumes": [
185                     "application/json"
186                 ],
187                 "produces": [
188                     "application/json"
189                 ],
190                 "parameters": [
191                     {
192                         "in": "body",
193                         "name": "body",
194                         "description": "distribute request param",
195                         "required": true,
196                         "schema": {
197                             "$ref": "#/definitions/NfPkgPostRequest"
198                         }
199                     }
200                 ],
201                 "responses": {
202                     "202": {
203                         "description": "",
204                         "schema": {
205                             "$ref": "#/definitions/NfPkgPostResponse"
206                         }
207                     },
208                     "500": {
209                         "description": "internal error"
210                     }
211                 }
212             }
213         },
214         "/vnfpackage/{csarId}": {
215             "get": {
216                 "tags": [
217                     "nf package Resource"
218                 ],
219                 "summary": "query one nf package info",
220                 "description": "query one nf package info",
221                 "operationId": "query_one_nf_package",
222                 "consumes": [
223                     "application/json"
224                 ],
225                 "produces": [
226                     "application/json"
227                 ],
228                 "parameters": [
229                     {
230                         "name": "csarId",
231                         "in": "path",
232                         "description": "csar id of nf package",
233                         "required": true,
234                         "type": "string"
235                     }
236                 ],
237                 "responses": {
238                     "200": {
239                         "description": "successful operation",
240                         "schema": {
241                             "$ref": "#/definitions/NfPackageInfo"
242                         }
243                     },
244                     "500": {
245                         "description": "internal error"
246                     }
247                 }
248             },
249             "delete": {
250                 "tags": [
251                     "nf package Resource"
252                 ],
253                 "summary": "delete nf pkg",
254                 "description": "delete nf pkg",
255                 "operationId": "delete_nf_pkg",
256                 "consumes": [
257                     "application/json"
258                 ],
259                 "produces": [
260                     "application/json"
261                 ],
262                 "parameters": [
263                     {
264                         "name": "csarId",
265                         "in": "path",
266                         "description": "csar id of nf package",
267                         "required": true,
268                         "type": "string"
269                     }
270                 ],
271                 "responses": {
272                     "202": {
273                         "description": "",
274                         "schema": {
275                             "$ref": "#/definitions/NfPkgPostResponse"
276                         }
277                     },
278                     "500": {
279                         "description": "internal error"
280                     }
281                 }
282             }
283         },
284         "/ns/vls": {
285             "post": {
286                 "tags": [
287                     "vls Resource"
288                 ],
289                 "summary": "vl create",
290                 "description": "",
291                 "operationId": "create_vl",
292                 "consumes": [
293                     "application/json"
294                 ],
295                 "produces": [
296                     "application/json"
297                 ],
298                 "parameters": [
299                     {
300                         "in": "body",
301                         "name": "body",
302                         "description": "instantiate request param",
303                         "required": true,
304                         "schema": {
305                             "$ref": "#/definitions/VlPostRequest"
306                         }
307                     }
308                 ],
309                 "responses": {
310                     "201": {
311                         "description": "",
312                         "schema": {
313                             "$ref": "#/definitions/VlPostResponse"
314                         }
315                     }
316                 }
317             }
318         },
319         "/ns/vls/{vlId}": {
320             "get": {
321                 "tags": [
322                     "vls Resource"
323                 ],
324                 "summary": "query the specified vl info",
325                 "description": "",
326                 "operationId": "query_vl",
327                 "consumes": [
328                     "application/json"
329                 ],
330                 "produces": [
331                     "application/json"
332                 ],
333                 "parameters": [
334                     {
335                         "name": "vlId",
336                         "in": "path",
337                         "description": "vl instance id",
338                         "required": true,
339                         "type": "string"
340                     }
341                 ],
342                 "responses": {
343                     "200": {
344                         "description": "successful operation",
345                         "schema": {
346                             "$ref": "#/definitions/VlInfo"
347                         }
348                     },
349                     "404": {
350                         "description": "the vl instance id is wrong"
351                     },
352                     "500": {
353                         "description": "the url is invalid"
354                     }
355                 }
356             },
357             "delete": {
358                 "tags": [
359                     "vls Resource"
360                 ],
361                 "summary": "delete vl",
362                 "description": "",
363                 "operationId": "delete_vl",
364                 "consumes": [
365                     "application/json"
366                 ],
367                 "produces": [
368                     "application/json"
369                 ],
370                 "parameters": [
371                     {
372                         "required": true,
373                         "type": "string",
374                         "description": "",
375                         "name": "vlId",
376                         "in": "path"
377                     }
378                 ],
379                 "responses": {
380                     "204": {
381                         "description": "successful operation",
382                         "schema": {
383                             "$ref": "#/definitions/DeleteVlResponse"
384                         }
385                     },
386                     "404": {
387                         "description": "the vl instance id is wrong"
388                     },
389                     "500": {
390                         "description": "the url is invalid"
391                     }
392                 }
393             }
394         },
395         "/ns/vnfs": {
396             "post": {
397                 "tags": [
398                     "vnfs Resource"
399                 ],
400                 "summary": "vnf create",
401                 "description": "",
402                 "operationId": "create_vnf",
403                 "consumes": [
404                     "application/json"
405                 ],
406                 "produces": [
407                     "application/json"
408                 ],
409                 "parameters": [
410                     {
411                         "in": "body",
412                         "name": "body",
413                         "description": "instantiate request param",
414                         "required": true,
415                         "schema": {
416                             "$ref": "#/definitions/VnfPostRequest"
417                         }
418                     }
419                 ],
420                 "responses": {
421                     "201": {
422                         "description": "",
423                         "schema": {
424                             "$ref": "#/definitions/VnfPostResponse"
425                         }
426                     }
427                 }
428             }
429         },
430         "/ns/vnfs/{vnfInstId}": {
431             "get": {
432                 "tags": [
433                     "vnfs Resource"
434                 ],
435                 "summary": "query the specified vnf info",
436                 "description": "",
437                 "operationId": "query_vnf",
438                 "consumes": [
439                     "application/json"
440                 ],
441                 "produces": [
442                     "application/json"
443                 ],
444                 "parameters": [
445                     {
446                         "name": "vnfInstId",
447                         "in": "path",
448                         "description": "vnf instance id",
449                         "required": true,
450                         "type": "string"
451                     }
452                 ],
453                 "responses": {
454                     "200": {
455                         "description": "successful operation",
456                         "schema": {
457                             "$ref": "#/definitions/VnfInfo"
458                         }
459                     },
460                     "404": {
461                         "description": "the vnf instance id is wrong"
462                     },
463                     "500": {
464                         "description": "the url is invalid"
465                     }
466                 }
467             },
468             "delete": {
469                 "tags": [
470                     "vnfs Resource"
471                 ],
472                 "summary": "delete vnf",
473                 "description": "",
474                 "operationId": "delete_vnf",
475                 "consumes": [
476                     "application/json"
477                 ],
478                 "produces": [
479                     "application/json"
480                 ],
481                 "parameters": [
482                     {
483                         "required": true,
484                         "type": "string",
485                         "description": "",
486                         "name": "vnfInstId",
487                         "in": "path"
488                     }
489                 ],
490                 "responses": {
491                     "204": {
492                         "description": "successful operation",
493                         "schema": {
494                             "$ref": "#/definitions/DeleteResponse"
495                         }
496                     },
497                     "404": {
498                         "description": "the vl instance id is wrong"
499                     },
500                     "500": {
501                         "description": "the url is invalid"
502                     }
503                 }
504             }
505         },
506         "/ns/sfcs": {
507             "post": {
508                 "tags": [
509                     "sfcs Resource"
510                 ],
511                 "summary": "sfc create",
512                 "description": "",
513                 "operationId": "create_sfc",
514                 "consumes": [
515                     "application/json"
516                 ],
517                 "produces": [
518                     "application/json"
519                 ],
520                 "parameters": [
521                     {
522                         "in": "body",
523                         "name": "body",
524                         "description": "request param",
525                         "required": true,
526                         "schema": {
527                             "$ref": "#/definitions/SfcPostRequest"
528                         }
529                     }
530                 ],
531                 "responses": {
532                     "201": {
533                         "description": "",
534                         "schema": {
535                             "$ref": "#/definitions/SfcPostResponse"
536                         }
537                     }
538                 }
539             }
540         },
541         "/ns/sfcs/{sfcInstId}": {
542             "get": {
543                 "tags": [
544                     "sfcs Resource"
545                 ],
546                 "summary": "query the specified sfc info",
547                 "description": "",
548                 "operationId": "query_sfc",
549                 "consumes": [
550                     "application/json"
551                 ],
552                 "produces": [
553                     "application/json"
554                 ],
555                 "parameters": [
556                     {
557                         "name": "sfcInstId",
558                         "in": "path",
559                         "description": "sfc instance id",
560                         "required": true,
561                         "type": "string"
562                     }
563                 ],
564                 "responses": {
565                     "200": {
566                         "description": "successful operation",
567                         "schema": {
568                             "$ref": "#/definitions/SfcInfo"
569                         }
570                     },
571                     "404": {
572                         "description": "the sfc instance id is wrong"
573                     },
574                     "500": {
575                         "description": "the url is invalid"
576                     }
577                 }
578             },
579             "delete": {
580                 "tags": [
581                     "vnfs Resource"
582                 ],
583                 "summary": "delete sfc",
584                 "description": "",
585                 "operationId": "delete_sfc",
586                 "consumes": [
587                     "application/json"
588                 ],
589                 "produces": [
590                     "application/json"
591                 ],
592                 "parameters": [
593                     {
594                         "required": true,
595                         "type": "string",
596                         "description": "",
597                         "name": "sfcInstId",
598                         "in": "path"
599                     }
600                 ],
601                 "responses": {
602                     "204": {
603                         "description": "successful operation",
604                         "schema": {
605                             "$ref": "#/definitions/DeleteResponse"
606                         }
607                     },
608                     "404": {
609                         "description": "the sfc instance id is wrong"
610                     },
611                     "500": {
612                         "description": "the url is invalid"
613                     }
614                 }
615             }
616         },
617         "/ns/{nsInstanceId}/postdeal": {
618             "post": {
619                 "tags": [
620                     "ns postdeal"
621                 ],
622                 "summary": "ns postdeal",
623                 "description": "",
624                 "operationId": "ns_postdeal",
625                 "consumes": [
626                     "application/json"
627                 ],
628                 "produces": [
629                     "application/json"
630                 ],
631                 "parameters": [
632                     {
633                         "required": true,
634                         "type": "string",
635                         "description": "",
636                         "name": "nsInstanceId",
637                         "in": "path"
638                     },
639                     {
640                         "in": "body",
641                         "name": "body",
642                         "description": "request param",
643                         "required": true,
644                         "schema": {
645                             "$ref": "#/definitions/NSInstPostDetailRequest"
646                         }
647                     }
648                 ],
649                 "responses": {
650                     "202": {
651                         "description": ""
652                     }
653                 }
654             }
655         },
656         "/ns/{nsInstanceId}/scale": {
657             "post": {
658                 "tags": [
659                     "ns scale"
660                 ],
661                 "summary": "ns scale",
662                 "description": "ns scale",
663                 "operationId": "ns_scale",
664                 "consumes": [
665                     "application/json"
666                 ],
667                 "produces": [
668                     "application/json"
669                 ],
670                 "parameters": [
671                     {
672                         "required": true,
673                         "type": "string",
674                         "description": "",
675                         "name": "nsInstanceId",
676                         "in": "path"
677                     },
678                     {
679                         "in": "body",
680                         "name": "ScaleNSRequest",
681                         "description": "Scale NS Request Body",
682                         "required": true,
683                         "schema": {
684                             "$ref": "#/definitions/ScaleNsRequest"
685                         }
686                     }
687                 ],
688                 "responses": {
689                     "200": {
690                         "description": "",
691                         "schema": {
692                             "$ref": "#/definitions/NsScaleResponse"
693                         }
694                     },
695                     "201": {
696                         "description": "Invalid Request"
697                     }
698                 }
699             }
700         },
701         "/ns/{ns_instance_id}": {
702             "delete": {
703                 "tags": [
704                     "ns lcm"
705                 ],
706                 "summary": "ns delete",
707                 "description": "ns delete",
708                 "operationId": "ns_delete",
709                 "consumes": [
710                     "application/json"
711                 ],
712                 "produces": [
713                     "application/json"
714                 ],
715                 "parameters": [
716                     {
717                         "required": true,
718                         "type": "string",
719                         "description": "Identifier of the NS instance.",
720                         "name": "ns_instance_id",
721                         "in": "path"
722                     }
723                 ],
724                 "responses": {
725                     "204": {
726                         "description": "The NS instance resource and the associated NS identifier were deleted successfully."
727                     }
728                 }
729             }
730         },
731         "/ns/{ns_instance_id}/terminate": {
732             "post": {
733                 "tags": [
734                     "ns lcm"
735                 ],
736                 "summary": "ns terminate",
737                 "description": "ns terminate",
738                 "operationId": "ns_terminate",
739                 "consumes": [
740                     "application/json"
741                 ],
742                 "produces": [
743                     "application/json"
744                 ],
745                 "parameters": [
746                     {
747                         "required": true,
748                         "type": "string",
749                         "description": "Identifier of the NS instance.",
750                         "name": "ns_instance_id",
751                         "in": "path"
752                     },
753                     {
754                         "in": "body",
755                         "name": "NsTerminateRequest",
756                         "description": "NsTerminateRequest",
757                         "required": true,
758                         "schema": {
759                             "$ref": "#/definitions/NsTerminateRequest"
760                         }
761                     }
762                 ],
763                 "responses": {
764                     "202": {
765                         "description": "",
766                         "schema": {
767                             "$ref": "#/definitions/NsTerminateResponse"
768                         }
769                     },
770                     "500": {
771                         "description": "the url is invalid"
772                     }
773                 }
774             }
775         },
776         "/ns/{ns_instance_id}/heal": {
777             "post": {
778                 "tags": [
779                     "ns heal"
780                 ],
781                 "summary": "ns heal",
782                 "description": "ns heal",
783                 "operationId": "ns_heal",
784                 "consumes": [
785                     "application/json"
786                 ],
787                 "produces": [
788                     "application/json"
789                 ],
790                 "parameters": [
791                     {
792                         "required": true,
793                         "type": "string",
794                         "description": "Identifier of the NS instance.",
795                         "name": "ns_instance_id",
796                         "in": "path"
797                     },
798                     {
799                         "in": "body",
800                         "name": "healVnfData",
801                         "description": "healVnfData",
802                         "required": true,
803                         "schema": {
804                             "$ref": "#/definitions/healVnfDataRequest"
805                         }
806                     }
807                 ],
808                 "responses": {
809                     "202": {
810                         "description": "",
811                         "schema": {
812                             "$ref": "#/definitions/healVnfDataResponse"
813                         }
814                     },
815                     "500": {
816                         "description": "the url is invalid"
817                     }
818                 }
819             }
820         },
821         "/mandb/{modelName}": {
822             "get": {
823                 "tags": [
824                     "ns lcm"
825                 ],
826                 "summary": "query ns table info",
827                 "description": "query ns table info",
828                 "operationId": "query_ns_table",
829                 "consumes": [
830                     "application/json"
831                 ],
832                 "produces": [
833                     "application/json"
834                 ],
835                 "parameters": [
836                     {
837                         "required": true,
838                         "type": "string",
839                         "description": "model Name.",
840                         "name": "modelName",
841                         "in": "path"
842                     }
843                 ],
844                 "responses": {
845                     "200": {
846                         "description": "successful operation",
847                         "schema": {
848                             "$ref": "#/definitions/TableInfo"
849                         }
850                     },
851                     "500": {
852                         "description": "the url is invalid"
853                     }
854                 }
855             },
856             "delete": {
857                 "tags": [
858                     "ns lcm"
859                 ],
860                 "summary": "ns table delete",
861                 "description": "ns table delete",
862                 "operationId": "ns_table_delete",
863                 "consumes": [
864                     "application/json"
865                 ],
866                 "produces": [
867                     "application/json"
868                 ],
869                 "parameters": [
870                     {
871                         "required": true,
872                         "type": "string",
873                         "description": "model Name.",
874                         "name": "modelName",
875                         "in": "path"
876                     }
877                 ],
878                 "responses": {
879                     "204": {
880                         "description": "The tables were deleted successfully."
881                     }
882                 }
883             }
884         },
885         "/ns": {
886             "get": {
887                 "tags": [
888                     "ns lcm"
889                 ],
890                 "summary": "ns get",
891                 "description": "ns get",
892                 "operationId": "ns_get",
893                 "consumes": [
894                     "application/json"
895                 ],
896                 "produces": [
897                     "application/json"
898                 ],
899                 "parameters": [
900   
901                 ],
902                 "responses": {
903                     "200": {
904                         "description": "successful operation",
905                         "schema": {
906                             "$ref": "#/definitions/NsInfo"
907                         }
908                     }
909                 }
910             }
911         },
912         "/jobs/{jobId}":{
913           "post": {
914                 "tags": [
915                     "jobstatus"
916                 ],
917                 "summary": "jobstatus",
918                 "description": "",
919                 "operationId": "jobstatus",
920                 "consumes": [
921                     "application/json"
922                 ],
923                 "produces": [
924                     "application/json"
925                 ],
926                 "parameters": [
927                     {
928                         "required": true,
929                         "type": "string",
930                         "description": "",
931                         "name": "jobId",
932                         "in": "path"
933                     },
934                     {
935                         "in": "body",
936                         "name": "body",
937                         "description": "request param",
938                         "required": true,
939                         "schema": {
940                             "$ref": "#/definitions/JobProgressRequest"
941                         }
942                     }
943                 ],
944                 "responses": {
945                     "202": {
946                         "description": ""
947                     }
948                 }
949             }
950         }
951     },
952     "definitions": {
953         "NsPkgPostRequest": {
954             "type": "object",
955             "properties": {
956                 "csarId": {
957                     "type": "string"
958                 }
959             }
960         },
961         "NsPkgPostResponse": {
962             "type": "object",
963             "properties": {
964                 "status": {
965                     "type": "string"
966                 },
967                 "statusDescription": {
968                     "type": "string"
969                 },
970                 "errorCode": {
971                     "type": "string"
972                 }
973             }
974         },
975         "NsPackageListInfo": {
976             "type": "object",
977             "properties": {
978                 "csars": {
979                     "$ref": "#/definitions/NsPkgListInfo"
980                 }
981             }
982         },
983         "NsPkgListInfo": {
984             "type": "array",
985             "items": {
986                 "type": "object"
987             }
988         },
989         "NsPackageInfo": {
990             "type": "object",
991             "properties": {
992                 "csarId": {
993                     "type": "string"
994                 },
995                 "packageInfo": {
996                     "$ref": "#/definitions/NsPkgDetailInfo"
997                 },
998                 "nsInstanceInfo": {
999                     "$ref": "#/definitions/NsInstListInfo"
1000                 }
1001             }
1002         },
1003         "NsPkgDetailInfo": {
1004             "type": "object",
1005             "properties": {
1006                 "nsdId": {
1007                     "type": "string"
1008                 },
1009                 "nsdProvider": {
1010                     "type": "string"
1011                 },
1012                 "nsdVersion": {
1013                     "type": "string"
1014                 }
1015             }
1016         },
1017         "NsInstListInfo": {
1018             "type": "array",
1019             "items": {
1020                 "type": "object"
1021             }
1022         },
1023         "NfPkgPostRequest": {
1024             "type": "object",
1025             "properties": {
1026                 "csarId": {
1027                     "type": "string"
1028                 }
1029             }
1030         },
1031         "NfPkgPostResponse": {
1032             "type": "object",
1033             "properties": {
1034                 "jobId": {
1035                     "type": "string"
1036                 }
1037             }
1038         },
1039         "NfPackageListInfo": {
1040             "type": "object",
1041             "properties": {
1042                 "csars": {
1043                     "$ref": "#/definitions/NfPkgListInfo"
1044                 }
1045             }
1046         },
1047         "NfPkgListInfo": {
1048             "type": "array",
1049             "items": {
1050                 "type": "object"
1051             }
1052         },
1053         "NfPackageInfo": {
1054             "type": "object",
1055             "properties": {
1056                 "csarId": {
1057                     "type": "string"
1058                 },
1059                 "packageInfo": {
1060                     "$ref": "#/definitions/NfPkgDetailInfo"
1061                 },
1062                 "imageInfo": {
1063                     "$ref": "#/definitions/NfPkgImgInfo"
1064                 },
1065                 "vnfInstanceInfo": {
1066                     "$ref": "#/definitions/NfInstListInfo"
1067                 }
1068             }
1069         },
1070         "NfPkgDetailInfo": {
1071             "type": "object",
1072             "properties": {
1073                 "vnfdId": {
1074                     "type": "string"
1075                 },
1076                 "vnfdProvider": {
1077                     "type": "string"
1078                 },
1079                 "vnfdVersion": {
1080                     "type": "string"
1081                 },
1082                 "vnfVersion": {
1083                     "type": "string"
1084                 }
1085             }
1086         },
1087         "NfInstListInfo": {
1088             "type": "array",
1089             "items": {
1090                 "type": "object"
1091             }
1092         },
1093         "NfPkgImgInfo": {
1094             "type": "array",
1095             "items": {
1096                 "type": "object"
1097             }
1098         },
1099         "VlPostRequest": {
1100             "type": "object",
1101             "properties": {
1102                 "jobId": {
1103                     "type": "string"
1104                 },
1105                 "nsInstanceId": {
1106                     "type": "string"
1107                 },
1108                 "flavourId": {
1109                     "type": "string"
1110                 },
1111                 "sapData": {
1112                     "type": "array",
1113                     "items": {
1114                         "type": "object"
1115                     }
1116                 },
1117                 "pnfInfo": {
1118                     "type": "array",
1119                     "items": {
1120                         "type": "object"
1121                     }
1122                 },
1123                 "vnfInstanceData": {
1124                     "type": "array",
1125                     "items": {
1126                         "type": "object"
1127                     }
1128                 },
1129                 "nestedNsInstanceId": {
1130                     "type": "array",
1131                     "items": {
1132                         "type": "object"
1133                     }
1134                 },
1135                 "locationConstraints": {
1136                     "type": "array",
1137                     "items": {
1138                         "type": "object"
1139                     }
1140                 },
1141                 "additionalParamForNs": {
1142                     "type": "array",
1143                     "items": {
1144                         "type": "object"
1145                     }
1146                 },
1147                 "additionalParamForVnf": {
1148                     "type": "array",
1149                     "items": {
1150                         "type": "object"
1151                     }
1152                 },
1153                 "extNSVirtualLink": {
1154                     "type": "array",
1155                     "items": {
1156                         "type": "object"
1157                     }
1158                 },
1159                 "context": {
1160                     "type": "string"
1161                 },
1162                 "vlIndex": {
1163                     "type": "string"
1164                 }
1165             }
1166         },
1167         "VlPostResponse": {
1168             "type": "object",
1169             "properties": {
1170                 "result": {
1171                     "type": "integer",
1172                     "enum": [
1173                         0,
1174                         1
1175                     ]
1176                 },
1177                 "detail": {
1178                     "type": "string"
1179                 },
1180                 "vlId": {
1181                     "type": "string"
1182                 }
1183             }
1184         },
1185         "VnfPostRequest": {
1186             "type": "object",
1187             "properties": {
1188                 "jobId": {
1189                     "type": "string"
1190                 },
1191                 "nsInstanceId": {
1192                     "type": "string"
1193                 },
1194                 "flavourId": {
1195                     "type": "string"
1196                 },
1197                 "sapData": {
1198                     "type": "array",
1199                     "items": {
1200                         "type": "object"
1201                     }
1202                 },
1203                 "pnfInfo": {
1204                     "type": "array",
1205                     "items": {
1206                         "type": "object"
1207                     }
1208                 },
1209                 "vnfInstanceData": {
1210                     "type": "array",
1211                     "items": {
1212                         "type": "object"
1213                     }
1214                 },
1215                 "nestedNsInstanceId": {
1216                     "type": "array",
1217                     "items": {
1218                         "type": "object"
1219                     }
1220                 },
1221                 "locationConstraints": {
1222                     "type": "array",
1223                     "items": {
1224                         "type": "object"
1225                     }
1226                 },
1227                 "additionalParamForNs": {
1228                     "type": "array",
1229                     "items": {
1230                         "type": "object"
1231                     }
1232                 },
1233                 "additionalParamForVnf": {
1234                     "type": "array",
1235                     "items": {
1236                         "type": "object"
1237                     }
1238                 },
1239                 "extNSVirtualLink": {
1240                     "type": "array",
1241                     "items": {
1242                         "type": "object"
1243                     }
1244                 },
1245                 "context": {
1246                     "type": "string"
1247                 },
1248                 "vnfIndex": {
1249                     "type": "string"
1250                 }
1251             }
1252         },
1253         "VnfPostResponse": {
1254             "type": "object",
1255             "properties": {
1256                 "vnfInstId": {
1257                     "type": "string"
1258                 },
1259                 "jobId": {
1260                     "type": "string"
1261                 }
1262             }
1263         },
1264         "SfcPostRequest": {
1265             "type": "object",
1266             "properties": {
1267                 "jobId": {
1268                     "type": "string"
1269                 },
1270                 "nsInstanceId": {
1271                     "type": "string"
1272                 },
1273                 "sapData": {
1274                     "type": "array",
1275                     "items": {
1276                         "type": "object"
1277                     }
1278                 },
1279                 "vnfInstanceData": {
1280                     "type": "array",
1281                     "items": {
1282                         "type": "object"
1283                     }
1284                 },
1285                 "additionalParamForNs": {
1286                     "type": "array",
1287                     "items": {
1288                         "type": "object"
1289                     }
1290                 },
1291                 "additionalParamForVnf": {
1292                     "type": "array",
1293                     "items": {
1294                         "type": "object"
1295                     }
1296                 },
1297                 "sdnControllerId": {
1298                     "type": "string"
1299                 },
1300                 "context": {
1301                     "type": "string"
1302                 },
1303                 "fpindex": {
1304                     "type": "string"
1305                 }
1306             }
1307         },
1308         "NSInstPostDetailRequest": {
1309             "type": "object",
1310             "properties": {
1311                 "status": {
1312                     "type": "string"
1313                 }
1314             }
1315         },
1316         "JobProgressRequest": {
1317             "type": "object",
1318             "properties": {
1319                 "progress": {
1320                     "type": "string"
1321                 },
1322                 "desc": {
1323                     "type": "string"
1324                 },
1325                 "errcode": {
1326                     "type": "string"
1327                 }
1328             }
1329         },
1330         "SfcPostResponse": {
1331             "type": "object",
1332             "properties": {
1333                 "sfcInstId": {
1334                     "type": "string"
1335                 },
1336                 "jobId": {
1337                     "type": "string"
1338                 }
1339             }
1340         },
1341         "VlInfo": {
1342             "type": "object",
1343             "properties": {
1344                 "vlId": {
1345                     "type": "string"
1346                 },
1347                 "vlName": {
1348                     "type": "string"
1349                 },
1350                 "vlStatus": {
1351                     "type": "string"
1352                 }
1353             }
1354         },
1355         "VnfInfo": {
1356             "type": "object",
1357             "properties": {
1358                 "vnfInstId": {
1359                     "type": "string"
1360                 },
1361                 "vnfName": {
1362                     "type": "string"
1363                 },
1364                 "vnfStatus": {
1365                     "type": "string"
1366                 }
1367             }
1368         },
1369         "SfcInfo": {
1370             "type": "object",
1371             "properties": {
1372                 "sfcInstId": {
1373                     "type": "string"
1374                 },
1375                 "sfcName": {
1376                     "type": "string"
1377                 },
1378                 "sfcStatus": {
1379                     "type": "string"
1380                 }
1381             }
1382         },
1383         "DeleteVlResponse": {
1384             "type": "object",
1385             "properties": {
1386                 "result": {
1387                     "type": "integer",
1388                     "enum": [
1389                         0,
1390                         1
1391                     ]
1392                 },
1393                 "detail": {
1394                     "type": "string"
1395                 }
1396             }
1397         },
1398         "DeleteResponse": {
1399             "type": "object",
1400             "properties": {
1401                 "result": {
1402                     "type": "integer",
1403                     "enum": [
1404                         0,
1405                         1
1406                     ]
1407                 },
1408                 "detail": {
1409                     "type": "string"
1410                 }
1411             }
1412         },
1413         "ScaleNsRequest": {
1414             "type": "object",
1415             "properties": {
1416                 "scaleType":{
1417                     "type": "string"
1418                 },
1419                 "scaleNsByStepsData": {
1420                     "$ref": "#/definitions/ScaleNsByStepsData"
1421                 }
1422             }
1423         },
1424         "ScaleNsByStepsData": {
1425             "type": "object",
1426             "properties": {
1427                 "scalingDirection": {
1428                     "type": "string"
1429                 },
1430                 "aspectId": {
1431                     "type": "string"
1432                 },
1433                 "numberOfSteps": {
1434                     "type": "integer"
1435                 }
1436             }
1437         },
1438         "NsScaleResponse": {
1439             "type": "object",
1440             "properties": {
1441                 "jobID": {
1442                     "type": "string"
1443                 }
1444             }
1445         },
1446         "NsTerminateRequest": {
1447             "type": "object",
1448             "properties": {
1449                 "terminationType": {
1450                     "type": "string"
1451                 },
1452                 "gracefulTerminationTimeout": {
1453                     "type": "string"
1454                 }
1455             }
1456         },
1457         "NsTerminateResponse": {
1458             "type": "object",
1459             "properties": {
1460                 "jobID": {
1461                     "type": "string"
1462                 }
1463             }
1464         },
1465         "healVnfDataRequest": {
1466             "type": "object",
1467             "properties": {
1468                 "vnfInstanceId": {
1469                     "type": "string"
1470                 },
1471                 "cause": {
1472                     "type": "string"
1473                 },
1474                 "additionalParams": {
1475                     "type": "object",
1476                     "properties": {
1477                         "action": {
1478                             "type": "string"
1479                         },
1480                         "actionvminfo": {
1481                             "type": "object",
1482                             "properties": {
1483                                 "vmid": {
1484                                     "type": "string"
1485                                 },
1486                                 "vmname": {
1487                                     "type": "string"
1488                                 }
1489                             }
1490                         }
1491                     }
1492                 }
1493             }
1494         },
1495         "healVnfDataResponse": {
1496             "type": "object",
1497             "properties": {
1498                 "jobId": {
1499                     "type": "string"
1500                 }
1501             }
1502         },
1503         "TableInfo": {
1504             "type": "object",
1505             "properties": {
1506                 "count": {
1507                     "type": "string"
1508                 }
1509             }
1510         },
1511         "NsInfo": {
1512             "type": "object",
1513             "properties": {
1514                 "vnfInfoId": {
1515                     "type": "string"
1516                 },
1517                 "vlInfo": {
1518                     "type": "string"
1519                 },
1520                 "nsState": {
1521                     "type": "string"
1522                 },
1523                 "description": {
1524                     "type": "string"
1525                 },
1526                 "nsName": {
1527                     "type": "string"
1528                 },
1529                 "nsInstanceId": {
1530                     "type": "string"
1531                 },
1532                 "nsdId": {
1533                     "type": "string"
1534                 },
1535                 "vnffgInfo": {
1536                     "type": "string"
1537                 }
1538             }
1539         }
1540     }
1541 }