yangyan | fa458b2 | 2019-11-06 10:27:06 +0800 | [diff] [blame] | 1 | { |
Bartek Grzybowski | 2ab4281 | 2020-02-26 15:07:39 +0100 | [diff] [blame] | 2 | "info": { |
| 3 | "_postman_id": "ce6ead69-bd22-4d59-b711-d5acf1afd243", |
| 4 | "name": "Ns_package_onboard", |
| 5 | "description": "The VFC NS package onboard", |
| 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" |
| 7 | }, |
| 8 | "item": [ |
| 9 | { |
| 10 | "name": "ns", |
| 11 | "item": [ |
| 12 | { |
| 13 | "name": "msb_download", |
| 14 | "request": { |
| 15 | "method": "GET", |
| 16 | "header": [], |
| 17 | "body": { |
| 18 | "mode": "raw", |
| 19 | "raw": "" |
| 20 | }, |
| 21 | "url": { |
| 22 | "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/03c8e541-77a5-4594-b6a1-f955f6460dca/nsd_content", |
| 23 | "protocol": "http", |
| 24 | "host": [ |
| 25 | "172", |
| 26 | "30", |
| 27 | "3", |
| 28 | "104" |
| 29 | ], |
| 30 | "port": "30280", |
| 31 | "path": [ |
| 32 | "api", |
| 33 | "nsd", |
| 34 | "v1", |
| 35 | "ns_descriptors", |
| 36 | "03c8e541-77a5-4594-b6a1-f955f6460dca", |
| 37 | "nsd_content" |
| 38 | ] |
| 39 | }, |
| 40 | "description": "nsdinfo:03c8e541-77a5-4594-b6a1-f955f6460dca\nns_descriptors 后面跟nsdinfoid,根据实际情况填写" |
| 41 | }, |
| 42 | "response": [] |
| 43 | }, |
| 44 | { |
| 45 | "name": "msb_get", |
| 46 | "request": { |
| 47 | "method": "GET", |
| 48 | "header": [], |
| 49 | "body": { |
| 50 | "mode": "raw", |
| 51 | "raw": "" |
| 52 | }, |
| 53 | "url": { |
| 54 | "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/8acc4e46-08c1-46f3-a594-2910490930de", |
| 55 | "protocol": "http", |
| 56 | "host": [ |
| 57 | "172", |
| 58 | "30", |
| 59 | "3", |
| 60 | "104" |
| 61 | ], |
| 62 | "port": "30280", |
| 63 | "path": [ |
| 64 | "api", |
| 65 | "nsd", |
| 66 | "v1", |
| 67 | "ns_descriptors", |
| 68 | "8acc4e46-08c1-46f3-a594-2910490930de" |
| 69 | ] |
| 70 | }, |
| 71 | "description": "pick up information:\n[\n {\n \"id\": \"609d8ba3-9a94-4cc7-b67d-2ece3ac6e185\",\n \"nsdId\": \"ffdddc5d-a44b-45ae-8fc3-e6551cce350f\",\n \"nsdName\": \"vcpe\",\n \"nsdVersion\": \"1.0.0\",\n \"nsdDesigner\": \"ONAP\",\n \"nsdInvariantId\": \"c3887fb3-d1b2-477f-86c4-fd641ee9a7cf\",\n \"vnfPkgIds\": [\n \"386d6fb2-e1d9-4152-9bd6-606e33594ade\",\n \"511fb4ff-6a10-4699-864f-f3e7ad9b34b3\",\n \"39eb297c-4988-4902-9c37-55e4fd5f1c38\",\n \"f660da08-cc7c-4a1f-8196-05d4db415e1d\",\n \"1109773b-0cab-4f11-a11e-0cc22b1a29a3\"\n ],\n \"pnfdInfoIds\": [],\n \"nestedNsdInfoIds\": [],\n \"nsdOnboardingState\": \"ONBOARDED\",\n \"onboardingFailureDetails\": null,\n \"nsdOperationalState\": \"ENABLED\",\n \"nsdUsageState\": \"NOT_IN_USE\",\n \"userDefinedData\": {},\n \"_links\": null\n }\n]" |
| 72 | }, |
| 73 | "response": [] |
| 74 | }, |
| 75 | { |
| 76 | "name": "msb_get_one", |
| 77 | "request": { |
| 78 | "method": "GET", |
| 79 | "header": [], |
| 80 | "body": { |
| 81 | "mode": "raw", |
| 82 | "raw": "" |
| 83 | }, |
| 84 | "url": { |
| 85 | "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/8acc4e46-08c1-46f3-a594-2910490930de", |
| 86 | "protocol": "http", |
| 87 | "host": [ |
| 88 | "172", |
| 89 | "30", |
| 90 | "3", |
| 91 | "104" |
| 92 | ], |
| 93 | "port": "30280", |
| 94 | "path": [ |
| 95 | "api", |
| 96 | "nsd", |
| 97 | "v1", |
| 98 | "ns_descriptors", |
| 99 | "8acc4e46-08c1-46f3-a594-2910490930de" |
| 100 | ] |
| 101 | }, |
| 102 | "description": "nsdinfoid:8acc4e46-08c1-46f3-a594-2910490930de" |
| 103 | }, |
| 104 | "response": [] |
| 105 | }, |
| 106 | { |
| 107 | "name": "msb_delete", |
| 108 | "request": { |
| 109 | "method": "DELETE", |
| 110 | "header": [], |
| 111 | "body": { |
| 112 | "mode": "raw", |
| 113 | "raw": "" |
| 114 | }, |
| 115 | "url": { |
| 116 | "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/03c8e541-77a5-4594-b6a1-f955f6460dca", |
| 117 | "protocol": "http", |
| 118 | "host": [ |
| 119 | "172", |
| 120 | "30", |
| 121 | "3", |
| 122 | "104" |
| 123 | ], |
| 124 | "port": "30280", |
| 125 | "path": [ |
| 126 | "api", |
| 127 | "nsd", |
| 128 | "v1", |
| 129 | "ns_descriptors", |
| 130 | "03c8e541-77a5-4594-b6a1-f955f6460dca" |
| 131 | ] |
| 132 | }, |
| 133 | "description": "nsinstid:03c8e541-77a5-4594-b6a1-f955f6460dca" |
| 134 | }, |
| 135 | "response": [] |
| 136 | }, |
| 137 | { |
| 138 | "name": "msb_create", |
| 139 | "request": { |
| 140 | "method": "POST", |
| 141 | "header": [ |
| 142 | { |
| 143 | "key": "content-type", |
| 144 | "value": " application/json", |
| 145 | "type": "text" |
| 146 | }, |
| 147 | { |
| 148 | "key": "accept", |
| 149 | "value": " application/json", |
| 150 | "type": "text" |
| 151 | } |
| 152 | ], |
| 153 | "body": { |
| 154 | "mode": "formdata", |
| 155 | "formdata": [ |
| 156 | { |
| 157 | "key": "userDefinedData", |
| 158 | "value": " \"key1\": \"value1\"", |
| 159 | "type": "text" |
| 160 | } |
| 161 | ] |
| 162 | }, |
| 163 | "url": { |
| 164 | "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors", |
| 165 | "protocol": "http", |
| 166 | "host": [ |
| 167 | "172", |
| 168 | "30", |
| 169 | "3", |
| 170 | "104" |
| 171 | ], |
| 172 | "port": "30280", |
| 173 | "path": [ |
| 174 | "api", |
| 175 | "nsd", |
| 176 | "v1", |
| 177 | "ns_descriptors" |
| 178 | ] |
| 179 | } |
| 180 | }, |
| 181 | "response": [] |
| 182 | }, |
| 183 | { |
| 184 | "name": "msb_upload", |
| 185 | "request": { |
| 186 | "method": "PUT", |
| 187 | "header": [], |
| 188 | "body": { |
| 189 | "mode": "formdata", |
| 190 | "formdata": [ |
| 191 | { |
| 192 | "key": "", |
| 193 | "type": "file", |
| 194 | "src": "" |
| 195 | } |
| 196 | ] |
| 197 | }, |
| 198 | "url": { |
| 199 | "raw": "http://172.30.3.104:30280/api/nsd/v1/ns_descriptors/79ca81ec-10e0-44e4-bc85-ba968f345711/nsd_content", |
| 200 | "protocol": "http", |
| 201 | "host": [ |
| 202 | "172", |
| 203 | "30", |
| 204 | "3", |
| 205 | "104" |
| 206 | ], |
| 207 | "port": "30280", |
| 208 | "path": [ |
| 209 | "api", |
| 210 | "nsd", |
| 211 | "v1", |
| 212 | "ns_descriptors", |
| 213 | "79ca81ec-10e0-44e4-bc85-ba968f345711", |
| 214 | "nsd_content" |
| 215 | ] |
| 216 | } |
| 217 | }, |
| 218 | "response": [] |
| 219 | } |
| 220 | ] |
| 221 | } |
| 222 | ] |
yangyan | fa458b2 | 2019-11-06 10:27:06 +0800 | [diff] [blame] | 223 | } |