3 "_postman_id": "295cc7b7-a544-44f5-8045-54effcd41108",
4 "name": "CDS PNF Simulator Use Case",
5 "description": "This collection contains all API calls to do the \"PNF Simulator Day-N config-assign and config-deploy use case\" in CDS. ",
6 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
11 "protocolProfileBehavior": {
12 "disabledSystemHeaders": {}
33 "key": "Content-Type",
34 "value": "application/json"
45 "raw": "{\r\n\"loadModelType\" : true,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : true\r\n}",
51 "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/bootstrap",
67 "name": "CDS Bootstrap",
72 "key": "Content-Type",
73 "value": "application/json"
84 "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}",
90 "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap",
106 "_postman_previewlanguage": "json",
109 "key": "X-ONAP-RequestID",
110 "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01"
113 "key": "X-ONAP-InvocationID",
114 "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077"
117 "key": "X-ONAP-PartnerName",
118 "value": "cds-controller"
126 "value": "Access-Control-Request-Method"
130 "value": "Access-Control-Request-Headers"
133 "key": "Content-Type",
134 "value": "application/json"
137 "key": "Content-Length",
141 "key": "Cache-Control",
142 "value": "no-cache, no-store, max-age=0, must-revalidate"
153 "key": "X-Content-Type-Options",
157 "key": "X-Frame-Options",
161 "key": "X-XSS-Protection",
162 "value": "1 ; mode=block"
165 "key": "Referrer-Policy",
166 "value": "no-referrer"
175 "name": "Get Blueprints",
176 "protocolProfileBehavior": {
177 "disableBodyPruning": true
185 "value": "ccsdkapps",
190 "value": "ccsdkapps",
198 "key": "Content-Type",
199 "value": "application/json"
210 "raw": "{\r\n\"loadModelType\" : true,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}",
216 "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model",
231 "name": "CDS Bootstrap",
236 "key": "Content-Type",
237 "value": "application/json"
248 "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}",
254 "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap",
270 "_postman_previewlanguage": "json",
273 "key": "X-ONAP-RequestID",
274 "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01"
277 "key": "X-ONAP-InvocationID",
278 "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077"
281 "key": "X-ONAP-PartnerName",
282 "value": "cds-controller"
290 "value": "Access-Control-Request-Method"
294 "value": "Access-Control-Request-Headers"
297 "key": "Content-Type",
298 "value": "application/json"
301 "key": "Content-Length",
305 "key": "Cache-Control",
306 "value": "no-cache, no-store, max-age=0, must-revalidate"
317 "key": "X-Content-Type-Options",
321 "key": "X-Frame-Options",
325 "key": "X-XSS-Protection",
326 "value": "1 ; mode=block"
329 "key": "Referrer-Policy",
330 "value": "no-referrer"
339 "name": "Data Dictionary",
342 "listen": "prerequest",
344 "id": "c927b543-b143-4ab9-963c-6289a7d1040e",
346 "var allDD = pm.environment.get(\"allDD\");\r",
348 "if (!(allDD instanceof Array)) {\r",
351 "\t\t\"name\": \"netconf-password\",\r",
352 "\t\t\"tags\": \"netconf-password\",\r",
353 "\t\t\"data_type\": \"string\",\r",
354 "\t\t\"description\": \"netconf-password\",\r",
355 "\t\t\"entry_schema\": \"string\",\r",
356 "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
357 "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
358 "\t\t\"definition\": {\r",
359 "\t\t\t\"tags\": \"netconf-password\",\r",
360 "\t\t\t\"name\": \"netconf-password\",\r",
361 "\t\t\t\"property\": {\r",
362 "\t\t\t\t\"description\": \"netconf-password string attribute\",\r",
363 "\t\t\t\t\"type\": \"string\"\r",
365 "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
366 "\t\t\t\"sources\": {\r",
367 "\t\t\t\t\"input\": {\r",
368 "\t\t\t\t\t\"type\": \"source-input\",\r",
369 "\t\t\t\t\t\"properties\": {}\r",
375 "\t\t\"name\": \"netconf-username\",\r",
376 "\t\t\"tags\": \"netconf-username\",\r",
377 "\t\t\"data_type\": \"string\",\r",
378 "\t\t\"description\": \"netconf-username\",\r",
379 "\t\t\"entry_schema\": \"string\",\r",
380 "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
381 "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
382 "\t\t\"definition\": {\r",
383 "\t\t\t\"tags\": \"netconf-username\",\r",
384 "\t\t\t\"name\": \"netconf-username\",\r",
385 "\t\t\t\"property\": {\r",
386 "\t\t\t\t\"description\": \"netconf-username string attribute\",\r",
387 "\t\t\t\t\"type\": \"string\"\r",
389 "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
390 "\t\t\t\"sources\": {\r",
391 "\t\t\t\t\"input\": {\r",
392 "\t\t\t\t\t\"type\": \"source-input\",\r",
393 "\t\t\t\t\t\"properties\": {}\r",
399 "\t\t\"name\": \"netconf-server-port\",\r",
400 "\t\t\"tags\": \"netconf-server-port\",\r",
401 "\t\t\"data_type\": \"string\",\r",
402 "\t\t\"description\": \"netconf-server-port\",\r",
403 "\t\t\"entry_schema\": \"string\",\r",
404 "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
405 "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
406 "\t\t\"definition\": {\r",
407 "\t\t\t\"tags\": \"netconf-server-port\",\r",
408 "\t\t\t\"name\": \"netconf-server-port\",\r",
409 "\t\t\t\"property\": {\r",
410 "\t\t\t\t\"description\": \"netconf-server-port string attribute\",\r",
411 "\t\t\t\t\"type\": \"string\"\r",
413 "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
414 "\t\t\t\"sources\": {\r",
415 "\t\t\t\t\"input\": {\r",
416 "\t\t\t\t\t\"type\": \"source-input\",\r",
417 "\t\t\t\t\t\"properties\": {}\r",
423 "\t\t\"name\": \"pnf-id\",\r",
424 "\t\t\"tags\": \"pnf-id\",\r",
425 "\t\t\"data_type\": \"string\",\r",
426 "\t\t\"description\": \"pnf-id\",\r",
427 "\t\t\"entry_schema\": \"string\",\r",
428 "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
429 "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
430 "\t\t\"definition\": {\r",
431 "\t\t\t\"tags\": \"pnf-id\",\r",
432 "\t\t\t\"name\": \"pnf-id\",\r",
433 "\t\t\t\"property\": {\r",
434 "\t\t\t\t\"description\": \"pnf-id string attribute\",\r",
435 "\t\t\t\t\"type\": \"string\"\r",
437 "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
438 "\t\t\t\"sources\": {\r",
439 "\t\t\t\t\"input\": {\r",
440 "\t\t\t\t\t\"type\": \"source-input\",\r",
441 "\t\t\t\t\t\"properties\": {}\r",
448 "\t\t\"name\": \"pnf-ipv4-address\",\r",
449 "\t\t\"tags\": \"pnf-ipv4-address\",\r",
450 "\t\t\"data_type\": \"string\",\r",
451 "\t\t\"description\": \"pnf-ipv4-address\",\r",
452 "\t\t\"entry_schema\": \"string\",\r",
453 "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
454 "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
455 "\t\t\"definition\": {\r",
456 "\t\t\t\"tags\": \"pnf-ipv4-address\",\r",
457 "\t\t\t\"name\": \"pnf-ipv4-address\",\r",
458 "\t\t\t\"property\": {\r",
459 "\t\t\t\t\"description\": \"pnf-ipv4-address string attribute\",\r",
460 "\t\t\t\t\"type\": \"string\"\r",
462 "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
463 "\t\t\t\"sources\": {\r",
464 "\t\t\t\t\"input\": {\r",
465 "\t\t\t\t\t\"type\": \"source-input\",\r",
466 "\t\t\t\t\t\"properties\": {}\r",
473 "\t\t\"name\": \"stream-count\",\r",
474 "\t\t\"tags\": \"stream-count\",\r",
475 "\t\t\"data_type\": \"string\",\r",
476 "\t\t\"description\": \"stream-count\",\r",
477 "\t\t\"entry_schema\": \"string\",\r",
478 "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
479 "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
480 "\t\t\"definition\": {\r",
481 "\t\t\t\"tags\": \"stream-count\",\r",
482 "\t\t\t\"name\": \"stream-count\",\r",
483 "\t\t\t\"property\": {\r",
484 "\t\t\t\t\"description\": \"stream-count string attribute\",\r",
485 "\t\t\t\t\"type\": \"integer\"\r",
487 "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
488 "\t\t\t\"sources\": {\r",
489 "\t\t\t\t\"input\": {\r",
490 "\t\t\t\t\t\"type\": \"source-default\",\r",
491 "\t\t\t\t\t\"properties\": {}\r",
493 "\t\t\t\t\"default\": {\r",
495 "\t\t\t\t\t\"type\": \"source-default\",\r",
497 "\t\t\t\t\t\"properties\": {}\r",
506 "var currentDD = JSON.stringify(allDD.shift());\r",
507 "pm.environment.set(\"DataDictionary\", currentDD);\r",
508 "console.log(currentDD);\r",
509 "pm.environment.set(\"allDD\", allDD);\r",
514 "type": "text/javascript"
520 "id": "bd26b9e6-4237-4591-a037-0520f737439f",
522 "var allDD = pm.environment.get(\"allDD\");\r",
524 "if (allDD instanceof Array && allDD.length > 0) {\r",
525 " postman.setNextRequest(\"Data Dictionary\");\r",
527 " postman.setNextRequest(null);\r",
531 "type": "text/javascript"
541 "value": "ccsdkapps",
546 "value": "ccsdkapps",
555 "raw": "{{DataDictionary}}",
563 "raw": "http://{{host}}:{{port}}/api/v1/dictionary",
579 "name": "Enrich Blueprint",
586 "value": "ccsdkapps",
591 "value": "ccsdkapps",
595 "key": "showPassword",
605 "value": "application/json",
610 "key": "Accept-Encoding",
611 "value": "gzip,deflate",
617 "value": "http://84.39.39.116:30497/blueprint",
623 "value": "http://84.39.39.116:30497",
634 "src": "/home/jakob/CDS_Use_Cases/PNF-DEMO-ENRICHED_WORKING/pnf-demo.zip"
642 "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/enrich",
659 "name": "Save Blueprint",
666 "value": "ccsdkapps",
671 "value": "ccsdkapps",
679 "key": "Content-Type",
680 "value": "application/json"
695 "src": "/home/jakob/CDS_Use_Cases/PNF-DEMO-ENRICHED_WORKING/pnf-demo.zip"
703 "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model",
718 "name": "CDS Bootstrap",
723 "key": "Content-Type",
724 "value": "application/json"
735 "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}",
741 "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap",
757 "_postman_previewlanguage": "json",
760 "key": "X-ONAP-RequestID",
761 "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01"
764 "key": "X-ONAP-InvocationID",
765 "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077"
768 "key": "X-ONAP-PartnerName",
769 "value": "cds-controller"
777 "value": "Access-Control-Request-Method"
781 "value": "Access-Control-Request-Headers"
784 "key": "Content-Type",
785 "value": "application/json"
788 "key": "Content-Length",
792 "key": "Cache-Control",
793 "value": "no-cache, no-store, max-age=0, must-revalidate"
804 "key": "X-Content-Type-Options",
808 "key": "X-Frame-Options",
812 "key": "X-XSS-Protection",
813 "value": "1 ; mode=block"
816 "key": "Referrer-Policy",
817 "value": "no-referrer"
826 "name": "Create Config Assign Day-1",
833 "value": "ccsdkapps",
838 "value": "ccsdkapps",
842 "key": "showPassword",
852 "value": "application/json",
857 "key": "Accept-Encoding",
858 "value": "gzip,deflate",
864 "value": "http://84.39.39.116:30497/blueprint",
870 "value": "http://84.39.39.116:30497",
877 "raw": "{\n \"actionIdentifiers\": {\n \"mode\": \"sync\",\n \"blueprintName\": \"pnf_netconf\",\n \"blueprintVersion\": \"1.0.0\",\n \"actionName\": \"config-assign\"\n },\n \"payload\": {\n \"config-assign-request\": {\n \"template-prefix\": [\n \"pnf\", \"netconfrpc\"\n ],\n \"resolution-key\": \"day-1\",\n \"config-assign-properties\": {\n \"pnf-id\": \"abcd\",\n \"pnf-ipv4-address\": \"172.17.0.2\",\n \"netconf-password\": \"netconf\",\n \"netconf-username\": \"netconf\",\n \"netconf-server-port\": \"830\",\n \"stream-count\": 5\n }\n }\n },\n \"commonHeader\": {\n \"subRequestId\": \"143748f9-3cd5-4910-81c9-a4601ff2ea58\",\n \"requestId\": \"e5eb1f1e-3386-435d-b290-d49d8af8db4c\",\n \"originatorId\": \"SDNC_DG\"\n }\n}",
886 "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process",
903 "name": "Create Config Assign Day-2",
910 "value": "ccsdkapps",
915 "value": "ccsdkapps",
919 "key": "showPassword",
930 "value": "application/json",
934 "key": "Accept-Encoding",
936 "value": "gzip,deflate",
942 "value": "http://84.39.39.116:30497/blueprint",
948 "value": "http://84.39.39.116:30497",
954 "raw": "{\n \"actionIdentifiers\": {\n \"mode\": \"sync\",\n \"blueprintName\": \"pnf_netconf\",\n \"blueprintVersion\": \"1.0.0\",\n \"actionName\": \"config-assign\"\n },\n \"payload\": {\n \"config-assign-request\": {\n \"template-prefix\": [\n \"pnf\", \"netconfrpc\"\n ],\n \"resolution-key\": \"day-2\",\n \"config-assign-properties\": {\n \"pnf-id\": \"abcd\",\n \"pnf-ipv4-address\": \"172.17.0.2\",\n \"netconf-password\": \"netconf\",\n \"netconf-username\": \"netconf\",\n \"netconf-server-port\": \"830\",\n \"stream-count\": 10\n }\n }\n },\n \"commonHeader\": {\n \"subRequestId\": \"143748f9-3cd5-4910-81c9-a4601ff2ea58\",\n \"requestId\": \"e5eb1f1e-3386-435d-b290-d49d8af8db4c\",\n \"originatorId\": \"SDNC_DG\"\n }\n}",
963 "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process",
980 "name": "Config Assign Day-1 Deploy",
987 "value": "ccsdkapps",
992 "value": "ccsdkapps",
996 "key": "showPassword",
1007 "value": "application/json",
1011 "key": "Accept-Encoding",
1013 "value": "gzip,deflate",
1019 "value": "http://84.39.39.116:30497/blueprint",
1025 "value": "http://84.39.39.116:30497",
1031 "raw": "{\n\t\"actionIdentifiers\": {\n\t\t\"mode\": \"sync\",\n\t\t\"blueprintName\": \"pnf_netconf\",\n\t\t\"blueprintVersion\": \"1.0.0\",\n\t\t\"actionName\": \"config-deploy\"\n\t},\n\t\"payload\": {\n\t\t\"config-deploy-request\": {\n\t\t\t\"resolution-key\": \"day-1\",\n\t\t\t\"config-deploy-properties\": {\n\t\t\t\t\"pnf-id\": \"abcd\",\n\t\t\t\t\"pnf-ipv4-address\": \"172.17.0.2\",\n\t\t\t\t\"netconf-password\": \"netconf\",\n\t\t\t\t\"netconf-username\": \"netconf\"\n\t\t\t}\n\t\t}\n\t}\n\n\t,\n\t\"commonHeader\": {\n\t\t\"subRequestId\": \"143748f9-3cd5-4910-81c9-a4601ff2ea58\",\n\t\t\"requestId\": \"e5eb1f1e-3386-435d-b290-d49d8af8db4c\",\n\t\t\"originatorId\": \"SDNC_DG\"\n\t}\n}\n",
1040 "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process",
1049 "execution-service",
1059 "listen": "prerequest",
1061 "id": "1d6b0502-1031-4cec-adec-6a02e2505fb2",
1062 "type": "text/javascript",
1071 "id": "a97568b2-3520-450b-89c0-c344945c40e4",
1072 "type": "text/javascript",
1081 "id": "f593c13c-9ebc-4b88-9622-a08889662808",
1083 "value": "localhost"
1086 "id": "bcefbf57-f5df-41e3-be88-c3af5b76f916",
1091 "protocolProfileBehavior": {}