blob: ef7fe739543a20d3c4ba625b742f18f7e903d8c0 [file] [log] [blame]
yangyanc0562222019-11-06 10:59:05 +08001{
2 "info": {
3 "_postman_id": "ce6ead69-bd22-4d59-b711-d5acf1afd243",
4 "name": "Vnf_package_onboard",
5 "description": "The VFC VNF package onboard",
6 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7 },
8 "item": [
9 {
10 "name": "VNF",
11 "item": [
12 {
13 "name": "msb_create",
14 "request": {
15 "method": "POST",
16 "header": [
17 {
18 "key": "content-type",
19 "value": " application/json ",
20 "type": "text"
21 },
22 {
23 "key": "accept",
24 "value": " application/json",
25 "type": "text"
26 }
27 ],
28 "body": {
29 "mode": "formdata",
30 "formdata": [
31 {
32 "key": "userDefinedData",
33 "value": " \"key2\": \"value2\"",
34 "type": "text"
35 }
36 ]
37 },
38 "url": {
39 "raw": "http://172.30.3.104:30280/api/vnfpkgm/v1/vnf_packages",
40 "protocol": "http",
41 "host": [
42 "172",
43 "30",
44 "3",
45 "104"
46 ],
47 "port": "30280",
48 "path": [
49 "api",
50 "vnfpkgm",
51 "v1",
52 "vnf_packages"
53 ]
54 }
55 },
56 "response": []
57 },
58 {
59 "name": "msb_get",
60 "request": {
61 "method": "GET",
62 "header": [],
63 "body": {
64 "mode": "raw",
65 "raw": ""
66 },
67 "url": {
68 "raw": "http://172.30.3.104:30280/api/vnfpkgm/v1/vnf_packages",
69 "protocol": "http",
70 "host": [
71 "172",
72 "30",
73 "3",
74 "104"
75 ],
76 "port": "30280",
77 "path": [
78 "api",
79 "vnfpkgm",
80 "v1",
81 "vnf_packages"
82 ]
83 },
84 "description": "pick up information:\n[\n {\n \"id\": \"1109773b-0cab-4f11-a11e-0cc22b1a29a3\",\n \"vnfdId\": \"b1bb0ce7-2222-4fa7-95ed-4840d70a1101\",\n \"vnfProductName\": \"vcpe_vbng\",\n \"vnfSoftwareVersion\": \"1.0.0\",\n \"vnfdVersion\": \"1.0\",\n \"softwareImages\": null,\n \"additionalArtifacts\": null,\n \"onboardingState\": \"ONBOARDED\",\n \"operationalState\": \"ENABLED\",\n \"usageState\": \"NOT_IN_USE\",\n \"_links\": null\n },\n {\n \"id\": \"386d6fb2-e1d9-4152-9bd6-606e33594ade\",\n \"vnfdId\": \"b1bb0ce7-2222-4fa7-95ed-4840d70a1100\",\n \"vnfProductName\": \"vcpe_infra\",\n \"vnfSoftwareVersion\": \"1.0.0\",\n \"vnfdVersion\": \"1.0\",\n \"softwareImages\": null,\n \"additionalArtifacts\": null,\n \"onboardingState\": \"ONBOARDED\",\n \"operationalState\": \"ENABLED\",\n \"usageState\": \"NOT_IN_USE\",\n \"_links\": null\n },\n {\n \"id\": \"39eb297c-4988-4902-9c37-55e4fd5f1c38\",\n \"vnfdId\": \"0408f076-e6c0-4c82-9940-272fddbb82de\",\n \"vnfProductName\": \"vcpe_vgmux\",\n \"vnfSoftwareVersion\": \"1.0.0\",\n \"vnfdVersion\": \"1.0\",\n \"softwareImages\": null,\n \"additionalArtifacts\": null,\n \"onboardingState\": \"ONBOARDED\",\n \"operationalState\": \"ENABLED\",\n \"usageState\": \"NOT_IN_USE\",\n \"_links\": null\n },\n {\n \"id\": \"511fb4ff-6a10-4699-864f-f3e7ad9b34b3\",\n \"vnfdId\": \"3fca3543-07f5-492f-812c-ed462e4f94f4\",\n \"vnfProductName\": \"vcpe_vgw\",\n \"vnfSoftwareVersion\": \"1.0.0\",\n \"vnfdVersion\": \"1.0\",\n \"softwareImages\": null,\n \"additionalArtifacts\": null,\n \"onboardingState\": \"ONBOARDED\",\n \"operationalState\": \"ENABLED\",\n \"usageState\": \"NOT_IN_USE\",\n \"_links\": null\n },\n {\n \"id\": \"e924a06e-2550-4700-9e72-3a2db75925ac\",\n \"vnfdId\": null,\n \"vnfProductName\": null,\n \"vnfSoftwareVersion\": null,\n \"vnfdVersion\": null,\n \"softwareImages\": null,\n \"additionalArtifacts\": null,\n \"onboardingState\": \"CREATED\",\n \"operationalState\": \"DISABLED\",\n \"usageState\": \"NOT_IN_USE\",\n \"userDefinedData\": {},\n \"_links\": null\n },\n {\n \"id\": \"f660da08-cc7c-4a1f-8196-05d4db415e1d\",\n \"vnfdId\": \"b1bb0ce7-2222-4fa7-95ed-4840d70a1102\",\n \"vnfProductName\": \"vcpe_vbrgemu\",\n \"vnfSoftwareVersion\": \"1.0.0\",\n \"vnfdVersion\": \"1.0\",\n \"softwareImages\": null,\n \"additionalArtifacts\": null,\n \"onboardingState\": \"ONBOARDED\",\n \"operationalState\": \"ENABLED\",\n \"usageState\": \"NOT_IN_USE\",\n \"_links\": null\n }\n]"
85 },
86 "response": []
87 },
88 {
89 "name": "msb_get_one",
90 "request": {
91 "method": "GET",
92 "header": [],
93 "body": {
94 "mode": "raw",
95 "raw": ""
96 },
97 "url": {
98 "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/03c8e541-77a5-4594-b6a1-f955f6460dca",
99 "protocol": "http",
100 "host": [
101 "172",
102 "30",
103 "3",
104 "104"
105 ],
106 "port": "30280",
107 "path": [
108 "api",
109 "nsd",
110 "v1",
111 "ns_descriptors",
112 "03c8e541-77a5-4594-b6a1-f955f6460dca"
113 ]
114 },
115 "description": "Id:03c8e541-77a5-4594-b6a1-f955f6460dca\nAccording to obtaining different vnfinstid"
116 },
117 "response": []
118 },
119 {
120 "name": "msb_delete",
121 "request": {
122 "method": "DELETE",
123 "header": [],
124 "body": {
125 "mode": "raw",
126 "raw": ""
127 },
128 "url": {
129 "raw": "http://172.30.3.104:30280/api/vnfpkgm/v1/vnf_packages/396b889f-529f-426a-97ab-65b00720b308",
130 "protocol": "http",
131 "host": [
132 "172",
133 "30",
134 "3",
135 "104"
136 ],
137 "port": "30280",
138 "path": [
139 "api",
140 "vnfpkgm",
141 "v1",
142 "vnf_packages",
143 "396b889f-529f-426a-97ab-65b00720b308"
144 ]
145 },
146 "description": "Different deletion, different filling of vnfinstid"
147 },
148 "response": []
149 },
150 {
151 "name": "msb_download",
152 "protocolProfileBehavior": {
153 "disableBodyPruning": true
154 },
155 "request": {
156 "method": "GET",
157 "header": [],
158 "body": {},
159 "url": {
160 "raw": "http://172.30.3.104:30280/api/vnfpkgm/v1/vnf_packages/396b889f-529f-426a-97ab-65b00720b308/package_content",
161 "protocol": "http",
162 "host": [
163 "172",
164 "30",
165 "3",
166 "104"
167 ],
168 "port": "30280",
169 "path": [
170 "api",
171 "vnfpkgm",
172 "v1",
173 "vnf_packages",
174 "396b889f-529f-426a-97ab-65b00720b308",
175 "package_content"
176 ]
177 },
178 "description": "msb_download:\nget The acquired data needs to be written to the CSAR file, and there is no write operation here; \ nthe vnf package tested here does not exist.\n"
179 },
180 "response": []
181 }
182 ]
183 }
184 ]
185}