Add swagger for ns pkg del and get
[vfc/nfvo/lcm.git] / lcm / ns / swagger.json
1 {
2     "swagger": "2.0",
3     "info": {
4         "version": "1.0.0",
5         "title": "ZTE vManager Service rest API"
6     },
7     "basePath": "/api/nslcm/v1",
8     "tags": [
9         {
10             "name": "lcm 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         "/ns/vls": {
150             "post": {
151                 "tags": [
152                     "vls Resource"
153                 ],
154                 "summary": "vl create",
155                 "description": "",
156                 "operationId": "create_vl",
157                 "consumes": [
158                     "application/json"
159                 ],
160                 "produces": [
161                     "application/json"
162                 ],
163                 "parameters": [
164                     {
165                         "in": "body",
166                         "name": "body",
167                         "description": "instantiate request param",
168                         "required": true,
169                         "schema": {
170                             "$ref": "#/definitions/VlPostRequest"
171                         }
172                     }
173                 ],
174                 "responses": {
175                     "201": {
176                         "description": "",
177                         "schema": {
178                             "$ref": "#/definitions/VlPostResponse"
179                         }
180                     }
181                 }
182             }
183         },
184         "/ns/vls/{vlId}": {
185             "get": {
186                 "tags": [
187                     "vls Resource"
188                 ],
189                 "summary": "query the specified vl info",
190                 "description": "",
191                 "operationId": "query_vl",
192                 "consumes": [
193                     "application/json"
194                 ],
195                 "produces": [
196                     "application/json"
197                 ],
198                 "parameters": [
199                     {
200                         "name": "vlId",
201                         "in": "path",
202                         "description": "vl instance id",
203                         "required": true,
204                         "type": "string"
205                     }
206                 ],
207                 "responses": {
208                     "200": {
209                         "description": "successful operation",
210                         "schema": {
211                             "$ref": "#/definitions/VlInfo"
212                         }
213                     },
214                     "404": {
215                         "description": "the vl instance id is wrong"
216                     },
217                     "500": {
218                         "description": "the url is invalid"
219                     }
220                 }
221             },
222             "delete": {
223                 "tags": [
224                     "vls Resource"
225                 ],
226                 "summary": "delete vl",
227                 "description": "",
228                 "operationId": "delete_vl",
229                 "consumes": [
230                     "application/json"
231                 ],
232                 "produces": [
233                     "application/json"
234                 ],
235                 "parameters": [
236                     {
237                         "required": true,
238                         "type": "string",
239                         "description": "",
240                         "name": "vlId",
241                         "in": "path"
242                     }
243                 ],
244                 "responses": {
245                     "204": {
246                         "description": "successful operation",
247                         "schema": {
248                             "$ref": "#/definitions/DeleteVlResponse"
249                         }
250                     },
251                     "404": {
252                         "description": "the vl instance id is wrong"
253                     },
254                     "500": {
255                         "description": "the url is invalid"
256                     }
257                 }
258             }
259         },
260         "/ns/vnfs": {
261             "post": {
262                 "tags": [
263                     "vnfs Resource"
264                 ],
265                 "summary": "vnf create",
266                 "description": "",
267                 "operationId": "create_vnf",
268                 "consumes": [
269                     "application/json"
270                 ],
271                 "produces": [
272                     "application/json"
273                 ],
274                 "parameters": [
275                     {
276                         "in": "body",
277                         "name": "body",
278                         "description": "instantiate request param",
279                         "required": true,
280                         "schema": {
281                             "$ref": "#/definitions/VnfPostRequest"
282                         }
283                     }
284                 ],
285                 "responses": {
286                     "201": {
287                         "description": "",
288                         "schema": {
289                             "$ref": "#/definitions/VnfPostResponse"
290                         }
291                     }
292                 }
293             }
294         },
295         "/ns/vnfs/{vnfInstId}": {
296             "get": {
297                 "tags": [
298                     "vnfs Resource"
299                 ],
300                 "summary": "query the specified vnf info",
301                 "description": "",
302                 "operationId": "query_vnf",
303                 "consumes": [
304                     "application/json"
305                 ],
306                 "produces": [
307                     "application/json"
308                 ],
309                 "parameters": [
310                     {
311                         "name": "vnfInstId",
312                         "in": "path",
313                         "description": "vnf instance id",
314                         "required": true,
315                         "type": "string"
316                     }
317                 ],
318                 "responses": {
319                     "200": {
320                         "description": "successful operation",
321                         "schema": {
322                             "$ref": "#/definitions/VnfInfo"
323                         }
324                     },
325                     "404": {
326                         "description": "the vnf instance id is wrong"
327                     },
328                     "500": {
329                         "description": "the url is invalid"
330                     }
331                 }
332             },
333             "delete": {
334                 "tags": [
335                     "vnfs Resource"
336                 ],
337                 "summary": "delete vnf",
338                 "description": "",
339                 "operationId": "delete_vnf",
340                 "consumes": [
341                     "application/json"
342                 ],
343                 "produces": [
344                     "application/json"
345                 ],
346                 "parameters": [
347                     {
348                         "required": true,
349                         "type": "string",
350                         "description": "",
351                         "name": "vnfInstId",
352                         "in": "path"
353                     }
354                 ],
355                 "responses": {
356                     "204": {
357                         "description": "successful operation",
358                         "schema": {
359                             "$ref": "#/definitions/DeleteResponse"
360                         }
361                     },
362                     "404": {
363                         "description": "the vl instance id is wrong"
364                     },
365                     "500": {
366                         "description": "the url is invalid"
367                     }
368                 }
369             }
370         },
371         "/ns/sfcs": {
372             "post": {
373                 "tags": [
374                     "sfcs Resource"
375                 ],
376                 "summary": "sfc create",
377                 "description": "",
378                 "operationId": "create_sfc",
379                 "consumes": [
380                     "application/json"
381                 ],
382                 "produces": [
383                     "application/json"
384                 ],
385                 "parameters": [
386                     {
387                         "in": "body",
388                         "name": "body",
389                         "description": "request param",
390                         "required": true,
391                         "schema": {
392                             "$ref": "#/definitions/SfcPostRequest"
393                         }
394                     }
395                 ],
396                 "responses": {
397                     "201": {
398                         "description": "",
399                         "schema": {
400                             "$ref": "#/definitions/SfcPostResponse"
401                         }
402                     }
403                 }
404             }
405         },
406         "/ns/sfcs/{sfcInstId}": {
407             "get": {
408                 "tags": [
409                     "sfcs Resource"
410                 ],
411                 "summary": "query the specified sfc info",
412                 "description": "",
413                 "operationId": "query_sfc",
414                 "consumes": [
415                     "application/json"
416                 ],
417                 "produces": [
418                     "application/json"
419                 ],
420                 "parameters": [
421                     {
422                         "name": "sfcInstId",
423                         "in": "path",
424                         "description": "sfc instance id",
425                         "required": true,
426                         "type": "string"
427                     }
428                 ],
429                 "responses": {
430                     "200": {
431                         "description": "successful operation",
432                         "schema": {
433                             "$ref": "#/definitions/SfcInfo"
434                         }
435                     },
436                     "404": {
437                         "description": "the sfc instance id is wrong"
438                     },
439                     "500": {
440                         "description": "the url is invalid"
441                     }
442                 }
443             },
444             "delete": {
445                 "tags": [
446                     "vnfs Resource"
447                 ],
448                 "summary": "delete sfc",
449                 "description": "",
450                 "operationId": "delete_sfc",
451                 "consumes": [
452                     "application/json"
453                 ],
454                 "produces": [
455                     "application/json"
456                 ],
457                 "parameters": [
458                     {
459                         "required": true,
460                         "type": "string",
461                         "description": "",
462                         "name": "sfcInstId",
463                         "in": "path"
464                     }
465                 ],
466                 "responses": {
467                     "204": {
468                         "description": "successful operation",
469                         "schema": {
470                             "$ref": "#/definitions/DeleteResponse"
471                         }
472                     },
473                     "404": {
474                         "description": "the sfc instance id is wrong"
475                     },
476                     "500": {
477                         "description": "the url is invalid"
478                     }
479                 }
480             }
481         },
482         "/ns/{nsInstanceId}/postdeal": {
483             "post": {
484                 "tags": [
485                     "ns postdeal"
486                 ],
487                 "summary": "ns postdeal",
488                 "description": "",
489                 "operationId": "ns_postdeal",
490                 "consumes": [
491                     "application/json"
492                 ],
493                 "produces": [
494                     "application/json"
495                 ],
496                 "parameters": [
497                     {
498                         "required": true,
499                         "type": "string",
500                         "description": "",
501                         "name": "nsInstanceId",
502                         "in": "path"
503                     },
504                     {
505                         "in": "body",
506                         "name": "body",
507                         "description": "request param",
508                         "required": true,
509                         "schema": {
510                             "$ref": "#/definitions/NSInstPostDetailRequest"
511                         }
512                     }
513                 ],
514                 "responses": {
515                     "202": {
516                         "description": ""
517                     }
518                 }
519             }
520         },
521         "/ns/{nsInstanceId}/scale": {
522             "post": {
523                 "tags": [
524                     "ns scale"
525                 ],
526                 "summary": "ns scale",
527                 "description": "ns scale",
528                 "operationId": "ns_scale",
529                 "consumes": [
530                     "application/json"
531                 ],
532                 "produces": [
533                     "application/json"
534                 ],
535                 "parameters": [
536                     {
537                         "required": true,
538                         "type": "string",
539                         "description": "",
540                         "name": "nsInstanceId",
541                         "in": "path"
542                     },
543                                         {
544                         "required": true,
545                         "type": "Enum",
546                         "description": "",
547                         "name": "scaleType",
548                         "in": "body"
549                     },
550                     {
551                         "in": "body",
552                         "name": "scaleNsData",
553                         "description": "scaleNsData",
554                         "required": true,
555                         "schema": {
556                             "$ref": "#/definitions/ScaleNsData"
557                         }
558                     }
559                 ],
560                 "responses": {
561                     "200": {
562                         "description": "",
563                         "schema": {
564                             "$ref": "#/definitions/NsScaleResponse"
565                         }
566                     },
567                     "201": {
568                         "description": "Invalid Request"
569                     }
570                 }
571             }
572         },
573         "/ns/{ns_instance_id}": {
574             "delete": {
575                 "tags": [
576                     "ns lcm"
577                 ],
578                 "summary": "ns delete",
579                 "description": "ns delete",
580                 "operationId": "ns_delete",
581                 "consumes": [
582                     "application/json"
583                 ],
584                 "produces": [
585                     "application/json"
586                 ],
587                 "parameters": [
588                     {
589                         "required": true,
590                         "type": "string",
591                         "description": "Identifier of the NS instance.",
592                         "name": "ns_instance_id",
593                         "in": "path"
594                     }
595                 ],
596                 "responses": {
597                     "204": {
598                         "description": "The NS instance resource and the associated NS identifier were deleted successfully."
599                     }
600                 }
601             }
602         },
603         "/ns/{ns_instance_id}/terminate": {
604             "post": {
605                 "tags": [
606                     "ns lcm"
607                 ],
608                 "summary": "ns terminate",
609                 "description": "ns terminate",
610                 "operationId": "ns_terminate",
611                 "consumes": [
612                     "application/json"
613                 ],
614                 "produces": [
615                     "application/json"
616                 ],
617                 "parameters": [
618                     {
619                         "required": true,
620                         "type": "string",
621                         "description": "Identifier of the NS instance.",
622                         "name": "ns_instance_id",
623                         "in": "path"
624                     },
625                     {
626                         "in": "body",
627                         "name": "NsTerminateRequest",
628                         "description": "NsTerminateRequest",
629                         "required": true,
630                         "schema": {
631                             "$ref": "#/definitions/NsTerminateRequest"
632                         }
633                     }
634                 ],
635                 "responses": {
636                     "202": {
637                         "description": "",
638                         "schema": {
639                             "$ref": "#/definitions/NsTerminateResponse"
640                         }
641                     },
642                     "500": {
643                         "description": "the url is invalid"
644                     }
645                 }
646             }
647         },
648         "/ns/{ns_instance_id}/heal": {
649             "post": {
650                 "tags": [
651                     "ns heal"
652                 ],
653                 "summary": "ns heal",
654                 "description": "ns heal",
655                 "operationId": "ns_heal",
656                 "consumes": [
657                     "application/json"
658                 ],
659                 "produces": [
660                     "application/json"
661                 ],
662                 "parameters": [
663                     {
664                         "required": true,
665                         "type": "string",
666                         "description": "Identifier of the NS instance.",
667                         "name": "ns_instance_id",
668                         "in": "path"
669                     },
670                     {
671                         "in": "body",
672                         "name": "healVnfData",
673                         "description": "healVnfData",
674                         "required": true,
675                         "schema": {
676                             "$ref": "#/definitions/healVnfDataRequest"
677                         }
678                     }
679                 ],
680                 "responses": {
681                     "202": {
682                         "description": "",
683                         "schema": {
684                             "$ref": "#/definitions/healVnfDataResponse"
685                         }
686                     },
687                     "500": {
688                         "description": "the url is invalid"
689                     }
690                 }
691             }
692         },
693         "/mandb/{modelName}": {
694             "get": {
695                 "tags": [
696                     "ns lcm"
697                 ],
698                 "summary": "query ns table info",
699                 "description": "query ns table info",
700                 "operationId": "query_ns_table",
701                 "consumes": [
702                     "application/json"
703                 ],
704                 "produces": [
705                     "application/json"
706                 ],
707                 "parameters": [
708                     {
709                         "required": true,
710                         "type": "string",
711                         "description": "model Name.",
712                         "name": "modelName",
713                         "in": "path"
714                     }
715                 ],
716                 "responses": {
717                     "200": {
718                         "description": "successful operation",
719                         "schema": {
720                             "$ref": "#/definitions/TableInfo"
721                         }
722                     },
723                     "500": {
724                         "description": "the url is invalid"
725                     }
726                 }
727             },
728             "delete": {
729                 "tags": [
730                     "ns lcm"
731                 ],
732                 "summary": "ns table delete",
733                 "description": "ns table delete",
734                 "operationId": "ns_table_delete",
735                 "consumes": [
736                     "application/json"
737                 ],
738                 "produces": [
739                     "application/json"
740                 ],
741                 "parameters": [
742                     {
743                         "required": true,
744                         "type": "string",
745                         "description": "model Name.",
746                         "name": "modelName",
747                         "in": "path"
748                     }
749                 ],
750                 "responses": {
751                     "204": {
752                         "description": "The tables were deleted successfully."
753                     }
754                 }
755             }
756         },
757         "/ns": {
758             "get": {
759                 "tags": [
760                     "ns lcm"
761                 ],
762                 "summary": "ns get",
763                 "description": "ns get",
764                 "operationId": "ns_get",
765                 "consumes": [
766                     "application/json"
767                 ],
768                 "produces": [
769                     "application/json"
770                 ],
771                 "parameters": [
772   
773                 ],
774                 "responses": {
775                     "200": {
776                         "description": "successful operation",
777                         "schema": {
778                             "$ref": "#/definitions/NsInfo"
779                         }
780                     }
781                 }
782             }
783         },
784         "/jobs/{jobId}":{
785           "post": {
786                 "tags": [
787                     "jobstatus"
788                 ],
789                 "summary": "jobstatus",
790                 "description": "",
791                 "operationId": "jobstatus",
792                 "consumes": [
793                     "application/json"
794                 ],
795                 "produces": [
796                     "application/json"
797                 ],
798                 "parameters": [
799                     {
800                         "required": true,
801                         "type": "string",
802                         "description": "",
803                         "name": "jobId",
804                         "in": "path"
805                     },
806                     {
807                         "in": "body",
808                         "name": "body",
809                         "description": "request param",
810                         "required": true,
811                         "schema": {
812                             "$ref": "#/definitions/JobProgressRequest"
813                         }
814                     }
815                 ],
816                 "responses": {
817                     "202": {
818                         "description": ""
819                     }
820                 }
821             }
822         }
823     },
824     "definitions": {
825         "NsPkgPostRequest": {
826             "type": "object",
827             "properties": {
828                 "csarId": {
829                     "type": "string"
830                 }
831             }
832         },
833         "NsPkgPostResponse": {
834             "type": "object",
835             "properties": {
836                 "status": {
837                     "type": "string"
838                 },
839                 "statusDescription": {
840                     "type": "string"
841                 },
842                 "errorCode": {
843                     "type": "string"
844                 }
845             }
846         },
847         "NsPackageListInfo": {
848             "type": "object",
849             "properties": {
850                 "csars": {
851                     "$ref": "#/definitions/NsPkgListInfo"
852                 }
853             }
854         },
855         "NsPkgListInfo": {
856             "type": "array",
857             "items": {
858                 "type": "object"
859             }
860         },
861         "NsPackageInfo": {
862             "type": "object",
863             "properties": {
864                 "csarId": {
865                     "type": "string"
866                 },
867                 "packageInfo": {
868                     "$ref": "#/definitions/NsPkgDetailInfo"
869                 },
870                 "nsInstanceInfo": {
871                     "$ref": "#/definitions/NsInstListInfo"
872                 }
873             }
874         },
875         "NsPkgDetailInfo": {
876             "type": "object",
877             "properties": {
878                 "nsdId": {
879                     "type": "string"
880                 },
881                 "nsdProvider": {
882                     "type": "string"
883                 },
884                 "nsdVersion": {
885                     "type": "string"
886                 }
887             }
888         },
889         "NsInstListInfo": {
890             "type": "array",
891             "items": {
892                 "type": "object"
893             }
894         },
895         "VlPostRequest": {
896             "type": "object",
897             "properties": {
898                 "jobId": {
899                     "type": "string"
900                 },
901                 "nsInstanceId": {
902                     "type": "string"
903                 },
904                 "flavourId": {
905                     "type": "string"
906                 },
907                 "sapData": {
908                     "type": "array",
909                     "items": {
910                         "type": "object"
911                     }
912                 },
913                 "pnfInfo": {
914                     "type": "array",
915                     "items": {
916                         "type": "object"
917                     }
918                 },
919                 "vnfInstanceData": {
920                     "type": "array",
921                     "items": {
922                         "type": "object"
923                     }
924                 },
925                 "nestedNsInstanceId": {
926                     "type": "array",
927                     "items": {
928                         "type": "object"
929                     }
930                 },
931                 "locationConstraints": {
932                     "type": "array",
933                     "items": {
934                         "type": "object"
935                     }
936                 },
937                 "additionalParamForNs": {
938                     "type": "array",
939                     "items": {
940                         "type": "object"
941                     }
942                 },
943                 "additionalParamForVnf": {
944                     "type": "array",
945                     "items": {
946                         "type": "object"
947                     }
948                 },
949                 "extNSVirtualLink": {
950                     "type": "array",
951                     "items": {
952                         "type": "object"
953                     }
954                 },
955                 "context": {
956                     "type": "string"
957                 },
958                 "vlIndex": {
959                     "type": "string"
960                 }
961             }
962         },
963         "VlPostResponse": {
964             "type": "object",
965             "properties": {
966                 "result": {
967                     "type": "integer",
968                     "enum": [
969                         0,
970                         1
971                     ]
972                 },
973                 "detail": {
974                     "type": "string"
975                 },
976                 "vlId": {
977                     "type": "string"
978                 }
979             }
980         },
981         "VnfPostRequest": {
982             "type": "object",
983             "properties": {
984                 "jobId": {
985                     "type": "string"
986                 },
987                 "nsInstanceId": {
988                     "type": "string"
989                 },
990                 "flavourId": {
991                     "type": "string"
992                 },
993                 "sapData": {
994                     "type": "array",
995                     "items": {
996                         "type": "object"
997                     }
998                 },
999                 "pnfInfo": {
1000                     "type": "array",
1001                     "items": {
1002                         "type": "object"
1003                     }
1004                 },
1005                 "vnfInstanceData": {
1006                     "type": "array",
1007                     "items": {
1008                         "type": "object"
1009                     }
1010                 },
1011                 "nestedNsInstanceId": {
1012                     "type": "array",
1013                     "items": {
1014                         "type": "object"
1015                     }
1016                 },
1017                 "locationConstraints": {
1018                     "type": "array",
1019                     "items": {
1020                         "type": "object"
1021                     }
1022                 },
1023                 "additionalParamForNs": {
1024                     "type": "array",
1025                     "items": {
1026                         "type": "object"
1027                     }
1028                 },
1029                 "additionalParamForVnf": {
1030                     "type": "array",
1031                     "items": {
1032                         "type": "object"
1033                     }
1034                 },
1035                 "extNSVirtualLink": {
1036                     "type": "array",
1037                     "items": {
1038                         "type": "object"
1039                     }
1040                 },
1041                 "context": {
1042                     "type": "string"
1043                 },
1044                 "vnfIndex": {
1045                     "type": "string"
1046                 }
1047             }
1048         },
1049         "VnfPostResponse": {
1050             "type": "object",
1051             "properties": {
1052                 "vnfInstId": {
1053                     "type": "string"
1054                 },
1055                 "jobId": {
1056                     "type": "string"
1057                 }
1058             }
1059         },
1060         "SfcPostRequest": {
1061             "type": "object",
1062             "properties": {
1063                 "jobId": {
1064                     "type": "string"
1065                 },
1066                 "nsInstanceId": {
1067                     "type": "string"
1068                 },
1069                 "sapData": {
1070                     "type": "array",
1071                     "items": {
1072                         "type": "object"
1073                     }
1074                 },
1075                 "vnfInstanceData": {
1076                     "type": "array",
1077                     "items": {
1078                         "type": "object"
1079                     }
1080                 },
1081                 "additionalParamForNs": {
1082                     "type": "array",
1083                     "items": {
1084                         "type": "object"
1085                     }
1086                 },
1087                 "additionalParamForVnf": {
1088                     "type": "array",
1089                     "items": {
1090                         "type": "object"
1091                     }
1092                 },
1093                 "sdnControllerId": {
1094                     "type": "string"
1095                 },
1096                 "context": {
1097                     "type": "string"
1098                 },
1099                 "fpindex": {
1100                     "type": "string"
1101                 }
1102             }
1103         },
1104         "NSInstPostDetailRequest": {
1105             "type": "object",
1106             "properties": {
1107                 "status": {
1108                     "type": "string"
1109                 }
1110             }
1111         },
1112         "JobProgressRequest": {
1113             "type": "object",
1114             "properties": {
1115                 "progress": {
1116                     "type": "string"
1117                 },
1118                 "desc": {
1119                     "type": "string"
1120                 },
1121                 "errcode": {
1122                     "type": "string"
1123                 }
1124             }
1125         },
1126         "SfcPostResponse": {
1127             "type": "object",
1128             "properties": {
1129                 "sfcInstId": {
1130                     "type": "string"
1131                 },
1132                 "jobId": {
1133                     "type": "string"
1134                 }
1135             }
1136         },
1137         "VlInfo": {
1138             "type": "object",
1139             "properties": {
1140                 "vlId": {
1141                     "type": "string"
1142                 },
1143                 "vlName": {
1144                     "type": "string"
1145                 },
1146                 "vlStatus": {
1147                     "type": "string"
1148                 }
1149             }
1150         },
1151         "VnfInfo": {
1152             "type": "object",
1153             "properties": {
1154                 "vnfInstId": {
1155                     "type": "string"
1156                 },
1157                 "vnfName": {
1158                     "type": "string"
1159                 },
1160                 "vnfStatus": {
1161                     "type": "string"
1162                 }
1163             }
1164         },
1165         "SfcInfo": {
1166             "type": "object",
1167             "properties": {
1168                 "sfcInstId": {
1169                     "type": "string"
1170                 },
1171                 "sfcName": {
1172                     "type": "string"
1173                 },
1174                 "sfcStatus": {
1175                     "type": "string"
1176                 }
1177             }
1178         },
1179         "DeleteVlResponse": {
1180             "type": "object",
1181             "properties": {
1182                 "result": {
1183                     "type": "integer",
1184                     "enum": [
1185                         0,
1186                         1
1187                     ]
1188                 },
1189                 "detail": {
1190                     "type": "string"
1191                 }
1192             }
1193         },
1194         "DeleteResponse": {
1195             "type": "object",
1196             "properties": {
1197                 "result": {
1198                     "type": "integer",
1199                     "enum": [
1200                         0,
1201                         1
1202                     ]
1203                 },
1204                 "detail": {
1205                     "type": "string"
1206                 }
1207             }
1208         },
1209         "ScaleNsData": {
1210             "type": "object",
1211             "properties": {
1212                 "scaleNsByStepsData": {
1213                     "$ref": "#/definitions/ScaleNsByStepsData"
1214                 }
1215             }
1216         },
1217         "ScaleNsByStepsData": {
1218             "type": "object",
1219             "properties": {
1220                 "scalingDirection": {
1221                     "type": "Enum"
1222                 },
1223                 "aspectId": {
1224                     "type": "string"
1225                 },
1226                 "numberOfSteps": {
1227                     "type": "integer"
1228                 }
1229             }
1230         },
1231         "NsScaleResponse": {
1232             "type": "object",
1233             "properties": {
1234                 "jobID": {
1235                     "type": "string"
1236                 }
1237             }
1238         },
1239         "NsTerminateRequest": {
1240             "type": "object",
1241             "properties": {
1242                 "terminationType": {
1243                     "type": "string"
1244                 },
1245                 "gracefulTerminationTimeout": {
1246                     "type": "string"
1247                 }
1248             }
1249         },
1250         "NsTerminateResponse": {
1251             "type": "object",
1252             "properties": {
1253                 "jobID": {
1254                     "type": "string"
1255                 }
1256             }
1257         },
1258         "healVnfDataRequest": {
1259             "type": "object",
1260             "properties": {
1261                 "vnfInstanceId": {
1262                     "type": "string"
1263                 },
1264                 "cause": {
1265                     "type": "string"
1266                 },
1267                 "additionalParams": {
1268                     "type": "object",
1269                     "properties": {
1270                         "action": {
1271                             "type": "string"
1272                         },
1273                         "actionvminfo": {
1274                             "type": "object",
1275                             "properties": {
1276                                 "vmid": {
1277                                     "type": "string"
1278                                 },
1279                                 "vmname": {
1280                                     "type": "string"
1281                                 }
1282                             }
1283                         }
1284                     }
1285                 }
1286             }
1287         },
1288         "healVnfDataResponse": {
1289             "type": "object",
1290             "properties": {
1291                 "jobId": {
1292                     "type": "string"
1293                 }
1294             }
1295         },
1296         "TableInfo": {
1297             "type": "object",
1298             "properties": {
1299                 "count": {
1300                     "type": "string"
1301                 }
1302             }
1303         },
1304         "NsInfo": {
1305             "type": "object",
1306             "properties": {
1307                 "vnfInfoId": {
1308                     "type": "string"
1309                 },
1310                 "vlInfo": {
1311                     "type": "string"
1312                 },
1313                 "nsState": {
1314                     "type": "string"
1315                 },
1316                 "description": {
1317                     "type": "string"
1318                 },
1319                 "nsName": {
1320                     "type": "string"
1321                 },
1322                 "nsInstanceId": {
1323                     "type": "string"
1324                 },
1325                 "nsdId": {
1326                     "type": "string"
1327                 },
1328                 "vnffgInfo": {
1329                     "type": "string"
1330                 }
1331             }
1332         }
1333     }
1334 }