3 "id": "8d664378.cbb4f",
\r
8 "y": 76.99999761581421,
\r
9 "z": "e47fc805.c5c588",
\r
17 "id": "99e747dc.b38c98",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
23 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
\r
25 "x": 330.03125381469727,
\r
26 "y": 149.0000147819519,
\r
27 "z": "e47fc805.c5c588",
\r
35 "id": "677572d7.6cd7ac",
\r
37 "name": "sotn-attachment-topology-operation-activate",
\r
38 "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",
\r
41 "x": 318.0313720703125,
\r
42 "y": 236.9999976158142,
\r
43 "z": "e47fc805.c5c588",
\r
51 "id": "10091edb.6afce1",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 334.0313720703125,
\r
59 "y": 792.0002422332764,
\r
60 "z": "e47fc805.c5c588",
\r
87 "id": "d8983068.d1e09",
\r
89 "name": "set tmp.ar.allotted-resource-id,etc",
\r
90 "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
\r
92 "x": 731.0248107910156,
\r
93 "y": 190.9934844970703,
\r
94 "z": "e47fc805.c5c588",
\r
98 "id": "5f587b8.9c56784",
\r
100 "name": "set tmp ar-id to fetch resource from MDSAL",
\r
103 "x": 759.9851226806641,
\r
104 "y": 155.02528047561646,
\r
105 "z": "e47fc805.c5c588",
\r
109 "id": "b09c24ef.ef1828",
\r
111 "name": "set tmp.ar.self-link",
\r
112 "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",
\r
114 "x": 685.0247497558594,
\r
115 "y": 283.99348974227905,
\r
116 "z": "e47fc805.c5c588",
\r
120 "id": "9144dc70.a7ea8",
\r
122 "name": "execute Properties",
\r
123 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
\r
126 "x": 691.2866401672363,
\r
127 "y": 371.6602187156677,
\r
128 "z": "e47fc805.c5c588",
\r
134 "id": "ab6f9b8e.89d568",
\r
136 "name": "generate allotted-resource tmp.ar-url",
\r
137 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
\r
140 "x": 738.2866973876953,
\r
141 "y": 459.660222530365,
\r
142 "z": "e47fc805.c5c588",
\r
148 "id": "bdc75564.630b58",
\r
150 "name": "GET connection-attachment-allotted-resource from mdsal",
\r
153 "x": 784.8396301269531,
\r
154 "y": 590.5386567115784,
\r
155 "z": "e47fc805.c5c588",
\r
159 "id": "79296d26.4fef24",
\r
161 "name": "Used for setting output to API Handler",
\r
164 "x": 739.0247802734375,
\r
165 "y": 250.99349927902222,
\r
166 "z": "e47fc805.c5c588",
\r
170 "id": "b691a7f5.2ca838",
\r
172 "name": "Obtain different URL, template location etc",
\r
173 "info": "For saving resource information to MDSAL & for AAI",
\r
175 "x": 757.0247459411621,
\r
176 "y": 336.8823800086975,
\r
177 "z": "e47fc805.c5c588",
\r
181 "id": "ea7f6398.951af",
\r
183 "name": "Used to Get AR by id to MDSAL, same as self-link",
\r
186 "x": 783.0247650146484,
\r
187 "y": 423.8823390007019,
\r
188 "z": "e47fc805.c5c588",
\r
192 "id": "bf04a12d.5ab3a",
\r
195 "xml": "<outcome value='success'>\n",
\r
198 "x": 1244.6980419158936,
\r
199 "y": 607.9999823570251,
\r
200 "z": "e47fc805.c5c588",
\r
208 "id": "e36a35e0.a85518",
\r
210 "name": "block: atomic",
\r
211 "xml": "<block atomic=\"true\">\n",
\r
215 "x": 1388.6981201171875,
\r
216 "y": 565.4999003410339,
\r
217 "z": "e47fc805.c5c588",
\r
225 "id": "1bc51818.822678",
\r
226 "type": "switchNode",
\r
227 "name": "switch cr length",
\r
228 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
\r
231 "x": 1557.5555438995361,
\r
232 "y": 563.1190714836121,
\r
233 "z": "e47fc805.c5c588",
\r
242 "id": "c5872f2b.0b178",
\r
244 "name": "outcome 1",
\r
245 "xml": "<outcome value='1'>\n",
\r
248 "x": 1712.8886795043945,
\r
249 "y": 535.1189866065979,
\r
250 "z": "e47fc805.c5c588",
\r
258 "id": "79a53162.640b2",
\r
260 "name": "block: atomic",
\r
261 "xml": "<block atomic='true'>\n",
\r
265 "x": 1871.412483215332,
\r
266 "y": 533.0238337516785,
\r
267 "z": "e47fc805.c5c588",
\r
277 "id": "e3ccef9e.d8f5c",
\r
278 "type": "returnFailure",
\r
279 "name": "return failure",
\r
280 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Connection attachment resource not exist\" />\n \n",
\r
282 "x": 1811.5504150390625,
\r
283 "y": 640.0660681724548,
\r
284 "z": "e47fc805.c5c588",
\r
288 "id": "5803dc5e.f9b2f4",
\r
291 "xml": "<outcome value='Other'>\n",
\r
294 "x": 1236.5498447418213,
\r
295 "y": 643.0660672187805,
\r
296 "z": "e47fc805.c5c588",
\r
304 "id": "19f8e68c.c0f139",
\r
306 "name": "block: atomic",
\r
307 "xml": "<block atomic=\"true\">\n",
\r
311 "x": 1416.5497951507568,
\r
312 "y": 643.732617855072,
\r
313 "z": "e47fc805.c5c588",
\r
321 "id": "aded6823.7e7e38",
\r
324 "xml": "<outcome value='Other'>\n",
\r
327 "x": 1704.216682434082,
\r
328 "y": 594.3993611335754,
\r
329 "z": "e47fc805.c5c588",
\r
337 "id": "9be5dc3a.28978",
\r
339 "name": "set connection-attachment-ar from get",
\r
340 "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
\r
342 "x": 2118.4759368896484,
\r
343 "y": 506.0000858306885,
\r
344 "z": "e47fc805.c5c588",
\r
348 "id": "f5d4df71.72bd9",
\r
350 "name": "set oper-status",
\r
351 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
\r
353 "x": 2052.4759674072266,
\r
354 "y": 579.4285883903503,
\r
355 "z": "e47fc805.c5c588",
\r
359 "id": "5722f7fa.de6bf8",
\r
360 "type": "switchNode",
\r
361 "name": "switch order-status",
\r
362 "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
\r
365 "x": 2062.475746154785,
\r
366 "y": 545.0000224113464,
\r
367 "z": "e47fc805.c5c588",
\r
377 "id": "f7f47d29.7c18f",
\r
379 "name": "outcome Created",
\r
380 "xml": "<outcome value='Created'>\n",
\r
383 "x": 2298.075828552246,
\r
384 "y": 539.0000534057617,
\r
385 "z": "e47fc805.c5c588",
\r
393 "id": "6f0c573a.005228",
\r
395 "name": "outcome Other",
\r
396 "xml": "<outcome value='Other'>\n",
\r
399 "x": 2291.790328979492,
\r
400 "y": 619.4286880493164,
\r
401 "z": "e47fc805.c5c588",
\r
409 "id": "75eaa69a.304108",
\r
412 "xml": "<block>\n",
\r
416 "x": 2456.546501159668,
\r
417 "y": 539.3757090568542,
\r
418 "z": "e47fc805.c5c588",
\r
424 "id": "e10d29a3.c09e38",
\r
425 "type": "returnFailure",
\r
426 "name": "return failure",
\r
427 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" \n value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
\r
429 "x": 2467.698143005371,
\r
430 "y": 618.0000872612,
\r
431 "z": "e47fc805.c5c588",
\r
435 "id": "bc697557.abf938",
\r
437 "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
\r
438 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
\r
441 "x": 955.334300994873,
\r
442 "y": 690.4936022758484,
\r
443 "z": "e47fc805.c5c588",
\r
449 "id": "4e152126.794ef",
\r
451 "name": "block: atomic",
\r
452 "xml": "<block atomic=\"true\">\n",
\r
456 "x": 649.3404006958008,
\r
457 "y": 691.499972820282,
\r
458 "z": "e47fc805.c5c588",
\r
466 "id": "1f3fc1a6.135f3e",
\r
468 "name": "GET parent-service-data from mdsal to check existence of other End point",
\r
471 "x": 837.03173828125,
\r
472 "y": 736.531750202179,
\r
473 "z": "e47fc805.c5c588",
\r
477 "id": "3cf6b4b1.6a71dc",
\r
479 "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
\r
480 "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
\r
483 "x": 1728.2164459228516,
\r
484 "y": 889.0042276382446,
\r
485 "z": "e47fc805.c5c588",
\r
493 "id": "2e23abdc.47fd94",
\r
494 "type": "switchNode",
\r
495 "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
\r
496 "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
\r
499 "x": 812.2154693603516,
\r
500 "y": 996.7182641029358,
\r
501 "z": "e47fc805.c5c588",
\r
511 "id": "6ff9a0ff.dcfb4",
\r
514 "xml": "<outcome value='Other'>\n",
\r
517 "x": 1140.3584899902344,
\r
518 "y": 1069.5755381584167,
\r
519 "z": "e47fc805.c5c588",
\r
527 "id": "fb95619e.dd7a7",
\r
529 "name": "block : atomic",
\r
530 "xml": "<block atomic=\"true\">",
\r
533 "x": 1324.485752105713,
\r
534 "y": 928.7015471458435,
\r
535 "z": "e47fc805.c5c588",
\r
544 "id": "3bbeaaa4.0cfa26",
\r
545 "type": "switchNode",
\r
546 "name": "switch allotted-resource-id",
\r
547 "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
\r
550 "x": 2168.3277740478516,
\r
551 "y": 886.004029750824,
\r
552 "z": "e47fc805.c5c588",
\r
561 "id": "3cfb776.1a6dc88",
\r
562 "type": "outcomeTrue",
\r
564 "xml": "<outcome value='true'>\n",
\r
567 "x": 2341.1379890441895,
\r
568 "y": 857.468644618988,
\r
569 "z": "e47fc805.c5c588",
\r
577 "id": "fb81e999.e435b8",
\r
579 "name": "block : atomic",
\r
580 "xml": "<block atomic=\"true\">",
\r
583 "x": 2489.8984603881836,
\r
584 "y": 914.325731754303,
\r
585 "z": "e47fc805.c5c588",
\r
593 "id": "7ed4750e.b1d6fc",
\r
595 "name": "set tmp.pidx and ptx.consumed-ar",
\r
596 "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
\r
598 "x": 2724.755886077881,
\r
599 "y": 912.8972640037537,
\r
600 "z": "e47fc805.c5c588",
\r
604 "id": "ee9aeb2c.6677a8",
\r
606 "name": "Check existence of other AR in parent service data",
\r
607 "info": "Check if other allotted resource is available.",
\r
609 "x": 759.9939079284668,
\r
610 "y": 901.8929591178894,
\r
611 "z": "e47fc805.c5c588",
\r
615 "id": "ff1c3916.739028",
\r
617 "name": "outcome 1",
\r
618 "xml": "<outcome value='1'>\n",
\r
621 "x": 1155.0109596252441,
\r
622 "y": 1008.6772217750549,
\r
623 "z": "e47fc805.c5c588",
\r
631 "id": "499e037f.3c991c",
\r
632 "type": "returnFailure",
\r
633 "name": "return failure",
\r
634 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: End points not available\" />\n \n",
\r
636 "x": 1300.0108375549316,
\r
637 "y": 1068.6774668693542,
\r
638 "z": "e47fc805.c5c588",
\r
642 "id": "d0c138a.b8484c8",
\r
644 "name": "outcome 2",
\r
645 "xml": "<outcome value='2'>\n",
\r
648 "x": 1150.0107727050781,
\r
649 "y": 929.6772475242615,
\r
650 "z": "e47fc805.c5c588",
\r
658 "id": "4685a336.4a051c",
\r
661 "xml": "<block>\n",
\r
665 "x": 2499.1222038269043,
\r
666 "y": 856.677387714386,
\r
667 "z": "e47fc805.c5c588",
\r
673 "id": "a6d574db.37ec88",
\r
674 "type": "outcomeTrue",
\r
676 "xml": "<outcome value='false'>\n",
\r
679 "x": 2348.1218452453613,
\r
680 "y": 913.6772475242615,
\r
681 "z": "e47fc805.c5c588",
\r
689 "id": "ec079e89.408ea",
\r
690 "type": "switchNode",
\r
691 "name": "switch tmp.found-in-ar",
\r
692 "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
\r
695 "x": 1537.0107498168945,
\r
696 "y": 982.4550652503967,
\r
697 "z": "e47fc805.c5c588",
\r
705 "id": "ad2dc2ca.dac11",
\r
706 "type": "outcomeTrue",
\r
708 "xml": "<outcome value='true'>\n",
\r
711 "x": 1708.01078414917,
\r
712 "y": 983.5662865638733,
\r
713 "z": "e47fc805.c5c588",
\r
721 "id": "94734e1b.67d7d",
\r
723 "name": "block : atomic",
\r
724 "xml": "<block atomic=\"true\">",
\r
727 "x": 1857.0108795166016,
\r
728 "y": 983.566285610199,
\r
729 "z": "e47fc805.c5c588",
\r
738 "id": "df822a12.2f4cb8",
\r
741 "xml": "<outcome value='success'>\n",
\r
744 "x": 2603.128704071045,
\r
745 "y": 999.7951397895813,
\r
746 "z": "e47fc805.c5c588",
\r
754 "id": "6d247d3c.af7454",
\r
757 "xml": "<outcome value='Other'>\n",
\r
760 "x": 2594.9805068969727,
\r
761 "y": 1034.8612246513367,
\r
762 "z": "e47fc805.c5c588",
\r
770 "id": "92501bf7.64e188",
\r
771 "type": "switchNode",
\r
772 "name": "switch mdsal-psd.service-data.networks_length",
\r
773 "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
\r
776 "x": 1600.344253540039,
\r
777 "y": 1083.89990568161,
\r
778 "z": "e47fc805.c5c588",
\r
787 "id": "8c5ad16c.a0bce",
\r
789 "name": "outcome 1",
\r
790 "xml": "<outcome value='1'>\n",
\r
793 "x": 1864.3441009521484,
\r
794 "y": 1063.7886519432068,
\r
795 "z": "e47fc805.c5c588",
\r
803 "id": "7eda2112.68c74",
\r
806 "xml": "<outcome value='Other'>\n",
\r
809 "x": 1854.3441619873047,
\r
810 "y": 1111.7886233329773,
\r
811 "z": "e47fc805.c5c588",
\r
819 "id": "4b5ebe1.f906a4",
\r
820 "type": "returnFailure",
\r
821 "name": "return failure",
\r
822 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n \n",
\r
824 "x": 1992.9965057373047,
\r
825 "y": 1113.890384197235,
\r
826 "z": "e47fc805.c5c588",
\r
830 "id": "8c1e1bd2.c7dff8",
\r
832 "name": "set tmp.network.",
\r
833 "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",
\r
835 "x": 2225.788959503174,
\r
836 "y": 1064.788821697235,
\r
837 "z": "e47fc805.c5c588",
\r
841 "id": "d35c3b1d.717fa8",
\r
843 "name": "block : atomic",
\r
844 "xml": "<block atomic=\"true\">",
\r
847 "x": 1322.4552688598633,
\r
848 "y": 1007.7884888648987,
\r
849 "z": "e47fc805.c5c588",
\r
857 "id": "c88c0702.2f3eb8",
\r
859 "name": "block : atomic",
\r
860 "xml": "<block atomic=\"true\">",
\r
863 "x": 2023.1218719482422,
\r
864 "y": 1066.7884860038757,
\r
865 "z": "e47fc805.c5c588",
\r
874 "id": "57349ad5.ce57b4",
\r
876 "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
\r
877 "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
\r
880 "x": 2386.121910095215,
\r
881 "y": 1112.788640499115,
\r
882 "z": "e47fc805.c5c588",
\r
890 "id": "9ba86c57.e6af5",
\r
893 "xml": "<block>\n",
\r
897 "x": 2432.677978515625,
\r
898 "y": 1343.7884497642517,
\r
899 "z": "e47fc805.c5c588",
\r
916 "id": "919483e8.df2a",
\r
917 "type": "switchNode",
\r
918 "name": "switch access-node-id",
\r
919 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
\r
922 "x": 2709.1881942749023,
\r
923 "y": 1185.7991971969604,
\r
924 "z": "e47fc805.c5c588",
\r
932 "id": "d89910f0.04363",
\r
933 "type": "outcomeTrue",
\r
935 "xml": "<outcome value='true'>\n",
\r
938 "x": 2898.1878204345703,
\r
939 "y": 1187.7990617752075,
\r
940 "z": "e47fc805.c5c588",
\r
948 "id": "7fb07ab0.8731f4",
\r
950 "name": "set tmp.found-in-network tmp.ep-available",
\r
951 "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
\r
953 "x": 3151.1879959106445,
\r
954 "y": 1187.3991079330444,
\r
955 "z": "e47fc805.c5c588",
\r
959 "id": "d15629b3.f55828",
\r
960 "type": "returnSuccess",
\r
961 "name": "return success",
\r
962 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
964 "x": 2683.177646636963,
\r
965 "y": 1559.7884883880615,
\r
966 "z": "e47fc805.c5c588",
\r
970 "id": "8f0a4580.6d9e98",
\r
971 "type": "switchNode",
\r
972 "name": "switch tmp.ep-available",
\r
973 "xml": "<switch test='`$tmp.ep-available`'>\n",
\r
976 "x": 675.3440704345703,
\r
977 "y": 1192.2327990531921,
\r
978 "z": "e47fc805.c5c588",
\r
987 "id": "17b3ac8c.83db93",
\r
988 "type": "outcomeTrue",
\r
990 "xml": "<outcome value='true'>\n",
\r
993 "x": 894.0107898712158,
\r
994 "y": 1241.566155910492,
\r
995 "z": "e47fc805.c5c588",
\r
1003 "id": "a1aab633.7afd48",
\r
1004 "type": "outcomeTrue",
\r
1006 "xml": "<outcome value='false'>\n",
\r
1009 "x": 898.8995914459229,
\r
1010 "y": 1150.5662169456482,
\r
1011 "z": "e47fc805.c5c588",
\r
1019 "id": "afc8882a.f41778",
\r
1022 "xml": "<block>\n",
\r
1023 "atomic": "false",
\r
1026 "x": 1045.8995876312256,
\r
1027 "y": 1152.455029964447,
\r
1028 "z": "e47fc805.c5c588",
\r
1034 "id": "6fbe74b1.19033c",
\r
1036 "name": "block : atomic",
\r
1037 "xml": "<block atomic=\"true\">",
\r
1040 "x": 1064.121877670288,
\r
1041 "y": 1239.566113948822,
\r
1042 "z": "e47fc805.c5c588",
\r
1046 "34353928.90fd66",
\r
1052 "id": "55f0cf15.57d45",
\r
1053 "type": "switchNode",
\r
1054 "name": "switch tmp.found-in-ar",
\r
1055 "xml": "<switch test='`$tmp.found-in-ar`'>\n",
\r
1058 "x": 1290.2328910827637,
\r
1059 "y": 1206.566113948822,
\r
1060 "z": "e47fc805.c5c588",
\r
1063 "6afed8e9.c144d8",
\r
1069 "id": "6afed8e9.c144d8",
\r
1070 "type": "outcomeTrue",
\r
1072 "xml": "<outcome value='true'>\n",
\r
1075 "x": 1485.6773376464844,
\r
1076 "y": 1184.5661749839783,
\r
1077 "z": "e47fc805.c5c588",
\r
1085 "id": "d5770178.0518a",
\r
1086 "type": "outcomeTrue",
\r
1088 "xml": "<outcome value='false'>\n",
\r
1091 "x": 1482.67724609375,
\r
1092 "y": 1232.5661597251892,
\r
1093 "z": "e47fc805.c5c588",
\r
1101 "id": "1eed655b.bd97fb",
\r
1103 "name": "block : atomic",
\r
1104 "xml": "<block atomic=\"true\">",
\r
1107 "x": 1673.2330017089844,
\r
1108 "y": 1181.5661749839783,
\r
1109 "z": "e47fc805.c5c588",
\r
1117 "id": "b7fae121.44ba7",
\r
1119 "name": "block : atomic",
\r
1120 "xml": "<block atomic=\"true\">",
\r
1123 "x": 1670.23291015625,
\r
1124 "y": 1231.5661597251892,
\r
1125 "z": "e47fc805.c5c588",
\r
1133 "id": "62f66369.cc0c1c",
\r
1134 "type": "comment",
\r
1135 "name": "GET connection-attachment-ar to store AR data from mdsal",
\r
1138 "x": 2182.5040855407715,
\r
1139 "y": 468.503945350647,
\r
1140 "z": "e47fc805.c5c588",
\r
1144 "id": "9290cc56.5053",
\r
1145 "type": "comment",
\r
1146 "name": "Set source end point",
\r
1149 "x": 672.0039825439453,
\r
1150 "y": 557.2539653778076,
\r
1151 "z": "e47fc805.c5c588",
\r
1155 "id": "f5e8e1c8.46298",
\r
1157 "name": "set tmp.ar.parent-service-instance-id",
\r
1158 "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
\r
1160 "x": 723.0000762939453,
\r
1161 "y": 766.0000882148743,
\r
1162 "z": "e47fc805.c5c588",
\r
1166 "id": "d0475d22.15b97",
\r
1167 "type": "success",
\r
1168 "name": "success",
\r
1169 "xml": "<outcome value='success'>\n",
\r
1172 "x": 1083.000228881836,
\r
1173 "y": 837.0000748634338,
\r
1174 "z": "e47fc805.c5c588",
\r
1182 "id": "b0b29ede.9f732",
\r
1185 "xml": "<outcome value='Other'>\n",
\r
1188 "x": 1074.8520317077637,
\r
1189 "y": 872.0661597251892,
\r
1190 "z": "e47fc805.c5c588",
\r
1198 "id": "962f738f.25f05",
\r
1199 "type": "returnFailure",
\r
1200 "name": "return failure",
\r
1201 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Parent service data not available\" />\n \n",
\r
1203 "x": 1221.0008125305176,
\r
1204 "y": 871.3335709571838,
\r
1205 "z": "e47fc805.c5c588",
\r
1209 "id": "623d8d28.212994",
\r
1212 "xml": "<block>\n",
\r
1213 "atomic": "false",
\r
1216 "x": 1214.0003242492676,
\r
1217 "y": 837.0001358985901,
\r
1218 "z": "e47fc805.c5c588",
\r
1224 "id": "c9893a00.c28658",
\r
1225 "type": "returnFailure",
\r
1226 "name": "return failure",
\r
1227 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n \n",
\r
1229 "x": 2745.000556945801,
\r
1230 "y": 1035.0002627372742,
\r
1231 "z": "e47fc805.c5c588",
\r
1235 "id": "8bd33391.e91a4",
\r
1238 "xml": "<block>\n",
\r
1239 "atomic": "false",
\r
1242 "x": 2730.0006790161133,
\r
1243 "y": 1002.0002474784851,
\r
1244 "z": "e47fc805.c5c588",
\r
1250 "id": "e64a37c7.f66948",
\r
1252 "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
\r
1253 "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",
\r
1255 "x": 809.0000152587891,
\r
1256 "y": 939.0000624656677,
\r
1257 "z": "e47fc805.c5c588",
\r
1261 "id": "fc331758.5b2778",
\r
1262 "type": "comment",
\r
1263 "name": "If other EP exists set destination end point",
\r
1264 "info": "Check if other allotted resource is available.",
\r
1266 "x": 726.0000152587891,
\r
1267 "y": 1117.0000109672546,
\r
1268 "z": "e47fc805.c5c588",
\r
1272 "id": "93383afb.68afc8",
\r
1275 "xml": "<block>\n",
\r
1276 "atomic": "false",
\r
1279 "x": 1466.0001373291016,
\r
1280 "y": 1444.000292301178,
\r
1281 "z": "e47fc805.c5c588",
\r
1284 "23230d18.7a6212",
\r
1286 "93d759ca.c80638",
\r
1288 "b727775.7f84888",
\r
1289 "373cb481.0be6cc",
\r
1296 "id": "23230d18.7a6212",
\r
1297 "type": "switchNode",
\r
1298 "name": "switch access-node-id",
\r
1299 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
\r
1302 "x": 1708.5104389190674,
\r
1303 "y": 1314.0106887817383,
\r
1304 "z": "e47fc805.c5c588",
\r
1312 "id": "a2526066.96f0c",
\r
1313 "type": "returnSuccess",
\r
1314 "name": "return success",
\r
1315 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
1317 "x": 1681.5003910064697,
\r
1318 "y": 1619.0006523132324,
\r
1319 "z": "e47fc805.c5c588",
\r
1323 "id": "93d759ca.c80638",
\r
1324 "type": "switchNode",
\r
1325 "name": "switch access-ltp-id",
\r
1326 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
\r
1329 "x": 1700.0002689361572,
\r
1330 "y": 1357.7782201766968,
\r
1331 "z": "e47fc805.c5c588",
\r
1339 "id": "cfe2307e.244ab",
\r
1340 "type": "switchNode",
\r
1341 "name": "switch clientSignal",
\r
1342 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
\r
1345 "x": 1694.0003070831299,
\r
1346 "y": 1403.7782669067383,
\r
1347 "z": "e47fc805.c5c588",
\r
1355 "id": "b727775.7f84888",
\r
1356 "type": "switchNode",
\r
1357 "name": "switch cVLAN",
\r
1358 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
\r
1361 "x": 1677.9898090362549,
\r
1362 "y": 1442.7677688598633,
\r
1363 "z": "e47fc805.c5c588",
\r
1371 "id": "6e6de50.27a681c",
\r
1372 "type": "outcomeTrue",
\r
1374 "xml": "<outcome value='true'>\n",
\r
1377 "x": 1886.2223529815674,
\r
1378 "y": 1314.6670608520508,
\r
1379 "z": "e47fc805.c5c588",
\r
1387 "id": "98c866c4.5a0d58",
\r
1389 "name": "set dst-access-node-id",
\r
1390 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
\r
1392 "x": 2061.2223529815674,
\r
1393 "y": 1314.2670359611511,
\r
1394 "z": "e47fc805.c5c588",
\r
1398 "id": "4537bdaa.d5e104",
\r
1399 "type": "outcomeTrue",
\r
1401 "xml": "<outcome value='true'>\n",
\r
1404 "x": 1881.7122211456299,
\r
1405 "y": 1357.4345169067383,
\r
1406 "z": "e47fc805.c5c588",
\r
1414 "id": "7a3fa09e.aa469",
\r
1415 "type": "outcomeTrue",
\r
1417 "xml": "<outcome value='true'>\n",
\r
1420 "x": 1881.7122211456299,
\r
1421 "y": 1403.4345169067383,
\r
1422 "z": "e47fc805.c5c588",
\r
1430 "id": "97596f16.2d148",
\r
1431 "type": "outcomeTrue",
\r
1433 "xml": "<outcome value='true'>\n",
\r
1436 "x": 1881.7017230987549,
\r
1437 "y": 1442.4241409301758,
\r
1438 "z": "e47fc805.c5c588",
\r
1446 "id": "34353928.90fd66",
\r
1448 "name": "for idx..tmp.ep.parameters[]",
\r
1449 "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",
\r
1453 "y": 1331.9999976158142,
\r
1454 "z": "e47fc805.c5c588",
\r
1462 "id": "f7779e2d.37621",
\r
1464 "name": "set tmp.ep.parameters",
\r
1465 "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",
\r
1467 "x": 1885.0000553131104,
\r
1468 "y": 1181.000072002411,
\r
1469 "z": "e47fc805.c5c588",
\r
1473 "id": "b98ba5f6.13f1f8",
\r
1475 "name": "set tmp.ep.parameters",
\r
1476 "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",
\r
1478 "x": 1881.999963760376,
\r
1479 "y": 1227.0000567436218,
\r
1480 "z": "e47fc805.c5c588",
\r
1484 "id": "779f9f70.9b8e",
\r
1486 "name": "set dst-access-node-id",
\r
1487 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
\r
1489 "x": 2059.0001850128174,
\r
1490 "y": 1357.0003128051758,
\r
1491 "z": "e47fc805.c5c588",
\r
1495 "id": "f9bbfd69.a91aa",
\r
1497 "name": "set dst-clientSignal",
\r
1498 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",
\r
1500 "x": 2053.0001850128174,
\r
1501 "y": 1401.0003128051758,
\r
1502 "z": "e47fc805.c5c588",
\r
1506 "id": "9e73cdad.1270d",
\r
1508 "name": "set dst-cVLAN",
\r
1509 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",
\r
1511 "x": 2044.0001850128174,
\r
1512 "y": 1440.0003128051758,
\r
1513 "z": "e47fc805.c5c588",
\r
1517 "id": "9a68bff2.8c292",
\r
1518 "type": "comment",
\r
1519 "name": "Get controller info and send request",
\r
1522 "x": 1926.000057220459,
\r
1523 "y": 1911.0001511573792,
\r
1524 "z": "e47fc805.c5c588",
\r
1528 "id": "aa539917.f17c98",
\r
1529 "type": "execute",
\r
1530 "name": "execute RestApiCallNode Create ethernet Service",
\r
1531 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
1534 "x": 2464.0008239746094,
\r
1535 "y": 2179.0013360977173,
\r
1536 "z": "e47fc805.c5c588",
\r
1539 "129cac0c.055ac4",
\r
1545 "id": "129cac0c.055ac4",
\r
1546 "type": "success",
\r
1547 "name": "success",
\r
1548 "xml": "<outcome value='success'>\n",
\r
1551 "x": 2797.000648498535,
\r
1552 "y": 2188.0015811920166,
\r
1553 "z": "e47fc805.c5c588",
\r
1561 "id": "540c8068.f38",
\r
1563 "name": "block : atomic",
\r
1564 "xml": "<block atomic=\"true\">",
\r
1568 "x": 2945.000648498535,
\r
1569 "y": 2186.001459121704,
\r
1570 "z": "e47fc805.c5c588",
\r
1576 "id": "86d52886.e02b08",
\r
1577 "type": "returnFailure",
\r
1578 "name": "return failure",
\r
1579 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
\r
1581 "x": 2927.0006790161133,
\r
1582 "y": 2133.001519203186,
\r
1583 "z": "e47fc805.c5c588",
\r
1587 "id": "470289f4.54d198",
\r
1588 "type": "failure",
\r
1589 "name": "failure",
\r
1590 "xml": "<outcome value='failure'>\n",
\r
1593 "x": 2788.000587463379,
\r
1594 "y": 2133.001519203186,
\r
1595 "z": "e47fc805.c5c588",
\r
1603 "id": "d001a7e2.45abd8",
\r
1604 "type": "failure",
\r
1605 "name": "failure",
\r
1606 "xml": "<outcome value='failure'>\n",
\r
1609 "x": 897.7624244689941,
\r
1610 "y": 2134.953706264496,
\r
1611 "z": "e47fc805.c5c588",
\r
1619 "id": "f4c6242e.026e78",
\r
1620 "type": "returnFailure",
\r
1621 "name": "return failure",
\r
1622 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"AAI failed\" />\n",
\r
1624 "x": 1064.2862453460693,
\r
1625 "y": 2161.5727133750916,
\r
1626 "z": "e47fc805.c5c588",
\r
1630 "id": "5249365f.05f8c8",
\r
1631 "type": "failure",
\r
1632 "name": "not-found",
\r
1633 "xml": "<outcome value='not-found'>\n",
\r
1636 "x": 899.8576526641846,
\r
1637 "y": 2182.715548992157,
\r
1638 "z": "e47fc805.c5c588",
\r
1646 "id": "f04e271d.103d68",
\r
1647 "type": "comment",
\r
1648 "name": "Save Resource to AAI",
\r
1651 "x": 671.8100681304932,
\r
1652 "y": 2123.3028693199158,
\r
1653 "z": "e47fc805.c5c588",
\r
1657 "id": "625b8a7b.c27e14",
\r
1659 "name": "set output to api handler",
\r
1660 "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
\r
1662 "x": 686.5777645111084,
\r
1663 "y": 2044.8283505439758,
\r
1664 "z": "e47fc805.c5c588",
\r
1668 "id": "b625537f.a1fdd",
\r
1669 "type": "returnSuccess",
\r
1670 "name": "return success",
\r
1671 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
\r
1673 "x": 646.9909362792969,
\r
1674 "y": 2230.4441390037537,
\r
1675 "z": "e47fc805.c5c588",
\r
1679 "id": "e5693b1c.1aac88",
\r
1680 "type": "execute",
\r
1681 "name": "execute RestApiCallNode - PUT AR by id",
\r
1682 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
\r
1685 "x": 739.3098468780518,
\r
1686 "y": 1969.4692034721375,
\r
1687 "z": "e47fc805.c5c588",
\r
1697 "id": "cfef9f3f.14c39",
\r
1698 "type": "not-found",
\r
1699 "name": "not-found",
\r
1700 "xml": "<outcome value='not-found'>\n",
\r
1703 "x": 993.9512691497803,
\r
1704 "y": 2013.800597667694,
\r
1705 "z": "e47fc805.c5c588",
\r
1713 "id": "72aa50f4.96321",
\r
1714 "type": "failure",
\r
1715 "name": "failure",
\r
1716 "xml": "<outcome value='failure'>\n",
\r
1719 "x": 995.9512920379639,
\r
1720 "y": 1972.3005618080497,
\r
1721 "z": "e47fc805.c5c588",
\r
1729 "id": "28a18b03.896b34",
\r
1730 "type": "success",
\r
1731 "name": "success",
\r
1732 "xml": "<outcome value='success'>\n",
\r
1735 "x": 999.7013759613037,
\r
1736 "y": 1923.6577143669128,
\r
1737 "z": "e47fc805.c5c588",
\r
1745 "id": "492ba4ec.f6b39c",
\r
1746 "type": "returnFailure",
\r
1747 "name": "return failure",
\r
1748 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating md-sal for connection-attachment-allotted-resource\" />\n",
\r
1750 "x": 1154.70139503479,
\r
1751 "y": 1992.0506281852722,
\r
1752 "z": "e47fc805.c5c588",
\r
1756 "id": "85d2ed51.1b8c4",
\r
1759 "xml": "<block>\n",
\r
1760 "atomic": "false",
\r
1763 "x": 1127.3573207855225,
\r
1764 "y": 1925.8498826026917,
\r
1765 "z": "e47fc805.c5c588",
\r
1771 "id": "e420c4c5.b6aac8",
\r
1773 "name": "set ar-data",
\r
1774 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",
\r
1776 "x": 641.5234622955322,
\r
1777 "y": 1803.8501045703888,
\r
1778 "z": "e47fc805.c5c588",
\r
1782 "id": "31063248.d169de",
\r
1783 "type": "execute",
\r
1784 "name": "execute getTime",
\r
1785 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
\r
1788 "x": 658.80930519104,
\r
1789 "y": 1876.469702243805,
\r
1790 "z": "e47fc805.c5c588",
\r
1796 "id": "f27d2f2b.5f557",
\r
1798 "name": "set allotted-resource-oper-status",
\r
1799 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
\r
1801 "x": 708.7963848114014,
\r
1802 "y": 1913.4207825660706,
\r
1803 "z": "e47fc805.c5c588",
\r
1807 "id": "9257aeaa.1b50e",
\r
1809 "name": "set model-data",
\r
1810 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
\r
1812 "x": 655.3650035858154,
\r
1813 "y": 1843.0247550010681,
\r
1814 "z": "e47fc805.c5c588",
\r
1818 "id": "32d6bb38.221fd4",
\r
1819 "type": "comment",
\r
1820 "name": "Prepare data for allotted-resource addition to MDSAL",
\r
1821 "info": "This will add to allotted-resource which is present inside service.",
\r
1823 "x": 768.69846534729,
\r
1824 "y": 1764.0247070789337,
\r
1825 "z": "e47fc805.c5c588",
\r
1829 "id": "8d90c1db.edb92",
\r
1830 "type": "comment",
\r
1831 "name": "Add to allotted-resources in mdsal",
\r
1834 "x": 710.2782917022705,
\r
1835 "y": 1731.4380087852478,
\r
1836 "z": "e47fc805.c5c588",
\r
1840 "id": "8bb4a5cf.68ff78",
\r
1842 "name": "update AAI allotted-resource",
\r
1843 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"Active\" />\n",
\r
1846 "x": 698.2543468475342,
\r
1847 "y": 2160.75501203537,
\r
1848 "z": "e47fc805.c5c588",
\r
1851 "d001a7e2.45abd8",
\r
1857 "id": "f242ac55.63689",
\r
1858 "type": "execute",
\r
1859 "name": "execute RestApiCallNode getPath from OOF",
\r
1860 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
1863 "x": 1507.004306793213,
\r
1864 "y": 1723.2546639442444,
\r
1865 "z": "e47fc805.c5c588",
\r
1874 "id": "8ebd53f.a1c8db",
\r
1875 "type": "success",
\r
1876 "name": "success",
\r
1877 "xml": "<outcome value='success'>\n",
\r
1880 "x": 1747.0044479370117,
\r
1881 "y": 1747.2546334266663,
\r
1882 "z": "e47fc805.c5c588",
\r
1890 "id": "2728f3f1.18be8c",
\r
1891 "type": "returnFailure",
\r
1892 "name": "return failure",
\r
1893 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
\r
1895 "x": 1886.004482269287,
\r
1896 "y": 1696.2547249794006,
\r
1897 "z": "e47fc805.c5c588",
\r
1901 "id": "4a1f8620.db9dd8",
\r
1902 "type": "failure",
\r
1903 "name": "failure",
\r
1904 "xml": "<outcome value='failure'>\n",
\r
1907 "x": 1746.0042343139648,
\r
1908 "y": 1696.2547240257263,
\r
1909 "z": "e47fc805.c5c588",
\r
1917 "id": "f4212815.8844c8",
\r
1918 "type": "comment",
\r
1919 "name": "Get VPNs from OOF",
\r
1922 "x": 1493.008228302002,
\r
1923 "y": 1690.2586636543274,
\r
1924 "z": "e47fc805.c5c588",
\r
1928 "id": "30312f10.31bce",
\r
1930 "name": "for vidx..oof.vpns_length[]",
\r
1931 "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
\r
1934 "x": 1447.004150390625,
\r
1935 "y": 1805.5043921470642,
\r
1936 "z": "e47fc805.c5c588",
\r
1944 "id": "50ffe7da.bf4678",
\r
1945 "type": "comment",
\r
1946 "name": "Loop through VPN and configure them",
\r
1949 "x": 1493.0046005249023,
\r
1950 "y": 1940.0047698020935,
\r
1951 "z": "e47fc805.c5c588",
\r
1955 "id": "5656fc8f.8dd814",
\r
1956 "type": "switchNode",
\r
1957 "name": "switch name",
\r
1958 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n \n",
\r
1961 "x": 2686.788330078125,
\r
1962 "y": 1277.1218237876892,
\r
1963 "z": "e47fc805.c5c588",
\r
1971 "id": "55653cd7.ec43f4",
\r
1972 "type": "outcomeTrue",
\r
1974 "xml": "<outcome value='true'>\n",
\r
1977 "x": 2875.788299560547,
\r
1978 "y": 1277.1218090057373,
\r
1979 "z": "e47fc805.c5c588",
\r
1987 "id": "5525b0a7.6138f",
\r
1989 "name": "set etht-svc-name & bandwidth-profile-name",
\r
1990 "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
1992 "x": 3116.78861618042,
\r
1993 "y": 1276.721863746643,
\r
1994 "z": "e47fc805.c5c588",
\r
1998 "id": "831174d3.18ba68",
\r
1999 "type": "switchNode",
\r
2000 "name": "switch description",
\r
2001 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",
\r
2004 "x": 2699.6282081604004,
\r
2005 "y": 1312.1219186782837,
\r
2006 "z": "e47fc805.c5c588",
\r
2014 "id": "3b411fae.953a4",
\r
2015 "type": "outcomeTrue",
\r
2017 "xml": "<outcome value='true'>\n",
\r
2020 "x": 2874.628273010254,
\r
2021 "y": 1314.121904373169,
\r
2022 "z": "e47fc805.c5c588",
\r
2030 "id": "8774460.14dcdb8",
\r
2032 "name": "set etht-svc-descr",
\r
2033 "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
2035 "x": 3030.9615898132324,
\r
2036 "y": 1311.5829792022705,
\r
2037 "z": "e47fc805.c5c588",
\r
2041 "id": "28da2331.d9adbc",
\r
2042 "type": "switchNode",
\r
2043 "name": "switch tenantId",
\r
2044 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",
\r
2047 "x": 2695.010471343994,
\r
2048 "y": 1345.4553089141846,
\r
2049 "z": "e47fc805.c5c588",
\r
2057 "id": "ada04353.d80d1",
\r
2058 "type": "outcomeTrue",
\r
2060 "xml": "<outcome value='true'>\n",
\r
2063 "x": 2873.0104751586914,
\r
2064 "y": 1349.455186843872,
\r
2065 "z": "e47fc805.c5c588",
\r
2073 "id": "cee74467.1a9228",
\r
2075 "name": "set tenantId",
\r
2076 "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
2078 "x": 3011.0106620788574,
\r
2079 "y": 1346.0551624298096,
\r
2080 "z": "e47fc805.c5c588",
\r
2084 "id": "8c9ddaa9.6e1178",
\r
2085 "type": "switchNode",
\r
2086 "name": "switch cir",
\r
2087 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",
\r
2090 "x": 2677.850070953369,
\r
2091 "y": 1418.4552640914917,
\r
2092 "z": "e47fc805.c5c588",
\r
2100 "id": "cd954fdf.ea0ed",
\r
2101 "type": "outcomeTrue",
\r
2103 "xml": "<outcome value='true'>\n",
\r
2106 "x": 2872.8501358032227,
\r
2107 "y": 1419.4552640914917,
\r
2108 "z": "e47fc805.c5c588",
\r
2116 "id": "31bd7e24.629462",
\r
2118 "name": "set cir",
\r
2119 "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
2121 "x": 2997.18363571167,
\r
2122 "y": 1417.9163389205933,
\r
2123 "z": "e47fc805.c5c588",
\r
2127 "id": "5b35ac60.b06374",
\r
2128 "type": "switchNode",
\r
2129 "name": "switch vpnType",
\r
2130 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",
\r
2133 "x": 2692.158359527588,
\r
2134 "y": 1381.2329740524292,
\r
2135 "z": "e47fc805.c5c588",
\r
2143 "id": "1d4c9619.a6669a",
\r
2144 "type": "outcomeTrue",
\r
2146 "xml": "<outcome value='true'>\n",
\r
2149 "x": 2874.158546447754,
\r
2150 "y": 1384.2329587936401,
\r
2151 "z": "e47fc805.c5c588",
\r
2159 "id": "bd64b5e6.539838",
\r
2161 "name": "set vpnType",
\r
2162 "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
2164 "x": 3010.492290496826,
\r
2165 "y": 1380.694200515747,
\r
2166 "z": "e47fc805.c5c588",
\r
2170 "id": "cc2b2a86.fe9858",
\r
2171 "type": "switchNode",
\r
2172 "name": "switch eir",
\r
2173 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",
\r
2176 "x": 2673.1404151916504,
\r
2177 "y": 1452.1531715393066,
\r
2178 "z": "e47fc805.c5c588",
\r
2186 "id": "203ce537.bd8b2a",
\r
2187 "type": "outcomeTrue",
\r
2189 "xml": "<outcome value='true'>\n",
\r
2192 "x": 2873.1406631469727,
\r
2193 "y": 1455.1531105041504,
\r
2194 "z": "e47fc805.c5c588",
\r
2202 "id": "7faf1119.e88e9",
\r
2204 "name": "set eir",
\r
2205 "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
2207 "x": 2996.4742851257324,
\r
2208 "y": 1454.614170074463,
\r
2209 "z": "e47fc805.c5c588",
\r
2213 "id": "95f6d795.6654c8",
\r
2214 "type": "switchNode",
\r
2215 "name": "switch colorAware",
\r
2216 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",
\r
2219 "x": 2698.141025543213,
\r
2220 "y": 1486.1530504226685,
\r
2221 "z": "e47fc805.c5c588",
\r
2229 "id": "b60ea4bb.5cc238",
\r
2230 "type": "outcomeTrue",
\r
2232 "xml": "<outcome value='true'>\n",
\r
2235 "x": 2869.1408462524414,
\r
2236 "y": 1492.152988910675,
\r
2237 "z": "e47fc805.c5c588",
\r
2245 "id": "6d5c307a.1a01c",
\r
2247 "name": "set colorAware",
\r
2248 "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
2250 "x": 3017.47416305542,
\r
2251 "y": 1492.6142015457153,
\r
2252 "z": "e47fc805.c5c588",
\r
2256 "id": "12d0e2b2.41538d",
\r
2257 "type": "switchNode",
\r
2258 "name": "switch couplingFlag",
\r
2259 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",
\r
2262 "x": 2700.1409645080566,
\r
2263 "y": 1522.153112411499,
\r
2264 "z": "e47fc805.c5c588",
\r
2272 "id": "9768f5df.e54b58",
\r
2273 "type": "outcomeTrue",
\r
2275 "xml": "<outcome value='true'>\n",
\r
2278 "x": 2872.1408462524414,
\r
2279 "y": 1531.153081893921,
\r
2280 "z": "e47fc805.c5c588",
\r
2288 "id": "9d447a7c.f87728",
\r
2290 "name": "set couplingFlag",
\r
2291 "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
\r
2293 "x": 3025.47416305542,
\r
2294 "y": 1531.6142024993896,
\r
2295 "z": "e47fc805.c5c588",
\r
2299 "id": "23c26849.b1be88",
\r
2300 "type": "comment",
\r
2301 "name": "Check if other EP exists in SOTNConnectionResource",
\r
2304 "x": 2831.343994140625,
\r
2305 "y": 1140.7884497642517,
\r
2306 "z": "e47fc805.c5c588",
\r
2310 "id": "1c7f6b36.0dde35",
\r
2311 "type": "comment",
\r
2312 "name": "Get other global parameters from network",
\r
2316 "y": 1226.7884497642517,
\r
2317 "z": "e47fc805.c5c588",
\r
2321 "id": "373cb481.0be6cc",
\r
2322 "type": "switchNode",
\r
2323 "name": "switch access-provider-id",
\r
2324 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
\r
2327 "x": 1715.5661029815674,
\r
2328 "y": 1488.2329788208008,
\r
2329 "z": "e47fc805.c5c588",
\r
2337 "id": "ff1ef452.ac6398",
\r
2338 "type": "outcomeTrue",
\r
2340 "xml": "<outcome value='true'>\n",
\r
2343 "x": 1902.5661029815674,
\r
2344 "y": 1484.2329788208008,
\r
2345 "z": "e47fc805.c5c588",
\r
2353 "id": "ed2e9db3.52782",
\r
2355 "name": "set access-provider-id",
\r
2356 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
\r
2358 "x": 2070.5661029815674,
\r
2359 "y": 1484.8329849243164,
\r
2360 "z": "e47fc805.c5c588",
\r
2364 "id": "9ebd0cde.5ee4a",
\r
2365 "type": "switchNode",
\r
2366 "name": "switch access-client-id",
\r
2367 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
\r
2370 "x": 1706.5661182403564,
\r
2371 "y": 1531.2434272766113,
\r
2372 "z": "e47fc805.c5c588",
\r
2380 "id": "6a1f9494.a9099c",
\r
2381 "type": "outcomeTrue",
\r
2383 "xml": "<outcome value='true'>\n",
\r
2386 "x": 1893.5661182403564,
\r
2387 "y": 1527.2434272766113,
\r
2388 "z": "e47fc805.c5c588",
\r
2396 "id": "5c104369.10385c",
\r
2398 "name": "set access-client-id",
\r
2399 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
\r
2401 "x": 2061.5661182403564,
\r
2402 "y": 1527.843433380127,
\r
2403 "z": "e47fc805.c5c588",
\r
2407 "id": "3f0a30ad.0a05f",
\r
2408 "type": "switchNode",
\r
2409 "name": "switch access-topology-id",
\r
2410 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
\r
2413 "x": 1719.566062927246,
\r
2414 "y": 1573.2434582710266,
\r
2415 "z": "e47fc805.c5c588",
\r
2423 "id": "b8481b61.974128",
\r
2424 "type": "outcomeTrue",
\r
2426 "xml": "<outcome value='true'>\n",
\r
2429 "x": 1906.566062927246,
\r
2430 "y": 1569.2434582710266,
\r
2431 "z": "e47fc805.c5c588",
\r
2439 "id": "cd99ec59.16d01",
\r
2441 "name": "set access-topology-id",
\r
2442 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
\r
2444 "x": 2074.566062927246,
\r
2445 "y": 1569.8434643745422,
\r
2446 "z": "e47fc805.c5c588",
\r
2450 "id": "6a968eb5.e990c",
\r
2452 "name": "block : atomic",
\r
2453 "xml": "<block atomic=\"true\">",
\r
2456 "x": 1670.121467590332,
\r
2457 "y": 1842.3444514274597,
\r
2458 "z": "e47fc805.c5c588",
\r
2461 "25415b54.636c54",
\r
2463 "51f40b71.957074",
\r
2464 "f753496f.fd6098",
\r
2465 "a5fc88b6.7da8a8",
\r
2468 "1f7c3b05.6c25b5",
\r
2469 "15600759.2f8af9",
\r
2470 "38b5d1f7.8043be",
\r
2476 "id": "94168d9.4338d7",
\r
2478 "name": "set controller data",
\r
2479 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
\r
2481 "x": 2311.566131591797,
\r
2482 "y": 1906.67764377594,
\r
2483 "z": "e47fc805.c5c588",
\r
2487 "id": "1f7c3b05.6c25b5",
\r
2488 "type": "get-resource",
\r
2489 "name": "get-resource esr-thirdparty-sdnc",
\r
2490 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
\r
2493 "x": 1928.0660400390625,
\r
2494 "y": 1943.6775832176208,
\r
2495 "z": "e47fc805.c5c588",
\r
2498 "530a02a.35bc5fc",
\r
2499 "69cd2500.075b9c",
\r
2505 "id": "530a02a.35bc5fc",
\r
2506 "type": "success",
\r
2507 "name": "success",
\r
2508 "xml": "<outcome value='success'>\n",
\r
2511 "x": 2148.065975189209,
\r
2512 "y": 1907.6775522232056,
\r
2513 "z": "e47fc805.c5c588",
\r
2521 "id": "69cd2500.075b9c",
\r
2522 "type": "not-found",
\r
2523 "name": "not-found",
\r
2524 "xml": "<outcome value='not-found'>\n",
\r
2527 "x": 2157.556915283203,
\r
2528 "y": 1948.251558303833,
\r
2529 "z": "e47fc805.c5c588",
\r
2537 "id": "30e7132.e91f7ec",
\r
2540 "xml": "<outcome value='Other'>\n",
\r
2543 "x": 2152.889892578125,
\r
2544 "y": 1984.5848712921143,
\r
2545 "z": "e47fc805.c5c588",
\r
2553 "id": "5bd73e6e.fe56f",
\r
2554 "type": "returnFailure",
\r
2555 "name": "return failure",
\r
2556 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
\r
2558 "x": 2304.1282653808594,
\r
2559 "y": 1944.5373849868774,
\r
2560 "z": "e47fc805.c5c588",
\r
2564 "id": "af020f5f.af078",
\r
2565 "type": "returnFailure",
\r
2566 "name": "return failure",
\r
2567 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
\r
2569 "x": 2307.6625366210938,
\r
2570 "y": 1986.024019241333,
\r
2571 "z": "e47fc805.c5c588",
\r
2575 "id": "e2b95315.238d5",
\r
2576 "type": "get-resource",
\r
2577 "name": "get-resource pnf",
\r
2578 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
\r
2581 "x": 1873.565933227539,
\r
2582 "y": 1852.6772270202637,
\r
2583 "z": "e47fc805.c5c588",
\r
2586 "14ef11a9.e55e2e",
\r
2587 "226a17e2.188c38",
\r
2593 "id": "14ef11a9.e55e2e",
\r
2594 "type": "success",
\r
2595 "name": "success",
\r
2596 "xml": "<outcome value='success'>\n",
\r
2599 "x": 2055.5659790039062,
\r
2600 "y": 1797.6773371696472,
\r
2601 "z": "e47fc805.c5c588",
\r
2609 "id": "226a17e2.188c38",
\r
2610 "type": "not-found",
\r
2611 "name": "not-found",
\r
2612 "xml": "<outcome value='not-found'>\n",
\r
2615 "x": 2056.0568809509277,
\r
2616 "y": 1835.2514338493347,
\r
2617 "z": "e47fc805.c5c588",
\r
2625 "id": "6e24acbd.f1e944",
\r
2628 "xml": "<outcome value='Other'>\n",
\r
2631 "x": 2047.389892578125,
\r
2632 "y": 1868.5848088264465,
\r
2633 "z": "e47fc805.c5c588",
\r
2641 "id": "c7278eff.a4e77",
\r
2642 "type": "returnFailure",
\r
2643 "name": "return failure",
\r
2644 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2646 "x": 2203.628505706787,
\r
2647 "y": 1834.5373225212097,
\r
2648 "z": "e47fc805.c5c588",
\r
2652 "id": "86f1cee5.6a47d",
\r
2653 "type": "returnFailure",
\r
2654 "name": "return failure",
\r
2655 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
\r
2657 "x": 2201.1625366210938,
\r
2658 "y": 1868.0239567756653,
\r
2659 "z": "e47fc805.c5c588",
\r
2663 "id": "24ab4d52.5b5102",
\r
2665 "name": "set tmp.thirdparty-sdnc-id",
\r
2666 "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
\r
2668 "x": 2240.5659790039062,
\r
2669 "y": 1796.6774592399597,
\r
2670 "z": "e47fc805.c5c588",
\r
2674 "id": "c836a451.421728",
\r
2675 "type": "comment",
\r
2676 "name": "get domain controller information",
\r
2679 "x": 1924.0698471069336,
\r
2680 "y": 1819.681182384491,
\r
2681 "z": "e47fc805.c5c588",
\r
2685 "id": "15600759.2f8af9",
\r
2687 "name": "set oof.vpn",
\r
2688 "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
\r
2690 "x": 1885.565933227539,
\r
2691 "y": 1773.7883105278015,
\r
2692 "z": "e47fc805.c5c588",
\r
2696 "id": "a5206342.9aba",
\r
2698 "name": "save VPN resource in AAI",
\r
2699 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
\r
2702 "x": 1900.0314102172852,
\r
2703 "y": 2350.750671863556,
\r
2704 "z": "e47fc805.c5c588",
\r
2710 "id": "51f40b71.957074",
\r
2712 "name": "set tmp.vpnName",
\r
2713 "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",
\r
2715 "x": 1876.5314102172852,
\r
2716 "y": 2303.2503685951233,
\r
2717 "z": "e47fc805.c5c588",
\r
2721 "id": "f753496f.fd6098",
\r
2723 "name": "save connectivity relationship in AAI",
\r
2724 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
\r
2727 "x": 1935.0314102172852,
\r
2728 "y": 2395.750427722931,
\r
2729 "z": "e47fc805.c5c588",
\r
2735 "id": "b6eef9a7.432da8",
\r
2736 "type": "comment",
\r
2737 "name": "save vpn and its relation to AAI",
\r
2740 "x": 1918.031608581543,
\r
2741 "y": 2264.7506375312805,
\r
2742 "z": "e47fc805.c5c588",
\r
2746 "id": "25415b54.636c54",
\r
2748 "name": "set src-ltpId dst-ltpId",
\r
2749 "xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",
\r
2751 "x": 1887.0314407348633,
\r
2752 "y": 2435.750547885895,
\r
2753 "z": "e47fc805.c5c588",
\r
2757 "id": "a5fc88b6.7da8a8",
\r
2759 "name": "save srcLTP relationship in AAI",
\r
2760 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
\r
2763 "x": 1921.0316925048828,
\r
2764 "y": 2475.50075674057,
\r
2765 "z": "e47fc805.c5c588",
\r
2771 "id": "48526f97.44c48",
\r
2773 "name": "save dstLTP relationship in AAI",
\r
2774 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
\r
2777 "x": 1919.0315246582031,
\r
2778 "y": 2521.2505955696106,
\r
2779 "z": "e47fc805.c5c588",
\r
2785 "id": "c941958.f53f068",
\r
2786 "type": "execute",
\r
2787 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
\r
2788 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
\r
2791 "x": 865.0351867675781,
\r
2792 "y": 626.0039095878601,
\r
2793 "z": "e47fc805.c5c588",
\r
2802 "id": "4e69710c.777f7",
\r
2803 "type": "execute",
\r
2804 "name": "execute RestApiCallNode - get-resource parent service data",
\r
2805 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
\r
2808 "x": 792.0353393554688,
\r
2809 "y": 853.0040726661682,
\r
2810 "z": "e47fc805.c5c588",
\r
2819 "id": "7b1a01af.62e07",
\r
2820 "type": "execute",
\r
2821 "name": "get parent-service-data url",
\r
2822 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
\r
2825 "x": 692.0352478027344,
\r
2826 "y": 816.0039057731628,
\r
2827 "z": "e47fc805.c5c588",
\r
2833 "id": "da051cb.7908ce",
\r
2834 "type": "execute",
\r
2835 "name": "generate tmp.ar-other-url-connection",
\r
2836 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-other-url-connection\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n \n\n",
\r
2839 "x": 2106.0316009521484,
\r
2840 "y": 972.3334670066833,
\r
2841 "z": "e47fc805.c5c588",
\r
2847 "id": "511eded7.ee48c",
\r
2848 "type": "execute",
\r
2849 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
\r
2850 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-url-connection`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-other-ar\" />\n\n",
\r
2853 "x": 2243.032241821289,
\r
2854 "y": 1014.8333315849304,
\r
2855 "z": "e47fc805.c5c588",
\r
2858 "df822a12.2f4cb8",
\r
2864 "id": "386f994c.1e59a6",
\r
2867 "xml": "<block>\n",
\r
2868 "atomic": "false",
\r
2871 "x": 1868.0315208435059,
\r
2872 "y": 1738.0001168251038,
\r
2873 "z": "e47fc805.c5c588",
\r
2879 "id": "ef27420c.8613d",
\r
2881 "name": "block : atomic",
\r
2882 "xml": "<block atomic=\"true\">",
\r
2885 "x": 1245.0001335144043,
\r
2886 "y": 1763.0003008842468,
\r
2887 "z": "e47fc805.c5c588",
\r
2896 "id": "d906524b.eeb18",
\r
2897 "type": "outcome",
\r
2898 "name": "outcome PendingDelete",
\r
2899 "xml": "<outcome value='PendingDelete'>\n",
\r
2902 "x": 2319.0625915527344,
\r
2903 "y": 578.03129529953,
\r
2904 "z": "e47fc805.c5c588",
\r
2912 "id": "e6b0a51.a605158",
\r
2915 "xml": "<block>\n",
\r
2916 "atomic": "false",
\r
2919 "x": 2503.062602996826,
\r
2920 "y": 574.03129529953,
\r
2921 "z": "e47fc805.c5c588",
\r
2927 "id": "38b5d1f7.8043be",
\r
2928 "type": "execute",
\r
2929 "name": "execute RestApiCallNode Get token",
\r
2930 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
\r
2933 "x": 1948.5351867675781,
\r
2934 "y": 2070.003924846649,
\r
2935 "z": "e47fc805.c5c588",
\r
2944 "id": "e9cfbd0.6beca4",
\r
2945 "type": "success",
\r
2946 "name": "success",
\r
2947 "xml": "<outcome value='success'>\n",
\r
2950 "x": 2183.535186767578,
\r
2951 "y": 2048.003924846649,
\r
2952 "z": "e47fc805.c5c588",
\r
2960 "id": "329096c7.0b55ba",
\r
2961 "type": "failure",
\r
2962 "name": "failure",
\r
2963 "xml": "<outcome value='failure'>\n",
\r
2966 "x": 2175.785186767578,
\r
2967 "y": 2101.6468081474304,
\r
2968 "z": "e47fc805.c5c588",
\r
2976 "id": "44854a0f.60c554",
\r
2978 "name": "set token-id",
\r
2979 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
2981 "x": 2337.535186767578,
\r
2982 "y": 2049.003924846649,
\r
2983 "z": "e47fc805.c5c588",
\r
2987 "id": "3f572112.50e40e",
\r
2988 "type": "switchNode",
\r
2989 "name": "switch prop.sdncRestApi.token_id",
\r
2990 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",
\r
2993 "x": 1951.5312194824219,
\r
2994 "y": 2167.031491279602,
\r
2995 "z": "e47fc805.c5c588",
\r
2998 "71416b24.4767f4",
\r
3004 "id": "71416b24.4767f4",
\r
3007 "xml": "<outcome value=''>\n",
\r
3010 "x": 2177.531467437744,
\r
3011 "y": 2143.0313682556152,
\r
3012 "z": "e47fc805.c5c588",
\r
3020 "id": "95a4ed31.47c83",
\r
3023 "xml": "<outcome value='Other'>\n",
\r
3026 "x": 2171.5313453674316,
\r
3027 "y": 2206.5313692092896,
\r
3028 "z": "e47fc805.c5c588",
\r
3036 "id": "8f0a300b.e6801",
\r
3039 "xml": "<block>\n",
\r
3040 "atomic": "false",
\r
3045 "z": "e47fc805.c5c588",
\r
3051 "id": "9a737a81.94bba8",
\r
3052 "type": "execute",
\r
3053 "name": "execute RestApiCallNode Create ethernet Service",
\r
3054 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
\r
3059 "z": "e47fc805.c5c588",
\r
3062 "470289f4.54d198",
\r