3 "id": "8af466c4.459d38",
\r
9 "z": "4d37a11.42c136",
\r
17 "id": "4f44bc11.1718bc",
\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": 407.2856903076172,
\r
26 "y": 155.23810863494873,
\r
27 "z": "4d37a11.42c136",
\r
35 "id": "25a99bf3.257e24",
\r
37 "name": "method tsli-vnf-topology-operation-trans-slice-allocate",
\r
38 "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",
\r
41 "x": 413.42860412597656,
\r
42 "y": 240.00003051757812,
\r
43 "z": "4d37a11.42c136",
\r
51 "id": "e0aece26.83282",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 783.238037109375,
\r
58 "y": 264.66668701171875,
\r
59 "z": "4d37a11.42c136",
\r
69 "id": "19dfd83.33483a8",
\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": 1084.571533203125,
\r
75 "y": 535.5969848632812,
\r
76 "z": "4d37a11.42c136",
\r
80 "id": "1050151b.02ec53",
\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
88 "z": "4d37a11.42c136",
\r
98 "id": "50a47283.15fbe4",
\r
101 "xml": "<outcome value='success'>\n",
\r
106 "z": "4d37a11.42c136",
\r
114 "id": "b5bb871c.db338",
\r
115 "type": "not-found",
\r
116 "name": "not-found",
\r
117 "xml": "<outcome value='not-found'>\n",
\r
120 "x": 1340.490966796875,
\r
121 "y": 138.57403564453125,
\r
122 "z": "4d37a11.42c136",
\r
130 "id": "a61c0811.039808",
\r
133 "xml": "<outcome value='failure'>\n",
\r
138 "z": "4d37a11.42c136",
\r
146 "id": "80a63fa0.68596",
\r
147 "type": "switchNode",
\r
148 "name": "switch allotted-resources_length != 0",
\r
149 "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",
\r
154 "z": "4d37a11.42c136",
\r
163 "id": "d32b21e7.8cada8",
\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": 1494.0623779296875,
\r
169 "y": 141.85977172851562,
\r
170 "z": "4d37a11.42c136",
\r
174 "id": "229167e8.df6688",
\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
181 "z": "4d37a11.42c136",
\r
185 "id": "a49b8769.572b48",
\r
187 "name": "set the 1st allotted-resource-id",
\r
188 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`\" />\n\n\n",
\r
192 "z": "4d37a11.42c136",
\r
196 "id": "d44d65ef.318f48",
\r
197 "type": "outcomeTrue",
\r
199 "xml": "<outcome value='true'>\n",
\r
204 "z": "4d37a11.42c136",
\r
212 "id": "e1082721.453ff",
\r
213 "type": "outcomeFalse",
\r
215 "xml": "<outcome value='false'>\n",
\r
220 "z": "4d37a11.42c136",
\r
226 "id": "e3f19b5a.145ff8",
\r
228 "name": "new for TransportSlicing",
\r
233 "z": "4d37a11.42c136",
\r
237 "id": "7234fca3.e71404",
\r
240 "xml": "<block>\n",
\r
246 "z": "4d37a11.42c136",
\r
255 "id": "fcc70311.f003c",
\r
257 "name": "set network-route-A",
\r
258 "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",
\r
262 "z": "4d37a11.42c136",
\r
266 "id": "409bbb6d.55b47c",
\r
268 "name": "set network-route-B",
\r
269 "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
\r
273 "z": "4d37a11.42c136",
\r
277 "id": "bd4dde9a.1bdbc8",
\r
279 "name": "get allotted-resource from aai",
\r
280 "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
285 "z": "4d37a11.42c136",
\r
295 "id": "4f2f09b0.4a4f9",
\r
298 "xml": "<outcome value='success'>\n",
\r
303 "z": "4d37a11.42c136",
\r
311 "id": "a509e8e5.13e7a8",
\r
312 "type": "not-found",
\r
313 "name": "not-found",
\r
314 "xml": "<outcome value='not-found'>\n",
\r
317 "x": 2188.490966796875,
\r
318 "y": 201.573974609375,
\r
319 "z": "4d37a11.42c136",
\r
327 "id": "2d1dc418.c3457c",
\r
330 "xml": "<outcome value='failure'>\n",
\r
335 "z": "4d37a11.42c136",
\r
343 "id": "b0eb4825.a76068",
\r
344 "type": "returnFailure",
\r
345 "name": "return failure",
\r
346 "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
349 "y": 201.8597412109375,
\r
350 "z": "4d37a11.42c136",
\r
354 "id": "8d5abfeb.01e9e",
\r
355 "type": "returnFailure",
\r
356 "name": "return failure",
\r
357 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
361 "z": "4d37a11.42c136",
\r
365 "id": "abb2414c.5ad6c8",
\r
367 "name": "get logical-link from aai",
\r
368 "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
373 "z": "4d37a11.42c136",
\r
383 "id": "12473ca6.c43deb",
\r
384 "type": "not-found",
\r
385 "name": "not-found",
\r
386 "xml": "<outcome value='not-found'>\n",
\r
389 "x": 1998.490966796875,
\r
390 "y": 702.573974609375,
\r
391 "z": "4d37a11.42c136",
\r
399 "id": "1c108294.607cad",
\r
402 "xml": "<outcome value='failure'>\n",
\r
407 "z": "4d37a11.42c136",
\r
415 "id": "bde422ea.a4cc28",
\r
416 "type": "returnFailure",
\r
417 "name": "return failure",
\r
418 "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
421 "y": 702.8597412109375,
\r
422 "z": "4d37a11.42c136",
\r
426 "id": "da8d3db8.78e6c",
\r
427 "type": "returnFailure",
\r
428 "name": "return failure",
\r
429 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
433 "z": "4d37a11.42c136",
\r
437 "id": "adf5b844.beeba",
\r
440 "xml": "<outcome value='success'>\n",
\r
445 "z": "4d37a11.42c136",
\r
453 "id": "b6fe1d93.64f5d8",
\r
456 "xml": "<block>\n",
\r
462 "z": "4d37a11.42c136",
\r
487 "id": "34d7360f.96bb2a",
\r
489 "name": "get network-route-A from aai",
\r
490 "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
495 "z": "4d37a11.42c136",
\r
505 "id": "48146421.80a074",
\r
507 "name": "get network-route-B from aai",
\r
508 "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
512 "y": 1508.9998779296875,
\r
513 "z": "4d37a11.42c136",
\r
523 "id": "1b983b4f.2c744d",
\r
524 "type": "not-found",
\r
525 "name": "not-found",
\r
526 "xml": "<outcome value='not-found'>\n",
\r
531 "z": "4d37a11.42c136",
\r
539 "id": "83f9f068.59488",
\r
542 "xml": "<outcome value='failure'>\n",
\r
545 "x": 2558.509033203125,
\r
546 "y": 840.426025390625,
\r
547 "z": "4d37a11.42c136",
\r
555 "id": "b0f14e34.bcfcc8",
\r
558 "xml": "<outcome value='success'>\n",
\r
561 "x": 2562.509033203125,
\r
562 "y": 891.426025390625,
\r
563 "z": "4d37a11.42c136",
\r
571 "id": "5a65addc.f9d584",
\r
572 "type": "returnFailure",
\r
573 "name": "return failure",
\r
574 "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
576 "x": 2711.571533203125,
\r
577 "y": 790.2857666015625,
\r
578 "z": "4d37a11.42c136",
\r
582 "id": "60568789.b01d3",
\r
583 "type": "returnFailure",
\r
584 "name": "return failure",
\r
585 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
587 "x": 2701.509033203125,
\r
588 "y": 840.426025390625,
\r
589 "z": "4d37a11.42c136",
\r
593 "id": "191b0cc5.853723",
\r
594 "type": "not-found",
\r
595 "name": "not-found",
\r
596 "xml": "<outcome value='not-found'>\n",
\r
600 "y": 1478.9998779296875,
\r
601 "z": "4d37a11.42c136",
\r
609 "id": "bdfa4737.7997e",
\r
612 "xml": "<outcome value='failure'>\n",
\r
615 "x": 2559.509033203125,
\r
616 "y": 1528.4259033203125,
\r
617 "z": "4d37a11.42c136",
\r
625 "id": "3dcbfde4.8fdb42",
\r
628 "xml": "<outcome value='success'>\n",
\r
631 "x": 2563.509033203125,
\r
632 "y": 1579.4259033203125,
\r
633 "z": "4d37a11.42c136",
\r
641 "id": "63b24300.9bd254",
\r
642 "type": "returnFailure",
\r
643 "name": "return failure",
\r
644 "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
646 "x": 2712.571533203125,
\r
647 "y": 1478.28564453125,
\r
648 "z": "4d37a11.42c136",
\r
652 "id": "f56e5adb.9f7af8",
\r
653 "type": "returnFailure",
\r
654 "name": "return failure",
\r
655 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
657 "x": 2702.509033203125,
\r
658 "y": 1528.4259033203125,
\r
659 "z": "4d37a11.42c136",
\r
663 "id": "f08611d.e85e5f",
\r
665 "name": "block : atomic",
\r
666 "xml": "<block atomic=\"true\">",
\r
669 "x": 3376.66650390625,
\r
671 "z": "4d37a11.42c136",
\r
683 "id": "8b31e4a0.a10748",
\r
686 "xml": "<outcome value='success'>\n",
\r
691 "z": "4d37a11.42c136",
\r
699 "id": "c9553d7.4a532c",
\r
700 "type": "not-found",
\r
701 "name": "not-found",
\r
702 "xml": "<outcome value='not-found'>\n",
\r
705 "x": 3213.490966796875,
\r
706 "y": 978.5740356445312,
\r
707 "z": "4d37a11.42c136",
\r
715 "id": "cf1d45bd.26226",
\r
718 "xml": "<outcome value='failure'>\n",
\r
723 "z": "4d37a11.42c136",
\r
731 "id": "b569fb01.0907f8",
\r
732 "type": "returnFailure",
\r
733 "name": "return failure",
\r
734 "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
736 "x": 3367.0623779296875,
\r
737 "y": 981.8597717285156,
\r
738 "z": "4d37a11.42c136",
\r
742 "id": "8595bfe0.610eb",
\r
743 "type": "returnFailure",
\r
744 "name": "return failure",
\r
745 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
749 "z": "4d37a11.42c136",
\r
753 "id": "4d860946.d83b4",
\r
755 "name": "block : atomic",
\r
756 "xml": "<block atomic=\"true\">",
\r
761 "z": "4d37a11.42c136",
\r
770 "id": "b596324f.8c351",
\r
772 "name": "block : atomic",
\r
773 "xml": "<block atomic=\"true\">",
\r
777 "y": 1580.9998779296875,
\r
778 "z": "4d37a11.42c136",
\r
787 "id": "d0ee2422.3da6b8",
\r
789 "name": "block : atomic",
\r
790 "xml": "<block atomic=\"true\">",
\r
793 "x": 3344.66650390625,
\r
795 "z": "4d37a11.42c136",
\r
807 "id": "33a31a8c.e3b546",
\r
810 "xml": "<outcome value='success'>\n",
\r
815 "z": "4d37a11.42c136",
\r
823 "id": "333e39a9.5e6146",
\r
824 "type": "not-found",
\r
825 "name": "not-found",
\r
826 "xml": "<outcome value='not-found'>\n",
\r
829 "x": 3181.490966796875,
\r
830 "y": 1814.5740356445312,
\r
831 "z": "4d37a11.42c136",
\r
839 "id": "18c9eff6.77ede8",
\r
842 "xml": "<outcome value='failure'>\n",
\r
847 "z": "4d37a11.42c136",
\r
855 "id": "c1fc954e.de2348",
\r
856 "type": "returnFailure",
\r
857 "name": "return failure",
\r
858 "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
860 "x": 3335.0623779296875,
\r
861 "y": 1817.8597717285156,
\r
862 "z": "4d37a11.42c136",
\r
866 "id": "a54283a5.d344c",
\r
867 "type": "returnFailure",
\r
868 "name": "return failure",
\r
869 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
873 "z": "4d37a11.42c136",
\r
877 "id": "bcee177.eb94168",
\r
879 "name": "execute split tp-id to get pnf-name",
\r
880 "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
885 "z": "4d37a11.42c136",
\r
894 "id": "ba14138e.5a08c8",
\r
897 "xml": "<outcome value='success'>\n",
\r
902 "z": "4d37a11.42c136",
\r
910 "id": "60be6e60.f9ecc8",
\r
913 "xml": "<outcome value='failure'>\n",
\r
918 "z": "4d37a11.42c136",
\r
926 "id": "9e9c487d.182678",
\r
928 "name": "set ltpId",
\r
929 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
\r
933 "z": "4d37a11.42c136",
\r
937 "id": "8f5282b4.e9d138",
\r
938 "type": "returnFailure",
\r
939 "name": "return failure",
\r
940 "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
944 "z": "4d37a11.42c136",
\r
948 "id": "9427c16f.fe3b38",
\r
950 "name": "block : atomic",
\r
951 "xml": "<block atomic=\"true\">",
\r
956 "z": "4d37a11.42c136",
\r
965 "id": "7be29fde.94965",
\r
967 "name": "set pnf-name",
\r
968 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
\r
972 "z": "4d37a11.42c136",
\r
976 "id": "305634db.acff34",
\r
978 "name": "TODO: FIXME",
\r
979 "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
983 "z": "4d37a11.42c136",
\r
987 "id": "a4c22219.803cd8",
\r
989 "name": "save connectivity resource in AAI",
\r
990 "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='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='' />\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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
995 "z": "4d37a11.42c136",
\r
1001 "id": "f75d67.7cccfa98",
\r
1002 "type": "execute",
\r
1003 "name": "execute UUID generator for connectivity domainA",
\r
1004 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
\r
1009 "z": "4d37a11.42c136",
\r
1015 "id": "51860532.882634",
\r
1016 "type": "comment",
\r
1017 "name": "TODO: FIXME",
\r
1018 "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
1022 "z": "4d37a11.42c136",
\r
1026 "id": "1c0836ef.f83329",
\r
1027 "type": "execute",
\r
1028 "name": "execute split tp-id to get pnf-name",
\r
1029 "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
1033 "y": 1775.0001220703125,
\r
1034 "z": "4d37a11.42c136",
\r
1037 "9b737b83.c6ca88",
\r
1043 "id": "22a6cd9c.81b312",
\r
1044 "type": "failure",
\r
1045 "name": "success",
\r
1046 "xml": "<outcome value='success'>\n",
\r
1050 "y": 1730.0001220703125,
\r
1051 "z": "4d37a11.42c136",
\r
1059 "id": "9b737b83.c6ca88",
\r
1060 "type": "failure",
\r
1061 "name": "failure",
\r
1062 "xml": "<outcome value='failure'>\n",
\r
1066 "y": 1794.0001220703125,
\r
1067 "z": "4d37a11.42c136",
\r
1075 "id": "c355fa60.d02f7",
\r
1077 "name": "set ltpId",
\r
1078 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
\r
1081 "y": 1688.0001220703125,
\r
1082 "z": "4d37a11.42c136",
\r
1086 "id": "e81f51e1.476528",
\r
1087 "type": "returnFailure",
\r
1088 "name": "return failure",
\r
1089 "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
1092 "y": 1813.0001220703125,
\r
1093 "z": "4d37a11.42c136",
\r
1097 "id": "f2364b58.93416",
\r
1099 "name": "block : atomic",
\r
1100 "xml": "<block atomic=\"true\">",
\r
1104 "y": 1727.0001220703125,
\r
1105 "z": "4d37a11.42c136",
\r
1114 "id": "fbcef05a.30da7",
\r
1116 "name": "set pnf-name",
\r
1117 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
1120 "y": 1793.0001220703125,
\r
1121 "z": "4d37a11.42c136",
\r
1125 "id": "5702bff2.1c714",
\r
1126 "type": "comment",
\r
1127 "name": "TODO: FIXME",
\r
1128 "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
1131 "y": 1742.0001220703125,
\r
1132 "z": "4d37a11.42c136",
\r
1136 "id": "a8a1220c.849508",
\r
1138 "name": "save connectivity resource in AAI",
\r
1139 "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='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='' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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
1143 "y": 1934.0001220703125,
\r
1144 "z": "4d37a11.42c136",
\r
1150 "id": "4c626db2.041e5c",
\r
1151 "type": "execute",
\r
1152 "name": "execute UUID generator for connectivity domainB",
\r
1153 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
\r
1157 "y": 1844.0001220703125,
\r
1158 "z": "4d37a11.42c136",
\r
1164 "id": "a742fa6d.53c048",
\r
1165 "type": "comment",
\r
1166 "name": "TODO: FIXME",
\r
1167 "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
1170 "y": 1882.0001220703125,
\r
1171 "z": "4d37a11.42c136",
\r
1175 "id": "31bc0e97.d1b352",
\r
1177 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
1178 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
1183 "z": "4d37a11.42c136",
\r
1189 "id": "c57c6aeb.0d49c",
\r
1191 "name": "set attachment_param",
\r
1192 "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
1196 "z": "4d37a11.42c136",
\r
1200 "id": "df325b41.3eb068",
\r
1201 "type": "comment",
\r
1202 "name": "TODO: FIXME",
\r
1203 "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
1207 "z": "4d37a11.42c136",
\r
1211 "id": "5ce97afb.25ecd4",
\r
1213 "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",
\r
1214 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",
\r
1219 "z": "4d37a11.42c136",
\r
1227 "id": "1f2f2fca.dd946",
\r
1229 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
1230 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-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
1235 "z": "4d37a11.42c136",
\r
1241 "id": "47b16974.ba7ff8",
\r
1243 "name": "save srcLTP relationship in AAI",
\r
1244 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
\r
1249 "z": "4d37a11.42c136",
\r
1255 "id": "45a1ff6d.febe7",
\r
1257 "name": "save dstLTP relationship in AAI",
\r
1258 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
\r
1263 "z": "4d37a11.42c136",
\r
1269 "id": "d6e02ca6.c9a8c8",
\r
1271 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1272 "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
1277 "z": "4d37a11.42c136",
\r
1283 "id": "46fb3252.5c32c4",
\r
1285 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1286 "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
1290 "y": 1999.0001220703125,
\r
1291 "z": "4d37a11.42c136",
\r
1297 "id": "265fc651.8685d2",
\r
1298 "type": "success",
\r
1299 "name": "success",
\r
1300 "xml": "<outcome value='success'>\n",
\r
1305 "z": "4d37a11.42c136",
\r
1313 "id": "adcdcd16.7b29a8",
\r
1316 "xml": "<block>\n",
\r
1317 "atomic": "false",
\r
1320 "x": 2858.500244140625,
\r
1321 "y": 2176.25390625,
\r
1322 "z": "4d37a11.42c136",
\r
1328 "id": "4042eea1.42325",
\r
1329 "type": "comment",
\r
1330 "name": "TODO: FIXME: do we need this relationship?",
\r
1335 "z": "4d37a11.42c136",
\r
1339 "id": "8bb65fc7.c411f",
\r
1340 "type": "comment",
\r
1341 "name": "TODO: FIXME: put proper values",
\r
1346 "z": "4d37a11.42c136",
\r
1350 "id": "fc0327f0.f229c8",
\r
1352 "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",
\r
1353 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",
\r
1358 "z": "4d37a11.42c136",
\r
1366 "id": "54e84a72.0a1bec",
\r
1367 "type": "comment",
\r
1368 "name": "TODO: FIXME: do we need this relationship?",
\r
1373 "z": "4d37a11.42c136",
\r
1377 "id": "5ffd7140.0fcf",
\r
1379 "name": "save srcLTP relationship in AAI",
\r
1380 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
\r
1385 "z": "4d37a11.42c136",
\r
1391 "id": "d209c7d6.5be38",
\r
1393 "name": "save dstLTP relationship in AAI",
\r
1394 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
\r
1399 "z": "4d37a11.42c136",
\r
1405 "id": "92281260.0bacb8",
\r
1408 "xml": "<block>\n",
\r
1409 "atomic": "false",
\r
1412 "x": 2861.500244140625,
\r
1413 "y": 2456.25390625,
\r
1414 "z": "4d37a11.42c136",
\r
1420 "id": "a95bb5bd.f30938",
\r
1421 "type": "success",
\r
1422 "name": "success",
\r
1423 "xml": "<outcome value='success'>\n",
\r
1428 "z": "4d37a11.42c136",
\r
1436 "id": "460ff82c.4ff7",
\r
1437 "type": "comment",
\r
1438 "name": "TODO: FIXME: put proper values",
\r
1443 "z": "4d37a11.42c136",
\r
1447 "id": "7a9db702.f0e1b",
\r
1449 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
1450 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-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
1455 "z": "4d37a11.42c136",
\r
1461 "id": "b765768.33e8008",
\r
1462 "type": "comment",
\r
1463 "name": "TODO: FIXME:",
\r
1464 "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",
\r
1468 "z": "4d37a11.42c136",
\r
1472 "id": "15d01a88.67da65",
\r
1474 "name": "set attachment_param domain A",
\r
1475 "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='otn-dest-node' value='`$domain-A.node-id`' />\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
1479 "z": "4d37a11.42c136",
\r
1483 "id": "7c6d32ec.4900b4",
\r
1484 "type": "execute",
\r
1485 "name": "get esr-thirdparty-sdnc",
\r
1486 "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
1491 "z": "4d37a11.42c136",
\r
1495 "8ca213cb.13c578",
\r
1501 "id": "2c4c53ed.c92a04",
\r
1503 "name": "block : atomic",
\r
1504 "xml": "<block atomic=\"true\">",
\r
1509 "z": "4d37a11.42c136",
\r
1517 "id": "4b086b8f.46122c",
\r
1518 "type": "outcome",
\r
1519 "name": "logical-link",
\r
1520 "xml": "<outcome value='logical-link'>\n",
\r
1523 "x": 1298.0001220703125,
\r
1524 "y": 719.0001220703125,
\r
1525 "z": "4d37a11.42c136",
\r
1533 "id": "3637c149.a4c596",
\r
1534 "type": "switchNode",
\r
1535 "name": "switch allotted-resource.relationship-list not empty",
\r
1536 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
\r
1541 "z": "4d37a11.42c136",
\r
1550 "id": "36a75df5.accdba",
\r
1551 "type": "outcomeFalse",
\r
1553 "xml": "<outcome value='false'>\n",
\r
1558 "z": "4d37a11.42c136",
\r
1564 "id": "a6e3fac3.17782",
\r
1565 "type": "outcomeTrue",
\r
1567 "xml": "<outcome value='true'>\n",
\r
1572 "z": "4d37a11.42c136",
\r
1580 "id": "88e35dde.f9395",
\r
1582 "name": "set the 1st logical-link-name",
\r
1583 "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",
\r
1587 "z": "4d37a11.42c136",
\r
1591 "id": "849b2fa9.e38c6",
\r
1593 "name": "block : atomic",
\r
1594 "xml": "<block atomic=\"true\">",
\r
1599 "z": "4d37a11.42c136",
\r
1608 "id": "e4059fd.7caace",
\r
1609 "type": "comment",
\r
1610 "name": "Question?",
\r
1611 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1615 "z": "4d37a11.42c136",
\r
1619 "id": "de6bae96.a20288",
\r
1621 "name": "get p-interface-src from aai",
\r
1622 "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
1627 "z": "4d37a11.42c136",
\r
1630 "8b31e4a0.a10748",
\r
1637 "id": "cc046399.813d8",
\r
1639 "name": "get p-interface-dst from aai",
\r
1640 "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
1645 "z": "4d37a11.42c136",
\r
1648 "33a31a8c.e3b546",
\r
1649 "333e39a9.5e6146",
\r
1655 "id": "76191dd2.8fade4",
\r
1656 "type": "comment",
\r
1657 "name": "Question?",
\r
1658 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1662 "z": "4d37a11.42c136",
\r
1666 "id": "df1d026f.c1c088",
\r
1668 "name": "get allotted-resource relationship from aai",
\r
1669 "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
1674 "z": "4d37a11.42c136",
\r
1678 "7a639d69.b5bebc",
\r
1684 "id": "7a639d69.b5bebc",
\r
1685 "type": "not-found",
\r
1686 "name": "not-found",
\r
1687 "xml": "<outcome value='not-found'>\n",
\r
1690 "x": 2934.490966796875,
\r
1691 "y": 141.573974609375,
\r
1692 "z": "4d37a11.42c136",
\r
1700 "id": "d0806055.3ff898",
\r
1701 "type": "returnFailure",
\r
1702 "name": "return failure",
\r
1703 "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
1706 "y": 141.8597412109375,
\r
1707 "z": "4d37a11.42c136",
\r
1711 "id": "4943cdeb.ab6f2c",
\r
1712 "type": "failure",
\r
1713 "name": "failure",
\r
1714 "xml": "<outcome value='failure'>\n",
\r
1719 "z": "4d37a11.42c136",
\r
1727 "id": "e3a044a2.8747b8",
\r
1728 "type": "returnFailure",
\r
1729 "name": "return failure",
\r
1730 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1734 "z": "4d37a11.42c136",
\r
1738 "id": "adfd76db.6991",
\r
1739 "type": "success",
\r
1740 "name": "success",
\r
1741 "xml": "<outcome value='success'>\n",
\r
1746 "z": "4d37a11.42c136",
\r
1754 "id": "b8ee302f.a8ecc",
\r
1756 "name": "block : atomic",
\r
1757 "xml": "<block atomic=\"true\">",
\r
1762 "z": "4d37a11.42c136",
\r
1770 "id": "7c0e5ba2.cb2954",
\r
1772 "name": "for each allotted-resource relationship",
\r
1773 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
1778 "z": "4d37a11.42c136",
\r
1786 "id": "acd1414b.a58ab8",
\r
1787 "type": "switchNode",
\r
1788 "name": "switch related-to",
\r
1789 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1794 "z": "4d37a11.42c136",
\r
1802 "id": "ff4803af.9f0ab8",
\r
1803 "type": "outcome",
\r
1804 "name": "network-policy",
\r
1805 "xml": "<outcome value='network-policy'>\n",
\r
1810 "z": "4d37a11.42c136",
\r
1818 "id": "ae60df75.bd38f",
\r
1820 "name": "block : atomic",
\r
1821 "xml": "<block atomic=\"true\">",
\r
1824 "x": 3266.9998779296875,
\r
1825 "y": 432.9998779296875,
\r
1826 "z": "4d37a11.42c136",
\r
1829 "7c4264ea.4ef2cc",
\r
1835 "id": "7c4264ea.4ef2cc",
\r
1837 "name": "set the 1st network-policy-id",
\r
1838 "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
1840 "x": 3509.9998779296875,
\r
1841 "y": 389.9998779296875,
\r
1842 "z": "4d37a11.42c136",
\r
1846 "id": "16bdb614.ef254a",
\r
1848 "name": "get network-policy from aai",
\r
1849 "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
1852 "x": 3498.9998779296875,
\r
1853 "y": 444.9998779296875,
\r
1854 "z": "4d37a11.42c136",
\r
1858 "afdb690e.be2878",
\r
1864 "id": "2f4f9888.a0047",
\r
1865 "type": "not-found",
\r
1866 "name": "not-found",
\r
1867 "xml": "<outcome value='not-found'>\n",
\r
1872 "z": "4d37a11.42c136",
\r
1880 "id": "10811a3b.3713ee",
\r
1881 "type": "returnFailure",
\r
1882 "name": "return failure",
\r
1883 "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
1885 "x": 3900.571533203125,
\r
1886 "y": 331.2857666015625,
\r
1887 "z": "4d37a11.42c136",
\r
1891 "id": "a4b0529d.fb0728",
\r
1892 "type": "returnFailure",
\r
1893 "name": "return failure",
\r
1894 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1896 "x": 3899.509033203125,
\r
1897 "y": 375.426025390625,
\r
1898 "z": "4d37a11.42c136",
\r
1902 "id": "afdb690e.be2878",
\r
1903 "type": "failure",
\r
1904 "name": "failure",
\r
1905 "xml": "<outcome value='failure'>\n",
\r
1908 "x": 3740.509033203125,
\r
1909 "y": 375.426025390625,
\r
1910 "z": "4d37a11.42c136",
\r
1918 "id": "589b81b9.57a1a",
\r
1919 "type": "success",
\r
1920 "name": "success",
\r
1921 "xml": "<outcome value='success'>\n",
\r
1924 "x": 3747.509033203125,
\r
1925 "y": 454.426025390625,
\r
1926 "z": "4d37a11.42c136",
\r
1934 "id": "2140264c.6d5f92",
\r
1937 "xml": "<block>\n",
\r
1938 "atomic": "false",
\r
1941 "x": 3886.509033203125,
\r
1942 "y": 454.426025390625,
\r
1943 "z": "4d37a11.42c136",
\r
1946 "22cd0794.035c48",
\r
1952 "id": "22cd0794.035c48",
\r
1954 "name": "set the max bandwidth",
\r
1955 "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
1959 "z": "4d37a11.42c136",
\r
1963 "id": "2546bd9f.525272",
\r
1964 "type": "execute",
\r
1965 "name": "execute split tp-id to get pnf-name",
\r
1966 "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
1971 "z": "4d37a11.42c136",
\r
1980 "id": "47e593b9.b45a3c",
\r
1981 "type": "failure",
\r
1982 "name": "success",
\r
1983 "xml": "<outcome value='success'>\n",
\r
1988 "z": "4d37a11.42c136",
\r
1996 "id": "536f807c.cf39f",
\r
1997 "type": "failure",
\r
1998 "name": "failure",
\r
1999 "xml": "<outcome value='failure'>\n",
\r
2004 "z": "4d37a11.42c136",
\r
2012 "id": "2752a0c2.80dc4",
\r
2013 "type": "returnFailure",
\r
2014 "name": "return failure",
\r
2015 "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
2019 "z": "4d37a11.42c136",
\r
2023 "id": "97a737cb.3ff9d8",
\r
2025 "name": "block : atomic",
\r
2026 "xml": "<block atomic=\"true\">",
\r
2031 "z": "4d37a11.42c136",
\r
2040 "id": "50707e3e.984ff",
\r
2042 "name": "set pnf-name",
\r
2043 "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
2047 "z": "4d37a11.42c136",
\r
2051 "id": "94119745.c4be9",
\r
2052 "type": "execute",
\r
2053 "name": "execute split tp-id to get pnf-name",
\r
2054 "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
2058 "y": 1469.9998779296875,
\r
2059 "z": "4d37a11.42c136",
\r
2068 "id": "657955bd.91fb44",
\r
2069 "type": "failure",
\r
2070 "name": "success",
\r
2071 "xml": "<outcome value='success'>\n",
\r
2075 "y": 1455.9998779296875,
\r
2076 "z": "4d37a11.42c136",
\r
2084 "id": "754647f7.9e2b8",
\r
2085 "type": "failure",
\r
2086 "name": "failure",
\r
2087 "xml": "<outcome value='failure'>\n",
\r
2091 "y": 1488.9998779296875,
\r
2092 "z": "4d37a11.42c136",
\r
2100 "id": "ee8e0ea1.9fea78",
\r
2101 "type": "returnFailure",
\r
2102 "name": "return failure",
\r
2103 "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
2106 "y": 1485.9998779296875,
\r
2107 "z": "4d37a11.42c136",
\r
2111 "id": "80a7821a.19495",
\r
2113 "name": "block : atomic",
\r
2114 "xml": "<block atomic=\"true\">",
\r
2118 "y": 1448.9998779296875,
\r
2119 "z": "4d37a11.42c136",
\r
2122 "413b415f.4e9208",
\r
2128 "id": "413b415f.4e9208",
\r
2130 "name": "set pnf-name",
\r
2131 "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
2135 "z": "4d37a11.42c136",
\r
2139 "id": "2f5068f1.5086e8",
\r
2140 "type": "execute",
\r
2141 "name": "execute properties",
\r
2142 "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
2147 "z": "4d37a11.42c136",
\r
2153 "id": "1f17f018.71ce48",
\r
2154 "type": "execute",
\r
2155 "name": "execute UUID generator for vpn-binding domainA",
\r
2156 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",
\r
2161 "z": "4d37a11.42c136",
\r
2167 "id": "75da5f28.16fb78",
\r
2168 "type": "execute",
\r
2169 "name": "execute UUID generator for vpn-binding domainB",
\r
2170 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",
\r
2175 "z": "4d37a11.42c136",
\r
2181 "id": "5b5222c9.d7a36c",
\r
2183 "name": "for each relationship",
\r
2184 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
2189 "z": "4d37a11.42c136",
\r
2197 "id": "57baeaf4.ebf064",
\r
2198 "type": "switchNode",
\r
2199 "name": "switch related-to",
\r
2200 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
2205 "z": "4d37a11.42c136",
\r
2213 "id": "645e8c5e.f65a7c",
\r
2214 "type": "outcome",
\r
2215 "name": "tunnel-termination-point",
\r
2216 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2219 "x": 4016.28564453125,
\r
2220 "y": 1202.82177734375,
\r
2221 "z": "4d37a11.42c136",
\r
2229 "id": "894c9d7e.ee38",
\r
2231 "name": "block : atomic",
\r
2232 "xml": "<block atomic=\"true\">",
\r
2235 "x": 4223.1171875,
\r
2236 "y": 1203.34033203125,
\r
2237 "z": "4d37a11.42c136",
\r
2247 "id": "d6f40c53.9a6bf",
\r
2249 "name": "set source ttp-id",
\r
2250 "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
2252 "x": 4438.1171875,
\r
2253 "y": 1165.34033203125,
\r
2254 "z": "4d37a11.42c136",
\r
2258 "id": "c910efe.c0a679",
\r
2259 "type": "get-resource",
\r
2260 "name": "get-resource src TTP",
\r
2261 "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
2264 "x": 4435.1171875,
\r
2265 "y": 1204.34033203125,
\r
2266 "z": "4d37a11.42c136",
\r
2274 "id": "50a2016f.cc5d58",
\r
2277 "xml": "<break>\n",
\r
2279 "x": 4390.6171875,
\r
2280 "y": 1246.34033203125,
\r
2281 "z": "4d37a11.42c136",
\r
2285 "id": "ab61e075.552a9",
\r
2286 "type": "success",
\r
2287 "name": "success",
\r
2288 "xml": "<outcome value='success'>\n",
\r
2291 "x": 4615.6171875,
\r
2292 "y": 1203.34033203125,
\r
2293 "z": "4d37a11.42c136",
\r
2301 "id": "11eef788.e7252",
\r
2303 "name": "block : atomic",
\r
2304 "xml": "<block atomic=\"true\">",
\r
2307 "x": 4773.6171875,
\r
2308 "y": 1203.34033203125,
\r
2309 "z": "4d37a11.42c136",
\r
2317 "id": "ab0df37c.a4d9e",
\r
2319 "name": "set source tunnel tp ip",
\r
2320 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2322 "x": 4980.6171875,
\r
2323 "y": 1203.34033203125,
\r
2324 "z": "4d37a11.42c136",
\r
2328 "id": "3da30ce3.e252e4",
\r
2330 "name": "for each relationship",
\r
2331 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2335 "y": 2072.0001220703125,
\r
2336 "z": "4d37a11.42c136",
\r
2344 "id": "5324422e.146a4c",
\r
2345 "type": "switchNode",
\r
2346 "name": "switch related-to",
\r
2347 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2351 "y": 2072.0001220703125,
\r
2352 "z": "4d37a11.42c136",
\r
2360 "id": "a66bf5f9.332a38",
\r
2361 "type": "outcome",
\r
2362 "name": "tunnel-termination-point",
\r
2363 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2366 "x": 4013.28564453125,
\r
2367 "y": 2071.8218994140625,
\r
2368 "z": "4d37a11.42c136",
\r
2376 "id": "68fca589.e390fc",
\r
2378 "name": "block : atomic",
\r
2379 "xml": "<block atomic=\"true\">",
\r
2382 "x": 4220.1171875,
\r
2383 "y": 2072.3404541015625,
\r
2384 "z": "4d37a11.42c136",
\r
2388 "108cc1af.4a86d6",
\r
2394 "id": "c073bf38.974dd",
\r
2396 "name": "set destination ttp-id",
\r
2397 "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
2399 "x": 4435.1171875,
\r
2400 "y": 2034.3404541015625,
\r
2401 "z": "4d37a11.42c136",
\r
2405 "id": "108cc1af.4a86d6",
\r
2406 "type": "get-resource",
\r
2407 "name": "get-resource src TTP",
\r
2408 "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
2411 "x": 4432.1171875,
\r
2412 "y": 2073.3404541015625,
\r
2413 "z": "4d37a11.42c136",
\r
2421 "id": "f0b0cdee.26542",
\r
2424 "xml": "<break>\n",
\r
2426 "x": 4387.6171875,
\r
2427 "y": 2115.3404541015625,
\r
2428 "z": "4d37a11.42c136",
\r
2432 "id": "b43fbaf.be38548",
\r
2433 "type": "success",
\r
2434 "name": "success",
\r
2435 "xml": "<outcome value='success'>\n",
\r
2438 "x": 4612.6171875,
\r
2439 "y": 2072.3404541015625,
\r
2440 "z": "4d37a11.42c136",
\r
2448 "id": "f843935.e7b9ef",
\r
2450 "name": "block : atomic",
\r
2451 "xml": "<block atomic=\"true\">",
\r
2454 "x": 4770.6171875,
\r
2455 "y": 2072.3404541015625,
\r
2456 "z": "4d37a11.42c136",
\r
2464 "id": "2905073f.78af38",
\r
2466 "name": "set destination tunnel tp ip",
\r
2467 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2469 "x": 4977.6171875,
\r
2470 "y": 2072.3404541015625,
\r
2471 "z": "4d37a11.42c136",
\r
2475 "id": "47a3a765.16faa",
\r
2477 "name": "set attachment_param domain B",
\r
2478 "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
2482 "z": "4d37a11.42c136",
\r
2486 "id": "fca22b88.65f128",
\r
2487 "type": "get-resource",
\r
2488 "name": "get-resource src pnf",
\r
2489 "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
2494 "z": "4d37a11.42c136",
\r
2497 "26e1e178.44c626",
\r
2504 "id": "26e1e178.44c626",
\r
2505 "type": "success",
\r
2506 "name": "success",
\r
2507 "xml": "<outcome value='success'>\n",
\r
2510 "x": 3703.5001220703125,
\r
2512 "z": "4d37a11.42c136",
\r
2520 "id": "748c5faa.9b8fd",
\r
2521 "type": "not-found",
\r
2522 "name": "not-found",
\r
2523 "xml": "<outcome value='not-found'>\n",
\r
2526 "x": 3695.5001220703125,
\r
2528 "z": "4d37a11.42c136",
\r
2536 "id": "7a23584.42cb7a8",
\r
2539 "xml": "<outcome value='Other'>\n",
\r
2542 "x": 3700.5001220703125,
\r
2544 "z": "4d37a11.42c136",
\r
2552 "id": "bf06b166.7b1ab8",
\r
2553 "type": "returnFailure",
\r
2554 "name": "return failure",
\r
2555 "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
2557 "x": 3852.5001220703125,
\r
2559 "z": "4d37a11.42c136",
\r
2563 "id": "7374c1c1.b3ba38",
\r
2564 "type": "returnFailure",
\r
2565 "name": "return failure",
\r
2566 "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
2568 "x": 3863.5001220703125,
\r
2570 "z": "4d37a11.42c136",
\r
2574 "id": "4f3cfb5.bd9ae04",
\r
2577 "xml": "<block>\n",
\r
2578 "atomic": "false",
\r
2581 "x": 3847.8824462890625,
\r
2582 "y": 628.6556701660156,
\r
2583 "z": "4d37a11.42c136",
\r
2591 "id": "71b56e6f.bcf72",
\r
2592 "type": "outcome",
\r
2593 "name": "esr-thirdparty-sdnc",
\r
2594 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2599 "z": "4d37a11.42c136",
\r
2607 "id": "894c8dc1.732e8",
\r
2609 "name": "block : atomic",
\r
2610 "xml": "<block atomic=\"true\">",
\r
2615 "z": "4d37a11.42c136",
\r
2618 "47f97449.7cbbcc",
\r
2624 "id": "cc5e035f.d2ea7",
\r
2626 "name": "for each relationship",
\r
2627 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2632 "z": "4d37a11.42c136",
\r
2640 "id": "611703bb.9151dc",
\r
2641 "type": "switchNode",
\r
2642 "name": "switch related-to",
\r
2643 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2648 "z": "4d37a11.42c136",
\r
2657 "id": "47f97449.7cbbcc",
\r
2659 "name": "set esr-thirdparty-sdnc domainA id",
\r
2660 "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
2664 "z": "4d37a11.42c136",
\r
2668 "id": "f99473bc.f6917",
\r
2669 "type": "success",
\r
2670 "name": "success",
\r
2671 "xml": "<outcome value='success'>\n",
\r
2676 "z": "4d37a11.42c136",
\r
2684 "id": "8ca213cb.13c578",
\r
2685 "type": "not-found",
\r
2686 "name": "not-found",
\r
2687 "xml": "<outcome value='not-found'>\n",
\r
2692 "z": "4d37a11.42c136",
\r
2700 "id": "73897c92.dacd5c",
\r
2703 "xml": "<outcome value='Other'>\n",
\r
2708 "z": "4d37a11.42c136",
\r
2716 "id": "ce57e89b.dcf4b",
\r
2717 "type": "returnFailure",
\r
2718 "name": "return failure",
\r
2719 "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
2723 "z": "4d37a11.42c136",
\r
2727 "id": "2e4b614b.0c396e",
\r
2728 "type": "returnFailure",
\r
2729 "name": "return failure",
\r
2730 "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
2734 "z": "4d37a11.42c136",
\r
2738 "id": "701e34ee.427b2c",
\r
2741 "xml": "<block>\n",
\r
2742 "atomic": "false",
\r
2745 "x": 5169.38232421875,
\r
2746 "y": 634.6556701660156,
\r
2747 "z": "4d37a11.42c136",
\r
2755 "id": "986be552.d67d4",
\r
2757 "name": "set controller domainA data",
\r
2758 "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
2762 "z": "4d37a11.42c136",
\r
2766 "id": "81398c99.8688f",
\r
2767 "type": "get-resource",
\r
2768 "name": "get-resource src pnf",
\r
2769 "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
2774 "z": "4d37a11.42c136",
\r
2777 "4228d77e.297a48",
\r
2778 "f33d7dd3.e27df8",
\r
2784 "id": "4228d77e.297a48",
\r
2785 "type": "success",
\r
2786 "name": "success",
\r
2787 "xml": "<outcome value='success'>\n",
\r
2790 "x": 3744.5001220703125,
\r
2792 "z": "4d37a11.42c136",
\r
2800 "id": "f33d7dd3.e27df8",
\r
2801 "type": "not-found",
\r
2802 "name": "not-found",
\r
2803 "xml": "<outcome value='not-found'>\n",
\r
2806 "x": 3736.5001220703125,
\r
2808 "z": "4d37a11.42c136",
\r
2816 "id": "f25d8688.bde06",
\r
2819 "xml": "<outcome value='Other'>\n",
\r
2822 "x": 3741.5001220703125,
\r
2824 "z": "4d37a11.42c136",
\r
2832 "id": "9d53815.71bad",
\r
2833 "type": "returnFailure",
\r
2834 "name": "return failure",
\r
2835 "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
2837 "x": 3893.5001220703125,
\r
2839 "z": "4d37a11.42c136",
\r
2843 "id": "cb4038b7.689b5",
\r
2844 "type": "returnFailure",
\r
2845 "name": "return failure",
\r
2846 "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
2848 "x": 3904.5001220703125,
\r
2850 "z": "4d37a11.42c136",
\r
2854 "id": "b81f1049.782548",
\r
2857 "xml": "<block>\n",
\r
2858 "atomic": "false",
\r
2861 "x": 3888.8824462890625,
\r
2862 "y": 1469.6556701660156,
\r
2863 "z": "4d37a11.42c136",
\r
2871 "id": "9eaf216b.504558",
\r
2872 "type": "outcome",
\r
2873 "name": "esr-thirdparty-sdnc",
\r
2874 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2879 "z": "4d37a11.42c136",
\r
2887 "id": "848ce8ba.8131a8",
\r
2889 "name": "block : atomic",
\r
2890 "xml": "<block atomic=\"true\">",
\r
2895 "z": "4d37a11.42c136",
\r
2904 "id": "3a1b087b.88796",
\r
2906 "name": "for each relationship",
\r
2907 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2912 "z": "4d37a11.42c136",
\r
2920 "id": "75ba425.30354bc",
\r
2921 "type": "switchNode",
\r
2922 "name": "switch related-to",
\r
2923 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2928 "z": "4d37a11.42c136",
\r
2931 "9eaf216b.504558",
\r
2937 "id": "a28d627d.aad29",
\r
2938 "type": "execute",
\r
2939 "name": "get esr-thirdparty-sdnc",
\r
2940 "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
2945 "z": "4d37a11.42c136",
\r
2948 "2c1c230e.a8a514",
\r
2949 "77340ca1.3f4454",
\r
2955 "id": "91abee3d.323e5",
\r
2957 "name": "set esr-thirdparty-sdnc domainB id",
\r
2958 "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
2962 "z": "4d37a11.42c136",
\r
2966 "id": "2c1c230e.a8a514",
\r
2967 "type": "success",
\r
2968 "name": "success",
\r
2969 "xml": "<outcome value='success'>\n",
\r
2974 "z": "4d37a11.42c136",
\r
2982 "id": "77340ca1.3f4454",
\r
2983 "type": "not-found",
\r
2984 "name": "not-found",
\r
2985 "xml": "<outcome value='not-found'>\n",
\r
2990 "z": "4d37a11.42c136",
\r
2998 "id": "b69cbef8.164728",
\r
3001 "xml": "<outcome value='Other'>\n",
\r
3006 "z": "4d37a11.42c136",
\r
3014 "id": "6e980a04.e6ca2c",
\r
3015 "type": "returnFailure",
\r
3016 "name": "return failure",
\r
3017 "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
3021 "z": "4d37a11.42c136",
\r
3025 "id": "5b6119be.e0e2e",
\r
3026 "type": "returnFailure",
\r
3027 "name": "return failure",
\r
3028 "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
3032 "z": "4d37a11.42c136",
\r
3036 "id": "ea8a7330.3c6eb",
\r
3039 "xml": "<block>\n",
\r
3040 "atomic": "false",
\r
3043 "x": 5210.38232421875,
\r
3044 "y": 1475.6556701660156,
\r
3045 "z": "4d37a11.42c136",
\r
3053 "id": "6b04dce3.953014",
\r
3055 "name": "set controller domainB data",
\r
3056 "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
3060 "z": "4d37a11.42c136",
\r
3064 "id": "8335f76.9af8388",
\r
3065 "type": "execute",
\r
3066 "name": "execute RestApiCallNode slice creation domainA",
\r
3067 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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=\"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`\" />",
\r
3072 "z": "4d37a11.42c136",
\r
3081 "id": "49a0370a.e5f21",
\r
3082 "type": "failure",
\r
3083 "name": "failure",
\r
3084 "xml": "<outcome value='failure'>\n",
\r
3089 "z": "4d37a11.42c136",
\r
3097 "id": "f515c1e9.93c64",
\r
3098 "type": "success",
\r
3099 "name": "success",
\r
3100 "xml": "<outcome value='success'>\n",
\r
3103 "x": 2671.000213623047,
\r
3104 "y": 2712.99990940094,
\r
3105 "z": "4d37a11.42c136",
\r
3113 "id": "30dceb43.a4b4ac",
\r
3114 "type": "returnFailure",
\r
3115 "name": "return failure",
\r
3116 "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
3118 "x": 2810.0002479553223,
\r
3119 "y": 2662.0000009536743,
\r
3120 "z": "4d37a11.42c136",
\r
3124 "id": "e7a629da.88d0d8",
\r
3127 "xml": "<block>\n",
\r
3128 "atomic": "false",
\r
3131 "x": 2816.02725982666,
\r
3132 "y": 2710.745394706726,
\r
3133 "z": "4d37a11.42c136",
\r
3139 "id": "5651ec55.50184c",
\r
3140 "type": "execute",
\r
3141 "name": "execute RestApiCallNode slice creation domainB",
\r
3142 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\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=\"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`\" />",
\r
3147 "z": "4d37a11.42c136",
\r
3150 "55b8a548.7743b4",
\r
3156 "id": "625f938a.695c34",
\r
3157 "type": "failure",
\r
3158 "name": "failure",
\r
3159 "xml": "<outcome value='failure'>\n",
\r
3164 "z": "4d37a11.42c136",
\r
3172 "id": "55b8a548.7743b4",
\r
3173 "type": "success",
\r
3174 "name": "success",
\r
3175 "xml": "<outcome value='success'>\n",
\r
3178 "x": 2671.000213623047,
\r
3179 "y": 3084.99990940094,
\r
3180 "z": "4d37a11.42c136",
\r
3188 "id": "bcc07e6e.d74a18",
\r
3189 "type": "returnFailure",
\r
3190 "name": "return failure",
\r
3191 "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 B\" />\n",
\r
3193 "x": 2810.0002479553223,
\r
3194 "y": 3034.0000009536743,
\r
3195 "z": "4d37a11.42c136",
\r
3199 "id": "42c61fdb.9a2b6",
\r
3202 "xml": "<block>\n",
\r
3203 "atomic": "false",
\r
3206 "x": 2816.02725982666,
\r
3207 "y": 3082.745394706726,
\r
3208 "z": "4d37a11.42c136",
\r
3214 "id": "ccfe530c.696ee",
\r
3216 "name": "block : atomic",
\r
3217 "xml": "<block atomic=\"true\">",
\r
3222 "z": "4d37a11.42c136",
\r
3225 "7c0e5ba2.cb2954",
\r
3231 "id": "338a39d3.a481ce",
\r
3233 "name": "for each allotted-resource relationship",
\r
3234 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
3239 "z": "4d37a11.42c136",
\r
3247 "id": "e9d2da22.090e3",
\r
3248 "type": "switchNode",
\r
3249 "name": "switch related-to",
\r
3250 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
3255 "z": "4d37a11.42c136",
\r
3263 "id": "bf1946eb.ee80a8",
\r
3264 "type": "outcome",
\r
3265 "name": "network-resource",
\r
3266 "xml": "<outcome value='network-resource'>",
\r
3271 "z": "4d37a11.42c136",
\r
3279 "id": "c3550750.f869a",
\r
3281 "name": "block : atomic",
\r
3282 "xml": "<block atomic=\"true\">",
\r
3287 "z": "4d37a11.42c136",
\r
3295 "id": "775fd622.bb73b",
\r
3297 "name": "set domainA ethernet layer network-id",
\r
3298 "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
3302 "z": "4d37a11.42c136",
\r
3306 "id": "fd89b518.9f0b6",
\r
3308 "name": "set domainB ethernet layer network-id",
\r
3309 "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
3313 "z": "4d37a11.42c136",
\r
3317 "id": "73a6ccfa.9f80e4",
\r
3319 "name": "block : atomic",
\r
3320 "xml": "<block atomic=\"true\">",
\r
3325 "z": "4d37a11.42c136",
\r
3333 "id": "f41408f6.625698",
\r
3334 "type": "outcome",
\r
3335 "name": "network-resource",
\r
3336 "xml": "<outcome value='network-resource'>",
\r
3341 "z": "4d37a11.42c136",
\r
3349 "id": "edb297b0.c9f328",
\r
3350 "type": "execute",
\r
3351 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3352 "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
3357 "z": "4d37a11.42c136",
\r
3360 "cc44d1ea.6c2858",
\r
3366 "id": "700c6956.d8abf8",
\r
3367 "type": "failure",
\r
3368 "name": "failure",
\r
3369 "xml": "<outcome value='failure'>\n",
\r
3374 "z": "4d37a11.42c136",
\r
3382 "id": "cc44d1ea.6c2858",
\r
3383 "type": "success",
\r
3384 "name": "success",
\r
3385 "xml": "<outcome value='success'>\n",
\r
3388 "x": 2673.000213623047,
\r
3389 "y": 2845.99990940094,
\r
3390 "z": "4d37a11.42c136",
\r
3398 "id": "b7581f37.075ad",
\r
3399 "type": "returnFailure",
\r
3400 "name": "return failure",
\r
3401 "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
3403 "x": 2812.0002479553223,
\r
3404 "y": 2795.0000009536743,
\r
3405 "z": "4d37a11.42c136",
\r
3409 "id": "f67d237f.4b41c",
\r
3412 "xml": "<block>\n",
\r
3413 "atomic": "false",
\r
3416 "x": 2818.02725982666,
\r
3417 "y": 2843.745394706726,
\r
3418 "z": "4d37a11.42c136",
\r
3424 "id": "91eba2f3.844de",
\r
3425 "type": "execute",
\r
3426 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3427 "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
3432 "z": "4d37a11.42c136",
\r
3441 "id": "da777837.c4e49",
\r
3442 "type": "failure",
\r
3443 "name": "failure",
\r
3444 "xml": "<outcome value='failure'>\n",
\r
3449 "z": "4d37a11.42c136",
\r
3457 "id": "cf85f70c.9ad7a",
\r
3458 "type": "success",
\r
3459 "name": "success",
\r
3460 "xml": "<outcome value='success'>\n",
\r
3463 "x": 2673.000213623047,
\r
3464 "y": 3211.99990940094,
\r
3465 "z": "4d37a11.42c136",
\r
3473 "id": "382ee7c9.8791c8",
\r
3474 "type": "returnFailure",
\r
3475 "name": "return failure",
\r
3476 "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
3478 "x": 2812.0002479553223,
\r
3479 "y": 3161.0000009536743,
\r
3480 "z": "4d37a11.42c136",
\r
3484 "id": "f2adb059.12803",
\r
3487 "xml": "<block>\n",
\r
3488 "atomic": "false",
\r
3491 "x": 2818.02725982666,
\r
3492 "y": 3209.745394706726,
\r
3493 "z": "4d37a11.42c136",
\r
3499 "id": "fae49c49.31b99",
\r
3501 "name": "set the max bandwidth",
\r
3502 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
3506 "z": "4d37a11.42c136",
\r