3 "id": "2211395a.011d9e",
\r
7 "x": 163.3333282470703,
\r
8 "y": 160.33334350585938,
\r
9 "z": "1f8b432c.7b707d",
\r
17 "id": "76c66690.98a45",
\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": 388.6190185546875,
\r
26 "y": 234.5714521408081,
\r
27 "z": "1f8b432c.7b707d",
\r
35 "id": "b63d123d.97032",
\r
37 "name": "method p2p-vnf-topology-operation-p2p-modify",
\r
38 "xml": "<method rpc='p2p-vnf-topology-operation-p2p-modify' mode='sync'>\n",
\r
41 "x": 394.7619323730469,
\r
42 "y": 319.3333740234375,
\r
43 "z": "1f8b432c.7b707d",
\r
51 "id": "8673b8f9.6a3da8",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 764.5713653564453,
\r
58 "y": 344.0000305175781,
\r
59 "z": "1f8b432c.7b707d",
\r
69 "id": "ae3ebf6e.ef0d08",
\r
70 "type": "returnSuccess",
\r
71 "name": "return success",
\r
72 "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
74 "x": 1019.9048614501953,
\r
75 "y": 497.9303283691406,
\r
76 "z": "1f8b432c.7b707d",
\r
80 "id": "ab777fe6.923ff8",
\r
82 "name": "get service-instance from aai",
\r
83 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",
\r
86 "x": 1087.3333282470703,
\r
87 "y": 317.3333435058594,
\r
88 "z": "1f8b432c.7b707d",
\r
98 "id": "aea97b8e.023f8",
\r
101 "xml": "<outcome value='success'>\n",
\r
104 "x": 1312.3333282470703,
\r
105 "y": 175.33334350585938,
\r
106 "z": "1f8b432c.7b707d",
\r
114 "id": "722dfa8c.b5ceac",
\r
115 "type": "not-found",
\r
116 "name": "not-found",
\r
117 "xml": "<outcome value='not-found'>\n",
\r
120 "x": 1307.8242950439453,
\r
121 "y": 244.90737915039062,
\r
122 "z": "1f8b432c.7b707d",
\r
130 "id": "9688fc7c.73aaf",
\r
133 "xml": "<outcome value='failure'>\n",
\r
136 "x": 1296.3333282470703,
\r
137 "y": 291.3333435058594,
\r
138 "z": "1f8b432c.7b707d",
\r
146 "id": "ef41f2be.ad3298",
\r
147 "type": "switchNode",
\r
148 "name": "switch allotted-resources_length != 0",
\r
149 "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",
\r
152 "x": 1551.3333282470703,
\r
153 "y": 172.33334350585938,
\r
154 "z": "1f8b432c.7b707d",
\r
163 "id": "1d2d7b8b.bf556c",
\r
164 "type": "returnFailure",
\r
165 "name": "return failure",
\r
166 "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.l3vpn.pe1_id`\" />\n\n",
\r
168 "x": 1461.3957061767578,
\r
169 "y": 248.193115234375,
\r
170 "z": "1f8b432c.7b707d",
\r
174 "id": "8b1a56ec.d55058",
\r
175 "type": "returnFailure",
\r
176 "name": "return failure",
\r
177 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
179 "x": 1465.3333282470703,
\r
180 "y": 292.3333435058594,
\r
181 "z": "1f8b432c.7b707d",
\r
185 "id": "34ae60f0.b22a",
\r
186 "type": "outcomeTrue",
\r
188 "xml": "<outcome value='true'>\n",
\r
191 "x": 1764.3333282470703,
\r
192 "y": 196.33334350585938,
\r
193 "z": "1f8b432c.7b707d",
\r
201 "id": "2322bdf8.c6bb02",
\r
202 "type": "outcomeFalse",
\r
204 "xml": "<outcome value='false'>\n",
\r
207 "x": 1766.3333282470703,
\r
208 "y": 136.33334350585938,
\r
209 "z": "1f8b432c.7b707d",
\r
215 "id": "660e6b22.7f394c",
\r
217 "name": "new for TransportSlicing",
\r
220 "x": 1066.3333282470703,
\r
221 "y": 205.33334350585938,
\r
222 "z": "1f8b432c.7b707d",
\r
226 "id": "3d51a7bc.14e5d",
\r
229 "xml": "<block>\n",
\r
233 "x": 1709.3333282470703,
\r
234 "y": 378.3333435058594,
\r
235 "z": "1f8b432c.7b707d",
\r
246 "id": "c943499a.5fba18",
\r
248 "name": "set network-route-A",
\r
249 "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",
\r
251 "x": 4278.33332824707,
\r
252 "y": 885.3333435058594,
\r
253 "z": "1f8b432c.7b707d",
\r
257 "id": "a02a2dea.0be938",
\r
259 "name": "set network-route-B",
\r
260 "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
\r
262 "x": 4279.33332824707,
\r
263 "y": 940.3333435058594,
\r
264 "z": "1f8b432c.7b707d",
\r
268 "id": "b14c900.06de0f",
\r
270 "name": "get allotted-resource from aai",
\r
271 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",
\r
274 "x": 2235.3333282470703,
\r
275 "y": 335.3333435058594,
\r
276 "z": "1f8b432c.7b707d",
\r
286 "id": "dfed5f78.dacb98",
\r
289 "xml": "<outcome value='success'>\n",
\r
292 "x": 2451.3333282470703,
\r
293 "y": 402.3333435058594,
\r
294 "z": "1f8b432c.7b707d",
\r
302 "id": "5582b318.e9d204",
\r
303 "type": "not-found",
\r
304 "name": "not-found",
\r
305 "xml": "<outcome value='not-found'>\n",
\r
308 "x": 2451.8242950439453,
\r
309 "y": 301.9073181152344,
\r
310 "z": "1f8b432c.7b707d",
\r
318 "id": "2fce3c04.1858e4",
\r
321 "xml": "<outcome value='failure'>\n",
\r
324 "x": 2447.3333282470703,
\r
325 "y": 351.3333435058594,
\r
326 "z": "1f8b432c.7b707d",
\r
334 "id": "6fdc0c14.bf49ec",
\r
335 "type": "returnFailure",
\r
336 "name": "return failure",
\r
337 "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.l3vpn.pe1_id`\" />\n\n",
\r
339 "x": 2629.3958282470703,
\r
340 "y": 302.1930847167969,
\r
341 "z": "1f8b432c.7b707d",
\r
345 "id": "40e570f4.a7125",
\r
346 "type": "returnFailure",
\r
347 "name": "return failure",
\r
348 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
350 "x": 2629.3333282470703,
\r
351 "y": 351.3333435058594,
\r
352 "z": "1f8b432c.7b707d",
\r
356 "id": "c63be28d.8bf768",
\r
358 "name": "get logical-link from aai",
\r
359 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",
\r
362 "x": 3504.3333282470703,
\r
363 "y": 856.3333435058594,
\r
364 "z": "1f8b432c.7b707d",
\r
374 "id": "fe4eb74e.b16da8",
\r
375 "type": "not-found",
\r
376 "name": "not-found",
\r
377 "xml": "<outcome value='not-found'>\n",
\r
380 "x": 3795.8242950439453,
\r
381 "y": 834.9073181152344,
\r
382 "z": "1f8b432c.7b707d",
\r
390 "id": "f1a8adba.61278",
\r
393 "xml": "<outcome value='failure'>\n",
\r
396 "x": 3784.3333282470703,
\r
397 "y": 879.3333435058594,
\r
398 "z": "1f8b432c.7b707d",
\r
406 "id": "1a4b644b.4c6e64",
\r
407 "type": "returnFailure",
\r
408 "name": "return failure",
\r
409 "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.l3vpn.pe1_id`\" />\n\n",
\r
411 "x": 3944.3958282470703,
\r
412 "y": 835.1930847167969,
\r
413 "z": "1f8b432c.7b707d",
\r
417 "id": "9213678.fc93898",
\r
418 "type": "returnFailure",
\r
419 "name": "return failure",
\r
420 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
422 "x": 3943.3333282470703,
\r
423 "y": 879.3333435058594,
\r
424 "z": "1f8b432c.7b707d",
\r
428 "id": "1668ffd4.4ff0c",
\r
431 "xml": "<outcome value='success'>\n",
\r
434 "x": 3790.3333282470703,
\r
435 "y": 926.3333435058594,
\r
436 "z": "1f8b432c.7b707d",
\r
442 "id": "498e3ba4.cbc914",
\r
445 "xml": "<block>\n",
\r
449 "x": 3944.3333282470703,
\r
450 "y": 965.3333435058594,
\r
451 "z": "1f8b432c.7b707d",
\r
471 "id": "baaef2d3.b5b91",
\r
473 "name": "get network-route-A from aai",
\r
474 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",
\r
477 "x": 4291.33332824707,
\r
478 "y": 1008.3333435058594,
\r
479 "z": "1f8b432c.7b707d",
\r
489 "id": "217d122e.216aae",
\r
491 "name": "get network-route-B from aai",
\r
492 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",
\r
495 "x": 4270.33332824707,
\r
496 "y": 1610.3332214355469,
\r
497 "z": "1f8b432c.7b707d",
\r
507 "id": "d4cc395.cbcc8c8",
\r
508 "type": "not-found",
\r
509 "name": "not-found",
\r
510 "xml": "<outcome value='not-found'>\n",
\r
513 "x": 4492.33332824707,
\r
514 "y": 892.3333435058594,
\r
515 "z": "1f8b432c.7b707d",
\r
523 "id": "73709604.b968f",
\r
526 "xml": "<outcome value='failure'>\n",
\r
529 "x": 4487.842361450195,
\r
530 "y": 941.7593688964844,
\r
531 "z": "1f8b432c.7b707d",
\r
539 "id": "7296162a.34f3c8",
\r
542 "xml": "<outcome value='success'>\n",
\r
545 "x": 4491.842361450195,
\r
546 "y": 992.7593688964844,
\r
547 "z": "1f8b432c.7b707d",
\r
555 "id": "d86c12e3.b2275",
\r
556 "type": "returnFailure",
\r
557 "name": "return failure",
\r
558 "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.l3vpn.pe1_id`\" />\n\n",
\r
560 "x": 4640.904861450195,
\r
561 "y": 891.6191101074219,
\r
562 "z": "1f8b432c.7b707d",
\r
566 "id": "800e46e3.3573a",
\r
567 "type": "returnFailure",
\r
568 "name": "return failure",
\r
569 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
571 "x": 4630.842361450195,
\r
572 "y": 941.7593688964844,
\r
573 "z": "1f8b432c.7b707d",
\r
577 "id": "33c50f98.788ad",
\r
578 "type": "not-found",
\r
579 "name": "not-found",
\r
580 "xml": "<outcome value='not-found'>\n",
\r
583 "x": 4493.33332824707,
\r
584 "y": 1580.3332214355469,
\r
585 "z": "1f8b432c.7b707d",
\r
593 "id": "41cb8574.dd9304",
\r
596 "xml": "<outcome value='failure'>\n",
\r
599 "x": 4488.842361450195,
\r
600 "y": 1629.7592468261719,
\r
601 "z": "1f8b432c.7b707d",
\r
609 "id": "d536577b.eef8e8",
\r
612 "xml": "<outcome value='success'>\n",
\r
615 "x": 4492.842361450195,
\r
616 "y": 1680.7592468261719,
\r
617 "z": "1f8b432c.7b707d",
\r
625 "id": "4a962304.a215f4",
\r
626 "type": "returnFailure",
\r
627 "name": "return failure",
\r
628 "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.l3vpn.pe1_id`\" />\n\n",
\r
630 "x": 4641.904861450195,
\r
631 "y": 1579.6189880371094,
\r
632 "z": "1f8b432c.7b707d",
\r
636 "id": "310d3fa7.cc4238",
\r
637 "type": "returnFailure",
\r
638 "name": "return failure",
\r
639 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
641 "x": 4631.842361450195,
\r
642 "y": 1629.7592468261719,
\r
643 "z": "1f8b432c.7b707d",
\r
647 "id": "62da33ab.561f8c",
\r
649 "name": "block : atomic",
\r
650 "xml": "<block atomic=\"true\">",
\r
653 "x": 5305.99983215332,
\r
654 "y": 1036.3333435058594,
\r
655 "z": "1f8b432c.7b707d",
\r
667 "id": "24a2bf70.dd5f6",
\r
670 "xml": "<outcome value='success'>\n",
\r
673 "x": 5133.33332824707,
\r
674 "y": 1037.3333435058594,
\r
675 "z": "1f8b432c.7b707d",
\r
683 "id": "b92bac73.6c9778",
\r
684 "type": "not-found",
\r
685 "name": "not-found",
\r
686 "xml": "<outcome value='not-found'>\n",
\r
689 "x": 5142.824295043945,
\r
690 "y": 1079.9073791503906,
\r
691 "z": "1f8b432c.7b707d",
\r
699 "id": "4c3b9d0a.797a8c",
\r
702 "xml": "<outcome value='failure'>\n",
\r
705 "x": 5131.33332824707,
\r
706 "y": 1126.3333435058594,
\r
707 "z": "1f8b432c.7b707d",
\r
715 "id": "e76a7bba.50458",
\r
716 "type": "returnFailure",
\r
717 "name": "return failure",
\r
718 "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.l3vpn.pe1_id`\" />\n\n",
\r
720 "x": 5296.395706176758,
\r
721 "y": 1083.193115234375,
\r
722 "z": "1f8b432c.7b707d",
\r
726 "id": "24a51d5a.eb4b0a",
\r
727 "type": "returnFailure",
\r
728 "name": "return failure",
\r
729 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
731 "x": 5300.33332824707,
\r
732 "y": 1127.3333435058594,
\r
733 "z": "1f8b432c.7b707d",
\r
737 "id": "a34e2377.27ccd8",
\r
739 "name": "block : atomic",
\r
740 "xml": "<block atomic=\"true\">",
\r
743 "x": 4653.33332824707,
\r
744 "y": 994.3333435058594,
\r
745 "z": "1f8b432c.7b707d",
\r
754 "id": "c757b760.b406b",
\r
756 "name": "block : atomic",
\r
757 "xml": "<block atomic=\"true\">",
\r
760 "x": 4643.33332824707,
\r
761 "y": 1682.3332214355469,
\r
762 "z": "1f8b432c.7b707d",
\r
771 "id": "e7fcac87.3713a",
\r
773 "name": "block : atomic",
\r
774 "xml": "<block atomic=\"true\">",
\r
777 "x": 5273.99983215332,
\r
778 "y": 1872.3333435058594,
\r
779 "z": "1f8b432c.7b707d",
\r
791 "id": "d0bf9af7.9310c",
\r
794 "xml": "<outcome value='success'>\n",
\r
797 "x": 5101.33332824707,
\r
798 "y": 1873.3333435058594,
\r
799 "z": "1f8b432c.7b707d",
\r
807 "id": "26c8c3e3.b7c694",
\r
808 "type": "not-found",
\r
809 "name": "not-found",
\r
810 "xml": "<outcome value='not-found'>\n",
\r
813 "x": 5110.824295043945,
\r
814 "y": 1915.9073791503906,
\r
815 "z": "1f8b432c.7b707d",
\r
823 "id": "dbc3af7a.2f9fb8",
\r
826 "xml": "<outcome value='failure'>\n",
\r
829 "x": 5099.33332824707,
\r
830 "y": 1962.3333435058594,
\r
831 "z": "1f8b432c.7b707d",
\r
839 "id": "a82c31f6.750ae8",
\r
840 "type": "returnFailure",
\r
841 "name": "return failure",
\r
842 "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.l3vpn.pe1_id`\" />\n\n",
\r
844 "x": 5264.395706176758,
\r
845 "y": 1919.193115234375,
\r
846 "z": "1f8b432c.7b707d",
\r
850 "id": "10e75613.88aafa",
\r
851 "type": "returnFailure",
\r
852 "name": "return failure",
\r
853 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
855 "x": 5268.33332824707,
\r
856 "y": 1963.3333435058594,
\r
857 "z": "1f8b432c.7b707d",
\r
861 "id": "70f308bc.05dc48",
\r
863 "name": "execute split tp-id to get pnf-name",
\r
864 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",
\r
867 "x": 5570.33332824707,
\r
868 "y": 1020.3333435058594,
\r
869 "z": "1f8b432c.7b707d",
\r
878 "id": "77cd07cb.ebdf78",
\r
881 "xml": "<outcome value='success'>\n",
\r
884 "x": 5793.33332824707,
\r
885 "y": 975.3333435058594,
\r
886 "z": "1f8b432c.7b707d",
\r
894 "id": "6bbffa2e.46690c",
\r
897 "xml": "<outcome value='failure'>\n",
\r
900 "x": 5795.33332824707,
\r
901 "y": 1039.3333435058594,
\r
902 "z": "1f8b432c.7b707d",
\r
910 "id": "d8fed17b.7e481",
\r
912 "name": "set ltpId",
\r
913 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
\r
915 "x": 6128.33332824707,
\r
916 "y": 930.3333435058594,
\r
917 "z": "1f8b432c.7b707d",
\r
921 "id": "8466cb9d.f4bc28",
\r
922 "type": "returnFailure",
\r
923 "name": "return failure",
\r
924 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
926 "x": 5957.33332824707,
\r
927 "y": 1035.3333435058594,
\r
928 "z": "1f8b432c.7b707d",
\r
932 "id": "e975bc36.28a99",
\r
934 "name": "block : atomic",
\r
935 "xml": "<block atomic=\"true\">",
\r
938 "x": 5958.33332824707,
\r
939 "y": 972.3333435058594,
\r
940 "z": "1f8b432c.7b707d",
\r
949 "id": "34be39c3.d02096",
\r
951 "name": "set pnf-name",
\r
952 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
\r
954 "x": 6129.33332824707,
\r
955 "y": 1038.3333435058594,
\r
956 "z": "1f8b432c.7b707d",
\r
960 "id": "becbdb78.8c28c",
\r
962 "name": "TODO: FIXME",
\r
963 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",
\r
965 "x": 6130.33332824707,
\r
966 "y": 987.3333435058594,
\r
967 "z": "1f8b432c.7b707d",
\r
971 "id": "a4aed251.f9b08",
\r
973 "name": "execute UUID generator for connectivity domainA",
\r
974 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
\r
977 "x": 5617.33332824707,
\r
978 "y": 1089.3333435058594,
\r
979 "z": "1f8b432c.7b707d",
\r
985 "id": "1e8d2c8e.4a5dbb",
\r
987 "name": "TODO: FIXME",
\r
988 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
\r
990 "x": 5506.33332824707,
\r
991 "y": 1130.3333435058594,
\r
992 "z": "1f8b432c.7b707d",
\r
996 "id": "53c6fb5d.111ec4",
\r
998 "name": "execute split tp-id to get pnf-name",
\r
999 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",
\r
1002 "x": 5560.33332824707,
\r
1003 "y": 1876.3334655761719,
\r
1004 "z": "1f8b432c.7b707d",
\r
1007 "46b3e138.d3f2e8",
\r
1013 "id": "cddf08d4.ef0a5",
\r
1014 "type": "failure",
\r
1015 "name": "success",
\r
1016 "xml": "<outcome value='success'>\n",
\r
1019 "x": 5783.33332824707,
\r
1020 "y": 1831.3334655761719,
\r
1021 "z": "1f8b432c.7b707d",
\r
1029 "id": "46b3e138.d3f2e8",
\r
1030 "type": "failure",
\r
1031 "name": "failure",
\r
1032 "xml": "<outcome value='failure'>\n",
\r
1035 "x": 5785.33332824707,
\r
1036 "y": 1895.3334655761719,
\r
1037 "z": "1f8b432c.7b707d",
\r
1045 "id": "db0e4a6.96bfeb8",
\r
1047 "name": "set ltpId",
\r
1048 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
\r
1050 "x": 6118.33332824707,
\r
1051 "y": 1789.3334655761719,
\r
1052 "z": "1f8b432c.7b707d",
\r
1056 "id": "2b8acdb2.b50cfa",
\r
1057 "type": "returnFailure",
\r
1058 "name": "return failure",
\r
1059 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1061 "x": 5944.33332824707,
\r
1062 "y": 1914.3334655761719,
\r
1063 "z": "1f8b432c.7b707d",
\r
1067 "id": "f20f3066.a035b8",
\r
1069 "name": "block : atomic",
\r
1070 "xml": "<block atomic=\"true\">",
\r
1073 "x": 5948.33332824707,
\r
1074 "y": 1828.3334655761719,
\r
1075 "z": "1f8b432c.7b707d",
\r
1078 "db0e4a6.96bfeb8",
\r
1084 "id": "aa82495b.a24c98",
\r
1086 "name": "set pnf-name",
\r
1087 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
1089 "x": 6119.33332824707,
\r
1090 "y": 1894.3334655761719,
\r
1091 "z": "1f8b432c.7b707d",
\r
1095 "id": "76704f22.ba3f58",
\r
1096 "type": "comment",
\r
1097 "name": "TODO: FIXME",
\r
1098 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",
\r
1100 "x": 6114.33332824707,
\r
1101 "y": 1843.3334655761719,
\r
1102 "z": "1f8b432c.7b707d",
\r
1106 "id": "3a858051.3cdb98",
\r
1108 "name": "save connectivity resource in AAI",
\r
1109 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\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`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
\r
1112 "x": 5562.33332824707,
\r
1113 "y": 2035.3334655761719,
\r
1114 "z": "1f8b432c.7b707d",
\r
1120 "id": "34b35dcd.443f82",
\r
1121 "type": "execute",
\r
1122 "name": "execute UUID generator for connectivity domainB",
\r
1123 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
\r
1126 "x": 5607.33332824707,
\r
1127 "y": 1945.3334655761719,
\r
1128 "z": "1f8b432c.7b707d",
\r
1134 "id": "c373fb4d.a3a7f",
\r
1135 "type": "comment",
\r
1136 "name": "TODO: FIXME",
\r
1137 "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",
\r
1139 "x": 5496.33332824707,
\r
1140 "y": 1983.3334655761719,
\r
1141 "z": "1f8b432c.7b707d",
\r
1145 "id": "f7348f80.aa12e8",
\r
1147 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
1148 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
1151 "x": 4491.33332824707,
\r
1152 "y": 2280.3333435058594,
\r
1153 "z": "1f8b432c.7b707d",
\r
1159 "id": "7a252ae2.45ae64",
\r
1161 "name": "set attachment_param",
\r
1162 "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",
\r
1164 "x": 4285.33332824707,
\r
1165 "y": 2181.3333435058594,
\r
1166 "z": "1f8b432c.7b707d",
\r
1170 "id": "c4146d99.a600e",
\r
1171 "type": "comment",
\r
1172 "name": "TODO: FIXME",
\r
1173 "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",
\r
1175 "x": 4259.33332824707,
\r
1176 "y": 2134.3333435058594,
\r
1177 "z": "1f8b432c.7b707d",
\r
1181 "id": "d868e9d5.e95cb",
\r
1183 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1184 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \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/' + $uuid.connectivity-domainA-uuid`\" />\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=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\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/' + $prop.sotn.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=\"`$prop.sotn.network-id`\" />-->",
\r
1187 "x": 5700.33332824707,
\r
1188 "y": 1227.3333435058594,
\r
1189 "z": "1f8b432c.7b707d",
\r
1195 "id": "a5489f79.fd4018",
\r
1197 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1198 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \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/' + $prop.connectivity-domainB-uuid`\" />\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=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\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/' + $prop.sotn.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=\"`$prop.sotn.network-id`\" />-->",
\r
1201 "x": 5689.33332824707,
\r
1202 "y": 2100.333465576172,
\r
1203 "z": "1f8b432c.7b707d",
\r
1209 "id": "e38e7099.4c1268",
\r
1210 "type": "execute",
\r
1211 "name": "get esr-thirdparty-sdnc",
\r
1212 "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.domainA.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",
\r
1215 "x": 6744.33332824707,
\r
1216 "y": 747.3333435058594,
\r
1217 "z": "1f8b432c.7b707d",
\r
1221 "ef6befb7.25ec38",
\r
1227 "id": "782c069d.e39358",
\r
1229 "name": "block : atomic",
\r
1230 "xml": "<block atomic=\"true\">",
\r
1233 "x": 2631.3333282470703,
\r
1234 "y": 402.3333435058594,
\r
1235 "z": "1f8b432c.7b707d",
\r
1243 "id": "47d4cad8.17d52c",
\r
1244 "type": "outcome",
\r
1245 "name": "logical-link",
\r
1246 "xml": "<outcome value='logical-link'>\n",
\r
1249 "x": 1028.3334503173828,
\r
1250 "y": 797.3334655761719,
\r
1251 "z": "1f8b432c.7b707d",
\r
1259 "id": "21c0e3fe.82515c",
\r
1260 "type": "switchNode",
\r
1261 "name": "switch allotted-resource.relationship-list not empty",
\r
1262 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
\r
1265 "x": 2194.3333282470703,
\r
1266 "y": 496.3333435058594,
\r
1267 "z": "1f8b432c.7b707d",
\r
1270 "8d2ba343.63f8c8",
\r
1276 "id": "ae4416d5.ca7b4",
\r
1277 "type": "outcomeFalse",
\r
1279 "xml": "<outcome value='false'>\n",
\r
1282 "x": 2515.3333282470703,
\r
1283 "y": 478.3333435058594,
\r
1284 "z": "1f8b432c.7b707d",
\r
1290 "id": "8d2ba343.63f8c8",
\r
1291 "type": "outcomeTrue",
\r
1293 "xml": "<outcome value='true'>\n",
\r
1296 "x": 2497.3333282470703,
\r
1297 "y": 576.3333435058594,
\r
1298 "z": "1f8b432c.7b707d",
\r
1306 "id": "8bb28c9b.5b048",
\r
1308 "name": "set the current logical-link-name",
\r
1309 "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",
\r
1311 "x": 1451.3333282470703,
\r
1312 "y": 700.3333435058594,
\r
1313 "z": "1f8b432c.7b707d",
\r
1317 "id": "6079a4cf.66fe14",
\r
1319 "name": "block : atomic",
\r
1320 "xml": "<block atomic=\"true\">",
\r
1323 "x": 1205.3333282470703,
\r
1324 "y": 790.3333435058594,
\r
1325 "z": "1f8b432c.7b707d",
\r
1335 "id": "485e027f.e391bc",
\r
1336 "type": "comment",
\r
1337 "name": "Question?",
\r
1338 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1340 "x": 4833.33332824707,
\r
1341 "y": 999.3333435058594,
\r
1342 "z": "1f8b432c.7b707d",
\r
1346 "id": "709f1167.bbcf68",
\r
1348 "name": "get p-interface-src from aai",
\r
1349 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",
\r
1352 "x": 4876.33332824707,
\r
1353 "y": 1064.3333435058594,
\r
1354 "z": "1f8b432c.7b707d",
\r
1358 "b92bac73.6c9778",
\r
1364 "id": "e832df40.3cb4e8",
\r
1366 "name": "get p-interface-dst from aai",
\r
1367 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",
\r
1370 "x": 4873.33332824707,
\r
1371 "y": 1908.3333435058594,
\r
1372 "z": "1f8b432c.7b707d",
\r
1376 "26c8c3e3.b7c694",
\r
1382 "id": "a33a2969.97acc",
\r
1383 "type": "comment",
\r
1384 "name": "Question?",
\r
1385 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1387 "x": 4834.33332824707,
\r
1388 "y": 1852.3333435058594,
\r
1389 "z": "1f8b432c.7b707d",
\r
1393 "id": "5b7c0727.9a035",
\r
1395 "name": "get allotted-resource relationship from aai",
\r
1396 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",
\r
1399 "x": 2924.3333282470703,
\r
1400 "y": 349.3333435058594,
\r
1401 "z": "1f8b432c.7b707d",
\r
1405 "fa2abd46.be79a8",
\r
1411 "id": "fa2abd46.be79a8",
\r
1412 "type": "not-found",
\r
1413 "name": "not-found",
\r
1414 "xml": "<outcome value='not-found'>\n",
\r
1417 "x": 3197.8242950439453,
\r
1418 "y": 241.90731811523438,
\r
1419 "z": "1f8b432c.7b707d",
\r
1427 "id": "3cf8b5c.596c24a",
\r
1428 "type": "returnFailure",
\r
1429 "name": "return failure",
\r
1430 "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.l3vpn.pe1_id`\" />\n\n",
\r
1432 "x": 3375.3958282470703,
\r
1433 "y": 242.19308471679688,
\r
1434 "z": "1f8b432c.7b707d",
\r
1438 "id": "6dcd89ce.d8f7b8",
\r
1439 "type": "failure",
\r
1440 "name": "failure",
\r
1441 "xml": "<outcome value='failure'>\n",
\r
1444 "x": 3193.3333282470703,
\r
1445 "y": 291.3333435058594,
\r
1446 "z": "1f8b432c.7b707d",
\r
1454 "id": "143224ce.735913",
\r
1455 "type": "returnFailure",
\r
1456 "name": "return failure",
\r
1457 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1459 "x": 3375.3333282470703,
\r
1460 "y": 291.3333435058594,
\r
1461 "z": "1f8b432c.7b707d",
\r
1465 "id": "ca1aef51.5c2e6",
\r
1466 "type": "success",
\r
1467 "name": "success",
\r
1468 "xml": "<outcome value='success'>\n",
\r
1471 "x": 3197.3333282470703,
\r
1472 "y": 342.3333435058594,
\r
1473 "z": "1f8b432c.7b707d",
\r
1481 "id": "eadcd586.811458",
\r
1483 "name": "block : atomic",
\r
1484 "xml": "<block atomic=\"true\">",
\r
1487 "x": 3377.3333282470703,
\r
1488 "y": 342.3333435058594,
\r
1489 "z": "1f8b432c.7b707d",
\r
1497 "id": "d8bf1877.11fa58",
\r
1499 "name": "for each allotted-resource relationship",
\r
1500 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
1503 "x": 803.3333282470703,
\r
1504 "y": 726.3333435058594,
\r
1505 "z": "1f8b432c.7b707d",
\r
1513 "id": "a6f98a69.92187",
\r
1514 "type": "switchNode",
\r
1515 "name": "switch related-to",
\r
1516 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1519 "x": 1074.3333282470703,
\r
1520 "y": 722.3333435058594,
\r
1521 "z": "1f8b432c.7b707d",
\r
1529 "id": "a15de96b.529998",
\r
1530 "type": "outcome",
\r
1531 "name": "network-policy",
\r
1532 "xml": "<outcome value='network-policy'>\n",
\r
1535 "x": 3353.3333282470703,
\r
1536 "y": 540.3333435058594,
\r
1537 "z": "1f8b432c.7b707d",
\r
1545 "id": "d0adfe64.da86a8",
\r
1547 "name": "block : atomic",
\r
1548 "xml": "<block atomic=\"true\">",
\r
1551 "x": 3530.333206176758,
\r
1552 "y": 533.3332214355469,
\r
1553 "z": "1f8b432c.7b707d",
\r
1562 "id": "d9045bb1.a62d4",
\r
1564 "name": "set the 1st network-policy-id",
\r
1565 "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",
\r
1567 "x": 3773.333206176758,
\r
1568 "y": 490.3332214355469,
\r
1569 "z": "1f8b432c.7b707d",
\r
1573 "id": "d7d4dfac.f8ef88",
\r
1575 "name": "get network-policy from aai",
\r
1576 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",
\r
1579 "x": 3762.333206176758,
\r
1580 "y": 545.3332214355469,
\r
1581 "z": "1f8b432c.7b707d",
\r
1584 "641b6dc1.ae62a4",
\r
1585 "e8473ac4.f5e678",
\r
1591 "id": "d854cd7f.05151",
\r
1592 "type": "not-found",
\r
1593 "name": "not-found",
\r
1594 "xml": "<outcome value='not-found'>\n",
\r
1597 "x": 4015.3333282470703,
\r
1598 "y": 431.3333435058594,
\r
1599 "z": "1f8b432c.7b707d",
\r
1607 "id": "d89f7cfd.a998c",
\r
1608 "type": "returnFailure",
\r
1609 "name": "return failure",
\r
1610 "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.l3vpn.pe1_id`\" />\n\n",
\r
1612 "x": 4163.904861450195,
\r
1613 "y": 431.6191101074219,
\r
1614 "z": "1f8b432c.7b707d",
\r
1618 "id": "40195b62.cb5874",
\r
1619 "type": "returnFailure",
\r
1620 "name": "return failure",
\r
1621 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1623 "x": 4162.842361450195,
\r
1624 "y": 475.7593688964844,
\r
1625 "z": "1f8b432c.7b707d",
\r
1629 "id": "e8473ac4.f5e678",
\r
1630 "type": "failure",
\r
1631 "name": "failure",
\r
1632 "xml": "<outcome value='failure'>\n",
\r
1635 "x": 4003.8423614501953,
\r
1636 "y": 475.7593688964844,
\r
1637 "z": "1f8b432c.7b707d",
\r
1645 "id": "641b6dc1.ae62a4",
\r
1646 "type": "success",
\r
1647 "name": "success",
\r
1648 "xml": "<outcome value='success'>\n",
\r
1651 "x": 4010.8423614501953,
\r
1652 "y": 554.7593688964844,
\r
1653 "z": "1f8b432c.7b707d",
\r
1661 "id": "cfb2b016.ca50d",
\r
1664 "xml": "<block>\n",
\r
1665 "atomic": "false",
\r
1668 "x": 4149.842361450195,
\r
1669 "y": 554.7593688964844,
\r
1670 "z": "1f8b432c.7b707d",
\r
1673 "4e1d40ab.8f7c48",
\r
1679 "id": "4e1d40ab.8f7c48",
\r
1681 "name": "set the max bandwidth",
\r
1682 "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
1684 "x": 4355.33332824707,
\r
1685 "y": 552.3333435058594,
\r
1686 "z": "1f8b432c.7b707d",
\r
1690 "id": "77da836c.7c453c",
\r
1691 "type": "execute",
\r
1692 "name": "execute split tp-id to get pnf-name",
\r
1693 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",
\r
1696 "x": 4877.33332824707,
\r
1697 "y": 734.3333435058594,
\r
1698 "z": "1f8b432c.7b707d",
\r
1707 "id": "e4420296.1dde4",
\r
1708 "type": "failure",
\r
1709 "name": "success",
\r
1710 "xml": "<outcome value='success'>\n",
\r
1713 "x": 5100.33332824707,
\r
1714 "y": 720.3333435058594,
\r
1715 "z": "1f8b432c.7b707d",
\r
1723 "id": "f644ca88.cc84",
\r
1724 "type": "failure",
\r
1725 "name": "failure",
\r
1726 "xml": "<outcome value='failure'>\n",
\r
1729 "x": 5102.33332824707,
\r
1730 "y": 753.3333435058594,
\r
1731 "z": "1f8b432c.7b707d",
\r
1739 "id": "ccf559e8.ec486",
\r
1740 "type": "returnFailure",
\r
1741 "name": "return failure",
\r
1742 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1744 "x": 5245.33332824707,
\r
1745 "y": 750.3333435058594,
\r
1746 "z": "1f8b432c.7b707d",
\r
1750 "id": "1b75d3d5.946174",
\r
1752 "name": "block : atomic",
\r
1753 "xml": "<block atomic=\"true\">",
\r
1756 "x": 5248.33332824707,
\r
1757 "y": 713.3333435058594,
\r
1758 "z": "1f8b432c.7b707d",
\r
1761 "a48b4f87.115f58",
\r
1767 "id": "a48b4f87.115f58",
\r
1769 "name": "set pnf-name",
\r
1770 "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",
\r
1772 "x": 5410.33332824707,
\r
1773 "y": 708.3333435058594,
\r
1774 "z": "1f8b432c.7b707d",
\r
1778 "id": "e46caf0e.563478",
\r
1779 "type": "execute",
\r
1780 "name": "execute split tp-id to get pnf-name",
\r
1781 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",
\r
1784 "x": 4891.33332824707,
\r
1785 "y": 1571.3332214355469,
\r
1786 "z": "1f8b432c.7b707d",
\r
1789 "970472a2.405aa8",
\r
1795 "id": "224c4d4.84eea32",
\r
1796 "type": "failure",
\r
1797 "name": "success",
\r
1798 "xml": "<outcome value='success'>\n",
\r
1801 "x": 5114.33332824707,
\r
1802 "y": 1557.3332214355469,
\r
1803 "z": "1f8b432c.7b707d",
\r
1811 "id": "970472a2.405aa8",
\r
1812 "type": "failure",
\r
1813 "name": "failure",
\r
1814 "xml": "<outcome value='failure'>\n",
\r
1817 "x": 5116.33332824707,
\r
1818 "y": 1590.3332214355469,
\r
1819 "z": "1f8b432c.7b707d",
\r
1827 "id": "66cb0f3.6d8da7",
\r
1828 "type": "returnFailure",
\r
1829 "name": "return failure",
\r
1830 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1832 "x": 5259.33332824707,
\r
1833 "y": 1587.3332214355469,
\r
1834 "z": "1f8b432c.7b707d",
\r
1838 "id": "1f5eda96.09790d",
\r
1840 "name": "block : atomic",
\r
1841 "xml": "<block atomic=\"true\">",
\r
1844 "x": 5262.33332824707,
\r
1845 "y": 1550.3332214355469,
\r
1846 "z": "1f8b432c.7b707d",
\r
1849 "a035c695.e5c6c8",
\r
1855 "id": "a035c695.e5c6c8",
\r
1857 "name": "set pnf-name",
\r
1858 "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",
\r
1860 "x": 5456.33332824707,
\r
1861 "y": 1553.3333435058594,
\r
1862 "z": "1f8b432c.7b707d",
\r
1866 "id": "74df18ed.a4e518",
\r
1867 "type": "execute",
\r
1868 "name": "execute properties",
\r
1869 "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' />",
\r
1872 "x": 1054.3333282470703,
\r
1873 "y": 257.3333435058594,
\r
1874 "z": "1f8b432c.7b707d",
\r
1880 "id": "2078a502.9da27a",
\r
1882 "name": "for each relationship",
\r
1883 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
1886 "x": 5524.33332824707,
\r
1887 "y": 1304.3333435058594,
\r
1888 "z": "1f8b432c.7b707d",
\r
1896 "id": "34f7a0cd.8f1da",
\r
1897 "type": "switchNode",
\r
1898 "name": "switch related-to",
\r
1899 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
1902 "x": 5730.33332824707,
\r
1903 "y": 1304.3333435058594,
\r
1904 "z": "1f8b432c.7b707d",
\r
1912 "id": "9675c47c.3f1e28",
\r
1913 "type": "outcome",
\r
1914 "name": "tunnel-termination-point",
\r
1915 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
1918 "x": 5945.61897277832,
\r
1919 "y": 1304.1551208496094,
\r
1920 "z": "1f8b432c.7b707d",
\r
1928 "id": "c3bcfe29.7893b",
\r
1930 "name": "block : atomic",
\r
1931 "xml": "<block atomic=\"true\">",
\r
1934 "x": 6152.45051574707,
\r
1935 "y": 1304.6736755371094,
\r
1936 "z": "1f8b432c.7b707d",
\r
1939 "69e0123c.36df34",
\r
1940 "c9b70802.7fae28",
\r
1946 "id": "69e0123c.36df34",
\r
1948 "name": "set source ttp-id",
\r
1949 "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",
\r
1951 "x": 6367.45051574707,
\r
1952 "y": 1266.6736755371094,
\r
1953 "z": "1f8b432c.7b707d",
\r
1957 "id": "c9b70802.7fae28",
\r
1958 "type": "get-resource",
\r
1959 "name": "get-resource src TTP",
\r
1960 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",
\r
1963 "x": 6364.45051574707,
\r
1964 "y": 1305.6736755371094,
\r
1965 "z": "1f8b432c.7b707d",
\r
1973 "id": "bff980ae.51a118",
\r
1976 "xml": "<break>\n",
\r
1978 "x": 6319.95051574707,
\r
1979 "y": 1347.6736755371094,
\r
1980 "z": "1f8b432c.7b707d",
\r
1984 "id": "f008b798.fbfc48",
\r
1985 "type": "success",
\r
1986 "name": "success",
\r
1987 "xml": "<outcome value='success'>\n",
\r
1990 "x": 6544.95051574707,
\r
1991 "y": 1304.6736755371094,
\r
1992 "z": "1f8b432c.7b707d",
\r
2000 "id": "d5a58693.57d22",
\r
2002 "name": "block : atomic",
\r
2003 "xml": "<block atomic=\"true\">",
\r
2006 "x": 6702.95051574707,
\r
2007 "y": 1304.6736755371094,
\r
2008 "z": "1f8b432c.7b707d",
\r
2016 "id": "396517b4.b44f88",
\r
2018 "name": "set source tunnel tp ip",
\r
2019 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2021 "x": 6909.95051574707,
\r
2022 "y": 1304.6736755371094,
\r
2023 "z": "1f8b432c.7b707d",
\r
2027 "id": "a9a1085f.9d214",
\r
2029 "name": "for each relationship",
\r
2030 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2033 "x": 5521.33332824707,
\r
2034 "y": 2173.333465576172,
\r
2035 "z": "1f8b432c.7b707d",
\r
2043 "id": "a77b3a4c.0b52a",
\r
2044 "type": "switchNode",
\r
2045 "name": "switch related-to",
\r
2046 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2049 "x": 5727.33332824707,
\r
2050 "y": 2173.333465576172,
\r
2051 "z": "1f8b432c.7b707d",
\r
2059 "id": "db3ff85.e969d08",
\r
2060 "type": "outcome",
\r
2061 "name": "tunnel-termination-point",
\r
2062 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2065 "x": 5942.61897277832,
\r
2066 "y": 2173.155242919922,
\r
2067 "z": "1f8b432c.7b707d",
\r
2075 "id": "9bb2d2a8.a44c98",
\r
2077 "name": "block : atomic",
\r
2078 "xml": "<block atomic=\"true\">",
\r
2081 "x": 6149.45051574707,
\r
2082 "y": 2173.673797607422,
\r
2083 "z": "1f8b432c.7b707d",
\r
2086 "c3db954c.458008",
\r
2093 "id": "c3db954c.458008",
\r
2095 "name": "set destination ttp-id",
\r
2096 "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",
\r
2098 "x": 6364.45051574707,
\r
2099 "y": 2135.673797607422,
\r
2100 "z": "1f8b432c.7b707d",
\r
2104 "id": "bccacc6d.699c5",
\r
2105 "type": "get-resource",
\r
2106 "name": "get-resource src TTP",
\r
2107 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",
\r
2110 "x": 6361.45051574707,
\r
2111 "y": 2174.673797607422,
\r
2112 "z": "1f8b432c.7b707d",
\r
2120 "id": "cc6698ed.a3038",
\r
2123 "xml": "<break>\n",
\r
2125 "x": 6316.95051574707,
\r
2126 "y": 2216.673797607422,
\r
2127 "z": "1f8b432c.7b707d",
\r
2131 "id": "534b81c9.17a2c",
\r
2132 "type": "success",
\r
2133 "name": "success",
\r
2134 "xml": "<outcome value='success'>\n",
\r
2137 "x": 6541.95051574707,
\r
2138 "y": 2173.673797607422,
\r
2139 "z": "1f8b432c.7b707d",
\r
2147 "id": "faa75b91.1af87",
\r
2149 "name": "block : atomic",
\r
2150 "xml": "<block atomic=\"true\">",
\r
2153 "x": 6699.95051574707,
\r
2154 "y": 2173.673797607422,
\r
2155 "z": "1f8b432c.7b707d",
\r
2163 "id": "ba3c4c7d.18cfc",
\r
2165 "name": "set destination tunnel tp ip",
\r
2166 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2168 "x": 6906.95051574707,
\r
2169 "y": 2173.673797607422,
\r
2170 "z": "1f8b432c.7b707d",
\r
2174 "id": "eae40c98.29734",
\r
2175 "type": "get-resource",
\r
2176 "name": "get-resource src pnf",
\r
2177 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
2180 "x": 5437.33332824707,
\r
2181 "y": 780.3333435058594,
\r
2182 "z": "1f8b432c.7b707d",
\r
2185 "6fc687f8.9a3218",
\r
2186 "d8b6607b.4ee438",
\r
2192 "id": "6fc687f8.9a3218",
\r
2193 "type": "success",
\r
2194 "name": "success",
\r
2195 "xml": "<outcome value='success'>\n",
\r
2198 "x": 5632.833450317383,
\r
2199 "y": 732.3333435058594,
\r
2200 "z": "1f8b432c.7b707d",
\r
2208 "id": "d8b6607b.4ee438",
\r
2209 "type": "not-found",
\r
2210 "name": "not-found",
\r
2211 "xml": "<outcome value='not-found'>\n",
\r
2214 "x": 5624.833450317383,
\r
2215 "y": 787.3333435058594,
\r
2216 "z": "1f8b432c.7b707d",
\r
2224 "id": "5c6d770a.c0fbc8",
\r
2227 "xml": "<outcome value='Other'>\n",
\r
2230 "x": 5629.833450317383,
\r
2231 "y": 844.3333435058594,
\r
2232 "z": "1f8b432c.7b707d",
\r
2240 "id": "4cd59828.2f4188",
\r
2241 "type": "returnFailure",
\r
2242 "name": "return failure",
\r
2243 "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
2245 "x": 5781.833450317383,
\r
2246 "y": 845.3333435058594,
\r
2247 "z": "1f8b432c.7b707d",
\r
2251 "id": "7003cbf4.1f7a3c",
\r
2252 "type": "returnFailure",
\r
2253 "name": "return failure",
\r
2254 "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
2256 "x": 5792.833450317383,
\r
2257 "y": 790.3333435058594,
\r
2258 "z": "1f8b432c.7b707d",
\r
2262 "id": "ee2e2b2e.648d3",
\r
2265 "xml": "<block>\n",
\r
2266 "atomic": "false",
\r
2269 "x": 5777.215774536133,
\r
2270 "y": 729.989013671875,
\r
2271 "z": "1f8b432c.7b707d",
\r
2279 "id": "85f22617.8c77a",
\r
2280 "type": "outcome",
\r
2281 "name": "esr-thirdparty-sdnc",
\r
2282 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2285 "x": 6359.33332824707,
\r
2286 "y": 748.3333435058594,
\r
2287 "z": "1f8b432c.7b707d",
\r
2295 "id": "ee84357b.71ae88",
\r
2297 "name": "block : atomic",
\r
2298 "xml": "<block atomic=\"true\">",
\r
2301 "x": 6536.33332824707,
\r
2302 "y": 740.3333435058594,
\r
2303 "z": "1f8b432c.7b707d",
\r
2312 "id": "76f14509.f7c67c",
\r
2314 "name": "for each relationship",
\r
2315 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2318 "x": 5961.33332824707,
\r
2319 "y": 744.3333435058594,
\r
2320 "z": "1f8b432c.7b707d",
\r
2328 "id": "c8a88cd4.d8034",
\r
2329 "type": "switchNode",
\r
2330 "name": "switch related-to",
\r
2331 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2334 "x": 6156.33332824707,
\r
2335 "y": 744.3333435058594,
\r
2336 "z": "1f8b432c.7b707d",
\r
2345 "id": "cd9128cb.f1f28",
\r
2347 "name": "set esr-thirdparty-sdnc domainA id",
\r
2348 "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
2350 "x": 6774.33332824707,
\r
2351 "y": 695.3333435058594,
\r
2352 "z": "1f8b432c.7b707d",
\r
2356 "id": "60adc82e.ec907",
\r
2357 "type": "success",
\r
2358 "name": "success",
\r
2359 "xml": "<outcome value='success'>\n",
\r
2362 "x": 6954.33332824707,
\r
2363 "y": 738.3333435058594,
\r
2364 "z": "1f8b432c.7b707d",
\r
2372 "id": "ef6befb7.25ec38",
\r
2373 "type": "not-found",
\r
2374 "name": "not-found",
\r
2375 "xml": "<outcome value='not-found'>\n",
\r
2378 "x": 6946.33332824707,
\r
2379 "y": 793.3333435058594,
\r
2380 "z": "1f8b432c.7b707d",
\r
2388 "id": "2514309d.ea219",
\r
2391 "xml": "<outcome value='Other'>\n",
\r
2394 "x": 6951.33332824707,
\r
2395 "y": 850.3333435058594,
\r
2396 "z": "1f8b432c.7b707d",
\r
2404 "id": "2203278b.ee8d48",
\r
2405 "type": "returnFailure",
\r
2406 "name": "return failure",
\r
2407 "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
2409 "x": 7103.33332824707,
\r
2410 "y": 851.3333435058594,
\r
2411 "z": "1f8b432c.7b707d",
\r
2415 "id": "3ad0c537.936882",
\r
2416 "type": "returnFailure",
\r
2417 "name": "return failure",
\r
2418 "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
2420 "x": 7114.33332824707,
\r
2421 "y": 796.3333435058594,
\r
2422 "z": "1f8b432c.7b707d",
\r
2426 "id": "dbbdd720.ee73d",
\r
2429 "xml": "<block>\n",
\r
2430 "atomic": "false",
\r
2433 "x": 7098.71565246582,
\r
2434 "y": 735.989013671875,
\r
2435 "z": "1f8b432c.7b707d",
\r
2443 "id": "3a2f5b08.ae9d74",
\r
2445 "name": "set controller domainA data",
\r
2446 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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
2448 "x": 7313.33332824707,
\r
2449 "y": 732.3333435058594,
\r
2450 "z": "1f8b432c.7b707d",
\r
2454 "id": "ce893d50.59c348",
\r
2455 "type": "get-resource",
\r
2456 "name": "get-resource src pnf",
\r
2457 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
2460 "x": 5478.33332824707,
\r
2461 "y": 1621.3333435058594,
\r
2462 "z": "1f8b432c.7b707d",
\r
2465 "11d6f276.27b5f6",
\r
2466 "da24ed5d.ec28b8",
\r
2472 "id": "11d6f276.27b5f6",
\r
2473 "type": "success",
\r
2474 "name": "success",
\r
2475 "xml": "<outcome value='success'>\n",
\r
2478 "x": 5673.833450317383,
\r
2479 "y": 1573.3333435058594,
\r
2480 "z": "1f8b432c.7b707d",
\r
2488 "id": "da24ed5d.ec28b8",
\r
2489 "type": "not-found",
\r
2490 "name": "not-found",
\r
2491 "xml": "<outcome value='not-found'>\n",
\r
2494 "x": 5665.833450317383,
\r
2495 "y": 1628.3333435058594,
\r
2496 "z": "1f8b432c.7b707d",
\r
2504 "id": "60f19c6c.a06434",
\r
2507 "xml": "<outcome value='Other'>\n",
\r
2510 "x": 5670.833450317383,
\r
2511 "y": 1685.3333435058594,
\r
2512 "z": "1f8b432c.7b707d",
\r
2520 "id": "9d43ea5b.7c699",
\r
2521 "type": "returnFailure",
\r
2522 "name": "return failure",
\r
2523 "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
2525 "x": 5822.833450317383,
\r
2526 "y": 1686.3333435058594,
\r
2527 "z": "1f8b432c.7b707d",
\r
2531 "id": "6f593c1a.aa4654",
\r
2532 "type": "returnFailure",
\r
2533 "name": "return failure",
\r
2534 "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
2536 "x": 5833.833450317383,
\r
2537 "y": 1631.3333435058594,
\r
2538 "z": "1f8b432c.7b707d",
\r
2542 "id": "888d9251.ae059",
\r
2545 "xml": "<block>\n",
\r
2546 "atomic": "false",
\r
2549 "x": 5818.215774536133,
\r
2550 "y": 1570.989013671875,
\r
2551 "z": "1f8b432c.7b707d",
\r
2559 "id": "ad6fdb4e.87cfb",
\r
2560 "type": "outcome",
\r
2561 "name": "esr-thirdparty-sdnc",
\r
2562 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2565 "x": 6400.33332824707,
\r
2566 "y": 1589.3333435058594,
\r
2567 "z": "1f8b432c.7b707d",
\r
2575 "id": "4ceff195.e94608",
\r
2577 "name": "block : atomic",
\r
2578 "xml": "<block atomic=\"true\">",
\r
2581 "x": 6577.33332824707,
\r
2582 "y": 1581.3333435058594,
\r
2583 "z": "1f8b432c.7b707d",
\r
2586 "d9a17cf0.5ffca8",
\r
2592 "id": "ca25d5e8.786f18",
\r
2594 "name": "for each relationship",
\r
2595 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2598 "x": 6002.33332824707,
\r
2599 "y": 1585.3333435058594,
\r
2600 "z": "1f8b432c.7b707d",
\r
2608 "id": "52693a86.8017bc",
\r
2609 "type": "switchNode",
\r
2610 "name": "switch related-to",
\r
2611 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2614 "x": 6197.33332824707,
\r
2615 "y": 1585.3333435058594,
\r
2616 "z": "1f8b432c.7b707d",
\r
2625 "id": "76506084.c842f8",
\r
2626 "type": "execute",
\r
2627 "name": "get esr-thirdparty-sdnc",
\r
2628 "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.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",
\r
2631 "x": 6785.33332824707,
\r
2632 "y": 1588.3333435058594,
\r
2633 "z": "1f8b432c.7b707d",
\r
2636 "aefba90d.b82758",
\r
2637 "3df8e74b.556d28",
\r
2643 "id": "d9a17cf0.5ffca8",
\r
2645 "name": "set esr-thirdparty-sdnc domainB id",
\r
2646 "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
\r
2648 "x": 6815.33332824707,
\r
2649 "y": 1536.3333435058594,
\r
2650 "z": "1f8b432c.7b707d",
\r
2654 "id": "aefba90d.b82758",
\r
2655 "type": "success",
\r
2656 "name": "success",
\r
2657 "xml": "<outcome value='success'>\n",
\r
2660 "x": 6995.33332824707,
\r
2661 "y": 1579.3333435058594,
\r
2662 "z": "1f8b432c.7b707d",
\r
2670 "id": "3df8e74b.556d28",
\r
2671 "type": "not-found",
\r
2672 "name": "not-found",
\r
2673 "xml": "<outcome value='not-found'>\n",
\r
2676 "x": 6987.33332824707,
\r
2677 "y": 1634.3333435058594,
\r
2678 "z": "1f8b432c.7b707d",
\r
2686 "id": "a16ee96.560b218",
\r
2689 "xml": "<outcome value='Other'>\n",
\r
2692 "x": 6992.33332824707,
\r
2693 "y": 1691.3333435058594,
\r
2694 "z": "1f8b432c.7b707d",
\r
2702 "id": "6f08e25f.8ff0f4",
\r
2703 "type": "returnFailure",
\r
2704 "name": "return failure",
\r
2705 "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
2707 "x": 7144.33332824707,
\r
2708 "y": 1692.3333435058594,
\r
2709 "z": "1f8b432c.7b707d",
\r
2713 "id": "185761cf.ebd5ee",
\r
2714 "type": "returnFailure",
\r
2715 "name": "return failure",
\r
2716 "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
2718 "x": 7155.33332824707,
\r
2719 "y": 1637.3333435058594,
\r
2720 "z": "1f8b432c.7b707d",
\r
2724 "id": "3639d79a.d4db38",
\r
2727 "xml": "<block>\n",
\r
2728 "atomic": "false",
\r
2731 "x": 7139.71565246582,
\r
2732 "y": 1576.989013671875,
\r
2733 "z": "1f8b432c.7b707d",
\r
2741 "id": "27770afe.2fe37e",
\r
2743 "name": "set controller domainB data",
\r
2744 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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
2746 "x": 7354.33332824707,
\r
2747 "y": 1573.3333435058594,
\r
2748 "z": "1f8b432c.7b707d",
\r
2752 "id": "b6502203.02c108",
\r
2754 "name": "block : atomic",
\r
2755 "xml": "<block atomic=\"true\">",
\r
2758 "x": 351.3333282470703,
\r
2759 "y": 702.3333435058594,
\r
2760 "z": "1f8b432c.7b707d",
\r
2763 "ae72f64.7ced288",
\r
2769 "id": "ae72f64.7ced288",
\r
2771 "name": "for each allotted-resource relationship",
\r
2772 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
2775 "x": 797.3333282470703,
\r
2776 "y": 561.3333435058594,
\r
2777 "z": "1f8b432c.7b707d",
\r
2785 "id": "56a6a6ce.1c9e38",
\r
2786 "type": "switchNode",
\r
2787 "name": "switch related-to",
\r
2788 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
2791 "x": 3162.3333282470703,
\r
2792 "y": 543.3333435058594,
\r
2793 "z": "1f8b432c.7b707d",
\r
2801 "id": "bf124b63.5099c",
\r
2802 "type": "outcome",
\r
2803 "name": "network-resource",
\r
2804 "xml": "<outcome value='network-resource'>",
\r
2807 "x": 6362.33332824707,
\r
2808 "y": 822.3333435058594,
\r
2809 "z": "1f8b432c.7b707d",
\r
2817 "id": "cf9d9db9.ed34d8",
\r
2819 "name": "block : atomic",
\r
2820 "xml": "<block atomic=\"true\">",
\r
2823 "x": 6539.33332824707,
\r
2824 "y": 814.3333435058594,
\r
2825 "z": "1f8b432c.7b707d",
\r
2833 "id": "e093ed3f.1bfe98",
\r
2835 "name": "set domainA ethernet layer network-id",
\r
2836 "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
2838 "x": 6774.33332824707,
\r
2839 "y": 938.3333435058594,
\r
2840 "z": "1f8b432c.7b707d",
\r
2844 "id": "f8b7be24.4e873",
\r
2846 "name": "set domainB ethernet layer network-id",
\r
2847 "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",
\r
2849 "x": 6814.33332824707,
\r
2850 "y": 1778.3333435058594,
\r
2851 "z": "1f8b432c.7b707d",
\r
2855 "id": "796da710.8b0ab8",
\r
2857 "name": "block : atomic",
\r
2858 "xml": "<block atomic=\"true\">",
\r
2861 "x": 6579.33332824707,
\r
2862 "y": 1654.3333435058594,
\r
2863 "z": "1f8b432c.7b707d",
\r
2871 "id": "6c3438b4.5be28",
\r
2872 "type": "outcome",
\r
2873 "name": "network-resource",
\r
2874 "xml": "<outcome value='network-resource'>",
\r
2877 "x": 6402.33332824707,
\r
2878 "y": 1662.3333435058594,
\r
2879 "z": "1f8b432c.7b707d",
\r
2887 "id": "6ab22d0b.607efc",
\r
2889 "name": "set the max bandwidth",
\r
2890 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
2892 "x": 4354.33332824707,
\r
2893 "y": 598.3333435058594,
\r
2894 "z": "1f8b432c.7b707d",
\r
2898 "id": "45cbb167.26c3e8",
\r
2899 "type": "execute",
\r
2900 "name": "execute UUID generator for ethernet-service-name",
\r
2901 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
\r
2904 "x": 4376.33332824707,
\r
2905 "y": 733.3333435058594,
\r
2906 "z": "1f8b432c.7b707d",
\r
2912 "id": "586bfbbd.46cc14",
\r
2913 "type": "execute",
\r
2914 "name": "execute UUID generator for otn-tunnel-name",
\r
2915 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
\r
2918 "x": 4357.33332824707,
\r
2919 "y": 783.3333435058594,
\r
2920 "z": "1f8b432c.7b707d",
\r
2926 "id": "5c997953.c5b528",
\r
2928 "name": "for each allotted-resource",
\r
2929 "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
\r
2932 "x": 1967.3333282470703,
\r
2933 "y": 331.3333435058594,
\r
2934 "z": "1f8b432c.7b707d",
\r
2943 "id": "e42627f6.b8767",
\r
2945 "name": "set the current allotted-resource-id",
\r
2946 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
\r
2948 "x": 2232.3333282470703,
\r
2949 "y": 254.33334350585938,
\r
2950 "z": "1f8b432c.7b707d",
\r
2954 "id": "9446dea5.335408",
\r
2956 "name": "set query_param",
\r
2957 "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
\r
2959 "x": 4274.33332824707,
\r
2960 "y": 2233.3333435058594,
\r
2961 "z": "1f8b432c.7b707d",
\r
2965 "id": "adfb9d4f.ef8fd8",
\r
2967 "name": "unset parameters",
\r
2968 "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",
\r
2970 "x": 4257.33332824707,
\r
2971 "y": 3991.3333435058594,
\r
2972 "z": "1f8b432c.7b707d",
\r
2976 "id": "2a7b5024.c32ac8",
\r
2978 "name": "set new ethernet-service-name",
\r
2979 "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",
\r
2981 "x": 4314.33332824707,
\r
2982 "y": 828.3333435058594,
\r
2983 "z": "1f8b432c.7b707d",
\r
2987 "id": "e65eb704.1a5ee",
\r
2989 "name": "for vidx..tmp.otninfo_length[]",
\r
2990 "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
\r
2993 "x": 4303.33332824707,
\r
2994 "y": 2473.3333435058594,
\r
2995 "z": "1f8b432c.7b707d",
\r
3003 "id": "9fe431f7.1a7068",
\r
3005 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
3006 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\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`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",
\r
3009 "x": 5431.33332824707,
\r
3010 "y": 2980.3333435058594,
\r
3011 "z": "1f8b432c.7b707d",
\r
3019 "id": "36a781af.2ddb3e",
\r
3021 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
3022 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-domainA-uuid`\" />\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=\"`$uuid.connectivity-domainA-uuid`\" />",
\r
3025 "x": 6003.83332824707,
\r
3026 "y": 3084.3333435058594,
\r
3027 "z": "1f8b432c.7b707d",
\r
3033 "id": "9da9527c.fe7dd",
\r
3034 "type": "success",
\r
3035 "name": "success",
\r
3036 "xml": "<outcome value='success'>\n",
\r
3039 "x": 5737.33332824707,
\r
3040 "y": 2979.3333435058594,
\r
3041 "z": "1f8b432c.7b707d",
\r
3049 "id": "3d5ff1a1.a7195e",
\r
3052 "xml": "<block>\n",
\r
3053 "atomic": "false",
\r
3056 "x": 5946.83332824707,
\r
3057 "y": 2979.5872497558594,
\r
3058 "z": "1f8b432c.7b707d",
\r
3064 "id": "dfe4a3e1.5f7a28",
\r
3065 "type": "execute",
\r
3066 "name": "execute UUID generator for vpn-binding $otnidx",
\r
3067 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
\r
3070 "x": 5467.33332824707,
\r
3071 "y": 2444.3333435058594,
\r
3072 "z": "1f8b432c.7b707d",
\r
3078 "id": "d4a2c427.226738",
\r
3079 "type": "switchNode",
\r
3080 "name": "switch otnidx == 0",
\r
3081 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
3084 "x": 5340.33332824707,
\r
3085 "y": 3097.3333435058594,
\r
3086 "z": "1f8b432c.7b707d",
\r
3089 "e5869a7d.a035e8",
\r
3095 "id": "e5869a7d.a035e8",
\r
3096 "type": "outcomeTrue",
\r
3098 "xml": "<outcome value='true'>\n",
\r
3101 "x": 5523.33332824707,
\r
3102 "y": 3097.3333435058594,
\r
3103 "z": "1f8b432c.7b707d",
\r
3111 "id": "4f7fb15.bbc855",
\r
3112 "type": "outcomeFalse",
\r
3114 "xml": "<outcome value='false'>\n",
\r
3117 "x": 5348.33332824707,
\r
3118 "y": 3244.3333435058594,
\r
3119 "z": "1f8b432c.7b707d",
\r
3127 "id": "df75995c.9d6d7",
\r
3128 "type": "switchNode",
\r
3129 "name": "switch otnidx == last",
\r
3130 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
\r
3133 "x": 5689.33332824707,
\r
3134 "y": 3325.3333435058594,
\r
3135 "z": "1f8b432c.7b707d",
\r
3138 "8d4f5504.9d4348",
\r
3144 "id": "8d4f5504.9d4348",
\r
3145 "type": "outcomeTrue",
\r
3147 "xml": "<outcome value='true'>\n",
\r
3150 "x": 5874.33332824707,
\r
3151 "y": 3326.3333435058594,
\r
3152 "z": "1f8b432c.7b707d",
\r
3160 "id": "dc78732e.2c80d8",
\r
3161 "type": "outcomeFalse",
\r
3163 "xml": "<outcome value='false'>\n",
\r
3166 "x": 5893.33332824707,
\r
3167 "y": 3592.3333435058594,
\r
3168 "z": "1f8b432c.7b707d",
\r
3176 "id": "c9167223.c48c5",
\r
3178 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
3179 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $prop.connectivity-domainB-uuid`\" />\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=\"`$prop.connectivity-domainB-uuid`\" />",
\r
3182 "x": 6304.33332824707,
\r
3183 "y": 3327.3333435058594,
\r
3184 "z": "1f8b432c.7b707d",
\r
3190 "id": "82593f3c.44e9a",
\r
3191 "type": "execute",
\r
3192 "name": "execute UUID generator for connectivity domain otnidx",
\r
3193 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
\r
3196 "x": 6378.33332824707,
\r
3197 "y": 3625.3333435058594,
\r
3198 "z": "1f8b432c.7b707d",
\r
3204 "id": "a5aff8c7.dcc0d",
\r
3206 "name": "save connectivity resource in AAI",
\r
3207 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='CBS' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='EBS' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\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`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
\r
3210 "x": 6314.33332824707,
\r
3211 "y": 3676.3333435058594,
\r
3212 "z": "1f8b432c.7b707d",
\r
3218 "id": "48179575.56acdc",
\r
3220 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
3221 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \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/' + $uuid.connectivity-otnidx-uuid`\" />\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=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\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/' + $prop.sotn.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=\"`$prop.sotn.network-id`\" />-->",
\r
3224 "x": 6443.33332824707,
\r
3225 "y": 3726.3333435058594,
\r
3226 "z": "1f8b432c.7b707d",
\r
3232 "id": "4fc515a8.51d2e4",
\r
3233 "type": "comment",
\r
3234 "name": "connectivity has not been created for middle domains, so we have to create one",
\r
3237 "x": 6453.33332824707,
\r
3238 "y": 3569.3333435058594,
\r
3239 "z": "1f8b432c.7b707d",
\r
3243 "id": "c0955063.7c75f",
\r
3245 "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
\r
3246 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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/' + $uuid.connectivity-otnidx-uuid`\" />\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=\"`$uuid.connectivity-otnidx-uuid`\" />",
\r
3249 "x": 6411.33332824707,
\r
3250 "y": 3785.3333435058594,
\r
3251 "z": "1f8b432c.7b707d",
\r
3257 "id": "1d8019eb.b8f316",
\r
3259 "name": "block : atomic",
\r
3260 "xml": "<block atomic='true'>",
\r
3264 "x": 6050.33332824707,
\r
3265 "y": 3593.3333435058594,
\r
3266 "z": "1f8b432c.7b707d",
\r
3271 "48179575.56acdc",
\r
3278 "id": "70d68732.b14c",
\r
3280 "name": "block : atomic",
\r
3281 "xml": "<block atomic='true'>",
\r
3285 "x": 4560.33332824707,
\r
3286 "y": 2473.3333435058594,
\r
3287 "z": "1f8b432c.7b707d",
\r
3290 "dfe4a3e1.5f7a28",
\r
3291 "9fe431f7.1a7068",
\r
3292 "d4a2c427.226738",
\r
3293 "6c1ad513.ca11a4",
\r
3295 "39bce85.43eb118",
\r
3301 "id": "7dffa406.706e6c",
\r
3303 "name": "set attachment_param domain A",
\r
3304 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",
\r
3306 "x": 5928.33332824707,
\r
3307 "y": 3141.3333435058594,
\r
3308 "z": "1f8b432c.7b707d",
\r
3312 "id": "7214f15c.14004",
\r
3313 "type": "execute",
\r
3314 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3315 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-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
3318 "x": 5981.33332824707,
\r
3319 "y": 3185.3333435058594,
\r
3320 "z": "1f8b432c.7b707d",
\r
3323 "d7742ed9.525e08",
\r
3329 "id": "f96706f6.1edf38",
\r
3330 "type": "failure",
\r
3331 "name": "failure",
\r
3332 "xml": "<outcome value='failure'>\n",
\r
3335 "x": 6252.33332824707,
\r
3336 "y": 3170.3333435058594,
\r
3337 "z": "1f8b432c.7b707d",
\r
3345 "id": "d7742ed9.525e08",
\r
3346 "type": "success",
\r
3347 "name": "success",
\r
3348 "xml": "<outcome value='success'>\n",
\r
3351 "x": 6250.333541870117,
\r
3352 "y": 3228.3332529067993,
\r
3353 "z": "1f8b432c.7b707d",
\r
3361 "id": "70a27353.90bdbc",
\r
3362 "type": "returnFailure",
\r
3363 "name": "return failure",
\r
3364 "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 UNI Coloring for domain A\" />\n",
\r
3366 "x": 6392.333576202393,
\r
3367 "y": 3170.3333444595337,
\r
3368 "z": "1f8b432c.7b707d",
\r
3372 "id": "eb2a823e.260b78",
\r
3375 "xml": "<block>\n",
\r
3376 "atomic": "false",
\r
3379 "x": 6398.3605880737305,
\r
3380 "y": 3219.0787382125854,
\r
3381 "z": "1f8b432c.7b707d",
\r
3387 "id": "11b27338.362ff5",
\r
3390 "xml": "<block>\n",
\r
3391 "atomic": "false",
\r
3394 "x": 5664.33332824707,
\r
3395 "y": 3087.3333435058594,
\r
3396 "z": "1f8b432c.7b707d",
\r
3399 "36a781af.2ddb3e",
\r
3405 "id": "48ad14bc.45fb34",
\r
3408 "xml": "<block>\n",
\r
3409 "atomic": "false",
\r
3412 "x": 6008.33332824707,
\r
3413 "y": 3327.3333435058594,
\r
3414 "z": "1f8b432c.7b707d",
\r
3423 "id": "c8df83a3.bc227",
\r
3425 "name": "set attachment_param domain B",
\r
3426 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",
\r
3428 "x": 6228.33332824707,
\r
3429 "y": 3371.3333435058594,
\r
3430 "z": "1f8b432c.7b707d",
\r
3434 "id": "d358673f.8a632",
\r
3435 "type": "execute",
\r
3436 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3437 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-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
3440 "x": 6279.33332824707,
\r
3441 "y": 3415.3333435058594,
\r
3442 "z": "1f8b432c.7b707d",
\r
3445 "c74c0688.e153c8",
\r
3451 "id": "bbe92e0a.776158",
\r
3452 "type": "failure",
\r
3453 "name": "failure",
\r
3454 "xml": "<outcome value='failure'>\n",
\r
3457 "x": 6542.33332824707,
\r
3458 "y": 3395.3333435058594,
\r
3459 "z": "1f8b432c.7b707d",
\r
3467 "id": "c74c0688.e153c8",
\r
3468 "type": "success",
\r
3469 "name": "success",
\r
3470 "xml": "<outcome value='success'>\n",
\r
3473 "x": 6543.333541870117,
\r
3474 "y": 3446.3332529067993,
\r
3475 "z": "1f8b432c.7b707d",
\r
3483 "id": "745303bf.c36e14",
\r
3484 "type": "returnFailure",
\r
3485 "name": "return failure",
\r
3486 "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 UNI coloring for domain B\" />\n",
\r
3488 "x": 6682.333576202393,
\r
3489 "y": 3395.3333444595337,
\r
3490 "z": "1f8b432c.7b707d",
\r
3494 "id": "16fe3b7.bef5ac5",
\r
3497 "xml": "<block>\n",
\r
3498 "atomic": "false",
\r
3501 "x": 6688.3605880737305,
\r
3502 "y": 3444.0787382125854,
\r
3503 "z": "1f8b432c.7b707d",
\r
3509 "id": "ab63214f.ab52e",
\r
3511 "name": "set attachment_param domain otnidx",
\r
3512 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
3514 "x": 6325.33332824707,
\r
3515 "y": 3845.3333435058594,
\r
3516 "z": "1f8b432c.7b707d",
\r
3520 "id": "758165ab.6ede0c",
\r
3522 "name": "get all-vpn-bindings from aai",
\r
3523 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",
\r
3526 "x": 3644.3333282470703,
\r
3527 "y": 4192.333343505859,
\r
3528 "z": "1f8b432c.7b707d",
\r
3531 "342e9d1a.c50cf2",
\r
3538 "id": "342e9d1a.c50cf2",
\r
3539 "type": "success",
\r
3540 "name": "success",
\r
3541 "xml": "<outcome value='success'>\n",
\r
3544 "x": 3832.3333282470703,
\r
3545 "y": 4205.333343505859,
\r
3546 "z": "1f8b432c.7b707d",
\r
3554 "id": "85e441ba.70e1e",
\r
3555 "type": "not-found",
\r
3556 "name": "not-found",
\r
3557 "xml": "<outcome value='not-found'>\n",
\r
3560 "x": 3832.8242950439453,
\r
3561 "y": 4250.907379150391,
\r
3562 "z": "1f8b432c.7b707d",
\r
3570 "id": "cd45d3e5.a8a2f",
\r
3571 "type": "failure",
\r
3572 "name": "failure",
\r
3573 "xml": "<outcome value='failure'>\n",
\r
3576 "x": 3830.3333282470703,
\r
3577 "y": 4294.333343505859,
\r
3578 "z": "1f8b432c.7b707d",
\r
3586 "id": "24a9c2eb.e19b9e",
\r
3588 "name": "block : atomic",
\r
3589 "xml": "<block atomic=\"true\">",
\r
3592 "x": 4005.3333282470703,
\r
3593 "y": 4203.333343505859,
\r
3594 "z": "1f8b432c.7b707d",
\r
3602 "id": "abf9be0d.a5d62",
\r
3603 "type": "returnFailure",
\r
3604 "name": "return failure",
\r
3605 "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.l3vpn.pe1_id`\" />\n\n",
\r
3607 "x": 3995.395706176758,
\r
3608 "y": 4251.193115234375,
\r
3609 "z": "1f8b432c.7b707d",
\r
3613 "id": "5bf5c027.26df9",
\r
3614 "type": "returnFailure",
\r
3615 "name": "return failure",
\r
3616 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
3618 "x": 3997.3333282470703,
\r
3619 "y": 4293.333343505859,
\r
3620 "z": "1f8b432c.7b707d",
\r
3624 "id": "b32c7a7e.680c18",
\r
3626 "name": "for vidx..tmp.otninfo_length[]",
\r
3627 "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
\r
3630 "x": 3633.3333282470703,
\r
3631 "y": 4383.333343505859,
\r
3632 "z": "1f8b432c.7b707d",
\r
3640 "id": "aad93e89.0d91f",
\r
3642 "name": "block : atomic",
\r
3643 "xml": "<block atomic='true'>",
\r
3647 "x": 4443.33332824707,
\r
3648 "y": 4383.333343505859,
\r
3649 "z": "1f8b432c.7b707d",
\r
3657 "id": "371672f7.af2966",
\r
3659 "name": "for vidx..tmp.otninfo_length[]",
\r
3660 "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",
\r
3663 "x": 4215.33332824707,
\r
3664 "y": 4383.333343505859,
\r
3665 "z": "1f8b432c.7b707d",
\r
3673 "id": "b7b629ca.699bf",
\r
3675 "name": "set providerValue",
\r
3676 "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",
\r
3678 "x": 5335.33332824707,
\r
3679 "y": 4150.333343505859,
\r
3680 "z": "1f8b432c.7b707d",
\r
3684 "id": "278fac8.6485754",
\r
3687 "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
\r
3689 "x": 5637.33332824707,
\r
3690 "y": 3276.3333435058594,
\r
3691 "z": "1f8b432c.7b707d",
\r
3695 "id": "5e731523.edaba4",
\r
3698 "xml": "<block>\n",
\r
3699 "atomic": "false",
\r
3702 "x": 5472.33332824707,
\r
3703 "y": 3251.3333435058594,
\r
3704 "z": "1f8b432c.7b707d",
\r
3707 "278fac8.6485754",
\r
3713 "id": "38f52a4e.84a6be",
\r
3715 "name": "set tmp.arr",
\r
3716 "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n<parameter name='bwModified' value='false' />\n",
\r
3718 "x": 1926.3333282470703,
\r
3719 "y": 281.3333435058594,
\r
3720 "z": "1f8b432c.7b707d",
\r
3724 "id": "5543848d.3b0414",
\r
3726 "name": "for vpnidx in all-vpn-bindings",
\r
3727 "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
\r
3730 "x": 4234.33332824707,
\r
3731 "y": 4204.333343505859,
\r
3732 "z": "1f8b432c.7b707d",
\r
3740 "id": "f4fb2913.3f08e8",
\r
3742 "name": "block : atomic",
\r
3743 "xml": "<block atomic='true'>",
\r
3747 "x": 4449.33332824707,
\r
3748 "y": 4205.333343505859,
\r
3749 "z": "1f8b432c.7b707d",
\r
3757 "id": "59decc03.5b792c",
\r
3759 "name": "for arridx in tmp.arr",
\r
3760 "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
\r
3763 "x": 5902.33332824707,
\r
3764 "y": 4125.333343505859,
\r
3765 "z": "1f8b432c.7b707d",
\r
3773 "id": "97c70d48.16fe38",
\r
3774 "type": "switchNode",
\r
3775 "name": "switch $tmp.arr_length != 0",
\r
3776 "xml": "<switch test='`$tmp.arr_length != 0`'>\n",
\r
3779 "x": 5368.33332824707,
\r
3780 "y": 4205.333343505859,
\r
3781 "z": "1f8b432c.7b707d",
\r
3790 "id": "6bfc5feb.67a1e",
\r
3791 "type": "outcomeTrue",
\r
3793 "xml": "<outcome value='true'>\n",
\r
3796 "x": 5564.33332824707,
\r
3797 "y": 4175.333343505859,
\r
3798 "z": "1f8b432c.7b707d",
\r
3806 "id": "f9517302.701ea",
\r
3807 "type": "outcomeFalse",
\r
3809 "xml": "<outcome value='false'>\n",
\r
3812 "x": 5565.33332824707,
\r
3813 "y": 4246.333343505859,
\r
3814 "z": "1f8b432c.7b707d",
\r
3822 "id": "8987adcc.4e1008",
\r
3824 "name": "block : atomic",
\r
3825 "xml": "<block atomic='true'>",
\r
3829 "x": 5715.33332824707,
\r
3830 "y": 4173.333343505859,
\r
3831 "z": "1f8b432c.7b707d",
\r
3834 "59decc03.5b792c",
\r
3840 "id": "12c019ee.a843ee",
\r
3841 "type": "switchNode",
\r
3842 "name": "switch tmp.arr[$arridx] == $providerValue",
\r
3843 "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
\r
3846 "x": 6193.33332824707,
\r
3847 "y": 4125.333343505859,
\r
3848 "z": "1f8b432c.7b707d",
\r
3851 "e5c18223.e30628",
\r
3857 "id": "e5c18223.e30628",
\r
3858 "type": "outcomeTrue",
\r
3860 "xml": "<outcome value='true'>\n",
\r
3863 "x": 6468.33332824707,
\r
3864 "y": 4094.3333435058594,
\r
3865 "z": "1f8b432c.7b707d",
\r
3873 "id": "cba25abe.848d6",
\r
3874 "type": "outcomeFalse",
\r
3876 "xml": "<outcome value='false'>\n",
\r
3879 "x": 6469.33332824707,
\r
3880 "y": 4165.333343505859,
\r
3881 "z": "1f8b432c.7b707d",
\r
3889 "id": "4b465147.34a4b",
\r
3891 "name": "block : atomic",
\r
3892 "xml": "<block atomic='true'>",
\r
3896 "x": 6619.33332824707,
\r
3897 "y": 4092.3333435058594,
\r
3898 "z": "1f8b432c.7b707d",
\r
3901 "2155a1a2.b1abbe",
\r
3902 "f005c04e.d898a8",
\r
3904 "46824160.b1d988",
\r
3910 "id": "2155a1a2.b1abbe",
\r
3912 "name": "set found to true",
\r
3913 "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
\r
3915 "x": 6807.33332824707,
\r
3916 "y": 4052.3333435058594,
\r
3917 "z": "1f8b432c.7b707d",
\r
3921 "id": "f005c04e.d898a8",
\r
3923 "name": "store $arridx somewhere in vpn-binding",
\r
3924 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",
\r
3927 "x": 6879.33332824707,
\r
3928 "y": 4097.333343505859,
\r
3929 "z": "1f8b432c.7b707d",
\r
3935 "id": "1e06ac9b.2a6bc3",
\r
3937 "name": "set twoD arr",
\r
3938 "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",
\r
3940 "x": 6794.33332824707,
\r
3941 "y": 4224.333343505859,
\r
3942 "z": "1f8b432c.7b707d",
\r
3946 "id": "46824160.b1d988",
\r
3948 "name": "set sizeOfSliceList",
\r
3949 "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
\r
3951 "x": 6815.33332824707,
\r
3952 "y": 4160.333343505859,
\r
3953 "z": "1f8b432c.7b707d",
\r
3957 "id": "35a88f3a.b6ac08",
\r
3959 "name": "block : atomic",
\r
3960 "xml": "<block atomic='true'>",
\r
3964 "x": 5717.33332824707,
\r
3965 "y": 4246.333343505859,
\r
3966 "z": "1f8b432c.7b707d",
\r
3969 "bec1bd98.095008",
\r
3975 "id": "bec1bd98.095008",
\r
3977 "name": "store $arridx somewhere in vpn-binding",
\r
3978 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",
\r
3981 "x": 5972.33332824707,
\r
3982 "y": 4239.333343505859,
\r
3983 "z": "1f8b432c.7b707d",
\r
3989 "id": "6bef5837.fb58f",
\r
3991 "name": "set twoD array",
\r
3992 "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",
\r
3994 "x": 5900.33332824707,
\r
3995 "y": 4286.333343505859,
\r
3996 "z": "1f8b432c.7b707d",
\r
4000 "id": "6882fe7c.6197e8",
\r
4001 "type": "switchNode",
\r
4002 "name": "switch found?",
\r
4003 "xml": "<switch test='`$found`'>\n",
\r
4006 "x": 5893.33332824707,
\r
4007 "y": 4170.333343505859,
\r
4008 "z": "1f8b432c.7b707d",
\r
4017 "id": "fe294cd.9421bb",
\r
4018 "type": "outcomeTrue",
\r
4020 "xml": "<outcome value='true'>\n",
\r
4023 "x": 6053.33332824707,
\r
4024 "y": 4162.333343505859,
\r
4025 "z": "1f8b432c.7b707d",
\r
4033 "id": "65b4ebb1.845464",
\r
4034 "type": "outcomeFalse",
\r
4036 "xml": "<outcome value='false'>\n",
\r
4039 "x": 6051.33332824707,
\r
4040 "y": 4199.333343505859,
\r
4041 "z": "1f8b432c.7b707d",
\r
4049 "id": "e093232d.0ab56",
\r
4052 "xml": "<block>\n",
\r
4053 "atomic": "false",
\r
4056 "x": 6178.33332824707,
\r
4057 "y": 4162.333343505859,
\r
4058 "z": "1f8b432c.7b707d",
\r
4064 "id": "62438f19.a66048",
\r
4066 "name": "store $arridx+1 somewhere in vpn-binding",
\r
4067 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",
\r
4070 "x": 6485.33332824707,
\r
4071 "y": 4220.333343505859,
\r
4072 "z": "1f8b432c.7b707d",
\r
4078 "id": "ab13fab7.3aabe",
\r
4080 "name": "block : atomic",
\r
4081 "xml": "<block atomic='true'>",
\r
4085 "x": 6211.33332824707,
\r
4086 "y": 4207.333343505859,
\r
4087 "z": "1f8b432c.7b707d",
\r
4090 "62438f19.a66048",
\r
4096 "id": "f4afeb0e.ae0db",
\r
4098 "name": "set twoD array",
\r
4099 "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",
\r
4101 "x": 6402.33332824707,
\r
4102 "y": 4266.333343505859,
\r
4103 "z": "1f8b432c.7b707d",
\r
4107 "id": "ace0f3a2.ba867",
\r
4110 "xml": "<block>\n",
\r
4111 "atomic": "false",
\r
4114 "x": 6602.33332824707,
\r
4115 "y": 4164.333343505859,
\r
4116 "z": "1f8b432c.7b707d",
\r
4122 "id": "4fb6d7b7.ecc78",
\r
4125 "xml": "<break>\n",
\r
4127 "x": 6773.33332824707,
\r
4128 "y": 4291.333343505859,
\r
4129 "z": "1f8b432c.7b707d",
\r
4133 "id": "6c1ad513.ca11a4",
\r
4134 "type": "switchNode",
\r
4135 "name": "switch dstPort == NULL",
\r
4136 "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
\r
4139 "x": 5170.33332824707,
\r
4140 "y": 2503.3333435058594,
\r
4141 "z": "1f8b432c.7b707d",
\r
4150 "id": "e5311d8f.316e3",
\r
4151 "type": "outcomeTrue",
\r
4153 "xml": "<outcome value='true'>\n",
\r
4156 "x": 5559.33332824707,
\r
4157 "y": 2481.3333435058594,
\r
4158 "z": "1f8b432c.7b707d",
\r
4166 "id": "377e7dc.719a502",
\r
4167 "type": "outcomeFalse",
\r
4169 "xml": "<outcome value='false'>\n",
\r
4172 "x": 5560.33332824707,
\r
4173 "y": 2527.3333435058594,
\r
4174 "z": "1f8b432c.7b707d",
\r
4182 "id": "53a0d07b.9ddd2",
\r
4184 "name": "set access-provider-id and client-id",
\r
4185 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",
\r
4187 "x": 5773.33332824707,
\r
4188 "y": 2480.3333435058594,
\r
4189 "z": "1f8b432c.7b707d",
\r
4193 "id": "bda8eef7.7834b",
\r
4195 "name": "set access-provider-id and client-id",
\r
4196 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",
\r
4198 "x": 5771.33332824707,
\r
4199 "y": 2525.3333435058594,
\r
4200 "z": "1f8b432c.7b707d",
\r
4204 "id": "aa320024.3f29d",
\r
4206 "name": "set attachment_param sliceG",
\r
4207 "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",
\r
4209 "x": 4696.33332824707,
\r
4210 "y": 4381.333343505859,
\r
4211 "z": "1f8b432c.7b707d",
\r
4215 "id": "582f4b19.cbc35c",
\r
4216 "type": "execute",
\r
4217 "name": "execute RestApiCallNode sliceG creation domainG",
\r
4218 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-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`\" />\n",
\r
4221 "x": 4281.33332824707,
\r
4222 "y": 4489.333343505859,
\r
4223 "z": "1f8b432c.7b707d",
\r
4226 "2ee5af11.6c1e68",
\r
4232 "id": "dcd2689e.43975",
\r
4233 "type": "failure",
\r
4234 "name": "failure",
\r
4235 "xml": "<outcome value='failure'>\n",
\r
4238 "x": 4564.33332824707,
\r
4239 "y": 4469.333343505859,
\r
4240 "z": "1f8b432c.7b707d",
\r
4248 "id": "2ee5af11.6c1e68",
\r
4249 "type": "success",
\r
4250 "name": "success",
\r
4251 "xml": "<outcome value='success'>\n",
\r
4254 "x": 4565.333541870117,
\r
4255 "y": 4520.333252906799,
\r
4256 "z": "1f8b432c.7b707d",
\r
4264 "id": "226131b5.dcdb56",
\r
4265 "type": "returnFailure",
\r
4266 "name": "return failure",
\r
4267 "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 slice creation api for domain A\" />\n",
\r
4269 "x": 4704.333576202393,
\r
4270 "y": 4469.333344459534,
\r
4271 "z": "1f8b432c.7b707d",
\r
4275 "id": "9a360786.0f7708",
\r
4278 "xml": "<block>\n",
\r
4279 "atomic": "false",
\r
4282 "x": 4710.3605880737305,
\r
4283 "y": 4518.078738212585,
\r
4284 "z": "1f8b432c.7b707d",
\r
4290 "id": "ddb6267f.2382f",
\r
4292 "name": "set srcdstpnf-name",
\r
4293 "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
\r
4295 "x": 5354.33332824707,
\r
4296 "y": 2623.3333435058594,
\r
4297 "z": "1f8b432c.7b707d",
\r
4301 "id": "39bce85.43eb118",
\r
4302 "type": "get-resource",
\r
4303 "name": "get-resource tmp.srcdstpnf-name",
\r
4304 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
4307 "x": 5398.33332824707,
\r
4308 "y": 2671.3333435058594,
\r
4309 "z": "1f8b432c.7b707d",
\r
4312 "e3200e7d.1b6158",
\r
4313 "a27bf097.a61688",
\r
4319 "id": "e3200e7d.1b6158",
\r
4320 "type": "success",
\r
4321 "name": "success",
\r
4322 "xml": "<outcome value='success'>\n",
\r
4325 "x": 5610.83332824707,
\r
4326 "y": 2618.3333435058594,
\r
4327 "z": "1f8b432c.7b707d",
\r
4335 "id": "a27bf097.a61688",
\r
4336 "type": "not-found",
\r
4337 "name": "not-found",
\r
4338 "xml": "<outcome value='not-found'>\n",
\r
4341 "x": 5622.83332824707,
\r
4342 "y": 2668.3333435058594,
\r
4343 "z": "1f8b432c.7b707d",
\r
4351 "id": "aed031.10f8e7d",
\r
4354 "xml": "<outcome value='Other'>\n",
\r
4357 "x": 5613.83332824707,
\r
4358 "y": 2723.3333435058594,
\r
4359 "z": "1f8b432c.7b707d",
\r
4367 "id": "121802d5.075bad",
\r
4368 "type": "returnFailure",
\r
4369 "name": "return failure",
\r
4370 "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
4372 "x": 5758.83332824707,
\r
4373 "y": 2722.3333435058594,
\r
4374 "z": "1f8b432c.7b707d",
\r
4378 "id": "194dd3a5.9683ac",
\r
4379 "type": "returnFailure",
\r
4380 "name": "return failure",
\r
4381 "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
4383 "x": 5769.83332824707,
\r
4384 "y": 2665.3333435058594,
\r
4385 "z": "1f8b432c.7b707d",
\r
4389 "id": "ec0b5318.bd94a",
\r
4392 "xml": "<block>\n",
\r
4393 "atomic": "false",
\r
4396 "x": 5736.215774536133,
\r
4397 "y": 2611.989013671875,
\r
4398 "z": "1f8b432c.7b707d",
\r
4406 "id": "a75d0b14.3b6cd8",
\r
4407 "type": "outcome",
\r
4408 "name": "esr-thirdparty-sdnc",
\r
4409 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
4412 "x": 6295.33332824707,
\r
4413 "y": 2630.3333435058594,
\r
4414 "z": "1f8b432c.7b707d",
\r
4422 "id": "5ed989fd.7ba3d8",
\r
4424 "name": "block : atomic",
\r
4425 "xml": "<block atomic=\"true\">",
\r
4428 "x": 6472.33332824707,
\r
4429 "y": 2622.3333435058594,
\r
4430 "z": "1f8b432c.7b707d",
\r
4433 "4b327d9f.7fa68c",
\r
4439 "id": "6ffb5206.ab40dc",
\r
4441 "name": "for each relationship",
\r
4442 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
\r
4445 "x": 5897.33332824707,
\r
4446 "y": 2626.3333435058594,
\r
4447 "z": "1f8b432c.7b707d",
\r
4455 "id": "157a7f1c.cef0f9",
\r
4456 "type": "switchNode",
\r
4457 "name": "switch related-to",
\r
4458 "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
4461 "x": 6092.33332824707,
\r
4462 "y": 2626.3333435058594,
\r
4463 "z": "1f8b432c.7b707d",
\r
4471 "id": "a56c9b9d.4b71c",
\r
4472 "type": "execute",
\r
4473 "name": "get esr-thirdparty-sdnc",
\r
4474 "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.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
\r
4477 "x": 6680.33332824707,
\r
4478 "y": 2629.3333435058594,
\r
4479 "z": "1f8b432c.7b707d",
\r
4482 "5942c841.aa6ee8",
\r
4483 "9c93c9ac.788a48",
\r
4489 "id": "4b327d9f.7fa68c",
\r
4491 "name": "set esr-thirdparty-sdnc domainG id",
\r
4492 "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
4494 "x": 6710.33332824707,
\r
4495 "y": 2577.3333435058594,
\r
4496 "z": "1f8b432c.7b707d",
\r
4500 "id": "5942c841.aa6ee8",
\r
4501 "type": "success",
\r
4502 "name": "success",
\r
4503 "xml": "<outcome value='success'>\n",
\r
4506 "x": 6890.33332824707,
\r
4507 "y": 2620.3333435058594,
\r
4508 "z": "1f8b432c.7b707d",
\r
4516 "id": "9c93c9ac.788a48",
\r
4517 "type": "not-found",
\r
4518 "name": "not-found",
\r
4519 "xml": "<outcome value='not-found'>\n",
\r
4522 "x": 6882.33332824707,
\r
4523 "y": 2675.3333435058594,
\r
4524 "z": "1f8b432c.7b707d",
\r
4532 "id": "6429f071.39b59",
\r
4535 "xml": "<outcome value='Other'>\n",
\r
4538 "x": 6887.33332824707,
\r
4539 "y": 2732.3333435058594,
\r
4540 "z": "1f8b432c.7b707d",
\r
4548 "id": "2304d14f.3cde06",
\r
4549 "type": "returnFailure",
\r
4550 "name": "return failure",
\r
4551 "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
4553 "x": 7039.33332824707,
\r
4554 "y": 2733.3333435058594,
\r
4555 "z": "1f8b432c.7b707d",
\r
4559 "id": "440237ad.5da15",
\r
4560 "type": "returnFailure",
\r
4561 "name": "return failure",
\r
4562 "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
4564 "x": 7050.33332824707,
\r
4565 "y": 2678.3333435058594,
\r
4566 "z": "1f8b432c.7b707d",
\r
4570 "id": "f8702def.d95bc8",
\r
4573 "xml": "<block>\n",
\r
4574 "atomic": "false",
\r
4577 "x": 7034.71565246582,
\r
4578 "y": 2617.989013671875,
\r
4579 "z": "1f8b432c.7b707d",
\r
4587 "id": "f24381a1.f5a1a8",
\r
4589 "name": "set controller domainA data",
\r
4590 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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
4592 "x": 7249.33332824707,
\r
4593 "y": 2614.3333435058594,
\r
4594 "z": "1f8b432c.7b707d",
\r
4598 "id": "e206a705.651b58",
\r
4600 "name": "block : atomic",
\r
4601 "xml": "<block atomic='true'>",
\r
4605 "x": 3865.3333282470703,
\r
4606 "y": 4381.333343505859,
\r
4607 "z": "1f8b432c.7b707d",
\r
4610 "371672f7.af2966",
\r
4616 "id": "e250e406.45b0b8",
\r
4617 "type": "switchNode",
\r
4618 "name": "switch dmnsidx == 0 (domainA)",
\r
4619 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
4622 "x": 5368.33332824707,
\r
4623 "y": 2840.3333435058594,
\r
4624 "z": "1f8b432c.7b707d",
\r
4627 "7ec634eb.fd12e4",
\r
4633 "id": "7ec634eb.fd12e4",
\r
4634 "type": "outcomeTrue",
\r
4636 "xml": "<outcome value='true'>\n",
\r
4639 "x": 5569.33332824707,
\r
4640 "y": 2838.3333435058594,
\r
4641 "z": "1f8b432c.7b707d",
\r
4649 "id": "9a8afed8.5944c",
\r
4651 "name": "set attachment_param domain A",
\r
4652 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
\r
4654 "x": 5783.33332824707,
\r
4655 "y": 2840.3333435058594,
\r
4656 "z": "1f8b432c.7b707d",
\r
4660 "id": "a2a5b281.9fc21",
\r
4661 "type": "switchNode",
\r
4662 "name": "switch dmnsidx == last (domainB)",
\r
4663 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
\r
4666 "x": 5786.33332824707,
\r
4667 "y": 2889.3333435058594,
\r
4668 "z": "1f8b432c.7b707d",
\r
4671 "51c23d0e.7b05dc",
\r
4677 "id": "51c23d0e.7b05dc",
\r
4678 "type": "outcomeTrue",
\r
4680 "xml": "<outcome value='true'>\n",
\r
4683 "x": 6016.33332824707,
\r
4684 "y": 2885.3333435058594,
\r
4685 "z": "1f8b432c.7b707d",
\r
4693 "id": "6e6ce692.530ee8",
\r
4695 "name": "set attachment_param domain B",
\r
4696 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",
\r
4698 "x": 6230.33332824707,
\r
4699 "y": 2888.3333435058594,
\r
4700 "z": "1f8b432c.7b707d",
\r
4704 "id": "72b43008.da4948",
\r
4705 "type": "outcomeFalse",
\r
4707 "xml": "<outcome value='false'>\n",
\r
4710 "x": 5569.33332824707,
\r
4711 "y": 2887.3333435058594,
\r
4712 "z": "1f8b432c.7b707d",
\r
4720 "id": "905f334d.4416a8",
\r
4721 "type": "outcomeFalse",
\r
4723 "xml": "<outcome value='false'>\n",
\r
4726 "x": 6017.33332824707,
\r
4727 "y": 2931.3333435058594,
\r
4728 "z": "1f8b432c.7b707d",
\r
4736 "id": "17f66f36.7df949",
\r
4738 "name": "set attachment_param domain G",
\r
4739 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
\r
4741 "x": 6231.33332824707,
\r
4742 "y": 2931.3333435058594,
\r
4743 "z": "1f8b432c.7b707d",
\r
4747 "id": "31ff32a6.490d6e",
\r
4749 "name": "set tmp.slicevpns",
\r
4750 "xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",
\r
4752 "x": 6129.33332824707,
\r
4753 "y": 2980.3333435058594,
\r
4754 "z": "1f8b432c.7b707d",
\r
4758 "id": "b4dc52fa.e41dc8",
\r
4759 "type": "switchNode",
\r
4760 "name": "switch vpnuuid is for this slice",
\r
4761 "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n \n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n",
\r
4764 "x": 4693.33332824707,
\r
4765 "y": 4204.333343505859,
\r
4766 "z": "1f8b432c.7b707d",
\r
4775 "id": "ddeec6d8.2b66d",
\r
4776 "type": "outcomeTrue",
\r
4778 "xml": "<outcome value='true'>\n",
\r
4781 "x": 4910.33332824707,
\r
4782 "y": 4183.333343505859,
\r
4783 "z": "1f8b432c.7b707d",
\r
4791 "id": "ad3e1b09.a7dd3",
\r
4792 "type": "outcomeFalse",
\r
4794 "xml": "<outcome value='false'>\n",
\r
4797 "x": 4910.33332824707,
\r
4798 "y": 4232.333343505859,
\r
4799 "z": "1f8b432c.7b707d",
\r
4805 "id": "faf87a35.78eb88",
\r
4807 "name": "block : atomic",
\r
4808 "xml": "<block atomic='true'>",
\r
4812 "x": 5078.33332824707,
\r
4813 "y": 4183.333343505859,
\r
4814 "z": "1f8b432c.7b707d",
\r
4823 "id": "b7e06d6e.f371a",
\r
4825 "name": "get logical-link from aai",
\r
4826 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",
\r
4829 "x": 1418.3333282470703,
\r
4830 "y": 814.3333435058594,
\r
4831 "z": "1f8b432c.7b707d",
\r
4834 "16c2412b.16deaf",
\r
4835 "ae26bbae.e630b8",
\r
4841 "id": "16c2412b.16deaf",
\r
4842 "type": "not-found",
\r
4843 "name": "not-found",
\r
4844 "xml": "<outcome value='not-found'>\n",
\r
4847 "x": 1630.8242950439453,
\r
4848 "y": 780.9073181152344,
\r
4849 "z": "1f8b432c.7b707d",
\r
4857 "id": "ae26bbae.e630b8",
\r
4858 "type": "failure",
\r
4859 "name": "failure",
\r
4860 "xml": "<outcome value='failure'>\n",
\r
4863 "x": 1619.3333282470703,
\r
4864 "y": 825.3333435058594,
\r
4865 "z": "1f8b432c.7b707d",
\r
4873 "id": "28aa8e7b.7b6a9a",
\r
4874 "type": "returnFailure",
\r
4875 "name": "return failure",
\r
4876 "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.l3vpn.pe1_id`\" />\n\n",
\r
4878 "x": 1779.3958282470703,
\r
4879 "y": 781.1930847167969,
\r
4880 "z": "1f8b432c.7b707d",
\r
4884 "id": "d31e63f3.254",
\r
4885 "type": "returnFailure",
\r
4886 "name": "return failure",
\r
4887 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
4889 "x": 1778.3333282470703,
\r
4890 "y": 825.3333435058594,
\r
4891 "z": "1f8b432c.7b707d",
\r
4895 "id": "e8c1e05c.a0ff5",
\r
4896 "type": "success",
\r
4897 "name": "success",
\r
4898 "xml": "<outcome value='success'>\n",
\r
4901 "x": 1624.3333282470703,
\r
4902 "y": 868.3333435058594,
\r
4903 "z": "1f8b432c.7b707d",
\r
4911 "id": "c3b9530.73a28b",
\r
4913 "name": "block : atomic",
\r
4914 "xml": "<block atomic='true'>",
\r
4918 "x": 770.3333282470703,
\r
4919 "y": 1207.3333435058594,
\r
4920 "z": "1f8b432c.7b707d",
\r
4928 "id": "3e859b6c.a626d4",
\r
4930 "name": "for each svc-instance relationship",
\r
4931 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
\r
4934 "x": 1044.3333282470703,
\r
4935 "y": 1207.3333435058594,
\r
4936 "z": "1f8b432c.7b707d",
\r
4944 "id": "9fdac28f.05e248",
\r
4945 "type": "switchNode",
\r
4946 "name": "switch related-to",
\r
4947 "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
4950 "x": 1279.6668243408203,
\r
4951 "y": 1208.3333435058594,
\r
4952 "z": "1f8b432c.7b707d",
\r
4960 "id": "6b8b4db1.78e19c",
\r
4961 "type": "outcome",
\r
4962 "name": "connectivity",
\r
4963 "xml": "<outcome value='connectivity'>\n",
\r
4966 "x": 563.3335723876953,
\r
4967 "y": 1361.3333435058594,
\r
4968 "z": "1f8b432c.7b707d",
\r
4976 "id": "83814db5.2acc38",
\r
4978 "name": "get connectivity from aai",
\r
4979 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
\r
4982 "x": 952.3333282470703,
\r
4983 "y": 1366.3333435058594,
\r
4984 "z": "1f8b432c.7b707d",
\r
4987 "f08fdd90.4c3b48",
\r
4988 "74408ee8.7c8248",
\r
4994 "id": "f08fdd90.4c3b48",
\r
4995 "type": "success",
\r
4996 "name": "success",
\r
4997 "xml": "<outcome value='success'>\n",
\r
5000 "x": 1148.3333282470703,
\r
5001 "y": 1331.3333435058594,
\r
5002 "z": "1f8b432c.7b707d",
\r
5010 "id": "74408ee8.7c8248",
\r
5011 "type": "not-found",
\r
5012 "name": "not-found",
\r
5013 "xml": "<outcome value='not-found'>\n",
\r
5016 "x": 1148.8242950439453,
\r
5017 "y": 1376.9073791503906,
\r
5018 "z": "1f8b432c.7b707d",
\r
5026 "id": "bddcb73f.c2f73",
\r
5027 "type": "failure",
\r
5028 "name": "failure",
\r
5029 "xml": "<outcome value='failure'>\n",
\r
5032 "x": 1113.3333282470703,
\r
5033 "y": 1422.3333435058594,
\r
5034 "z": "1f8b432c.7b707d",
\r
5042 "id": "dda3b631.5e1b9",
\r
5043 "type": "returnFailure",
\r
5044 "name": "return failure",
\r
5045 "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.l3vpn.pe1_id`\" />\n\n",
\r
5047 "x": 1308.3958282470703,
\r
5048 "y": 1374.1930847167969,
\r
5049 "z": "1f8b432c.7b707d",
\r
5053 "id": "c0397cda.3cd818",
\r
5054 "type": "returnFailure",
\r
5055 "name": "return failure",
\r
5056 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
5058 "x": 1266.3333282470703,
\r
5059 "y": 1424.3333435058594,
\r
5060 "z": "1f8b432c.7b707d",
\r
5064 "id": "4d852904.6e1e58",
\r
5065 "type": "switchNode",
\r
5066 "name": "switch loglink-id exists in conn",
\r
5067 "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",
\r
5070 "x": 1541.3333282470703,
\r
5071 "y": 1314.3333435058594,
\r
5072 "z": "1f8b432c.7b707d",
\r
5075 "28fd1bef.755efc",
\r
5081 "id": "28fd1bef.755efc",
\r
5082 "type": "outcomeTrue",
\r
5084 "xml": "<outcome value='true'>\n",
\r
5087 "x": 1752.3333282470703,
\r
5088 "y": 1279.3333435058594,
\r
5089 "z": "1f8b432c.7b707d",
\r
5097 "id": "5889d337.e7ce3c",
\r
5098 "type": "outcomeFalse",
\r
5100 "xml": "<outcome value='false'>\n",
\r
5103 "x": 1749.3333282470703,
\r
5104 "y": 1340.3333435058594,
\r
5105 "z": "1f8b432c.7b707d",
\r
5111 "id": "2876f138.d4a73e",
\r
5113 "name": "set currLinkIsFound",
\r
5114 "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",
\r
5116 "x": 2090.3333282470703,
\r
5117 "y": 1252.3333435058594,
\r
5118 "z": "1f8b432c.7b707d",
\r
5122 "id": "b34d6866.bc5698",
\r
5124 "name": "block : atomic",
\r
5125 "xml": "<block atomic=\"true\">",
\r
5128 "x": 1904.3333282470703,
\r
5129 "y": 1280.3333435058594,
\r
5130 "z": "1f8b432c.7b707d",
\r
5138 "id": "6674b61e.a06d68",
\r
5141 "xml": "<break>\n",
\r
5143 "x": 2057.3333282470703,
\r
5144 "y": 1308.3333435058594,
\r
5145 "z": "1f8b432c.7b707d",
\r
5149 "id": "ee2fec7a.bb72",
\r
5150 "type": "comment",
\r
5151 "name": "currLinkIsFound. Go to the next logical-link",
\r
5154 "x": 2062.3333282470703,
\r
5155 "y": 1202.3333435058594,
\r
5156 "z": "1f8b432c.7b707d",
\r
5160 "id": "9653963e.b4d7a8",
\r
5161 "type": "switchNode",
\r
5162 "name": "switch currLinkIsFound",
\r
5163 "xml": "<switch test='`$currLinkIsFound`'>\n",
\r
5166 "x": 1344.3333282470703,
\r
5167 "y": 932.3333435058594,
\r
5168 "z": "1f8b432c.7b707d",
\r
5171 "78ad0a60.3340ec",
\r
5177 "id": "78ad0a60.3340ec",
\r
5178 "type": "outcomeTrue",
\r
5180 "xml": "<outcome value='true'>\n",
\r
5183 "x": 1530.3333282470703,
\r
5184 "y": 911.3333435058594,
\r
5185 "z": "1f8b432c.7b707d",
\r
5193 "id": "c4221fd4.9cf0f8",
\r
5194 "type": "outcomeFalse",
\r
5196 "xml": "<outcome value='false'>\n",
\r
5199 "x": 1527.3333282470703,
\r
5200 "y": 1047.3333435058594,
\r
5201 "z": "1f8b432c.7b707d",
\r
5209 "id": "9a111eaa.a49b48",
\r
5211 "name": "block : atomic",
\r
5212 "xml": "<block atomic=\"true\">",
\r
5215 "x": 1772.3333282470703,
\r
5216 "y": 906.3333435058594,
\r
5217 "z": "1f8b432c.7b707d",
\r
5223 "id": "bd09e3c8.ced5f8",
\r
5224 "type": "comment",
\r
5225 "name": "A new logical-link has been found: modify process should be triggered",
\r
5228 "x": 1718.3333282470703,
\r
5229 "y": 1010.3333435058594,
\r
5230 "z": "1f8b432c.7b707d",
\r
5234 "id": "b8ac9b43.4a9818",
\r
5236 "name": "block : atomic",
\r
5237 "xml": "<block atomic=\"true\">",
\r
5240 "x": 1312.3333282470703,
\r
5241 "y": 1315.3333435058594,
\r
5242 "z": "1f8b432c.7b707d",
\r
5245 "4d852904.6e1e58",
\r
5251 "id": "275b774d.5d0718",
\r
5252 "type": "switchNode",
\r
5253 "name": "switch connectivityBW == gfp",
\r
5254 "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",
\r
5257 "x": 1542.3333282470703,
\r
5258 "y": 1405.3333435058594,
\r
5259 "z": "1f8b432c.7b707d",
\r
5268 "id": "8ffa4f79.ade61",
\r
5269 "type": "outcomeTrue",
\r
5271 "xml": "<outcome value='true'>\n",
\r
5274 "x": 1747.3333282470703,
\r
5275 "y": 1401.3333435058594,
\r
5276 "z": "1f8b432c.7b707d",
\r
5282 "id": "c4dfc850.994ac",
\r
5283 "type": "outcomeFalse",
\r
5285 "xml": "<outcome value='false'>\n",
\r
5288 "x": 1749.3333282470703,
\r
5289 "y": 1451.3333435058594,
\r
5290 "z": "1f8b432c.7b707d",
\r
5298 "id": "30007844.075cd",
\r
5300 "name": "set bwModified",
\r
5301 "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",
\r
5303 "x": 2098.3333282470703,
\r
5304 "y": 1429.3333435058594,
\r
5305 "z": "1f8b432c.7b707d",
\r
5309 "id": "30c2ae4.1f45052",
\r
5311 "name": "block : atomic",
\r
5312 "xml": "<block atomic=\"true\">",
\r
5315 "x": 1903.3333282470703,
\r
5316 "y": 1450.3333435058594,
\r
5317 "z": "1f8b432c.7b707d",
\r
5326 "id": "b1f43ea6.58c508",
\r
5328 "name": "for each relationship",
\r
5329 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
\r
5332 "x": 923.3333282470703,
\r
5333 "y": 1655.3333435058594,
\r
5334 "z": "1f8b432c.7b707d",
\r
5342 "id": "5f59c5b8.8000ec",
\r
5343 "type": "switchNode",
\r
5344 "name": "switch related-to",
\r
5345 "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
\r
5348 "x": 1128.3333282470703,
\r
5349 "y": 1655.3333435058594,
\r
5350 "z": "1f8b432c.7b707d",
\r
5358 "id": "d7cb533e.bd93a",
\r
5359 "type": "outcome",
\r
5360 "name": "vpn-binding",
\r
5361 "xml": "<outcome value='vpn-binding'>\n",
\r
5364 "x": 1294.3333282470703,
\r
5365 "y": 1655.3333435058594,
\r
5366 "z": "1f8b432c.7b707d",
\r
5374 "id": "5c501362.927b6c",
\r
5376 "name": "block : atomic",
\r
5377 "xml": "<block atomic=\"true\">",
\r
5380 "x": 1457.3333282470703,
\r
5381 "y": 1655.3333435058594,
\r
5382 "z": "1f8b432c.7b707d",
\r
5385 "53a207fe.affe78",
\r
5391 "id": "2105f763.ee4f68",
\r
5393 "name": "unset tmp.aai.vpn-binding",
\r
5394 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
5396 "x": 1686.3333282470703,
\r
5397 "y": 1595.3333435058594,
\r
5398 "z": "1f8b432c.7b707d",
\r
5402 "id": "53a207fe.affe78",
\r
5404 "name": "get vpn-binding from aai",
\r
5405 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
\r
5408 "x": 1195.3333282470703,
\r
5409 "y": 1749.3333435058594,
\r
5410 "z": "1f8b432c.7b707d",
\r
5413 "96d7c193.8b3058",
\r
5420 "id": "e9bb6625.bf214",
\r
5422 "name": "block : atomic",
\r
5423 "xml": "<block atomic=\"true\">",
\r
5426 "x": 1579.3333282470703,
\r
5427 "y": 1749.3333435058594,
\r
5428 "z": "1f8b432c.7b707d",
\r
5437 "id": "96d7c193.8b3058",
\r
5438 "type": "success",
\r
5439 "name": "success",
\r
5440 "xml": "<outcome value='success'>\n",
\r
5443 "x": 1406.3333282470703,
\r
5444 "y": 1751.3333435058594,
\r
5445 "z": "1f8b432c.7b707d",
\r
5453 "id": "915fad51.2fe24",
\r
5454 "type": "not-found",
\r
5455 "name": "not-found",
\r
5456 "xml": "<outcome value='not-found'>\n",
\r
5459 "x": 1406.8242950439453,
\r
5460 "y": 1796.9073791503906,
\r
5461 "z": "1f8b432c.7b707d",
\r
5469 "id": "52119562.4019b4",
\r
5470 "type": "failure",
\r
5471 "name": "failure",
\r
5472 "xml": "<outcome value='failure'>\n",
\r
5475 "x": 1404.3333282470703,
\r
5476 "y": 1840.3333435058594,
\r
5477 "z": "1f8b432c.7b707d",
\r
5485 "id": "18330305.6a2a7d",
\r
5486 "type": "returnFailure",
\r
5487 "name": "return failure",
\r
5488 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
5490 "x": 1571.3333282470703,
\r
5491 "y": 1857.3333435058594,
\r
5492 "z": "1f8b432c.7b707d",
\r
5496 "id": "9471576f.097388",
\r
5497 "type": "returnFailure",
\r
5498 "name": "return failure",
\r
5499 "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.l3vpn.pe1_id`\" />\n\n",
\r
5501 "x": 1569.3957061767578,
\r
5502 "y": 1797.193115234375,
\r
5503 "z": "1f8b432c.7b707d",
\r
5507 "id": "2aa5f521.f24e92",
\r
5509 "name": "block : atomic",
\r
5510 "xml": "<block atomic=\"true\">",
\r
5513 "x": 735.3333282470703,
\r
5514 "y": 1361.3333435058594,
\r
5515 "z": "1f8b432c.7b707d",
\r
5518 "83814db5.2acc38",
\r
5524 "id": "4cdc6ff0.28b37",
\r
5526 "name": "unset tmp.aai.connectivity",
\r
5527 "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",
\r
5529 "x": 955.3333282470703,
\r
5530 "y": 1309.3333435058594,
\r
5531 "z": "1f8b432c.7b707d",
\r
5535 "id": "aea8b329.30e9d",
\r
5537 "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
\r
5538 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",
\r
5541 "x": 1929.8333282470703,
\r
5542 "y": 1744.3333435058594,
\r
5543 "z": "1f8b432c.7b707d",
\r
5549 "id": "4aaf718e.250ab8",
\r
5551 "name": "update connectivity resource in AAI",
\r
5552 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",
\r
5555 "x": 1856.8333282470703,
\r
5556 "y": 1808.3333435058594,
\r
5557 "z": "1f8b432c.7b707d",
\r
5563 "id": "301a3cc6.e828c4",
\r
5564 "type": "comment",
\r
5565 "name": "The following two nodes are for PCE",
\r
5568 "x": 2001.3333282470703,
\r
5569 "y": 136.33334350585938,
\r
5570 "z": "1f8b432c.7b707d",
\r
5574 "id": "ba577b94.b0dc8",
\r
5575 "type": "get-resource",
\r
5576 "name": "get-resource pnfs-list",
\r
5577 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",
\r
5580 "x": 1961.3333282470703,
\r
5581 "y": 180.33334350585938,
\r
5582 "z": "1f8b432c.7b707d",
\r
5588 "id": "efd37c2f.4ac7f",
\r
5589 "type": "get-resource",
\r
5590 "name": "get-resource logical-links",
\r
5591 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",
\r
5594 "x": 1974.3333282470703,
\r
5595 "y": 225.33334350585938,
\r
5596 "z": "1f8b432c.7b707d",
\r
5602 "id": "8e0823d9.c3d5f",
\r
5603 "type": "execute",
\r
5604 "name": "execute printContext",
\r
5605 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
\r
5608 "x": 4281.33332824707,
\r
5609 "y": 2342.3333435058594,
\r
5610 "z": "1f8b432c.7b707d",
\r
5616 "id": "8465e4fd.6de0a",
\r
5618 "name": "save connectivity resource in AAI",
\r
5619 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\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`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",
\r
5622 "x": 5572.33332824707,
\r
5623 "y": 1179.3333435058594,
\r
5624 "z": "1f8b432c.7b707d",
\r
5630 "id": "642b12a.3e870ec",
\r
5632 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",
\r
5633 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
\r
5636 "x": 4470.333740234375,
\r
5637 "y": 2399.3333740234375,
\r
5638 "z": "1f8b432c.7b707d",
\r
5644 "id": "f34b01.8e0f75",
\r
5645 "type": "switchNode",
\r
5646 "name": "switch src and dst same domain?",
\r
5647 "xml": "<switch test=\"`$param-prefix-domainA[$param-prefix-domainA_length -9] == $param-prefix-domainB[$param-prefix-domainB_length -9]`\">\n \n `\n\n",
\r
5650 "x": 2923.666748046875,
\r
5651 "y": 2446.33349609375,
\r
5652 "z": "1f8b432c.7b707d",
\r
5661 "id": "5ec8edee.aa3afc",
\r
5662 "type": "outcomeFalse",
\r
5664 "xml": "<outcome value='false'>\n",
\r
5667 "x": 3137.6666870117188,
\r
5668 "y": 2459.3333740234375,
\r
5669 "z": "1f8b432c.7b707d",
\r
5677 "id": "db4fc7e3.ebc94",
\r
5678 "type": "outcomeTrue",
\r
5680 "xml": "<outcome value='true'>\n",
\r
5683 "x": 3118.6666259765625,
\r
5684 "y": 2560.33349609375,
\r
5685 "z": "1f8b432c.7b707d",
\r
5693 "id": "42219b91.01efdc",
\r
5695 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
5696 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
5699 "x": 3545.0001831054688,
\r
5700 "y": 2465.66650390625,
\r
5701 "z": "1f8b432c.7b707d",
\r
5709 "id": "5c61900d.2cdc2",
\r
5712 "xml": "<block>\n",
\r
5713 "atomic": "false",
\r
5716 "x": 3269.0000610351562,
\r
5717 "y": 2560.66650390625,
\r
5718 "z": "1f8b432c.7b707d",
\r
5721 "f027aef7.634db8",
\r
5723 "2b5a38a.97b3448",
\r
5729 "id": "50b64f95.e5fb98",
\r
5731 "name": "block : atomic",
\r
5732 "xml": "<block atomic='true'>",
\r
5736 "x": 3971.3333129882812,
\r
5737 "y": 2465.33349609375,
\r
5738 "z": "1f8b432c.7b707d",
\r
5746 "id": "f027aef7.634db8",
\r
5747 "type": "execute",
\r
5748 "name": "execute UUID generator for vpn-binding $otnidx",
\r
5749 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-samedomain-uuid\"/>\n",
\r
5752 "x": 3552.9999389648438,
\r
5753 "y": 2566.3333740234375,
\r
5754 "z": "1f8b432c.7b707d",
\r
5760 "id": "7a63eedd.e32c3",
\r
5762 "name": "set attachment_param Same Domain",
\r
5763 "xml": "<set>\n<parameter name='tmp.sameDomain-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.sameDomain-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
5765 "x": 3520.9999389648438,
\r
5766 "y": 2626.6663818359375,
\r
5767 "z": "1f8b432c.7b707d",
\r
5771 "id": "2b5a38a.97b3448",
\r
5773 "name": "save vpn-binding same domain resource (aka. OTN) in AAI",
\r
5774 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-samedomain-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-samedomain-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.sameDomain-src-access-node-id`' />\n<!--<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />-->\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.sameDomain-dst-access-node-id`' />\n<!--<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />-->\n<parameter name='route-distinguisher' value='`$gfp`' />\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`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
5777 "x": 3586.3331909179688,
\r
5778 "y": 2682.6663818359375,
\r
5779 "z": "1f8b432c.7b707d",
\r
5787 "id": "1b626686.9373e9",
\r
5788 "type": "success",
\r
5789 "name": "success",
\r
5790 "xml": "<outcome value='success'>\n",
\r
5793 "x": 3903.3331909179688,
\r
5794 "y": 2684.6663818359375,
\r
5795 "z": "1f8b432c.7b707d",
\r
5803 "id": "de4818c6.968eb8",
\r
5806 "xml": "<block>\n",
\r
5807 "atomic": "false",
\r
5810 "x": 4066.8331909179688,
\r
5811 "y": 2683.9202880859375,
\r
5812 "z": "1f8b432c.7b707d",
\r
5818 "id": "7fefe031.312d88",
\r
5820 "name": "save connectivity-domainA relationship to vpn-binding-sameDomain, in AAI",
\r
5821 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-samedomain-uuid' \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/' + $uuid.connectivity-domainA-uuid`\" />\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=\"`$uuid.connectivity-domainA-uuid`\" />",
\r
5824 "x": 3634.9995727539062,
\r
5825 "y": 2737.3331298828125,
\r
5826 "z": "1f8b432c.7b707d",
\r