3 "id": "7ed82570.98fbdc",
\r
7 "x": 128.56666564941406,
\r
8 "y": 178.56666564941406,
\r
9 "z": "7a2c5977.5cc868",
\r
17 "id": "391afd32.1d09aa",
\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": 353.85235595703125,
\r
26 "y": 252.8047742843628,
\r
27 "z": "7a2c5977.5cc868",
\r
35 "id": "90765c89.647058",
\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": 359.9952697753906,
\r
42 "y": 337.5666961669922,
\r
43 "z": "7a2c5977.5cc868",
\r
51 "id": "9cde6295.2d0718",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 729.8047027587891,
\r
58 "y": 362.2333526611328,
\r
59 "z": "7a2c5977.5cc868",
\r
69 "id": "4ae0dd2a.d94ce4",
\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": 985.1381988525391,
\r
75 "y": 516.1636505126953,
\r
76 "z": "7a2c5977.5cc868",
\r
80 "id": "79738588.734b34",
\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": 1052.566665649414,
\r
87 "y": 335.56666564941406,
\r
88 "z": "7a2c5977.5cc868",
\r
98 "id": "8962e75e.00261",
\r
101 "xml": "<outcome value='success'>\n",
\r
104 "x": 1277.566665649414,
\r
105 "y": 193.56666564941406,
\r
106 "z": "7a2c5977.5cc868",
\r
114 "id": "4fd36492.b80aa4",
\r
115 "type": "not-found",
\r
116 "name": "not-found",
\r
117 "xml": "<outcome value='not-found'>\n",
\r
120 "x": 1273.057632446289,
\r
121 "y": 263.1407012939453,
\r
122 "z": "7a2c5977.5cc868",
\r
130 "id": "9a3dacb1.190568",
\r
133 "xml": "<outcome value='failure'>\n",
\r
136 "x": 1261.566665649414,
\r
137 "y": 309.56666564941406,
\r
138 "z": "7a2c5977.5cc868",
\r
146 "id": "3deda3f.9bf2e5c",
\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": 1516.566665649414,
\r
153 "y": 190.56666564941406,
\r
154 "z": "7a2c5977.5cc868",
\r
163 "id": "3f0b2c08.7bc00c",
\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": 1426.6290435791016,
\r
169 "y": 266.4264373779297,
\r
170 "z": "7a2c5977.5cc868",
\r
174 "id": "9b28e102.0626c",
\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": 1430.566665649414,
\r
180 "y": 310.56666564941406,
\r
181 "z": "7a2c5977.5cc868",
\r
185 "id": "20af607b.68774",
\r
186 "type": "outcomeTrue",
\r
188 "xml": "<outcome value='true'>\n",
\r
191 "x": 1729.566665649414,
\r
192 "y": 214.56666564941406,
\r
193 "z": "7a2c5977.5cc868",
\r
201 "id": "3658cbc.aa6dfb4",
\r
202 "type": "outcomeFalse",
\r
204 "xml": "<outcome value='false'>\n",
\r
207 "x": 1731.566665649414,
\r
208 "y": 154.56666564941406,
\r
209 "z": "7a2c5977.5cc868",
\r
215 "id": "1f591d09.2d25db",
\r
217 "name": "new for TransportSlicing",
\r
220 "x": 1031.566665649414,
\r
221 "y": 223.56666564941406,
\r
222 "z": "7a2c5977.5cc868",
\r
226 "id": "be8ab5c2.2f32",
\r
229 "xml": "<block>\n",
\r
233 "x": 1674.566665649414,
\r
234 "y": 396.56666564941406,
\r
235 "z": "7a2c5977.5cc868",
\r
246 "id": "1aaac7fe.3c1ba",
\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": 4243.566665649414,
\r
252 "y": 903.5666656494141,
\r
253 "z": "7a2c5977.5cc868",
\r
257 "id": "3b804e52.a7cf2a",
\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": 4244.566665649414,
\r
263 "y": 958.5666656494141,
\r
264 "z": "7a2c5977.5cc868",
\r
268 "id": "1ad24ca8.e833c3",
\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": 2200.566665649414,
\r
275 "y": 353.56666564941406,
\r
276 "z": "7a2c5977.5cc868",
\r
286 "id": "b8507b63.6f6868",
\r
289 "xml": "<outcome value='success'>\n",
\r
292 "x": 2416.566665649414,
\r
293 "y": 420.56666564941406,
\r
294 "z": "7a2c5977.5cc868",
\r
302 "id": "67c1af9f.10fa88",
\r
303 "type": "not-found",
\r
304 "name": "not-found",
\r
305 "xml": "<outcome value='not-found'>\n",
\r
308 "x": 2417.057632446289,
\r
309 "y": 320.14064025878906,
\r
310 "z": "7a2c5977.5cc868",
\r
318 "id": "7ec43e4c.6fd9e",
\r
321 "xml": "<outcome value='failure'>\n",
\r
324 "x": 2412.566665649414,
\r
325 "y": 369.56666564941406,
\r
326 "z": "7a2c5977.5cc868",
\r
334 "id": "4da82d11.2ee7a4",
\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": 2594.629165649414,
\r
340 "y": 320.42640686035156,
\r
341 "z": "7a2c5977.5cc868",
\r
345 "id": "32e3d071.7e8958",
\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": 2594.566665649414,
\r
351 "y": 369.56666564941406,
\r
352 "z": "7a2c5977.5cc868",
\r
356 "id": "5d5e04cf.2d233c",
\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": 3469.566665649414,
\r
363 "y": 874.5666656494141,
\r
364 "z": "7a2c5977.5cc868",
\r
374 "id": "737046f3.901008",
\r
375 "type": "not-found",
\r
376 "name": "not-found",
\r
377 "xml": "<outcome value='not-found'>\n",
\r
380 "x": 3761.057632446289,
\r
381 "y": 853.1406402587891,
\r
382 "z": "7a2c5977.5cc868",
\r
390 "id": "c17a2f42.f8ce5",
\r
393 "xml": "<outcome value='failure'>\n",
\r
396 "x": 3749.566665649414,
\r
397 "y": 897.5666656494141,
\r
398 "z": "7a2c5977.5cc868",
\r
406 "id": "d252d89c.bf824",
\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": 3909.629165649414,
\r
412 "y": 853.4264068603516,
\r
413 "z": "7a2c5977.5cc868",
\r
417 "id": "ac4aea44.3a1468",
\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": 3908.566665649414,
\r
423 "y": 897.5666656494141,
\r
424 "z": "7a2c5977.5cc868",
\r
428 "id": "6c18d1b1.1fb02",
\r
431 "xml": "<outcome value='success'>\n",
\r
434 "x": 3755.566665649414,
\r
435 "y": 944.5666656494141,
\r
436 "z": "7a2c5977.5cc868",
\r
442 "id": "9334f6e1.75bd8",
\r
445 "xml": "<block>\n",
\r
449 "x": 3909.566665649414,
\r
450 "y": 983.5666656494141,
\r
451 "z": "7a2c5977.5cc868",
\r
471 "id": "609f7b84.9a3f44",
\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": 4256.566665649414,
\r
478 "y": 1026.566665649414,
\r
479 "z": "7a2c5977.5cc868",
\r
489 "id": "1d55bdaf.3f48b2",
\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": 4235.566665649414,
\r
496 "y": 1628.5665435791016,
\r
497 "z": "7a2c5977.5cc868",
\r
507 "id": "feb2378a.2af25",
\r
508 "type": "not-found",
\r
509 "name": "not-found",
\r
510 "xml": "<outcome value='not-found'>\n",
\r
513 "x": 4457.566665649414,
\r
514 "y": 910.5666656494141,
\r
515 "z": "7a2c5977.5cc868",
\r
523 "id": "cbad9eb.a48376",
\r
526 "xml": "<outcome value='failure'>\n",
\r
529 "x": 4453.075698852539,
\r
530 "y": 959.9926910400391,
\r
531 "z": "7a2c5977.5cc868",
\r
539 "id": "4fed791d.880998",
\r
542 "xml": "<outcome value='success'>\n",
\r
545 "x": 4457.075698852539,
\r
546 "y": 1010.9926910400391,
\r
547 "z": "7a2c5977.5cc868",
\r
555 "id": "edb5d5b7.00d9d8",
\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": 4606.138198852539,
\r
561 "y": 909.8524322509766,
\r
562 "z": "7a2c5977.5cc868",
\r
566 "id": "302f34fb.b2cccc",
\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": 4596.075698852539,
\r
572 "y": 959.9926910400391,
\r
573 "z": "7a2c5977.5cc868",
\r
577 "id": "2518a058.abd538",
\r
578 "type": "not-found",
\r
579 "name": "not-found",
\r
580 "xml": "<outcome value='not-found'>\n",
\r
583 "x": 4458.566665649414,
\r
584 "y": 1598.5665435791016,
\r
585 "z": "7a2c5977.5cc868",
\r
593 "id": "6ec44045.1b76e",
\r
596 "xml": "<outcome value='failure'>\n",
\r
599 "x": 4454.075698852539,
\r
600 "y": 1647.9925689697266,
\r
601 "z": "7a2c5977.5cc868",
\r
609 "id": "3ecdb083.b8e9c8",
\r
612 "xml": "<outcome value='success'>\n",
\r
615 "x": 4458.075698852539,
\r
616 "y": 1698.9925689697266,
\r
617 "z": "7a2c5977.5cc868",
\r
625 "id": "ae2f5ea5.ffcca8",
\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": 4607.138198852539,
\r
631 "y": 1597.852310180664,
\r
632 "z": "7a2c5977.5cc868",
\r
636 "id": "8fe524e0.344e88",
\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": 4597.075698852539,
\r
642 "y": 1647.9925689697266,
\r
643 "z": "7a2c5977.5cc868",
\r
647 "id": "4f9233a2.7d7c54",
\r
649 "name": "block : atomic",
\r
650 "xml": "<block atomic=\"true\">",
\r
653 "x": 5271.233169555664,
\r
654 "y": 1054.566665649414,
\r
655 "z": "7a2c5977.5cc868",
\r
667 "id": "316e9aaa.7c7b56",
\r
670 "xml": "<outcome value='success'>\n",
\r
673 "x": 5098.566665649414,
\r
674 "y": 1055.566665649414,
\r
675 "z": "7a2c5977.5cc868",
\r
683 "id": "71d04631.299a38",
\r
684 "type": "not-found",
\r
685 "name": "not-found",
\r
686 "xml": "<outcome value='not-found'>\n",
\r
689 "x": 5108.057632446289,
\r
690 "y": 1098.1407012939453,
\r
691 "z": "7a2c5977.5cc868",
\r
699 "id": "ec19e5df.bfee3",
\r
702 "xml": "<outcome value='failure'>\n",
\r
705 "x": 5096.566665649414,
\r
706 "y": 1144.566665649414,
\r
707 "z": "7a2c5977.5cc868",
\r
715 "id": "92bf2c3c.4b1f48",
\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": 5261.629043579102,
\r
721 "y": 1101.4264373779297,
\r
722 "z": "7a2c5977.5cc868",
\r
726 "id": "97714895.6880b8",
\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": 5265.566665649414,
\r
732 "y": 1145.566665649414,
\r
733 "z": "7a2c5977.5cc868",
\r
737 "id": "a17dcb43.36654",
\r
739 "name": "block : atomic",
\r
740 "xml": "<block atomic=\"true\">",
\r
743 "x": 4618.566665649414,
\r
744 "y": 1012.5666656494141,
\r
745 "z": "7a2c5977.5cc868",
\r
754 "id": "55939baf.cd26bc",
\r
756 "name": "block : atomic",
\r
757 "xml": "<block atomic=\"true\">",
\r
760 "x": 4608.566665649414,
\r
761 "y": 1700.5665435791016,
\r
762 "z": "7a2c5977.5cc868",
\r
771 "id": "5175d7af.72a12",
\r
773 "name": "block : atomic",
\r
774 "xml": "<block atomic=\"true\">",
\r
777 "x": 5239.233169555664,
\r
778 "y": 1890.566665649414,
\r
779 "z": "7a2c5977.5cc868",
\r
791 "id": "81d2e905.09274",
\r
794 "xml": "<outcome value='success'>\n",
\r
797 "x": 5066.566665649414,
\r
798 "y": 1891.566665649414,
\r
799 "z": "7a2c5977.5cc868",
\r
807 "id": "55a1f73d.5c93d8",
\r
808 "type": "not-found",
\r
809 "name": "not-found",
\r
810 "xml": "<outcome value='not-found'>\n",
\r
813 "x": 5076.057632446289,
\r
814 "y": 1934.1407012939453,
\r
815 "z": "7a2c5977.5cc868",
\r
823 "id": "5050329c.16639c",
\r
826 "xml": "<outcome value='failure'>\n",
\r
829 "x": 5064.566665649414,
\r
830 "y": 1980.566665649414,
\r
831 "z": "7a2c5977.5cc868",
\r
839 "id": "17672cb7.bdb783",
\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": 5229.629043579102,
\r
845 "y": 1937.4264373779297,
\r
846 "z": "7a2c5977.5cc868",
\r
850 "id": "2763dbec.eed664",
\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": 5233.566665649414,
\r
856 "y": 1981.566665649414,
\r
857 "z": "7a2c5977.5cc868",
\r
861 "id": "633cbeb7.169858",
\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": 5535.566665649414,
\r
868 "y": 1038.566665649414,
\r
869 "z": "7a2c5977.5cc868",
\r
878 "id": "365f4120.012e4e",
\r
881 "xml": "<outcome value='success'>\n",
\r
884 "x": 5758.566665649414,
\r
885 "y": 993.5666656494141,
\r
886 "z": "7a2c5977.5cc868",
\r
894 "id": "ecc11d6d.c862e",
\r
897 "xml": "<outcome value='failure'>\n",
\r
900 "x": 5760.566665649414,
\r
901 "y": 1057.566665649414,
\r
902 "z": "7a2c5977.5cc868",
\r
910 "id": "477c6bc0.f92bb4",
\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": 6093.566665649414,
\r
916 "y": 948.5666656494141,
\r
917 "z": "7a2c5977.5cc868",
\r
921 "id": "15da62b1.5ec4c5",
\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": 5922.566665649414,
\r
927 "y": 1053.566665649414,
\r
928 "z": "7a2c5977.5cc868",
\r
932 "id": "ed0cfcb5.6f799",
\r
934 "name": "block : atomic",
\r
935 "xml": "<block atomic=\"true\">",
\r
938 "x": 5923.566665649414,
\r
939 "y": 990.5666656494141,
\r
940 "z": "7a2c5977.5cc868",
\r
949 "id": "af8cf87c.3e959",
\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": 6094.566665649414,
\r
955 "y": 1056.566665649414,
\r
956 "z": "7a2c5977.5cc868",
\r
960 "id": "29511ba5.29d8ec",
\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": 6095.566665649414,
\r
966 "y": 1005.5666656494141,
\r
967 "z": "7a2c5977.5cc868",
\r
971 "id": "bab31b18.59cf48",
\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": 5582.566665649414,
\r
978 "y": 1107.566665649414,
\r
979 "z": "7a2c5977.5cc868",
\r
985 "id": "5ea2f33c.ca6484",
\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": 5471.566665649414,
\r
991 "y": 1148.566665649414,
\r
992 "z": "7a2c5977.5cc868",
\r
996 "id": "211166d6.cdaa9a",
\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": 5525.566665649414,
\r
1003 "y": 1894.5667877197266,
\r
1004 "z": "7a2c5977.5cc868",
\r
1013 "id": "688b6aa8.d1c6fc",
\r
1014 "type": "failure",
\r
1015 "name": "success",
\r
1016 "xml": "<outcome value='success'>\n",
\r
1019 "x": 5748.566665649414,
\r
1020 "y": 1849.5667877197266,
\r
1021 "z": "7a2c5977.5cc868",
\r
1029 "id": "cebb0d50.db953",
\r
1030 "type": "failure",
\r
1031 "name": "failure",
\r
1032 "xml": "<outcome value='failure'>\n",
\r
1035 "x": 5750.566665649414,
\r
1036 "y": 1913.5667877197266,
\r
1037 "z": "7a2c5977.5cc868",
\r
1045 "id": "1350a764.a43111",
\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": 6083.566665649414,
\r
1051 "y": 1807.5667877197266,
\r
1052 "z": "7a2c5977.5cc868",
\r
1056 "id": "bbeb85e7.eaaa98",
\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": 5909.566665649414,
\r
1062 "y": 1932.5667877197266,
\r
1063 "z": "7a2c5977.5cc868",
\r
1067 "id": "d72320d8.a0b208",
\r
1069 "name": "block : atomic",
\r
1070 "xml": "<block atomic=\"true\">",
\r
1073 "x": 5913.566665649414,
\r
1074 "y": 1846.5667877197266,
\r
1075 "z": "7a2c5977.5cc868",
\r
1078 "1350a764.a43111",
\r
1084 "id": "56aea40d.d80c4c",
\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": 6084.566665649414,
\r
1090 "y": 1912.5667877197266,
\r
1091 "z": "7a2c5977.5cc868",
\r
1095 "id": "339b4703.86709",
\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": 6079.566665649414,
\r
1101 "y": 1861.5667877197266,
\r
1102 "z": "7a2c5977.5cc868",
\r
1106 "id": "f6c10bde.dea908",
\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": 5527.566665649414,
\r
1113 "y": 2053.5667877197266,
\r
1114 "z": "7a2c5977.5cc868",
\r
1120 "id": "47621f66.6345e",
\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": 5572.566665649414,
\r
1127 "y": 1963.5667877197266,
\r
1128 "z": "7a2c5977.5cc868",
\r
1134 "id": "62d8e003.5e65d8",
\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": 5461.566665649414,
\r
1140 "y": 2001.5667877197266,
\r
1141 "z": "7a2c5977.5cc868",
\r
1145 "id": "6876f035.c2a16",
\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": 4456.566665649414,
\r
1152 "y": 2298.566665649414,
\r
1153 "z": "7a2c5977.5cc868",
\r
1159 "id": "f41eeb62.b3bcb",
\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": 4250.566665649414,
\r
1165 "y": 2199.566665649414,
\r
1166 "z": "7a2c5977.5cc868",
\r
1170 "id": "699e7317.6b96a4",
\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": 4224.566665649414,
\r
1176 "y": 2152.566665649414,
\r
1177 "z": "7a2c5977.5cc868",
\r
1181 "id": "a317ded0.bb3c4",
\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": 5665.566665649414,
\r
1188 "y": 1245.566665649414,
\r
1189 "z": "7a2c5977.5cc868",
\r
1195 "id": "6cfa339.cd5cfcc",
\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": 5654.566665649414,
\r
1202 "y": 2118.5667877197266,
\r
1203 "z": "7a2c5977.5cc868",
\r
1209 "id": "c6a5d055.f8bb1",
\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": 6709.566665649414,
\r
1216 "y": 765.5666656494141,
\r
1217 "z": "7a2c5977.5cc868",
\r
1220 "cd3a2dd3.05e5a8",
\r
1221 "1bf85ef.2838b21",
\r
1227 "id": "5fc7bb3c.8d1c74",
\r
1229 "name": "block : atomic",
\r
1230 "xml": "<block atomic=\"true\">",
\r
1233 "x": 2596.566665649414,
\r
1234 "y": 420.56666564941406,
\r
1235 "z": "7a2c5977.5cc868",
\r
1243 "id": "aeab2187.904e6",
\r
1244 "type": "outcome",
\r
1245 "name": "logical-link",
\r
1246 "xml": "<outcome value='logical-link'>\n",
\r
1249 "x": 993.5667877197266,
\r
1250 "y": 815.5667877197266,
\r
1251 "z": "7a2c5977.5cc868",
\r
1259 "id": "e7f6967b.1fb18",
\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": 2159.566665649414,
\r
1266 "y": 514.5666656494141,
\r
1267 "z": "7a2c5977.5cc868",
\r
1270 "e252c083.ada758",
\r
1276 "id": "8a02442.5502738",
\r
1277 "type": "outcomeFalse",
\r
1279 "xml": "<outcome value='false'>\n",
\r
1282 "x": 2480.566665649414,
\r
1283 "y": 496.56666564941406,
\r
1284 "z": "7a2c5977.5cc868",
\r
1290 "id": "e252c083.ada758",
\r
1291 "type": "outcomeTrue",
\r
1293 "xml": "<outcome value='true'>\n",
\r
1296 "x": 2462.566665649414,
\r
1297 "y": 594.5666656494141,
\r
1298 "z": "7a2c5977.5cc868",
\r
1306 "id": "f770d866.8cfe48",
\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": 1416.566665649414,
\r
1312 "y": 718.5666656494141,
\r
1313 "z": "7a2c5977.5cc868",
\r
1317 "id": "d7c3541f.d6d0a",
\r
1319 "name": "block : atomic",
\r
1320 "xml": "<block atomic=\"true\">",
\r
1323 "x": 1170.566665649414,
\r
1324 "y": 808.5666656494141,
\r
1325 "z": "7a2c5977.5cc868",
\r
1328 "f770d866.8cfe48",
\r
1334 "id": "2cea34fe.7ff014",
\r
1335 "type": "comment",
\r
1336 "name": "Question?",
\r
1337 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1339 "x": 4798.566665649414,
\r
1340 "y": 1017.5666656494141,
\r
1341 "z": "7a2c5977.5cc868",
\r
1345 "id": "655303f9.8975f4",
\r
1347 "name": "get p-interface-src from aai",
\r
1348 "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
1351 "x": 4841.566665649414,
\r
1352 "y": 1082.566665649414,
\r
1353 "z": "7a2c5977.5cc868",
\r
1356 "316e9aaa.7c7b56",
\r
1357 "71d04631.299a38",
\r
1363 "id": "b454ce1a.9a4dd",
\r
1365 "name": "get p-interface-dst from aai",
\r
1366 "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
1369 "x": 4838.566665649414,
\r
1370 "y": 1926.566665649414,
\r
1371 "z": "7a2c5977.5cc868",
\r
1375 "55a1f73d.5c93d8",
\r
1381 "id": "4cadce3c.fc3c8",
\r
1382 "type": "comment",
\r
1383 "name": "Question?",
\r
1384 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1386 "x": 4799.566665649414,
\r
1387 "y": 1870.566665649414,
\r
1388 "z": "7a2c5977.5cc868",
\r
1392 "id": "a84decbd.fa4a3",
\r
1394 "name": "get allotted-resource relationship from aai",
\r
1395 "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
1398 "x": 2889.566665649414,
\r
1399 "y": 367.56666564941406,
\r
1400 "z": "7a2c5977.5cc868",
\r
1403 "139101d.c6544fe",
\r
1404 "39ec14f9.5d95cc",
\r
1410 "id": "39ec14f9.5d95cc",
\r
1411 "type": "not-found",
\r
1412 "name": "not-found",
\r
1413 "xml": "<outcome value='not-found'>\n",
\r
1416 "x": 3163.057632446289,
\r
1417 "y": 260.14064025878906,
\r
1418 "z": "7a2c5977.5cc868",
\r
1426 "id": "b220c2f2.2811f8",
\r
1427 "type": "returnFailure",
\r
1428 "name": "return failure",
\r
1429 "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
1431 "x": 3340.629165649414,
\r
1432 "y": 260.42640686035156,
\r
1433 "z": "7a2c5977.5cc868",
\r
1437 "id": "e120429c.bc5038",
\r
1438 "type": "failure",
\r
1439 "name": "failure",
\r
1440 "xml": "<outcome value='failure'>\n",
\r
1443 "x": 3158.566665649414,
\r
1444 "y": 309.56666564941406,
\r
1445 "z": "7a2c5977.5cc868",
\r
1453 "id": "b527f79c.27eb58",
\r
1454 "type": "returnFailure",
\r
1455 "name": "return failure",
\r
1456 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1458 "x": 3340.566665649414,
\r
1459 "y": 309.56666564941406,
\r
1460 "z": "7a2c5977.5cc868",
\r
1464 "id": "139101d.c6544fe",
\r
1465 "type": "success",
\r
1466 "name": "success",
\r
1467 "xml": "<outcome value='success'>\n",
\r
1470 "x": 3162.566665649414,
\r
1471 "y": 360.56666564941406,
\r
1472 "z": "7a2c5977.5cc868",
\r
1480 "id": "5a7a1590.04f2a4",
\r
1482 "name": "block : atomic",
\r
1483 "xml": "<block atomic=\"true\">",
\r
1486 "x": 3342.566665649414,
\r
1487 "y": 360.56666564941406,
\r
1488 "z": "7a2c5977.5cc868",
\r
1496 "id": "868ff940.3c40b8",
\r
1498 "name": "for each allotted-resource relationship",
\r
1499 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
1502 "x": 768.5666656494141,
\r
1503 "y": 744.5666656494141,
\r
1504 "z": "7a2c5977.5cc868",
\r
1512 "id": "53465e88.bf1338",
\r
1513 "type": "switchNode",
\r
1514 "name": "switch related-to",
\r
1515 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1518 "x": 1039.566665649414,
\r
1519 "y": 740.5666656494141,
\r
1520 "z": "7a2c5977.5cc868",
\r
1528 "id": "2acc7de6.ba44da",
\r
1529 "type": "outcome",
\r
1530 "name": "network-policy",
\r
1531 "xml": "<outcome value='network-policy'>\n",
\r
1534 "x": 3318.566665649414,
\r
1535 "y": 558.5666656494141,
\r
1536 "z": "7a2c5977.5cc868",
\r
1544 "id": "1ba0c2fe.530a7d",
\r
1546 "name": "block : atomic",
\r
1547 "xml": "<block atomic=\"true\">",
\r
1550 "x": 3495.5665435791016,
\r
1551 "y": 551.5665435791016,
\r
1552 "z": "7a2c5977.5cc868",
\r
1561 "id": "36b4ef1.f78561",
\r
1563 "name": "set the 1st network-policy-id",
\r
1564 "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
1566 "x": 3738.5665435791016,
\r
1567 "y": 508.56654357910156,
\r
1568 "z": "7a2c5977.5cc868",
\r
1572 "id": "689094f0.f3db04",
\r
1574 "name": "get network-policy from aai",
\r
1575 "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
1578 "x": 3727.5665435791016,
\r
1579 "y": 563.5665435791016,
\r
1580 "z": "7a2c5977.5cc868",
\r
1584 "2fda6ca1.8207e4",
\r
1590 "id": "df158bbf.d20168",
\r
1591 "type": "not-found",
\r
1592 "name": "not-found",
\r
1593 "xml": "<outcome value='not-found'>\n",
\r
1596 "x": 3980.566665649414,
\r
1597 "y": 449.56666564941406,
\r
1598 "z": "7a2c5977.5cc868",
\r
1606 "id": "528123.112cfedc",
\r
1607 "type": "returnFailure",
\r
1608 "name": "return failure",
\r
1609 "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
1611 "x": 4129.138198852539,
\r
1612 "y": 449.85243225097656,
\r
1613 "z": "7a2c5977.5cc868",
\r
1617 "id": "401b1dd2.2d0c84",
\r
1618 "type": "returnFailure",
\r
1619 "name": "return failure",
\r
1620 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1622 "x": 4128.075698852539,
\r
1623 "y": 493.99269104003906,
\r
1624 "z": "7a2c5977.5cc868",
\r
1628 "id": "2fda6ca1.8207e4",
\r
1629 "type": "failure",
\r
1630 "name": "failure",
\r
1631 "xml": "<outcome value='failure'>\n",
\r
1634 "x": 3969.075698852539,
\r
1635 "y": 493.99269104003906,
\r
1636 "z": "7a2c5977.5cc868",
\r
1644 "id": "e75fbbb3.7fba2",
\r
1645 "type": "success",
\r
1646 "name": "success",
\r
1647 "xml": "<outcome value='success'>\n",
\r
1650 "x": 3976.075698852539,
\r
1651 "y": 572.9926910400391,
\r
1652 "z": "7a2c5977.5cc868",
\r
1660 "id": "29685226.26d7b6",
\r
1663 "xml": "<block>\n",
\r
1664 "atomic": "false",
\r
1667 "x": 4115.075698852539,
\r
1668 "y": 572.9926910400391,
\r
1669 "z": "7a2c5977.5cc868",
\r
1678 "id": "b7f6ee59.c1f0a",
\r
1680 "name": "set the max bandwidth",
\r
1681 "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
1683 "x": 4320.566665649414,
\r
1684 "y": 570.5666656494141,
\r
1685 "z": "7a2c5977.5cc868",
\r
1689 "id": "9b0960f2.c7d238",
\r
1690 "type": "execute",
\r
1691 "name": "execute split tp-id to get pnf-name",
\r
1692 "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
1695 "x": 4842.566665649414,
\r
1696 "y": 752.5666656494141,
\r
1697 "z": "7a2c5977.5cc868",
\r
1706 "id": "b5a5d52e.8f7da8",
\r
1707 "type": "failure",
\r
1708 "name": "success",
\r
1709 "xml": "<outcome value='success'>\n",
\r
1712 "x": 5065.566665649414,
\r
1713 "y": 738.5666656494141,
\r
1714 "z": "7a2c5977.5cc868",
\r
1722 "id": "94c0e823.bd83",
\r
1723 "type": "failure",
\r
1724 "name": "failure",
\r
1725 "xml": "<outcome value='failure'>\n",
\r
1728 "x": 5067.566665649414,
\r
1729 "y": 771.5666656494141,
\r
1730 "z": "7a2c5977.5cc868",
\r
1738 "id": "77422c58.e2ca74",
\r
1739 "type": "returnFailure",
\r
1740 "name": "return failure",
\r
1741 "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
1743 "x": 5210.566665649414,
\r
1744 "y": 768.5666656494141,
\r
1745 "z": "7a2c5977.5cc868",
\r
1749 "id": "d2c19564.10c95",
\r
1751 "name": "block : atomic",
\r
1752 "xml": "<block atomic=\"true\">",
\r
1755 "x": 5213.566665649414,
\r
1756 "y": 731.5666656494141,
\r
1757 "z": "7a2c5977.5cc868",
\r
1760 "86b3b06a.5fafe8",
\r
1766 "id": "86b3b06a.5fafe8",
\r
1768 "name": "set pnf-name",
\r
1769 "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
1771 "x": 5375.566665649414,
\r
1772 "y": 726.5666656494141,
\r
1773 "z": "7a2c5977.5cc868",
\r
1777 "id": "ee0171c8.01d89",
\r
1778 "type": "execute",
\r
1779 "name": "execute split tp-id to get pnf-name",
\r
1780 "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
1783 "x": 4856.566665649414,
\r
1784 "y": 1589.5665435791016,
\r
1785 "z": "7a2c5977.5cc868",
\r
1788 "35d69142.81ac16",
\r
1794 "id": "31d8fff7.b254e",
\r
1795 "type": "failure",
\r
1796 "name": "success",
\r
1797 "xml": "<outcome value='success'>\n",
\r
1800 "x": 5079.566665649414,
\r
1801 "y": 1575.5665435791016,
\r
1802 "z": "7a2c5977.5cc868",
\r
1810 "id": "35d69142.81ac16",
\r
1811 "type": "failure",
\r
1812 "name": "failure",
\r
1813 "xml": "<outcome value='failure'>\n",
\r
1816 "x": 5081.566665649414,
\r
1817 "y": 1608.5665435791016,
\r
1818 "z": "7a2c5977.5cc868",
\r
1826 "id": "58956fb.abac91",
\r
1827 "type": "returnFailure",
\r
1828 "name": "return failure",
\r
1829 "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
1831 "x": 5224.566665649414,
\r
1832 "y": 1605.5665435791016,
\r
1833 "z": "7a2c5977.5cc868",
\r
1837 "id": "3036014d.a3b5f6",
\r
1839 "name": "block : atomic",
\r
1840 "xml": "<block atomic=\"true\">",
\r
1843 "x": 5227.566665649414,
\r
1844 "y": 1568.5665435791016,
\r
1845 "z": "7a2c5977.5cc868",
\r
1848 "ad167193.a62748",
\r
1854 "id": "ad167193.a62748",
\r
1856 "name": "set pnf-name",
\r
1857 "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
1859 "x": 5421.566665649414,
\r
1860 "y": 1571.566665649414,
\r
1861 "z": "7a2c5977.5cc868",
\r
1865 "id": "1f3c8c44.a01cfc",
\r
1866 "type": "execute",
\r
1867 "name": "execute properties",
\r
1868 "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
1871 "x": 1019.5666656494141,
\r
1872 "y": 275.56666564941406,
\r
1873 "z": "7a2c5977.5cc868",
\r
1879 "id": "ab06c276.223ba8",
\r
1881 "name": "for each relationship",
\r
1882 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
1885 "x": 5489.566665649414,
\r
1886 "y": 1322.566665649414,
\r
1887 "z": "7a2c5977.5cc868",
\r
1895 "id": "ea9f29c0.504f38",
\r
1896 "type": "switchNode",
\r
1897 "name": "switch related-to",
\r
1898 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
1901 "x": 5695.566665649414,
\r
1902 "y": 1322.566665649414,
\r
1903 "z": "7a2c5977.5cc868",
\r
1911 "id": "f9452712.6e7898",
\r
1912 "type": "outcome",
\r
1913 "name": "tunnel-termination-point",
\r
1914 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
1917 "x": 5910.852310180664,
\r
1918 "y": 1322.388442993164,
\r
1919 "z": "7a2c5977.5cc868",
\r
1927 "id": "2ef61702.ff9d28",
\r
1929 "name": "block : atomic",
\r
1930 "xml": "<block atomic=\"true\">",
\r
1933 "x": 6117.683853149414,
\r
1934 "y": 1322.906997680664,
\r
1935 "z": "7a2c5977.5cc868",
\r
1938 "ad35cc1f.1df8c8",
\r
1939 "fdae5377.6e0e68",
\r
1945 "id": "ad35cc1f.1df8c8",
\r
1947 "name": "set source ttp-id",
\r
1948 "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
1950 "x": 6332.683853149414,
\r
1951 "y": 1284.906997680664,
\r
1952 "z": "7a2c5977.5cc868",
\r
1956 "id": "fdae5377.6e0e68",
\r
1957 "type": "get-resource",
\r
1958 "name": "get-resource src TTP",
\r
1959 "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
1962 "x": 6329.683853149414,
\r
1963 "y": 1323.906997680664,
\r
1964 "z": "7a2c5977.5cc868",
\r
1972 "id": "3c7c23ae.86ecbc",
\r
1975 "xml": "<break>\n",
\r
1977 "x": 6285.183853149414,
\r
1978 "y": 1365.906997680664,
\r
1979 "z": "7a2c5977.5cc868",
\r
1983 "id": "fb285ef7.1b4a58",
\r
1984 "type": "success",
\r
1985 "name": "success",
\r
1986 "xml": "<outcome value='success'>\n",
\r
1989 "x": 6510.183853149414,
\r
1990 "y": 1322.906997680664,
\r
1991 "z": "7a2c5977.5cc868",
\r
1999 "id": "e8c4036a.c50bb8",
\r
2001 "name": "block : atomic",
\r
2002 "xml": "<block atomic=\"true\">",
\r
2005 "x": 6668.183853149414,
\r
2006 "y": 1322.906997680664,
\r
2007 "z": "7a2c5977.5cc868",
\r
2015 "id": "5ff1493f.72bdd",
\r
2017 "name": "set source tunnel tp ip",
\r
2018 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2020 "x": 6875.183853149414,
\r
2021 "y": 1322.906997680664,
\r
2022 "z": "7a2c5977.5cc868",
\r
2026 "id": "3ea9d16d.7e59be",
\r
2028 "name": "for each relationship",
\r
2029 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2032 "x": 5486.566665649414,
\r
2033 "y": 2191.5667877197266,
\r
2034 "z": "7a2c5977.5cc868",
\r
2042 "id": "bfbafb18.47d55",
\r
2043 "type": "switchNode",
\r
2044 "name": "switch related-to",
\r
2045 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2048 "x": 5692.566665649414,
\r
2049 "y": 2191.5667877197266,
\r
2050 "z": "7a2c5977.5cc868",
\r
2058 "id": "4b1bcb13.657274",
\r
2059 "type": "outcome",
\r
2060 "name": "tunnel-termination-point",
\r
2061 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2064 "x": 5907.852310180664,
\r
2065 "y": 2191.3885650634766,
\r
2066 "z": "7a2c5977.5cc868",
\r
2074 "id": "25238122.c9549e",
\r
2076 "name": "block : atomic",
\r
2077 "xml": "<block atomic=\"true\">",
\r
2080 "x": 6114.683853149414,
\r
2081 "y": 2191.9071197509766,
\r
2082 "z": "7a2c5977.5cc868",
\r
2085 "3cddf86c.952478",
\r
2092 "id": "3cddf86c.952478",
\r
2094 "name": "set destination ttp-id",
\r
2095 "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
2097 "x": 6329.683853149414,
\r
2098 "y": 2153.9071197509766,
\r
2099 "z": "7a2c5977.5cc868",
\r
2103 "id": "82ecbff8.c2935",
\r
2104 "type": "get-resource",
\r
2105 "name": "get-resource src TTP",
\r
2106 "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
2109 "x": 6326.683853149414,
\r
2110 "y": 2192.9071197509766,
\r
2111 "z": "7a2c5977.5cc868",
\r
2119 "id": "7c6dea89.5156fc",
\r
2122 "xml": "<break>\n",
\r
2124 "x": 6282.183853149414,
\r
2125 "y": 2234.9071197509766,
\r
2126 "z": "7a2c5977.5cc868",
\r
2130 "id": "f35bec69.fa6618",
\r
2131 "type": "success",
\r
2132 "name": "success",
\r
2133 "xml": "<outcome value='success'>\n",
\r
2136 "x": 6507.183853149414,
\r
2137 "y": 2191.9071197509766,
\r
2138 "z": "7a2c5977.5cc868",
\r
2146 "id": "bca90be9.eb3b4",
\r
2148 "name": "block : atomic",
\r
2149 "xml": "<block atomic=\"true\">",
\r
2152 "x": 6665.183853149414,
\r
2153 "y": 2191.9071197509766,
\r
2154 "z": "7a2c5977.5cc868",
\r
2162 "id": "cc4e410.f7e474",
\r
2164 "name": "set destination tunnel tp ip",
\r
2165 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2167 "x": 6872.183853149414,
\r
2168 "y": 2191.9071197509766,
\r
2169 "z": "7a2c5977.5cc868",
\r
2173 "id": "532eff46.9b467",
\r
2174 "type": "get-resource",
\r
2175 "name": "get-resource src pnf",
\r
2176 "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
2179 "x": 5402.566665649414,
\r
2180 "y": 798.5666656494141,
\r
2181 "z": "7a2c5977.5cc868",
\r
2191 "id": "cfac27d1.f56fb",
\r
2192 "type": "success",
\r
2193 "name": "success",
\r
2194 "xml": "<outcome value='success'>\n",
\r
2197 "x": 5598.066787719727,
\r
2198 "y": 750.5666656494141,
\r
2199 "z": "7a2c5977.5cc868",
\r
2207 "id": "98843042.abae5",
\r
2208 "type": "not-found",
\r
2209 "name": "not-found",
\r
2210 "xml": "<outcome value='not-found'>\n",
\r
2213 "x": 5590.066787719727,
\r
2214 "y": 805.5666656494141,
\r
2215 "z": "7a2c5977.5cc868",
\r
2223 "id": "ad4bc4fb.4375a8",
\r
2226 "xml": "<outcome value='Other'>\n",
\r
2229 "x": 5595.066787719727,
\r
2230 "y": 862.5666656494141,
\r
2231 "z": "7a2c5977.5cc868",
\r
2239 "id": "36f7d7a0.66c5f",
\r
2240 "type": "returnFailure",
\r
2241 "name": "return failure",
\r
2242 "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
2244 "x": 5747.066787719727,
\r
2245 "y": 863.5666656494141,
\r
2246 "z": "7a2c5977.5cc868",
\r
2250 "id": "b64afde.27ba6",
\r
2251 "type": "returnFailure",
\r
2252 "name": "return failure",
\r
2253 "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
2255 "x": 5758.066787719727,
\r
2256 "y": 808.5666656494141,
\r
2257 "z": "7a2c5977.5cc868",
\r
2261 "id": "42953eb.d2e8cc",
\r
2264 "xml": "<block>\n",
\r
2265 "atomic": "false",
\r
2268 "x": 5742.449111938477,
\r
2269 "y": 748.2223358154297,
\r
2270 "z": "7a2c5977.5cc868",
\r
2278 "id": "12009159.0799bf",
\r
2279 "type": "outcome",
\r
2280 "name": "esr-thirdparty-sdnc",
\r
2281 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2284 "x": 6324.566665649414,
\r
2285 "y": 766.5666656494141,
\r
2286 "z": "7a2c5977.5cc868",
\r
2294 "id": "2ed9d78.0097928",
\r
2296 "name": "block : atomic",
\r
2297 "xml": "<block atomic=\"true\">",
\r
2300 "x": 6501.566665649414,
\r
2301 "y": 758.5666656494141,
\r
2302 "z": "7a2c5977.5cc868",
\r
2311 "id": "4bb018ae.9365f",
\r
2313 "name": "for each relationship",
\r
2314 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2317 "x": 5926.566665649414,
\r
2318 "y": 762.5666656494141,
\r
2319 "z": "7a2c5977.5cc868",
\r
2327 "id": "4e52f1e.bbcdb1",
\r
2328 "type": "switchNode",
\r
2329 "name": "switch related-to",
\r
2330 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2333 "x": 6121.566665649414,
\r
2334 "y": 762.5666656494141,
\r
2335 "z": "7a2c5977.5cc868",
\r
2338 "12009159.0799bf",
\r
2344 "id": "63498f0d.93d68",
\r
2346 "name": "set esr-thirdparty-sdnc domainA id",
\r
2347 "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
2349 "x": 6739.566665649414,
\r
2350 "y": 713.5666656494141,
\r
2351 "z": "7a2c5977.5cc868",
\r
2355 "id": "cd3a2dd3.05e5a8",
\r
2356 "type": "success",
\r
2357 "name": "success",
\r
2358 "xml": "<outcome value='success'>\n",
\r
2361 "x": 6919.566665649414,
\r
2362 "y": 756.5666656494141,
\r
2363 "z": "7a2c5977.5cc868",
\r
2371 "id": "1bf85ef.2838b21",
\r
2372 "type": "not-found",
\r
2373 "name": "not-found",
\r
2374 "xml": "<outcome value='not-found'>\n",
\r
2377 "x": 6911.566665649414,
\r
2378 "y": 811.5666656494141,
\r
2379 "z": "7a2c5977.5cc868",
\r
2387 "id": "420343c3.3589dc",
\r
2390 "xml": "<outcome value='Other'>\n",
\r
2393 "x": 6916.566665649414,
\r
2394 "y": 868.5666656494141,
\r
2395 "z": "7a2c5977.5cc868",
\r
2403 "id": "57b6c192.31833",
\r
2404 "type": "returnFailure",
\r
2405 "name": "return failure",
\r
2406 "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
2408 "x": 7068.566665649414,
\r
2409 "y": 869.5666656494141,
\r
2410 "z": "7a2c5977.5cc868",
\r
2414 "id": "f4a0a941.e6174",
\r
2415 "type": "returnFailure",
\r
2416 "name": "return failure",
\r
2417 "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
2419 "x": 7079.566665649414,
\r
2420 "y": 814.5666656494141,
\r
2421 "z": "7a2c5977.5cc868",
\r
2425 "id": "b3c8e8eb.ab9658",
\r
2428 "xml": "<block>\n",
\r
2429 "atomic": "false",
\r
2432 "x": 7063.948989868164,
\r
2433 "y": 754.2223358154297,
\r
2434 "z": "7a2c5977.5cc868",
\r
2442 "id": "a03bd3df.8ec05",
\r
2444 "name": "set controller domainA data",
\r
2445 "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
2447 "x": 7278.566665649414,
\r
2448 "y": 750.5666656494141,
\r
2449 "z": "7a2c5977.5cc868",
\r
2453 "id": "3753ad56.c9003a",
\r
2454 "type": "get-resource",
\r
2455 "name": "get-resource src pnf",
\r
2456 "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
2459 "x": 5443.566665649414,
\r
2460 "y": 1639.566665649414,
\r
2461 "z": "7a2c5977.5cc868",
\r
2464 "a7301f2a.402338",
\r
2471 "id": "a7301f2a.402338",
\r
2472 "type": "success",
\r
2473 "name": "success",
\r
2474 "xml": "<outcome value='success'>\n",
\r
2477 "x": 5639.066787719727,
\r
2478 "y": 1591.566665649414,
\r
2479 "z": "7a2c5977.5cc868",
\r
2487 "id": "5484e700.5c89d",
\r
2488 "type": "not-found",
\r
2489 "name": "not-found",
\r
2490 "xml": "<outcome value='not-found'>\n",
\r
2493 "x": 5631.066787719727,
\r
2494 "y": 1646.566665649414,
\r
2495 "z": "7a2c5977.5cc868",
\r
2503 "id": "215a5bb9.bd15a4",
\r
2506 "xml": "<outcome value='Other'>\n",
\r
2509 "x": 5636.066787719727,
\r
2510 "y": 1703.566665649414,
\r
2511 "z": "7a2c5977.5cc868",
\r
2519 "id": "4e1d6af8.1ffc14",
\r
2520 "type": "returnFailure",
\r
2521 "name": "return failure",
\r
2522 "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
2524 "x": 5788.066787719727,
\r
2525 "y": 1704.566665649414,
\r
2526 "z": "7a2c5977.5cc868",
\r
2530 "id": "474d315c.5dded",
\r
2531 "type": "returnFailure",
\r
2532 "name": "return failure",
\r
2533 "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
2535 "x": 5799.066787719727,
\r
2536 "y": 1649.566665649414,
\r
2537 "z": "7a2c5977.5cc868",
\r
2541 "id": "7fc657c9.5c7cc8",
\r
2544 "xml": "<block>\n",
\r
2545 "atomic": "false",
\r
2548 "x": 5783.449111938477,
\r
2549 "y": 1589.2223358154297,
\r
2550 "z": "7a2c5977.5cc868",
\r
2558 "id": "8a681c82.4147c8",
\r
2559 "type": "outcome",
\r
2560 "name": "esr-thirdparty-sdnc",
\r
2561 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2564 "x": 6365.566665649414,
\r
2565 "y": 1607.566665649414,
\r
2566 "z": "7a2c5977.5cc868",
\r
2574 "id": "25c0f761.e40b7",
\r
2576 "name": "block : atomic",
\r
2577 "xml": "<block atomic=\"true\">",
\r
2580 "x": 6542.566665649414,
\r
2581 "y": 1599.566665649414,
\r
2582 "z": "7a2c5977.5cc868",
\r
2591 "id": "5a87fca6.7b1764",
\r
2593 "name": "for each relationship",
\r
2594 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2597 "x": 5967.566665649414,
\r
2598 "y": 1603.566665649414,
\r
2599 "z": "7a2c5977.5cc868",
\r
2607 "id": "71c1ea6.16ca194",
\r
2608 "type": "switchNode",
\r
2609 "name": "switch related-to",
\r
2610 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2613 "x": 6162.566665649414,
\r
2614 "y": 1603.566665649414,
\r
2615 "z": "7a2c5977.5cc868",
\r
2618 "8a681c82.4147c8",
\r
2624 "id": "5874b3af.124b94",
\r
2625 "type": "execute",
\r
2626 "name": "get esr-thirdparty-sdnc",
\r
2627 "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
2630 "x": 6750.566665649414,
\r
2631 "y": 1606.566665649414,
\r
2632 "z": "7a2c5977.5cc868",
\r
2635 "6cc22362.6b5aa4",
\r
2642 "id": "dc2cab92.383e5",
\r
2644 "name": "set esr-thirdparty-sdnc domainB id",
\r
2645 "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
2647 "x": 6780.566665649414,
\r
2648 "y": 1554.566665649414,
\r
2649 "z": "7a2c5977.5cc868",
\r
2653 "id": "6cc22362.6b5aa4",
\r
2654 "type": "success",
\r
2655 "name": "success",
\r
2656 "xml": "<outcome value='success'>\n",
\r
2659 "x": 6960.566665649414,
\r
2660 "y": 1597.566665649414,
\r
2661 "z": "7a2c5977.5cc868",
\r
2669 "id": "dbd01d5b.37e41",
\r
2670 "type": "not-found",
\r
2671 "name": "not-found",
\r
2672 "xml": "<outcome value='not-found'>\n",
\r
2675 "x": 6952.566665649414,
\r
2676 "y": 1652.566665649414,
\r
2677 "z": "7a2c5977.5cc868",
\r
2685 "id": "f57a568d.3942",
\r
2688 "xml": "<outcome value='Other'>\n",
\r
2691 "x": 6957.566665649414,
\r
2692 "y": 1709.566665649414,
\r
2693 "z": "7a2c5977.5cc868",
\r
2701 "id": "68626ec4.afefc8",
\r
2702 "type": "returnFailure",
\r
2703 "name": "return failure",
\r
2704 "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
2706 "x": 7109.566665649414,
\r
2707 "y": 1710.566665649414,
\r
2708 "z": "7a2c5977.5cc868",
\r
2712 "id": "396bc1e7.c35d2e",
\r
2713 "type": "returnFailure",
\r
2714 "name": "return failure",
\r
2715 "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
2717 "x": 7120.566665649414,
\r
2718 "y": 1655.566665649414,
\r
2719 "z": "7a2c5977.5cc868",
\r
2723 "id": "57bfbb8e.7f8e04",
\r
2726 "xml": "<block>\n",
\r
2727 "atomic": "false",
\r
2730 "x": 7104.948989868164,
\r
2731 "y": 1595.2223358154297,
\r
2732 "z": "7a2c5977.5cc868",
\r
2740 "id": "183ddb54.5f2965",
\r
2742 "name": "set controller domainB data",
\r
2743 "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
2745 "x": 7319.566665649414,
\r
2746 "y": 1591.566665649414,
\r
2747 "z": "7a2c5977.5cc868",
\r
2751 "id": "2a9b5bea.92ec14",
\r
2753 "name": "block : atomic",
\r
2754 "xml": "<block atomic=\"true\">",
\r
2757 "x": 316.56666564941406,
\r
2758 "y": 720.5666656494141,
\r
2759 "z": "7a2c5977.5cc868",
\r
2762 "3a6bcd00.26c4c4",
\r
2768 "id": "3a6bcd00.26c4c4",
\r
2770 "name": "for each allotted-resource relationship",
\r
2771 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
2774 "x": 762.5666656494141,
\r
2775 "y": 579.5666656494141,
\r
2776 "z": "7a2c5977.5cc868",
\r
2784 "id": "22d238c4.fa2b2",
\r
2785 "type": "switchNode",
\r
2786 "name": "switch related-to",
\r
2787 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
2790 "x": 3127.566665649414,
\r
2791 "y": 561.5666656494141,
\r
2792 "z": "7a2c5977.5cc868",
\r
2800 "id": "66f34217.bc91ec",
\r
2801 "type": "outcome",
\r
2802 "name": "network-resource",
\r
2803 "xml": "<outcome value='network-resource'>",
\r
2806 "x": 6327.566665649414,
\r
2807 "y": 840.5666656494141,
\r
2808 "z": "7a2c5977.5cc868",
\r
2816 "id": "8e17eafe.169168",
\r
2818 "name": "block : atomic",
\r
2819 "xml": "<block atomic=\"true\">",
\r
2822 "x": 6504.566665649414,
\r
2823 "y": 832.5666656494141,
\r
2824 "z": "7a2c5977.5cc868",
\r
2832 "id": "39419ce1.8622b4",
\r
2834 "name": "set domainA ethernet layer network-id",
\r
2835 "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
2837 "x": 6739.566665649414,
\r
2838 "y": 956.5666656494141,
\r
2839 "z": "7a2c5977.5cc868",
\r
2843 "id": "2bb9adc0.ca5fca",
\r
2845 "name": "set domainB ethernet layer network-id",
\r
2846 "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
2848 "x": 6779.566665649414,
\r
2849 "y": 1796.566665649414,
\r
2850 "z": "7a2c5977.5cc868",
\r
2854 "id": "63d86b29.fe0a8c",
\r
2856 "name": "block : atomic",
\r
2857 "xml": "<block atomic=\"true\">",
\r
2860 "x": 6544.566665649414,
\r
2861 "y": 1672.566665649414,
\r
2862 "z": "7a2c5977.5cc868",
\r
2870 "id": "15c438a7.4c22d7",
\r
2871 "type": "outcome",
\r
2872 "name": "network-resource",
\r
2873 "xml": "<outcome value='network-resource'>",
\r
2876 "x": 6367.566665649414,
\r
2877 "y": 1680.566665649414,
\r
2878 "z": "7a2c5977.5cc868",
\r
2886 "id": "4f4b77bb.effd9",
\r
2888 "name": "set the max bandwidth",
\r
2889 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
2891 "x": 4319.566665649414,
\r
2892 "y": 616.5666656494141,
\r
2893 "z": "7a2c5977.5cc868",
\r
2897 "id": "a3f33877.70aa",
\r
2898 "type": "execute",
\r
2899 "name": "execute UUID generator for ethernet-service-name",
\r
2900 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
\r
2903 "x": 4341.566665649414,
\r
2904 "y": 751.5666656494141,
\r
2905 "z": "7a2c5977.5cc868",
\r
2911 "id": "b172c901.cf8828",
\r
2912 "type": "execute",
\r
2913 "name": "execute UUID generator for otn-tunnel-name",
\r
2914 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
\r
2917 "x": 4322.566665649414,
\r
2918 "y": 801.5666656494141,
\r
2919 "z": "7a2c5977.5cc868",
\r
2925 "id": "d30b8bfe.c0acd",
\r
2927 "name": "for each allotted-resource",
\r
2928 "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
\r
2931 "x": 1932.566665649414,
\r
2932 "y": 349.56666564941406,
\r
2933 "z": "7a2c5977.5cc868",
\r
2942 "id": "bb8d5638.aa00f",
\r
2944 "name": "set the current allotted-resource-id",
\r
2945 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
\r
2947 "x": 2197.566665649414,
\r
2948 "y": 272.56666564941406,
\r
2949 "z": "7a2c5977.5cc868",
\r
2953 "id": "e8bc0d88.0a94d",
\r
2955 "name": "set query_param",
\r
2956 "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
\r
2958 "x": 4239.566665649414,
\r
2959 "y": 2251.566665649414,
\r
2960 "z": "7a2c5977.5cc868",
\r
2964 "id": "e8d2e62e.a7299",
\r
2966 "name": "unset parameters",
\r
2967 "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
2969 "x": 4222.566665649414,
\r
2970 "y": 4009.566665649414,
\r
2971 "z": "7a2c5977.5cc868",
\r
2975 "id": "4228fba9.d84434",
\r
2977 "name": "set new ethernet-service-name",
\r
2978 "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
2980 "x": 4279.566665649414,
\r
2981 "y": 846.5666656494141,
\r
2982 "z": "7a2c5977.5cc868",
\r
2986 "id": "3f522b00.e7a774",
\r
2988 "name": "for vidx..tmp.otninfo_length[]",
\r
2989 "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
\r
2992 "x": 4268.566665649414,
\r
2993 "y": 2491.566665649414,
\r
2994 "z": "7a2c5977.5cc868",
\r
3002 "id": "a84a4901.ab0e28",
\r
3004 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
3005 "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
3008 "x": 5396.566665649414,
\r
3009 "y": 2998.566665649414,
\r
3010 "z": "7a2c5977.5cc868",
\r
3018 "id": "e8742cf6.070f98",
\r
3020 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
3021 "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
3024 "x": 5969.066665649414,
\r
3025 "y": 3102.566665649414,
\r
3026 "z": "7a2c5977.5cc868",
\r
3032 "id": "bd40be8c.dbbe2",
\r
3033 "type": "success",
\r
3034 "name": "success",
\r
3035 "xml": "<outcome value='success'>\n",
\r
3038 "x": 5702.566665649414,
\r
3039 "y": 2997.566665649414,
\r
3040 "z": "7a2c5977.5cc868",
\r
3048 "id": "62dd0574.924774",
\r
3051 "xml": "<block>\n",
\r
3052 "atomic": "false",
\r
3055 "x": 5912.066665649414,
\r
3056 "y": 2997.820571899414,
\r
3057 "z": "7a2c5977.5cc868",
\r
3063 "id": "dfdbadd6.a714c8",
\r
3064 "type": "execute",
\r
3065 "name": "execute UUID generator for vpn-binding $otnidx",
\r
3066 "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
3069 "x": 5432.566665649414,
\r
3070 "y": 2462.566665649414,
\r
3071 "z": "7a2c5977.5cc868",
\r
3077 "id": "7a29235.bdc29dc",
\r
3078 "type": "switchNode",
\r
3079 "name": "switch otnidx == 0",
\r
3080 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
3083 "x": 5305.566665649414,
\r
3084 "y": 3115.566665649414,
\r
3085 "z": "7a2c5977.5cc868",
\r
3088 "9e040fdf.4e1908",
\r
3094 "id": "9e040fdf.4e1908",
\r
3095 "type": "outcomeTrue",
\r
3097 "xml": "<outcome value='true'>\n",
\r
3100 "x": 5488.566665649414,
\r
3101 "y": 3115.566665649414,
\r
3102 "z": "7a2c5977.5cc868",
\r
3110 "id": "afd9af18.cbf68",
\r
3111 "type": "outcomeFalse",
\r
3113 "xml": "<outcome value='false'>\n",
\r
3116 "x": 5313.566665649414,
\r
3117 "y": 3262.566665649414,
\r
3118 "z": "7a2c5977.5cc868",
\r
3126 "id": "2165c5b.74a7eba",
\r
3127 "type": "switchNode",
\r
3128 "name": "switch otnidx == last",
\r
3129 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",
\r
3132 "x": 5654.566665649414,
\r
3133 "y": 3343.566665649414,
\r
3134 "z": "7a2c5977.5cc868",
\r
3143 "id": "be7f13b1.86e45",
\r
3144 "type": "outcomeTrue",
\r
3146 "xml": "<outcome value='true'>\n",
\r
3149 "x": 5839.566665649414,
\r
3150 "y": 3344.566665649414,
\r
3151 "z": "7a2c5977.5cc868",
\r
3159 "id": "d545210.3bcece",
\r
3160 "type": "outcomeFalse",
\r
3162 "xml": "<outcome value='false'>\n",
\r
3165 "x": 5858.566665649414,
\r
3166 "y": 3610.566665649414,
\r
3167 "z": "7a2c5977.5cc868",
\r
3175 "id": "76fed0d3.50c2b8",
\r
3177 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
3178 "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
3181 "x": 6269.566665649414,
\r
3182 "y": 3345.566665649414,
\r
3183 "z": "7a2c5977.5cc868",
\r
3189 "id": "70c2d887.ebd89",
\r
3190 "type": "execute",
\r
3191 "name": "execute UUID generator for connectivity domain otnidx",
\r
3192 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
\r
3195 "x": 6343.566665649414,
\r
3196 "y": 3643.566665649414,
\r
3197 "z": "7a2c5977.5cc868",
\r
3203 "id": "6dff6f96.bdd14",
\r
3205 "name": "save connectivity resource in AAI",
\r
3206 "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
3209 "x": 6279.566665649414,
\r
3210 "y": 3694.566665649414,
\r
3211 "z": "7a2c5977.5cc868",
\r
3217 "id": "da14d71e.29e388",
\r
3219 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
3220 "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
3223 "x": 6408.566665649414,
\r
3224 "y": 3744.566665649414,
\r
3225 "z": "7a2c5977.5cc868",
\r
3231 "id": "36a913e9.1aa2ec",
\r
3232 "type": "comment",
\r
3233 "name": "connectivity has not been created for middle domains, so we have to create one",
\r
3236 "x": 6418.566665649414,
\r
3237 "y": 3587.566665649414,
\r
3238 "z": "7a2c5977.5cc868",
\r
3242 "id": "e8dd53ff.bedac8",
\r
3244 "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
\r
3245 "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
3248 "x": 6376.566665649414,
\r
3249 "y": 3803.566665649414,
\r
3250 "z": "7a2c5977.5cc868",
\r
3256 "id": "a5e2b559.bb92b8",
\r
3258 "name": "block : atomic",
\r
3259 "xml": "<block atomic='true'>",
\r
3263 "x": 6015.566665649414,
\r
3264 "y": 3611.566665649414,
\r
3265 "z": "7a2c5977.5cc868",
\r
3270 "da14d71e.29e388",
\r
3271 "e8dd53ff.bedac8",
\r
3277 "id": "bc62ddbe.40b578",
\r
3279 "name": "block : atomic",
\r
3280 "xml": "<block atomic='true'>",
\r
3284 "x": 4525.566665649414,
\r
3285 "y": 2491.566665649414,
\r
3286 "z": "7a2c5977.5cc868",
\r
3289 "dfdbadd6.a714c8",
\r
3290 "a84a4901.ab0e28",
\r
3291 "7a29235.bdc29dc",
\r
3293 "d3bd92d0.f9c398",
\r
3300 "id": "e594bba7.4a822",
\r
3302 "name": "set attachment_param domain A",
\r
3303 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",
\r
3305 "x": 5893.566665649414,
\r
3306 "y": 3159.566665649414,
\r
3307 "z": "7a2c5977.5cc868",
\r
3311 "id": "87b29bcd.d06e1",
\r
3312 "type": "execute",
\r
3313 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3314 "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
3317 "x": 5946.566665649414,
\r
3318 "y": 3203.566665649414,
\r
3319 "z": "7a2c5977.5cc868",
\r
3322 "5032251f.1cf2d4",
\r
3328 "id": "be6cefef.c756f",
\r
3329 "type": "failure",
\r
3330 "name": "failure",
\r
3331 "xml": "<outcome value='failure'>\n",
\r
3334 "x": 6217.566665649414,
\r
3335 "y": 3188.566665649414,
\r
3336 "z": "7a2c5977.5cc868",
\r
3344 "id": "5032251f.1cf2d4",
\r
3345 "type": "success",
\r
3346 "name": "success",
\r
3347 "xml": "<outcome value='success'>\n",
\r
3350 "x": 6215.566879272461,
\r
3351 "y": 3246.566575050354,
\r
3352 "z": "7a2c5977.5cc868",
\r
3360 "id": "9820d829.628f68",
\r
3361 "type": "returnFailure",
\r
3362 "name": "return failure",
\r
3363 "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
3365 "x": 6357.566913604736,
\r
3366 "y": 3188.5666666030884,
\r
3367 "z": "7a2c5977.5cc868",
\r
3371 "id": "d853eef3.2531b",
\r
3374 "xml": "<block>\n",
\r
3375 "atomic": "false",
\r
3378 "x": 6363.593925476074,
\r
3379 "y": 3237.31206035614,
\r
3380 "z": "7a2c5977.5cc868",
\r
3386 "id": "4d493b22.a954ac",
\r
3389 "xml": "<block>\n",
\r
3390 "atomic": "false",
\r
3393 "x": 5629.566665649414,
\r
3394 "y": 3105.566665649414,
\r
3395 "z": "7a2c5977.5cc868",
\r
3398 "e8742cf6.070f98",
\r
3404 "id": "fa774d24.89417",
\r
3407 "xml": "<block>\n",
\r
3408 "atomic": "false",
\r
3411 "x": 5973.566665649414,
\r
3412 "y": 3345.566665649414,
\r
3413 "z": "7a2c5977.5cc868",
\r
3416 "76fed0d3.50c2b8",
\r
3422 "id": "1f8bf5f5.3f985a",
\r
3424 "name": "set attachment_param domain B",
\r
3425 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",
\r
3427 "x": 6193.566665649414,
\r
3428 "y": 3389.566665649414,
\r
3429 "z": "7a2c5977.5cc868",
\r
3433 "id": "56138fb2.fa508",
\r
3434 "type": "execute",
\r
3435 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3436 "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
3439 "x": 6244.566665649414,
\r
3440 "y": 3433.566665649414,
\r
3441 "z": "7a2c5977.5cc868",
\r
3444 "c11f4412.596988",
\r
3450 "id": "3d65e0af.86bdc",
\r
3451 "type": "failure",
\r
3452 "name": "failure",
\r
3453 "xml": "<outcome value='failure'>\n",
\r
3456 "x": 6507.566665649414,
\r
3457 "y": 3413.566665649414,
\r
3458 "z": "7a2c5977.5cc868",
\r
3466 "id": "c11f4412.596988",
\r
3467 "type": "success",
\r
3468 "name": "success",
\r
3469 "xml": "<outcome value='success'>\n",
\r
3472 "x": 6508.566879272461,
\r
3473 "y": 3464.566575050354,
\r
3474 "z": "7a2c5977.5cc868",
\r
3482 "id": "ab4947b8.f3efc8",
\r
3483 "type": "returnFailure",
\r
3484 "name": "return failure",
\r
3485 "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
3487 "x": 6647.566913604736,
\r
3488 "y": 3413.5666666030884,
\r
3489 "z": "7a2c5977.5cc868",
\r
3493 "id": "42fcaa4.0e80754",
\r
3496 "xml": "<block>\n",
\r
3497 "atomic": "false",
\r
3500 "x": 6653.593925476074,
\r
3501 "y": 3462.31206035614,
\r
3502 "z": "7a2c5977.5cc868",
\r
3508 "id": "74474f32.496d08",
\r
3510 "name": "set attachment_param domain otnidx",
\r
3511 "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
3513 "x": 6290.566665649414,
\r
3514 "y": 3863.566665649414,
\r
3515 "z": "7a2c5977.5cc868",
\r
3519 "id": "c12964ef.831f2",
\r
3521 "name": "get all-vpn-bindings from aai",
\r
3522 "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
3525 "x": 3609.566665649414,
\r
3526 "y": 4210.566665649414,
\r
3527 "z": "7a2c5977.5cc868",
\r
3530 "46b1e3df.d037b4",
\r
3531 "12132e54.c462e2",
\r
3537 "id": "46b1e3df.d037b4",
\r
3538 "type": "success",
\r
3539 "name": "success",
\r
3540 "xml": "<outcome value='success'>\n",
\r
3543 "x": 3797.566665649414,
\r
3544 "y": 4223.566665649414,
\r
3545 "z": "7a2c5977.5cc868",
\r
3553 "id": "12132e54.c462e2",
\r
3554 "type": "not-found",
\r
3555 "name": "not-found",
\r
3556 "xml": "<outcome value='not-found'>\n",
\r
3559 "x": 3798.057632446289,
\r
3560 "y": 4269.140701293945,
\r
3561 "z": "7a2c5977.5cc868",
\r
3569 "id": "bec1d9b0.34cbd8",
\r
3570 "type": "failure",
\r
3571 "name": "failure",
\r
3572 "xml": "<outcome value='failure'>\n",
\r
3575 "x": 3795.566665649414,
\r
3576 "y": 4312.566665649414,
\r
3577 "z": "7a2c5977.5cc868",
\r
3585 "id": "57bca9f.85d5a58",
\r
3587 "name": "block : atomic",
\r
3588 "xml": "<block atomic=\"true\">",
\r
3591 "x": 3970.566665649414,
\r
3592 "y": 4221.566665649414,
\r
3593 "z": "7a2c5977.5cc868",
\r
3601 "id": "6123f77d.b84b7",
\r
3602 "type": "returnFailure",
\r
3603 "name": "return failure",
\r
3604 "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
3606 "x": 3960.6290435791016,
\r
3607 "y": 4269.42643737793,
\r
3608 "z": "7a2c5977.5cc868",
\r
3612 "id": "c1bcff3.65bc5",
\r
3613 "type": "returnFailure",
\r
3614 "name": "return failure",
\r
3615 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
3617 "x": 3962.566665649414,
\r
3618 "y": 4311.566665649414,
\r
3619 "z": "7a2c5977.5cc868",
\r
3623 "id": "6a14b8fb.57e66",
\r
3625 "name": "for vidx..tmp.otninfo_length[]",
\r
3626 "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",
\r
3629 "x": 3598.566665649414,
\r
3630 "y": 4401.566665649414,
\r
3631 "z": "7a2c5977.5cc868",
\r
3639 "id": "5a7ba4c6.c66bd4",
\r
3641 "name": "block : atomic",
\r
3642 "xml": "<block atomic='true'>",
\r
3646 "x": 4408.566665649414,
\r
3647 "y": 4401.566665649414,
\r
3648 "z": "7a2c5977.5cc868",
\r
3656 "id": "7025e4fd.b3ba94",
\r
3658 "name": "for vidx..tmp.otninfo_length[]",
\r
3659 "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",
\r
3662 "x": 4180.566665649414,
\r
3663 "y": 4401.566665649414,
\r
3664 "z": "7a2c5977.5cc868",
\r
3672 "id": "714d6791.87f3b8",
\r
3674 "name": "set providerValue",
\r
3675 "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
3677 "x": 5300.566665649414,
\r
3678 "y": 4168.566665649414,
\r
3679 "z": "7a2c5977.5cc868",
\r
3683 "id": "820ac720.b45068",
\r
3686 "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",
\r
3688 "x": 5602.566665649414,
\r
3689 "y": 3294.566665649414,
\r
3690 "z": "7a2c5977.5cc868",
\r
3694 "id": "48643fac.9b7948",
\r
3697 "xml": "<block>\n",
\r
3698 "atomic": "false",
\r
3701 "x": 5437.566665649414,
\r
3702 "y": 3269.566665649414,
\r
3703 "z": "7a2c5977.5cc868",
\r
3706 "820ac720.b45068",
\r
3712 "id": "b8b8c8f9.3c3308",
\r
3714 "name": "set tmp.arr",
\r
3715 "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
3717 "x": 1891.566665649414,
\r
3718 "y": 299.56666564941406,
\r
3719 "z": "7a2c5977.5cc868",
\r
3723 "id": "48f214f2.afe82c",
\r
3725 "name": "for vpnidx in all-vpn-bindings",
\r
3726 "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",
\r
3729 "x": 4199.566665649414,
\r
3730 "y": 4222.566665649414,
\r
3731 "z": "7a2c5977.5cc868",
\r
3739 "id": "13a3ad3e.ce4b03",
\r
3741 "name": "block : atomic",
\r
3742 "xml": "<block atomic='true'>",
\r
3746 "x": 4414.566665649414,
\r
3747 "y": 4223.566665649414,
\r
3748 "z": "7a2c5977.5cc868",
\r
3756 "id": "54a1b0ce.796af",
\r
3758 "name": "for arridx in tmp.arr",
\r
3759 "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",
\r
3762 "x": 5867.566665649414,
\r
3763 "y": 4143.566665649414,
\r
3764 "z": "7a2c5977.5cc868",
\r
3772 "id": "5f82b085.2694c",
\r
3773 "type": "switchNode",
\r
3774 "name": "switch $tmp.arr_length != 0",
\r
3775 "xml": "<switch test='`$tmp.arr_length != 0`'>\n",
\r
3778 "x": 5333.566665649414,
\r
3779 "y": 4223.566665649414,
\r
3780 "z": "7a2c5977.5cc868",
\r
3789 "id": "64f08945.d78fe",
\r
3790 "type": "outcomeTrue",
\r
3792 "xml": "<outcome value='true'>\n",
\r
3795 "x": 5529.566665649414,
\r
3796 "y": 4193.566665649414,
\r
3797 "z": "7a2c5977.5cc868",
\r
3805 "id": "c8f5bcb9.62dc",
\r
3806 "type": "outcomeFalse",
\r
3808 "xml": "<outcome value='false'>\n",
\r
3811 "x": 5530.566665649414,
\r
3812 "y": 4264.566665649414,
\r
3813 "z": "7a2c5977.5cc868",
\r
3821 "id": "bfcf40e9.39a97",
\r
3823 "name": "block : atomic",
\r
3824 "xml": "<block atomic='true'>",
\r
3828 "x": 5680.566665649414,
\r
3829 "y": 4191.566665649414,
\r
3830 "z": "7a2c5977.5cc868",
\r
3839 "id": "1cad0dda.a27a62",
\r
3840 "type": "switchNode",
\r
3841 "name": "switch tmp.arr[$arridx] == $providerValue",
\r
3842 "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",
\r
3845 "x": 6158.566665649414,
\r
3846 "y": 4143.566665649414,
\r
3847 "z": "7a2c5977.5cc868",
\r
3856 "id": "ef1aab2d.dfd7e",
\r
3857 "type": "outcomeTrue",
\r
3859 "xml": "<outcome value='true'>\n",
\r
3862 "x": 6433.566665649414,
\r
3863 "y": 4112.566665649414,
\r
3864 "z": "7a2c5977.5cc868",
\r
3872 "id": "c7951c87.3f94f8",
\r
3873 "type": "outcomeFalse",
\r
3875 "xml": "<outcome value='false'>\n",
\r
3878 "x": 6434.566665649414,
\r
3879 "y": 4183.566665649414,
\r
3880 "z": "7a2c5977.5cc868",
\r
3888 "id": "3158c3e7.0f4f1c",
\r
3890 "name": "block : atomic",
\r
3891 "xml": "<block atomic='true'>",
\r
3895 "x": 6584.566665649414,
\r
3896 "y": 4110.566665649414,
\r
3897 "z": "7a2c5977.5cc868",
\r
3900 "c68342ac.2196d8",
\r
3902 "cc632799.cbb108",
\r
3903 "245ca61c.76b612",
\r
3909 "id": "c68342ac.2196d8",
\r
3911 "name": "set found to true",
\r
3912 "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",
\r
3914 "x": 6772.566665649414,
\r
3915 "y": 4070.566665649414,
\r
3916 "z": "7a2c5977.5cc868",
\r
3920 "id": "a6f93050.eee23",
\r
3922 "name": "store $arridx somewhere in vpn-binding",
\r
3923 "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
3926 "x": 6844.566665649414,
\r
3927 "y": 4115.566665649414,
\r
3928 "z": "7a2c5977.5cc868",
\r
3934 "id": "939302e5.823e3",
\r
3936 "name": "set twoD arr",
\r
3937 "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
3939 "x": 6759.566665649414,
\r
3940 "y": 4242.566665649414,
\r
3941 "z": "7a2c5977.5cc868",
\r
3945 "id": "245ca61c.76b612",
\r
3947 "name": "set sizeOfSliceList",
\r
3948 "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",
\r
3950 "x": 6780.566665649414,
\r
3951 "y": 4178.566665649414,
\r
3952 "z": "7a2c5977.5cc868",
\r
3956 "id": "f29be22.ac73ba",
\r
3958 "name": "block : atomic",
\r
3959 "xml": "<block atomic='true'>",
\r
3963 "x": 5682.566665649414,
\r
3964 "y": 4264.566665649414,
\r
3965 "z": "7a2c5977.5cc868",
\r
3974 "id": "b939d5a3.62c49",
\r
3976 "name": "store $arridx somewhere in vpn-binding",
\r
3977 "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
3980 "x": 5937.566665649414,
\r
3981 "y": 4257.566665649414,
\r
3982 "z": "7a2c5977.5cc868",
\r
3988 "id": "19ae4c6e.0e8cdc",
\r
3990 "name": "set twoD array",
\r
3991 "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
3993 "x": 5865.566665649414,
\r
3994 "y": 4304.566665649414,
\r
3995 "z": "7a2c5977.5cc868",
\r
3999 "id": "5025eb6e.6416ac",
\r
4000 "type": "switchNode",
\r
4001 "name": "switch found?",
\r
4002 "xml": "<switch test='`$found`'>\n",
\r
4005 "x": 5858.566665649414,
\r
4006 "y": 4188.566665649414,
\r
4007 "z": "7a2c5977.5cc868",
\r
4010 "5f0ac92a.2af9f8",
\r
4016 "id": "5f0ac92a.2af9f8",
\r
4017 "type": "outcomeTrue",
\r
4019 "xml": "<outcome value='true'>\n",
\r
4022 "x": 6018.566665649414,
\r
4023 "y": 4180.566665649414,
\r
4024 "z": "7a2c5977.5cc868",
\r
4032 "id": "5a001e78.4b9ed8",
\r
4033 "type": "outcomeFalse",
\r
4035 "xml": "<outcome value='false'>\n",
\r
4038 "x": 6016.566665649414,
\r
4039 "y": 4217.566665649414,
\r
4040 "z": "7a2c5977.5cc868",
\r
4048 "id": "26dc24b4.633a24",
\r
4051 "xml": "<block>\n",
\r
4052 "atomic": "false",
\r
4055 "x": 6143.566665649414,
\r
4056 "y": 4180.566665649414,
\r
4057 "z": "7a2c5977.5cc868",
\r
4063 "id": "88be3e5.2470dc",
\r
4065 "name": "store $arridx+1 somewhere in vpn-binding",
\r
4066 "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
4069 "x": 6450.566665649414,
\r
4070 "y": 4238.566665649414,
\r
4071 "z": "7a2c5977.5cc868",
\r
4077 "id": "77dbb1e6.82cb3",
\r
4079 "name": "block : atomic",
\r
4080 "xml": "<block atomic='true'>",
\r
4084 "x": 6176.566665649414,
\r
4085 "y": 4225.566665649414,
\r
4086 "z": "7a2c5977.5cc868",
\r
4095 "id": "7d97455b.7a4494",
\r
4097 "name": "set twoD array",
\r
4098 "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
4100 "x": 6367.566665649414,
\r
4101 "y": 4284.566665649414,
\r
4102 "z": "7a2c5977.5cc868",
\r
4106 "id": "18af5fa5.bfa388",
\r
4109 "xml": "<block>\n",
\r
4110 "atomic": "false",
\r
4113 "x": 6567.566665649414,
\r
4114 "y": 4182.566665649414,
\r
4115 "z": "7a2c5977.5cc868",
\r
4121 "id": "cc632799.cbb108",
\r
4124 "xml": "<break>\n",
\r
4126 "x": 6738.566665649414,
\r
4127 "y": 4309.566665649414,
\r
4128 "z": "7a2c5977.5cc868",
\r
4132 "id": "ea78e7b3.e08de",
\r
4133 "type": "switchNode",
\r
4134 "name": "switch dstPort == NULL",
\r
4135 "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
\r
4138 "x": 5135.566665649414,
\r
4139 "y": 2521.566665649414,
\r
4140 "z": "7a2c5977.5cc868",
\r
4143 "11f77bdc.5c21c4",
\r
4149 "id": "11f77bdc.5c21c4",
\r
4150 "type": "outcomeTrue",
\r
4152 "xml": "<outcome value='true'>\n",
\r
4155 "x": 5524.566665649414,
\r
4156 "y": 2499.566665649414,
\r
4157 "z": "7a2c5977.5cc868",
\r
4165 "id": "4e61ac39.13325c",
\r
4166 "type": "outcomeFalse",
\r
4168 "xml": "<outcome value='false'>\n",
\r
4171 "x": 5525.566665649414,
\r
4172 "y": 2545.566665649414,
\r
4173 "z": "7a2c5977.5cc868",
\r
4181 "id": "7430e7ea.530e58",
\r
4183 "name": "set access-provider-id and client-id",
\r
4184 "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
4186 "x": 5738.566665649414,
\r
4187 "y": 2498.566665649414,
\r
4188 "z": "7a2c5977.5cc868",
\r
4192 "id": "40bd7840.ab6ab8",
\r
4194 "name": "set access-provider-id and client-id",
\r
4195 "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
4197 "x": 5736.566665649414,
\r
4198 "y": 2543.566665649414,
\r
4199 "z": "7a2c5977.5cc868",
\r
4203 "id": "d757ef24.d8b4b8",
\r
4205 "name": "set attachment_param sliceG",
\r
4206 "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
4208 "x": 4661.566665649414,
\r
4209 "y": 4399.566665649414,
\r
4210 "z": "7a2c5977.5cc868",
\r
4214 "id": "b77c6069.584e4",
\r
4215 "type": "execute",
\r
4216 "name": "execute RestApiCallNode sliceG creation domainG",
\r
4217 "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
4220 "x": 4246.566665649414,
\r
4221 "y": 4507.566665649414,
\r
4222 "z": "7a2c5977.5cc868",
\r
4225 "ba44af6e.91f5c8",
\r
4231 "id": "3bd2b367.4ad41c",
\r
4232 "type": "failure",
\r
4233 "name": "failure",
\r
4234 "xml": "<outcome value='failure'>\n",
\r
4237 "x": 4529.566665649414,
\r
4238 "y": 4487.566665649414,
\r
4239 "z": "7a2c5977.5cc868",
\r
4247 "id": "ba44af6e.91f5c8",
\r
4248 "type": "success",
\r
4249 "name": "success",
\r
4250 "xml": "<outcome value='success'>\n",
\r
4253 "x": 4530.566879272461,
\r
4254 "y": 4538.566575050354,
\r
4255 "z": "7a2c5977.5cc868",
\r
4263 "id": "37d6233a.1b0304",
\r
4264 "type": "returnFailure",
\r
4265 "name": "return failure",
\r
4266 "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
4268 "x": 4669.566913604736,
\r
4269 "y": 4487.566666603088,
\r
4270 "z": "7a2c5977.5cc868",
\r
4274 "id": "37a623d1.3ee5dc",
\r
4277 "xml": "<block>\n",
\r
4278 "atomic": "false",
\r
4281 "x": 4675.593925476074,
\r
4282 "y": 4536.31206035614,
\r
4283 "z": "7a2c5977.5cc868",
\r
4289 "id": "d3bd92d0.f9c398",
\r
4291 "name": "set srcdstpnf-name",
\r
4292 "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
4294 "x": 5319.566665649414,
\r
4295 "y": 2641.566665649414,
\r
4296 "z": "7a2c5977.5cc868",
\r
4300 "id": "a0d9c335.32979",
\r
4301 "type": "get-resource",
\r
4302 "name": "get-resource tmp.srcdstpnf-name",
\r
4303 "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
4306 "x": 5363.566665649414,
\r
4307 "y": 2689.566665649414,
\r
4308 "z": "7a2c5977.5cc868",
\r
4311 "36774af5.729fc6",
\r
4318 "id": "36774af5.729fc6",
\r
4319 "type": "success",
\r
4320 "name": "success",
\r
4321 "xml": "<outcome value='success'>\n",
\r
4324 "x": 5576.066665649414,
\r
4325 "y": 2636.566665649414,
\r
4326 "z": "7a2c5977.5cc868",
\r
4334 "id": "692ec606.1c0bf",
\r
4335 "type": "not-found",
\r
4336 "name": "not-found",
\r
4337 "xml": "<outcome value='not-found'>\n",
\r
4340 "x": 5588.066665649414,
\r
4341 "y": 2686.566665649414,
\r
4342 "z": "7a2c5977.5cc868",
\r
4350 "id": "a64279c9.e169f8",
\r
4353 "xml": "<outcome value='Other'>\n",
\r
4356 "x": 5579.066665649414,
\r
4357 "y": 2741.566665649414,
\r
4358 "z": "7a2c5977.5cc868",
\r
4366 "id": "4198105e.daee7",
\r
4367 "type": "returnFailure",
\r
4368 "name": "return failure",
\r
4369 "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
4371 "x": 5724.066665649414,
\r
4372 "y": 2740.566665649414,
\r
4373 "z": "7a2c5977.5cc868",
\r
4377 "id": "b3f7be01.e6de6",
\r
4378 "type": "returnFailure",
\r
4379 "name": "return failure",
\r
4380 "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
4382 "x": 5735.066665649414,
\r
4383 "y": 2683.566665649414,
\r
4384 "z": "7a2c5977.5cc868",
\r
4388 "id": "24f01093.ed22",
\r
4391 "xml": "<block>\n",
\r
4392 "atomic": "false",
\r
4395 "x": 5701.449111938477,
\r
4396 "y": 2630.2223358154297,
\r
4397 "z": "7a2c5977.5cc868",
\r
4405 "id": "70fdda05.22abe4",
\r
4406 "type": "outcome",
\r
4407 "name": "esr-thirdparty-sdnc",
\r
4408 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
4411 "x": 6260.566665649414,
\r
4412 "y": 2648.566665649414,
\r
4413 "z": "7a2c5977.5cc868",
\r
4421 "id": "5724269.b9bddd8",
\r
4423 "name": "block : atomic",
\r
4424 "xml": "<block atomic=\"true\">",
\r
4427 "x": 6437.566665649414,
\r
4428 "y": 2640.566665649414,
\r
4429 "z": "7a2c5977.5cc868",
\r
4432 "29fcda51.42b766",
\r
4438 "id": "96aa274b.2af748",
\r
4440 "name": "for each relationship",
\r
4441 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
\r
4444 "x": 5862.566665649414,
\r
4445 "y": 2644.566665649414,
\r
4446 "z": "7a2c5977.5cc868",
\r
4454 "id": "c5ea1030.bae808",
\r
4455 "type": "switchNode",
\r
4456 "name": "switch related-to",
\r
4457 "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
4460 "x": 6057.566665649414,
\r
4461 "y": 2644.566665649414,
\r
4462 "z": "7a2c5977.5cc868",
\r
4470 "id": "d5b1f1ff.e7e908",
\r
4471 "type": "execute",
\r
4472 "name": "get esr-thirdparty-sdnc",
\r
4473 "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
4476 "x": 6645.566665649414,
\r
4477 "y": 2647.566665649414,
\r
4478 "z": "7a2c5977.5cc868",
\r
4481 "56bf4e9f.3968f8",
\r
4488 "id": "29fcda51.42b766",
\r
4490 "name": "set esr-thirdparty-sdnc domainG id",
\r
4491 "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
4493 "x": 6675.566665649414,
\r
4494 "y": 2595.566665649414,
\r
4495 "z": "7a2c5977.5cc868",
\r
4499 "id": "56bf4e9f.3968f8",
\r
4500 "type": "success",
\r
4501 "name": "success",
\r
4502 "xml": "<outcome value='success'>\n",
\r
4505 "x": 6855.566665649414,
\r
4506 "y": 2638.566665649414,
\r
4507 "z": "7a2c5977.5cc868",
\r
4515 "id": "437d47d9.20134",
\r
4516 "type": "not-found",
\r
4517 "name": "not-found",
\r
4518 "xml": "<outcome value='not-found'>\n",
\r
4521 "x": 6847.566665649414,
\r
4522 "y": 2693.566665649414,
\r
4523 "z": "7a2c5977.5cc868",
\r
4531 "id": "1f059162.8a738f",
\r
4534 "xml": "<outcome value='Other'>\n",
\r
4537 "x": 6852.566665649414,
\r
4538 "y": 2750.566665649414,
\r
4539 "z": "7a2c5977.5cc868",
\r
4547 "id": "b0293f66.5c8dc",
\r
4548 "type": "returnFailure",
\r
4549 "name": "return failure",
\r
4550 "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
4552 "x": 7004.566665649414,
\r
4553 "y": 2751.566665649414,
\r
4554 "z": "7a2c5977.5cc868",
\r
4558 "id": "7f43de09.864508",
\r
4559 "type": "returnFailure",
\r
4560 "name": "return failure",
\r
4561 "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
4563 "x": 7015.566665649414,
\r
4564 "y": 2696.566665649414,
\r
4565 "z": "7a2c5977.5cc868",
\r
4569 "id": "1dc1cb6d.3c36b5",
\r
4572 "xml": "<block>\n",
\r
4573 "atomic": "false",
\r
4576 "x": 6999.948989868164,
\r
4577 "y": 2636.2223358154297,
\r
4578 "z": "7a2c5977.5cc868",
\r
4586 "id": "966090bf.048df8",
\r
4588 "name": "set controller domainA data",
\r
4589 "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
4591 "x": 7214.566665649414,
\r
4592 "y": 2632.566665649414,
\r
4593 "z": "7a2c5977.5cc868",
\r
4597 "id": "d21b0d43.234748",
\r
4599 "name": "block : atomic",
\r
4600 "xml": "<block atomic='true'>",
\r
4604 "x": 3830.566665649414,
\r
4605 "y": 4399.566665649414,
\r
4606 "z": "7a2c5977.5cc868",
\r
4609 "7025e4fd.b3ba94",
\r
4615 "id": "df425f50.085b58",
\r
4616 "type": "switchNode",
\r
4617 "name": "switch dmnsidx == 0 (domainA)",
\r
4618 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
4621 "x": 5333.566665649414,
\r
4622 "y": 2858.566665649414,
\r
4623 "z": "7a2c5977.5cc868",
\r
4632 "id": "f12d2166.2196f",
\r
4633 "type": "outcomeTrue",
\r
4635 "xml": "<outcome value='true'>\n",
\r
4638 "x": 5534.566665649414,
\r
4639 "y": 2856.566665649414,
\r
4640 "z": "7a2c5977.5cc868",
\r
4648 "id": "c9eeec2d.e136b",
\r
4650 "name": "set attachment_param domain A",
\r
4651 "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
4653 "x": 5748.566665649414,
\r
4654 "y": 2858.566665649414,
\r
4655 "z": "7a2c5977.5cc868",
\r
4659 "id": "cb7ac096.290b9",
\r
4660 "type": "switchNode",
\r
4661 "name": "switch dmnsidx == last (domainB)",
\r
4662 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
\r
4665 "x": 5751.566665649414,
\r
4666 "y": 2907.566665649414,
\r
4667 "z": "7a2c5977.5cc868",
\r
4670 "69e4928.c222dec",
\r
4676 "id": "69e4928.c222dec",
\r
4677 "type": "outcomeTrue",
\r
4679 "xml": "<outcome value='true'>\n",
\r
4682 "x": 5981.566665649414,
\r
4683 "y": 2903.566665649414,
\r
4684 "z": "7a2c5977.5cc868",
\r
4692 "id": "2b076d1.a6bcd92",
\r
4694 "name": "set attachment_param domain B",
\r
4695 "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
4697 "x": 6195.566665649414,
\r
4698 "y": 2906.566665649414,
\r
4699 "z": "7a2c5977.5cc868",
\r
4703 "id": "682813b1.580324",
\r
4704 "type": "outcomeFalse",
\r
4706 "xml": "<outcome value='false'>\n",
\r
4709 "x": 5534.566665649414,
\r
4710 "y": 2905.566665649414,
\r
4711 "z": "7a2c5977.5cc868",
\r
4719 "id": "f0c4a8ec.842b18",
\r
4720 "type": "outcomeFalse",
\r
4722 "xml": "<outcome value='false'>\n",
\r
4725 "x": 5982.566665649414,
\r
4726 "y": 2949.566665649414,
\r
4727 "z": "7a2c5977.5cc868",
\r
4735 "id": "707799e0.88ec2",
\r
4737 "name": "set attachment_param domain G",
\r
4738 "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
4740 "x": 6196.566665649414,
\r
4741 "y": 2949.566665649414,
\r
4742 "z": "7a2c5977.5cc868",
\r
4746 "id": "850f3d1.0a8294",
\r
4748 "name": "set tmp.slicevpns",
\r
4749 "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
4751 "x": 6094.566665649414,
\r
4752 "y": 2998.566665649414,
\r
4753 "z": "7a2c5977.5cc868",
\r
4757 "id": "aaee7064.6ec4a8",
\r
4758 "type": "switchNode",
\r
4759 "name": "switch vpnuuid is for this slice",
\r
4760 "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
4763 "x": 4658.566665649414,
\r
4764 "y": 4222.566665649414,
\r
4765 "z": "7a2c5977.5cc868",
\r
4774 "id": "89261301.f79ae",
\r
4775 "type": "outcomeTrue",
\r
4777 "xml": "<outcome value='true'>\n",
\r
4780 "x": 4875.566665649414,
\r
4781 "y": 4201.566665649414,
\r
4782 "z": "7a2c5977.5cc868",
\r
4790 "id": "bc254e44.388f98",
\r
4791 "type": "outcomeFalse",
\r
4793 "xml": "<outcome value='false'>\n",
\r
4796 "x": 4875.566665649414,
\r
4797 "y": 4250.566665649414,
\r
4798 "z": "7a2c5977.5cc868",
\r
4804 "id": "b99882e3.9c25b8",
\r
4806 "name": "block : atomic",
\r
4807 "xml": "<block atomic='true'>",
\r
4811 "x": 5043.566665649414,
\r
4812 "y": 4201.566665649414,
\r
4813 "z": "7a2c5977.5cc868",
\r
4816 "714d6791.87f3b8",
\r
4822 "id": "67e01b15.d67c64",
\r
4824 "name": "get logical-link from aai",
\r
4825 "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
4828 "x": 1380.566650390625,
\r
4829 "y": 835.566650390625,
\r
4830 "z": "7a2c5977.5cc868",
\r
4840 "id": "fdf74857.41608",
\r
4841 "type": "not-found",
\r
4842 "name": "not-found",
\r
4843 "xml": "<outcome value='not-found'>\n",
\r
4846 "x": 1596.057632446289,
\r
4847 "y": 799.1406402587891,
\r
4848 "z": "7a2c5977.5cc868",
\r
4856 "id": "ee4e91c.5d8d17",
\r
4857 "type": "failure",
\r
4858 "name": "failure",
\r
4859 "xml": "<outcome value='failure'>\n",
\r
4862 "x": 1584.566665649414,
\r
4863 "y": 843.5666656494141,
\r
4864 "z": "7a2c5977.5cc868",
\r
4872 "id": "43b6bc30.e8a804",
\r
4873 "type": "returnFailure",
\r
4874 "name": "return failure",
\r
4875 "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
4877 "x": 1744.629165649414,
\r
4878 "y": 799.4264068603516,
\r
4879 "z": "7a2c5977.5cc868",
\r
4883 "id": "a4b65a55.9111d",
\r
4884 "type": "returnFailure",
\r
4885 "name": "return failure",
\r
4886 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
4888 "x": 1743.566665649414,
\r
4889 "y": 843.5666656494141,
\r
4890 "z": "7a2c5977.5cc868",
\r
4894 "id": "855c696.c46c118",
\r
4895 "type": "success",
\r
4896 "name": "success",
\r
4897 "xml": "<outcome value='success'>\n",
\r
4900 "x": 1589.566665649414,
\r
4901 "y": 886.5666656494141,
\r
4902 "z": "7a2c5977.5cc868",
\r
4910 "id": "2b531922.e9da96",
\r
4912 "name": "block : atomic",
\r
4913 "xml": "<block atomic='true'>",
\r
4917 "x": 735.5666656494141,
\r
4918 "y": 1225.566665649414,
\r
4919 "z": "7a2c5977.5cc868",
\r
4927 "id": "7c91e56b.1594b4",
\r
4929 "name": "for each svc-instance relationship",
\r
4930 "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
\r
4933 "x": 1009.5666656494141,
\r
4934 "y": 1225.566665649414,
\r
4935 "z": "7a2c5977.5cc868",
\r
4943 "id": "bfa4ee31.b57fd",
\r
4944 "type": "switchNode",
\r
4945 "name": "switch related-to",
\r
4946 "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
\r
4949 "x": 1244.900161743164,
\r
4950 "y": 1226.566665649414,
\r
4951 "z": "7a2c5977.5cc868",
\r
4959 "id": "ccebaa1.97cf958",
\r
4960 "type": "outcome",
\r
4961 "name": "connectivity",
\r
4962 "xml": "<outcome value='connectivity'>\n",
\r
4965 "x": 528.5669097900391,
\r
4966 "y": 1379.566665649414,
\r
4967 "z": "7a2c5977.5cc868",
\r
4975 "id": "36292c23.d5bad4",
\r
4977 "name": "get connectivity from aai",
\r
4978 "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
4981 "x": 917.5666656494141,
\r
4982 "y": 1384.566665649414,
\r
4983 "z": "7a2c5977.5cc868",
\r
4986 "f72960d6.00c9a8",
\r
4987 "cf896404.076eb8",
\r
4993 "id": "f72960d6.00c9a8",
\r
4994 "type": "success",
\r
4995 "name": "success",
\r
4996 "xml": "<outcome value='success'>\n",
\r
4999 "x": 1113.566665649414,
\r
5000 "y": 1349.566665649414,
\r
5001 "z": "7a2c5977.5cc868",
\r
5009 "id": "cf896404.076eb8",
\r
5010 "type": "not-found",
\r
5011 "name": "not-found",
\r
5012 "xml": "<outcome value='not-found'>\n",
\r
5015 "x": 1114.057632446289,
\r
5016 "y": 1395.1407012939453,
\r
5017 "z": "7a2c5977.5cc868",
\r
5025 "id": "8c05370a.85ef68",
\r
5026 "type": "failure",
\r
5027 "name": "failure",
\r
5028 "xml": "<outcome value='failure'>\n",
\r
5031 "x": 1078.566665649414,
\r
5032 "y": 1440.566665649414,
\r
5033 "z": "7a2c5977.5cc868",
\r
5041 "id": "c0ebf57b.8932c",
\r
5042 "type": "returnFailure",
\r
5043 "name": "return failure",
\r
5044 "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
5046 "x": 1273.629165649414,
\r
5047 "y": 1392.4264068603516,
\r
5048 "z": "7a2c5977.5cc868",
\r
5052 "id": "ac014ec8.afc2c",
\r
5053 "type": "returnFailure",
\r
5054 "name": "return failure",
\r
5055 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
5057 "x": 1231.566665649414,
\r
5058 "y": 1442.566665649414,
\r
5059 "z": "7a2c5977.5cc868",
\r
5063 "id": "ab34961f.f94a7",
\r
5064 "type": "switchNode",
\r
5065 "name": "switch loglink-id exists in conn",
\r
5066 "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",
\r
5069 "x": 1506.566665649414,
\r
5070 "y": 1332.566665649414,
\r
5071 "z": "7a2c5977.5cc868",
\r
5080 "id": "743d201b.02ef4",
\r
5081 "type": "outcomeTrue",
\r
5083 "xml": "<outcome value='true'>\n",
\r
5086 "x": 1717.566665649414,
\r
5087 "y": 1297.566665649414,
\r
5088 "z": "7a2c5977.5cc868",
\r
5096 "id": "96c2bcb9.b7be6",
\r
5097 "type": "outcomeFalse",
\r
5099 "xml": "<outcome value='false'>\n",
\r
5102 "x": 1714.566665649414,
\r
5103 "y": 1358.566665649414,
\r
5104 "z": "7a2c5977.5cc868",
\r
5110 "id": "b2c89b06.1d18",
\r
5112 "name": "set currLinkIsFound",
\r
5113 "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",
\r
5115 "x": 2055.566665649414,
\r
5116 "y": 1270.566665649414,
\r
5117 "z": "7a2c5977.5cc868",
\r
5121 "id": "bc409e2e.3633b",
\r
5123 "name": "block : atomic",
\r
5124 "xml": "<block atomic=\"true\">",
\r
5127 "x": 1869.566665649414,
\r
5128 "y": 1298.566665649414,
\r
5129 "z": "7a2c5977.5cc868",
\r
5137 "id": "8e75c992.3dcad8",
\r
5140 "xml": "<break>\n",
\r
5142 "x": 2022.566665649414,
\r
5143 "y": 1326.566665649414,
\r
5144 "z": "7a2c5977.5cc868",
\r
5148 "id": "aabee6e1.198dd8",
\r
5149 "type": "comment",
\r
5150 "name": "currLinkIsFound. Go to the next logical-link",
\r
5153 "x": 2027.566665649414,
\r
5154 "y": 1220.566665649414,
\r
5155 "z": "7a2c5977.5cc868",
\r
5159 "id": "ef9e5601.232bf8",
\r
5160 "type": "switchNode",
\r
5161 "name": "switch currLinkIsFound",
\r
5162 "xml": "<switch test='`$currLinkIsFound`'>\n",
\r
5165 "x": 1309.566665649414,
\r
5166 "y": 950.5666656494141,
\r
5167 "z": "7a2c5977.5cc868",
\r
5170 "b3aa3ada.f160e8",
\r
5176 "id": "b3aa3ada.f160e8",
\r
5177 "type": "outcomeTrue",
\r
5179 "xml": "<outcome value='true'>\n",
\r
5182 "x": 1495.566665649414,
\r
5183 "y": 929.5666656494141,
\r
5184 "z": "7a2c5977.5cc868",
\r
5192 "id": "b7eb38ae.e82468",
\r
5193 "type": "outcomeFalse",
\r
5195 "xml": "<outcome value='false'>\n",
\r
5198 "x": 1492.566665649414,
\r
5199 "y": 1065.566665649414,
\r
5200 "z": "7a2c5977.5cc868",
\r
5208 "id": "92e1cebb.b308b8",
\r
5210 "name": "block : atomic",
\r
5211 "xml": "<block atomic=\"true\">",
\r
5214 "x": 1737.566665649414,
\r
5215 "y": 924.5666656494141,
\r
5216 "z": "7a2c5977.5cc868",
\r
5222 "id": "33f6edc7.c109aa",
\r
5223 "type": "comment",
\r
5224 "name": "A new logical-link has been found: modify process should be triggered",
\r
5227 "x": 1683.566665649414,
\r
5228 "y": 1028.566665649414,
\r
5229 "z": "7a2c5977.5cc868",
\r
5233 "id": "3b76e03e.4509b",
\r
5235 "name": "block : atomic",
\r
5236 "xml": "<block atomic=\"true\">",
\r
5239 "x": 1277.566665649414,
\r
5240 "y": 1333.566665649414,
\r
5241 "z": "7a2c5977.5cc868",
\r
5250 "id": "1c716952.137bb7",
\r
5251 "type": "switchNode",
\r
5252 "name": "switch connectivityBW == gfp",
\r
5253 "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",
\r
5256 "x": 1507.566665649414,
\r
5257 "y": 1423.566665649414,
\r
5258 "z": "7a2c5977.5cc868",
\r
5261 "7f55db50.0bbafc",
\r
5267 "id": "7f55db50.0bbafc",
\r
5268 "type": "outcomeTrue",
\r
5270 "xml": "<outcome value='true'>\n",
\r
5273 "x": 1712.566665649414,
\r
5274 "y": 1419.566665649414,
\r
5275 "z": "7a2c5977.5cc868",
\r
5281 "id": "ba68eea1.e9a338",
\r
5282 "type": "outcomeFalse",
\r
5284 "xml": "<outcome value='false'>\n",
\r
5287 "x": 1714.566665649414,
\r
5288 "y": 1469.566665649414,
\r
5289 "z": "7a2c5977.5cc868",
\r
5297 "id": "e266b7f2.fe727",
\r
5299 "name": "set bwModified",
\r
5300 "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",
\r
5302 "x": 2063.566665649414,
\r
5303 "y": 1447.566665649414,
\r
5304 "z": "7a2c5977.5cc868",
\r
5308 "id": "94ed181a.25fe8",
\r
5310 "name": "block : atomic",
\r
5311 "xml": "<block atomic=\"true\">",
\r
5314 "x": 1868.566665649414,
\r
5315 "y": 1468.566665649414,
\r
5316 "z": "7a2c5977.5cc868",
\r
5325 "id": "c9ff8521.2183a8",
\r
5327 "name": "for each relationship",
\r
5328 "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
\r
5331 "x": 888.5666656494141,
\r
5332 "y": 1673.566665649414,
\r
5333 "z": "7a2c5977.5cc868",
\r
5341 "id": "2fcf0107.404b9e",
\r
5342 "type": "switchNode",
\r
5343 "name": "switch related-to",
\r
5344 "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
\r
5347 "x": 1093.566665649414,
\r
5348 "y": 1673.566665649414,
\r
5349 "z": "7a2c5977.5cc868",
\r
5357 "id": "f620da7d.b85a28",
\r
5358 "type": "outcome",
\r
5359 "name": "vpn-binding",
\r
5360 "xml": "<outcome value='vpn-binding'>\n",
\r
5363 "x": 1259.566665649414,
\r
5364 "y": 1673.566665649414,
\r
5365 "z": "7a2c5977.5cc868",
\r
5373 "id": "5afceee0.e00098",
\r
5375 "name": "block : atomic",
\r
5376 "xml": "<block atomic=\"true\">",
\r
5379 "x": 1422.566665649414,
\r
5380 "y": 1673.566665649414,
\r
5381 "z": "7a2c5977.5cc868",
\r
5390 "id": "a52b001a.5c9b18",
\r
5392 "name": "unset tmp.aai.vpn-binding",
\r
5393 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
5395 "x": 1651.566665649414,
\r
5396 "y": 1613.566665649414,
\r
5397 "z": "7a2c5977.5cc868",
\r
5401 "id": "da12db00.5b12d",
\r
5403 "name": "get vpn-binding from aai",
\r
5404 "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
5407 "x": 1160.566665649414,
\r
5408 "y": 1767.566665649414,
\r
5409 "z": "7a2c5977.5cc868",
\r
5419 "id": "e1e2e790.cb03a8",
\r
5421 "name": "block : atomic",
\r
5422 "xml": "<block atomic=\"true\">",
\r
5425 "x": 1544.566665649414,
\r
5426 "y": 1767.566665649414,
\r
5427 "z": "7a2c5977.5cc868",
\r
5430 "37781926.bbe2d6",
\r
5431 "76e90665.699c78",
\r
5437 "id": "88650b88.fc30d",
\r
5438 "type": "success",
\r
5439 "name": "success",
\r
5440 "xml": "<outcome value='success'>\n",
\r
5443 "x": 1371.566665649414,
\r
5444 "y": 1769.566665649414,
\r
5445 "z": "7a2c5977.5cc868",
\r
5453 "id": "ec560486.50e96",
\r
5454 "type": "not-found",
\r
5455 "name": "not-found",
\r
5456 "xml": "<outcome value='not-found'>\n",
\r
5459 "x": 1372.057632446289,
\r
5460 "y": 1815.1407012939453,
\r
5461 "z": "7a2c5977.5cc868",
\r
5469 "id": "25b4ff2b.4b18b8",
\r
5470 "type": "failure",
\r
5471 "name": "failure",
\r
5472 "xml": "<outcome value='failure'>\n",
\r
5475 "x": 1369.566665649414,
\r
5476 "y": 1858.566665649414,
\r
5477 "z": "7a2c5977.5cc868",
\r
5485 "id": "704847a.0ccbeb8",
\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": 1536.566665649414,
\r
5491 "y": 1875.566665649414,
\r
5492 "z": "7a2c5977.5cc868",
\r
5496 "id": "3ccd5736.62782",
\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": 1534.6290435791016,
\r
5502 "y": 1815.4264373779297,
\r
5503 "z": "7a2c5977.5cc868",
\r
5507 "id": "6f5f9c23.47e85c",
\r
5509 "name": "block : atomic",
\r
5510 "xml": "<block atomic=\"true\">",
\r
5513 "x": 700.5666656494141,
\r
5514 "y": 1379.566665649414,
\r
5515 "z": "7a2c5977.5cc868",
\r
5518 "36292c23.d5bad4",
\r
5524 "id": "96bb2834.ab4d4",
\r
5526 "name": "unset tmp.aai.connectivity",
\r
5527 "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",
\r
5529 "x": 920.5666656494141,
\r
5530 "y": 1327.566665649414,
\r
5531 "z": "7a2c5977.5cc868",
\r
5535 "id": "37781926.bbe2d6",
\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": 1895.066665649414,
\r
5542 "y": 1762.566665649414,
\r
5543 "z": "7a2c5977.5cc868",
\r
5549 "id": "76e90665.699c78",
\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": 1822.066665649414,
\r
5556 "y": 1826.566665649414,
\r
5557 "z": "7a2c5977.5cc868",
\r
5563 "id": "9be1948a.b31058",
\r
5564 "type": "comment",
\r
5565 "name": "The following two nodes are for PCE",
\r
5568 "x": 1971.566650390625,
\r
5569 "y": 46.566673278808594,
\r
5570 "z": "7a2c5977.5cc868",
\r
5574 "id": "57401e8a.a8ecc",
\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": 1921.566650390625,
\r
5581 "y": 99.5666732788086,
\r
5582 "z": "7a2c5977.5cc868",
\r
5588 "id": "86a1c6ac.aa4d9",
\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": 1931.566650390625,
\r
5595 "y": 138.56668090820312,
\r
5596 "z": "7a2c5977.5cc868",
\r
5602 "id": "fc1cf650.aa6b18",
\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": 4246.566665649414,
\r
5609 "y": 2360.566665649414,
\r
5610 "z": "7a2c5977.5cc868",
\r
5616 "id": "cc9240f8.8f7cd",
\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": 5537.566665649414,
\r
5623 "y": 1197.566665649414,
\r
5624 "z": "7a2c5977.5cc868",
\r
5630 "id": "3b99997f.82150e",
\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": 4435.567077636719,
\r
5637 "y": 2417.566696166992,
\r
5638 "z": "7a2c5977.5cc868",
\r
5644 "id": "2ab2958e.345c6a",
\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",
\r
5650 "x": 2888.9000854492188,
\r
5651 "y": 2464.5668182373047,
\r
5652 "z": "7a2c5977.5cc868",
\r
5655 "21c7a96f.230fc6",
\r
5661 "id": "a4bfb1a.7ba14d",
\r
5662 "type": "outcomeFalse",
\r
5664 "xml": "<outcome value='false'>\n",
\r
5667 "x": 3102.9000244140625,
\r
5668 "y": 2477.566696166992,
\r
5669 "z": "7a2c5977.5cc868",
\r
5677 "id": "21c7a96f.230fc6",
\r
5678 "type": "outcomeTrue",
\r
5680 "xml": "<outcome value='true'>\n",
\r
5683 "x": 3083.8999633789062,
\r
5684 "y": 2578.5668182373047,
\r
5685 "z": "7a2c5977.5cc868",
\r
5693 "id": "d5865f6c.c9966",
\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": 3677.2332153320312,
\r
5700 "y": 2420.899948120117,
\r
5701 "z": "7a2c5977.5cc868",
\r
5707 "id": "791966ec.7cb7a",
\r
5710 "xml": "<block>\n",
\r
5711 "atomic": "false",
\r
5714 "x": 3234.2333984375,
\r
5715 "y": 2578.8998260498047,
\r
5716 "z": "7a2c5977.5cc868",
\r
5719 "5c02cdd2.3ba3bc",
\r
5721 "4a5a5654.7a3e18",
\r
5727 "id": "5c02cdd2.3ba3bc",
\r
5728 "type": "execute",
\r
5729 "name": "execute UUID generator for vpn-binding $otnidx",
\r
5730 "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
5733 "x": 3518.2332763671875,
\r
5734 "y": 2584.566696166992,
\r
5735 "z": "7a2c5977.5cc868",
\r
5741 "id": "6d7db185.f222a",
\r
5743 "name": "set attachment_param Same Domain",
\r
5744 "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
5746 "x": 3486.2332763671875,
\r
5747 "y": 2644.899703979492,
\r
5748 "z": "7a2c5977.5cc868",
\r
5752 "id": "4a5a5654.7a3e18",
\r
5754 "name": "save vpn-binding same domain resource (aka. OTN) in AAI",
\r
5755 "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
5758 "x": 3551.5665283203125,
\r
5759 "y": 2700.899703979492,
\r
5760 "z": "7a2c5977.5cc868",
\r
5768 "id": "9d7de4f8.93c768",
\r
5769 "type": "success",
\r
5770 "name": "success",
\r
5771 "xml": "<outcome value='success'>\n",
\r
5774 "x": 3868.5665283203125,
\r
5775 "y": 2702.899703979492,
\r
5776 "z": "7a2c5977.5cc868",
\r
5784 "id": "3ccad972.8b2556",
\r
5787 "xml": "<block>\n",
\r
5788 "atomic": "false",
\r
5791 "x": 4032.0665283203125,
\r
5792 "y": 2702.153610229492,
\r
5793 "z": "7a2c5977.5cc868",
\r
5799 "id": "1ef4d127.0e3e8f",
\r
5801 "name": "save connectivity-domainA relationship to vpn-binding-sameDomain, in AAI",
\r
5802 "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
5805 "x": 3600.23291015625,
\r
5806 "y": 2755.566452026367,
\r
5807 "z": "7a2c5977.5cc868",
\r
5813 "id": "591ba76d.52253",
\r
5816 "xml": "<block>\n",
\r
5817 "atomic": "false",
\r
5820 "x": 3253.8998413085938,
\r
5821 "y": 2443.5668182373047,
\r
5822 "z": "7a2c5977.5cc868",
\r
5831 "id": "ac7ac40f.6ba598",
\r
5833 "name": "set attachment_param for OTN A",
\r
5834 "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",
\r
5837 "y": 2076.33349609375,
\r
5838 "z": "7a2c5977.5cc868",
\r
5842 "id": "e669d16d.38d03",
\r
5844 "name": "set pnf-name",
\r
5845 "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",
\r
5848 "y": 2124.33349609375,
\r
5849 "z": "7a2c5977.5cc868",
\r
5853 "id": "470fb63d.0a55b8",
\r
5854 "type": "get-resource",
\r
5855 "name": "get-resource src pnf",
\r
5856 "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
5860 "y": 2241.33349609375,
\r
5861 "z": "7a2c5977.5cc868",
\r
5864 "bd66b470.31b5d8",
\r
5871 "id": "bd66b470.31b5d8",
\r
5872 "type": "success",
\r
5873 "name": "success",
\r
5874 "xml": "<outcome value='success'>\n",
\r
5877 "x": 802.5001220703125,
\r
5878 "y": 2193.33349609375,
\r
5879 "z": "7a2c5977.5cc868",
\r
5887 "id": "51c8764a.3044c",
\r
5888 "type": "not-found",
\r
5889 "name": "not-found",
\r
5890 "xml": "<outcome value='not-found'>\n",
\r
5893 "x": 794.5001220703125,
\r
5894 "y": 2248.33349609375,
\r
5895 "z": "7a2c5977.5cc868",
\r
5903 "id": "5dbd746e.2a26a4",
\r
5906 "xml": "<block>\n",
\r
5907 "atomic": "false",
\r
5910 "x": 946.8824462890625,
\r
5911 "y": 2192.9891662597656,
\r
5912 "z": "7a2c5977.5cc868",
\r
5920 "id": "a5443da6.ad8678",
\r
5921 "type": "outcome",
\r
5922 "name": "esr-thirdparty-sdnc",
\r
5923 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
5927 "y": 2195.33349609375,
\r
5928 "z": "7a2c5977.5cc868",
\r
5936 "id": "812dd5d1.dde898",
\r
5938 "name": "for each relationship",
\r
5939 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
5943 "y": 2191.33349609375,
\r
5944 "z": "7a2c5977.5cc868",
\r
5952 "id": "7886079.b4f95f8",
\r
5953 "type": "switchNode",
\r
5954 "name": "switch related-to",
\r
5955 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
5959 "y": 2191.33349609375,
\r
5960 "z": "7a2c5977.5cc868",
\r
5968 "id": "abb4bd26.885e5",
\r
5971 "xml": "<outcome value='Other'>\n",
\r
5974 "x": 799.5001220703125,
\r
5975 "y": 2305.33349609375,
\r
5976 "z": "7a2c5977.5cc868",
\r
5984 "id": "e5ef91a4.4dc22",
\r
5985 "type": "returnFailure",
\r
5986 "name": "return failure",
\r
5987 "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
5989 "x": 951.5001220703125,
\r
5990 "y": 2306.33349609375,
\r
5991 "z": "7a2c5977.5cc868",
\r
5995 "id": "4e8d2414.8f8eec",
\r
5996 "type": "returnFailure",
\r
5997 "name": "return failure",
\r
5998 "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
6000 "x": 962.5001220703125,
\r
6001 "y": 2249.33349609375,
\r
6002 "z": "7a2c5977.5cc868",
\r
6006 "id": "b78e417e.9e5128",
\r
6007 "type": "execute",
\r
6008 "name": "get esr-thirdparty-sdnc",
\r
6009 "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
6013 "y": 2208.33349609375,
\r
6014 "z": "7a2c5977.5cc868",
\r
6024 "id": "70a7204b.0ea1d8",
\r
6026 "name": "block : atomic",
\r
6027 "xml": "<block atomic=\"true\">",
\r
6031 "y": 2195.33349609375,
\r
6032 "z": "7a2c5977.5cc868",
\r
6035 "7a83b201.90f15c",
\r
6041 "id": "7a83b201.90f15c",
\r
6043 "name": "set esr-thirdparty-sdnc domainA id",
\r
6044 "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
6047 "y": 2156.33349609375,
\r
6048 "z": "7a2c5977.5cc868",
\r
6052 "id": "2e2e40ce.837fb",
\r
6053 "type": "success",
\r
6054 "name": "success",
\r
6055 "xml": "<outcome value='success'>\n",
\r
6059 "y": 2199.33349609375,
\r
6060 "z": "7a2c5977.5cc868",
\r
6068 "id": "b317a2a6.81686",
\r
6069 "type": "not-found",
\r
6070 "name": "not-found",
\r
6071 "xml": "<outcome value='not-found'>\n",
\r
6075 "y": 2254.33349609375,
\r
6076 "z": "7a2c5977.5cc868",
\r
6084 "id": "2a5f3037.5e6bf",
\r
6087 "xml": "<outcome value='Other'>\n",
\r
6091 "y": 2311.33349609375,
\r
6092 "z": "7a2c5977.5cc868",
\r
6100 "id": "c5782cdd.b4cf6",
\r
6101 "type": "returnFailure",
\r
6102 "name": "return failure",
\r
6103 "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
6106 "y": 2312.33349609375,
\r
6107 "z": "7a2c5977.5cc868",
\r
6111 "id": "83f0e85f.95d068",
\r
6112 "type": "returnFailure",
\r
6113 "name": "return failure",
\r
6114 "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
6117 "y": 2257.33349609375,
\r
6118 "z": "7a2c5977.5cc868",
\r
6122 "id": "5b2aca6e.68dd9c",
\r
6125 "xml": "<block>\n",
\r
6126 "atomic": "false",
\r
6129 "x": 2268.38232421875,
\r
6130 "y": 2196.9891662597656,
\r
6131 "z": "7a2c5977.5cc868",
\r
6139 "id": "28d41ca6.66cafc",
\r
6141 "name": "set controller domainA data",
\r
6142 "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
6145 "y": 2193.33349609375,
\r
6146 "z": "7a2c5977.5cc868",
\r
6150 "id": "8559d791.3348a",
\r
6152 "name": "set vpn-bindingA and connectivityA",
\r
6153 "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",
\r
6156 "y": 2016.33349609375,
\r
6157 "z": "7a2c5977.5cc868",
\r
6161 "id": "2ec1dd57.5743da",
\r
6163 "name": "set sotn_value",
\r
6164 "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$gfp *1000000`' />\n<!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<parameter name='EIR' value='0' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",
\r
6167 "y": 2579.33349609375,
\r
6168 "z": "7a2c5977.5cc868",
\r
6172 "id": "6059dee6.cfa7c",
\r
6173 "type": "execute",
\r
6174 "name": "execute RestApiCallNode Create ethernet Service without token",
\r
6175 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />-->\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service-modify.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivityA.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
\r
6179 "y": 2627.33349609375,
\r
6180 "z": "7a2c5977.5cc868",
\r
6183 "461f2bfe.52478c",
\r
6189 "id": "461f2bfe.52478c",
\r
6190 "type": "failure",
\r
6191 "name": "failure",
\r
6192 "xml": "<outcome value='failure'>\n",
\r
6196 "y": 2608.33349609375,
\r
6197 "z": "7a2c5977.5cc868",
\r
6205 "id": "577c9525.87fa7c",
\r
6206 "type": "success",
\r
6207 "name": "success",
\r
6208 "xml": "<outcome value='success'>\n",
\r
6212 "y": 2648.33349609375,
\r
6213 "z": "7a2c5977.5cc868",
\r
6221 "id": "10f69144.7b4de7",
\r
6222 "type": "returnFailure",
\r
6223 "name": "return failure",
\r
6224 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",
\r
6227 "y": 2608.33349609375,
\r
6228 "z": "7a2c5977.5cc868",
\r
6232 "id": "8cffbf3.0a002c",
\r
6234 "name": "block : atomic",
\r
6235 "xml": "<block atomic=\"true\">",
\r
6240 "y": 2648.33349609375,
\r
6241 "z": "7a2c5977.5cc868",
\r
6244 "c0fd436b.9f0558",
\r
6245 "3a753166.0d0e96",
\r
6251 "id": "55040664.2c4708",
\r
6252 "type": "comment",
\r
6253 "name": "TODO: FIXME:",
\r
6254 "info": "put proper values based on connectivity resource retrieved from AAI",
\r
6257 "y": 2535.33349609375,
\r
6258 "z": "7a2c5977.5cc868",
\r
6262 "id": "c0fd436b.9f0558",
\r
6264 "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",
\r
6265 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",
\r
6268 "x": 1635.000244140625,
\r
6269 "y": 2583.3336181640625,
\r
6270 "z": "7a2c5977.5cc868",
\r
6276 "id": "3a753166.0d0e96",
\r
6278 "name": "update connectivity resource in AAI",
\r
6279 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",
\r
6282 "x": 1562.000244140625,
\r
6283 "y": 2629.3336181640625,
\r
6284 "z": "7a2c5977.5cc868",
\r
6290 "id": "3a73518d.f9cb96",
\r
6292 "name": "update service-instance resource in AAI",
\r
6293 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \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<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",
\r
6296 "x": 1581.750244140625,
\r
6297 "y": 2689.8336181640625,
\r
6298 "z": "7a2c5977.5cc868",
\r
6304 "id": "ce24e399.073d3",
\r
6306 "name": "block : atomic",
\r
6307 "xml": "<block atomic=\"true\">",
\r
6312 "y": 2273.33349609375,
\r
6313 "z": "7a2c5977.5cc868",
\r
6317 "ac7ac40f.6ba598",
\r
6319 "470fb63d.0a55b8",
\r
6320 "2ec1dd57.5743da",
\r
6327 "id": "51061087.32f088",
\r
6329 "name": "unset vpn-bindingA and connectivityA",
\r
6330 "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"\" />\n<parameter name='tmp.aai.connectivityA.' value=\"\" />\n",
\r
6332 "x": 630.3333129882812,
\r
6333 "y": 1956.3333740234375,
\r
6334 "z": "7a2c5977.5cc868",
\r
6338 "id": "a60e8c64.59a75",
\r
6340 "name": "unset the max bandwidth",
\r
6341 "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"\" />\n<parameter name='route-distinguisher' value='' />\n\n\n\n",
\r
6343 "x": 1921.3333740234375,
\r
6344 "y": 193.33334350585938,
\r
6345 "z": "7a2c5977.5cc868",
\r
6349 "id": "ff6e4688.eabb4",
\r
6351 "name": "unset the max bandwidth",
\r
6352 "xml": "<set>\n<parameter name='gfp' value='' />\n\n\n\n",
\r
6354 "x": 1920.3333740234375,
\r
6355 "y": 239.33334350585938,
\r
6356 "z": "7a2c5977.5cc868",
\r