3 "id": "a3297c66.2e7f5",
\r
9 "z": "a52db008.999ba",
\r
17 "id": "48923819.f8ff98",
\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": 426.2856903076172,
\r
26 "y": 147.23810863494873,
\r
27 "z": "a52db008.999ba",
\r
35 "id": "e1ba1fcc.8dbf6",
\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": 432.42860412597656,
\r
42 "y": 232.00003051757812,
\r
43 "z": "a52db008.999ba",
\r
51 "id": "8bc33ebc.b214a8",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 802.238037109375,
\r
58 "y": 256.66668701171875,
\r
59 "z": "a52db008.999ba",
\r
69 "id": "e456a6e6.bd0f",
\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": 1103.571533203125,
\r
75 "y": 527.5969848632812,
\r
76 "z": "a52db008.999ba",
\r
80 "id": "de4cd097.718578",
\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": "a52db008.999ba",
\r
98 "id": "2bb44cf2.b576bc",
\r
101 "xml": "<outcome value='success'>\n",
\r
106 "z": "a52db008.999ba",
\r
114 "id": "23a4fd03.4dc0a2",
\r
115 "type": "not-found",
\r
116 "name": "not-found",
\r
117 "xml": "<outcome value='not-found'>\n",
\r
120 "x": 1359.490966796875,
\r
121 "y": 130.57403564453125,
\r
122 "z": "a52db008.999ba",
\r
130 "id": "7fe07366.1d3c84",
\r
133 "xml": "<outcome value='failure'>\n",
\r
138 "z": "a52db008.999ba",
\r
146 "id": "de3469e6.1a5318",
\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": "a52db008.999ba",
\r
163 "id": "abc9c45c.0486d",
\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": 1513.0623779296875,
\r
169 "y": 133.85977172851562,
\r
170 "z": "a52db008.999ba",
\r
174 "id": "bf6c9630.da1718",
\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": "a52db008.999ba",
\r
185 "id": "e72a9478.9558f",
\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": "a52db008.999ba",
\r
196 "id": "3fe961c5.f65bb6",
\r
197 "type": "outcomeTrue",
\r
199 "xml": "<outcome value='true'>\n",
\r
204 "z": "a52db008.999ba",
\r
212 "id": "9b0ccc32.5daa98",
\r
213 "type": "outcomeFalse",
\r
215 "xml": "<outcome value='false'>\n",
\r
220 "z": "a52db008.999ba",
\r
226 "id": "3b9d4f7a.e5b418",
\r
228 "name": "new for TransportSlicing",
\r
233 "z": "a52db008.999ba",
\r
237 "id": "7db53ef.cfaf2c",
\r
240 "xml": "<block>\n",
\r
246 "z": "a52db008.999ba",
\r
255 "id": "fd1e5e1b.83e83",
\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": "a52db008.999ba",
\r
266 "id": "ff342d97.b64c78",
\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": "a52db008.999ba",
\r
277 "id": "f1da2bc3.8935b",
\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": "a52db008.999ba",
\r
295 "id": "24443c7d.51e17c",
\r
298 "xml": "<outcome value='success'>\n",
\r
303 "z": "a52db008.999ba",
\r
311 "id": "5466a6b1.99c71",
\r
312 "type": "not-found",
\r
313 "name": "not-found",
\r
314 "xml": "<outcome value='not-found'>\n",
\r
317 "x": 2207.490966796875,
\r
318 "y": 193.573974609375,
\r
319 "z": "a52db008.999ba",
\r
327 "id": "6dbbe1dd.c8d2",
\r
330 "xml": "<outcome value='failure'>\n",
\r
335 "z": "a52db008.999ba",
\r
343 "id": "5f41762b.9fae3",
\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": 193.8597412109375,
\r
350 "z": "a52db008.999ba",
\r
354 "id": "35df5bd.60d91a4",
\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": "a52db008.999ba",
\r
365 "id": "8c284458.c08ae8",
\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": "a52db008.999ba",
\r
383 "id": "a72426b1.68469",
\r
384 "type": "not-found",
\r
385 "name": "not-found",
\r
386 "xml": "<outcome value='not-found'>\n",
\r
389 "x": 2017.490966796875,
\r
390 "y": 694.573974609375,
\r
391 "z": "a52db008.999ba",
\r
399 "id": "f1a9c962.2a68a8",
\r
402 "xml": "<outcome value='failure'>\n",
\r
407 "z": "a52db008.999ba",
\r
415 "id": "b15724ee.fb934",
\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": 694.8597412109375,
\r
422 "z": "a52db008.999ba",
\r
426 "id": "71027f5f.6dfd2",
\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": "a52db008.999ba",
\r
437 "id": "2b62ab10.ff50ec",
\r
440 "xml": "<outcome value='success'>\n",
\r
445 "z": "a52db008.999ba",
\r
453 "id": "68ca5242.42eadc",
\r
456 "xml": "<block>\n",
\r
462 "z": "a52db008.999ba",
\r
487 "id": "c6e4c4bb.cde228",
\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": "a52db008.999ba",
\r
505 "id": "beeca149.096358",
\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": 1500.9998779296875,
\r
513 "z": "a52db008.999ba",
\r
523 "id": "99527920.d104f",
\r
524 "type": "not-found",
\r
525 "name": "not-found",
\r
526 "xml": "<outcome value='not-found'>\n",
\r
531 "z": "a52db008.999ba",
\r
539 "id": "471613.ac9f61ec",
\r
542 "xml": "<outcome value='failure'>\n",
\r
545 "x": 2577.509033203125,
\r
546 "y": 832.426025390625,
\r
547 "z": "a52db008.999ba",
\r
555 "id": "d7106a2a.e2e008",
\r
558 "xml": "<outcome value='success'>\n",
\r
561 "x": 2581.509033203125,
\r
562 "y": 883.426025390625,
\r
563 "z": "a52db008.999ba",
\r
571 "id": "dee03a78.25dd08",
\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": 2730.571533203125,
\r
577 "y": 782.2857666015625,
\r
578 "z": "a52db008.999ba",
\r
582 "id": "afb5fd1c.14f968",
\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": 2720.509033203125,
\r
588 "y": 832.426025390625,
\r
589 "z": "a52db008.999ba",
\r
593 "id": "f5b57d2.711fb8",
\r
594 "type": "not-found",
\r
595 "name": "not-found",
\r
596 "xml": "<outcome value='not-found'>\n",
\r
600 "y": 1470.9998779296875,
\r
601 "z": "a52db008.999ba",
\r
609 "id": "ee69c7ed.d244a",
\r
612 "xml": "<outcome value='failure'>\n",
\r
615 "x": 2578.509033203125,
\r
616 "y": 1520.4259033203125,
\r
617 "z": "a52db008.999ba",
\r
625 "id": "b86b9154.d8271",
\r
628 "xml": "<outcome value='success'>\n",
\r
631 "x": 2582.509033203125,
\r
632 "y": 1571.4259033203125,
\r
633 "z": "a52db008.999ba",
\r
641 "id": "e4bc5398.587c9",
\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": 2731.571533203125,
\r
647 "y": 1470.28564453125,
\r
648 "z": "a52db008.999ba",
\r
652 "id": "7a22de95.f8d34",
\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": 2721.509033203125,
\r
658 "y": 1520.4259033203125,
\r
659 "z": "a52db008.999ba",
\r
663 "id": "6a5608a5.7646c8",
\r
665 "name": "block : atomic",
\r
666 "xml": "<block atomic=\"true\">",
\r
669 "x": 3395.66650390625,
\r
671 "z": "a52db008.999ba",
\r
683 "id": "b8369203.6c1e7",
\r
686 "xml": "<outcome value='success'>\n",
\r
691 "z": "a52db008.999ba",
\r
699 "id": "9feeef15.8800c",
\r
700 "type": "not-found",
\r
701 "name": "not-found",
\r
702 "xml": "<outcome value='not-found'>\n",
\r
705 "x": 3232.490966796875,
\r
706 "y": 970.5740356445312,
\r
707 "z": "a52db008.999ba",
\r
715 "id": "e8e1bd1d.029dd",
\r
718 "xml": "<outcome value='failure'>\n",
\r
723 "z": "a52db008.999ba",
\r
731 "id": "cbf27e14.644ef8",
\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": 3386.0623779296875,
\r
737 "y": 973.8597717285156,
\r
738 "z": "a52db008.999ba",
\r
742 "id": "7478805e.d0dee8",
\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": "a52db008.999ba",
\r
753 "id": "b1e48bbc.9418f8",
\r
755 "name": "block : atomic",
\r
756 "xml": "<block atomic=\"true\">",
\r
761 "z": "a52db008.999ba",
\r
770 "id": "706786f4.1c86",
\r
772 "name": "block : atomic",
\r
773 "xml": "<block atomic=\"true\">",
\r
777 "y": 1572.9998779296875,
\r
778 "z": "a52db008.999ba",
\r
787 "id": "a1cc2eec.aa7708",
\r
789 "name": "block : atomic",
\r
790 "xml": "<block atomic=\"true\">",
\r
793 "x": 3363.66650390625,
\r
795 "z": "a52db008.999ba",
\r
807 "id": "a9223749.8519e8",
\r
810 "xml": "<outcome value='success'>\n",
\r
815 "z": "a52db008.999ba",
\r
823 "id": "8aac19ac.984638",
\r
824 "type": "not-found",
\r
825 "name": "not-found",
\r
826 "xml": "<outcome value='not-found'>\n",
\r
829 "x": 3200.490966796875,
\r
830 "y": 1806.5740356445312,
\r
831 "z": "a52db008.999ba",
\r
839 "id": "15568030.09492",
\r
842 "xml": "<outcome value='failure'>\n",
\r
847 "z": "a52db008.999ba",
\r
855 "id": "e01c6b8b.6173d8",
\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": 3354.0623779296875,
\r
861 "y": 1809.8597717285156,
\r
862 "z": "a52db008.999ba",
\r
866 "id": "f17ea401.42a54",
\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": "a52db008.999ba",
\r
877 "id": "e59ae0d9.0b3bb8",
\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": "a52db008.999ba",
\r
894 "id": "f2af84b7.f19e7",
\r
897 "xml": "<outcome value='success'>\n",
\r
902 "z": "a52db008.999ba",
\r
910 "id": "b90f8b2c.3443f8",
\r
913 "xml": "<outcome value='failure'>\n",
\r
918 "z": "a52db008.999ba",
\r
926 "id": "58adc121.da62b8",
\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": "a52db008.999ba",
\r
937 "id": "37b87470.480804",
\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": "a52db008.999ba",
\r
948 "id": "af749f90.aea73",
\r
950 "name": "block : atomic",
\r
951 "xml": "<block atomic=\"true\">",
\r
956 "z": "a52db008.999ba",
\r
965 "id": "a0d3646d.84d22",
\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": "a52db008.999ba",
\r
976 "id": "b948285d.fc6638",
\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": "a52db008.999ba",
\r
987 "id": "600bf3e5.b14284",
\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": "a52db008.999ba",
\r
1001 "id": "b65b8a91.4e15",
\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": "a52db008.999ba",
\r
1015 "id": "584061d2.7f676",
\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": "a52db008.999ba",
\r
1026 "id": "69afc187.c0c28",
\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": 1767.0001220703125,
\r
1034 "z": "a52db008.999ba",
\r
1043 "id": "a8286fc.413fb9",
\r
1044 "type": "failure",
\r
1045 "name": "success",
\r
1046 "xml": "<outcome value='success'>\n",
\r
1050 "y": 1722.0001220703125,
\r
1051 "z": "a52db008.999ba",
\r
1059 "id": "73786f45.91fbd",
\r
1060 "type": "failure",
\r
1061 "name": "failure",
\r
1062 "xml": "<outcome value='failure'>\n",
\r
1066 "y": 1786.0001220703125,
\r
1067 "z": "a52db008.999ba",
\r
1075 "id": "e5ecf778.a4711",
\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": 1680.0001220703125,
\r
1082 "z": "a52db008.999ba",
\r
1086 "id": "fcba834.c469f8",
\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": 1805.0001220703125,
\r
1093 "z": "a52db008.999ba",
\r
1097 "id": "6edaf2ce.ba97ac",
\r
1099 "name": "block : atomic",
\r
1100 "xml": "<block atomic=\"true\">",
\r
1104 "y": 1719.0001220703125,
\r
1105 "z": "a52db008.999ba",
\r
1114 "id": "865f8e50.82a5c",
\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": 1785.0001220703125,
\r
1121 "z": "a52db008.999ba",
\r
1125 "id": "9e10e06d.c116e8",
\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": 1734.0001220703125,
\r
1132 "z": "a52db008.999ba",
\r
1136 "id": "72280e7f.000388",
\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": 1926.0001220703125,
\r
1144 "z": "a52db008.999ba",
\r
1150 "id": "9c8c62ca.8659",
\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": 1836.0001220703125,
\r
1158 "z": "a52db008.999ba",
\r
1164 "id": "eb2e4b08.8488e",
\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": 1874.0001220703125,
\r
1171 "z": "a52db008.999ba",
\r
1175 "id": "b3a21500.4dc258",
\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": "a52db008.999ba",
\r
1189 "id": "4a385582.c0497c",
\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": "a52db008.999ba",
\r
1200 "id": "1846dda4.ce84b2",
\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": "a52db008.999ba",
\r
1211 "id": "8ecd4f21.958f3",
\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='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": "a52db008.999ba",
\r
1227 "id": "87e71c84.c17b98",
\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": "a52db008.999ba",
\r
1241 "id": "65814f19.31d048",
\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": "a52db008.999ba",
\r
1255 "id": "9a488056.fd463",
\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": "a52db008.999ba",
\r
1269 "id": "af7a5358.49a49",
\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": "a52db008.999ba",
\r
1283 "id": "5d487f8.16a5d",
\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": 1991.0001220703125,
\r
1291 "z": "a52db008.999ba",
\r
1297 "id": "9a891a89.705e9",
\r
1298 "type": "success",
\r
1299 "name": "success",
\r
1300 "xml": "<outcome value='success'>\n",
\r
1305 "z": "a52db008.999ba",
\r
1313 "id": "a2095f6a.84829",
\r
1316 "xml": "<block>\n",
\r
1317 "atomic": "false",
\r
1320 "x": 2877.500244140625,
\r
1321 "y": 2168.25390625,
\r
1322 "z": "a52db008.999ba",
\r
1328 "id": "421e8d3c.2d000c",
\r
1329 "type": "comment",
\r
1330 "name": "TODO: FIXME: do we need this relationship?",
\r
1335 "z": "a52db008.999ba",
\r
1339 "id": "ec5e7e31.de7c9",
\r
1340 "type": "comment",
\r
1341 "name": "TODO: FIXME: put proper values",
\r
1346 "z": "a52db008.999ba",
\r
1350 "id": "b0430b3.4eee0f8",
\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='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": "a52db008.999ba",
\r
1366 "id": "3a1d826b.1f953e",
\r
1367 "type": "comment",
\r
1368 "name": "TODO: FIXME: do we need this relationship?",
\r
1373 "z": "a52db008.999ba",
\r
1377 "id": "4a53aeab.a2778",
\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": "a52db008.999ba",
\r
1391 "id": "36a3debe.6aad72",
\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": "a52db008.999ba",
\r
1405 "id": "a45d9658.764968",
\r
1408 "xml": "<block>\n",
\r
1409 "atomic": "false",
\r
1412 "x": 2880.500244140625,
\r
1413 "y": 2448.25390625,
\r
1414 "z": "a52db008.999ba",
\r
1420 "id": "ceffa653.90d39",
\r
1421 "type": "success",
\r
1422 "name": "success",
\r
1423 "xml": "<outcome value='success'>\n",
\r
1428 "z": "a52db008.999ba",
\r
1436 "id": "7449a31b.49a87c",
\r
1437 "type": "comment",
\r
1438 "name": "TODO: FIXME: put proper values",
\r
1443 "z": "a52db008.999ba",
\r
1447 "id": "9e9e0741.eed478",
\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": "a52db008.999ba",
\r
1461 "id": "a04f201b.1fb08",
\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": "a52db008.999ba",
\r
1472 "id": "a0a45fd6.c31fe",
\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,' + $maximum-bandwidth /1000 *2 /3 `\" />\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": "a52db008.999ba",
\r
1483 "id": "32eb8024.15dcc8",
\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": "a52db008.999ba",
\r
1494 "73d2c0a6.ca0098",
\r
1495 "2f388561.aeb472",
\r
1501 "id": "381969a5.e5019e",
\r
1503 "name": "block : atomic",
\r
1504 "xml": "<block atomic=\"true\">",
\r
1509 "z": "a52db008.999ba",
\r
1517 "id": "93b21596.ec10e8",
\r
1518 "type": "outcome",
\r
1519 "name": "logical-link",
\r
1520 "xml": "<outcome value='logical-link'>\n",
\r
1523 "x": 1317.0001220703125,
\r
1524 "y": 711.0001220703125,
\r
1525 "z": "a52db008.999ba",
\r
1533 "id": "8fdb5adc.4040d",
\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": "a52db008.999ba",
\r
1544 "332b207c.0fec28",
\r
1550 "id": "310fb819.3e915",
\r
1551 "type": "outcomeFalse",
\r
1553 "xml": "<outcome value='false'>\n",
\r
1558 "z": "a52db008.999ba",
\r
1564 "id": "332b207c.0fec28",
\r
1565 "type": "outcomeTrue",
\r
1567 "xml": "<outcome value='true'>\n",
\r
1572 "z": "a52db008.999ba",
\r
1580 "id": "d9c8107.cbe1d7",
\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": "a52db008.999ba",
\r
1591 "id": "993cc770.3c90b",
\r
1593 "name": "block : atomic",
\r
1594 "xml": "<block atomic=\"true\">",
\r
1599 "z": "a52db008.999ba",
\r
1608 "id": "d4f8497.5d30938",
\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": "a52db008.999ba",
\r
1619 "id": "b8e4ab1b.5f9428",
\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": "a52db008.999ba",
\r
1637 "id": "6545b277.ec5df4",
\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": "a52db008.999ba",
\r
1648 "a9223749.8519e8",
\r
1649 "8aac19ac.984638",
\r
1655 "id": "4f7449aa.1cee1",
\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": "a52db008.999ba",
\r
1666 "id": "2fa39853.fd6f7",
\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": "a52db008.999ba",
\r
1677 "e187deec.568f28",
\r
1678 "ca2e6451.404f78",
\r
1684 "id": "ca2e6451.404f78",
\r
1685 "type": "not-found",
\r
1686 "name": "not-found",
\r
1687 "xml": "<outcome value='not-found'>\n",
\r
1690 "x": 2953.490966796875,
\r
1691 "y": 133.573974609375,
\r
1692 "z": "a52db008.999ba",
\r
1700 "id": "e5b0a6e5.509578",
\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": 133.8597412109375,
\r
1707 "z": "a52db008.999ba",
\r
1711 "id": "42b58dd4.7191cc",
\r
1712 "type": "failure",
\r
1713 "name": "failure",
\r
1714 "xml": "<outcome value='failure'>\n",
\r
1719 "z": "a52db008.999ba",
\r
1727 "id": "ecd1ffcd.8fafe8",
\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": "a52db008.999ba",
\r
1738 "id": "e187deec.568f28",
\r
1739 "type": "success",
\r
1740 "name": "success",
\r
1741 "xml": "<outcome value='success'>\n",
\r
1746 "z": "a52db008.999ba",
\r
1754 "id": "d246d860.a6b138",
\r
1756 "name": "block : atomic",
\r
1757 "xml": "<block atomic=\"true\">",
\r
1762 "z": "a52db008.999ba",
\r
1770 "id": "65e46dcd.9c5144",
\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": "a52db008.999ba",
\r
1786 "id": "dd606d5c.9d70f",
\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": "a52db008.999ba",
\r
1802 "id": "da58235b.ecd51",
\r
1803 "type": "outcome",
\r
1804 "name": "network-policy",
\r
1805 "xml": "<outcome value='network-policy'>\n",
\r
1810 "z": "a52db008.999ba",
\r
1818 "id": "bae40be2.1a0898",
\r
1820 "name": "block : atomic",
\r
1821 "xml": "<block atomic=\"true\">",
\r
1824 "x": 3285.9998779296875,
\r
1825 "y": 424.9998779296875,
\r
1826 "z": "a52db008.999ba",
\r
1829 "26610962.4550fe",
\r
1835 "id": "26610962.4550fe",
\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": 3528.9998779296875,
\r
1841 "y": 381.9998779296875,
\r
1842 "z": "a52db008.999ba",
\r
1846 "id": "1b905535.187f13",
\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": 3517.9998779296875,
\r
1853 "y": 436.9998779296875,
\r
1854 "z": "a52db008.999ba",
\r
1858 "33a9cbc4.26d4ec",
\r
1864 "id": "93a52247.c17dd8",
\r
1865 "type": "not-found",
\r
1866 "name": "not-found",
\r
1867 "xml": "<outcome value='not-found'>\n",
\r
1872 "z": "a52db008.999ba",
\r
1880 "id": "2900fde3.f79c7a",
\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": 3919.571533203125,
\r
1886 "y": 323.2857666015625,
\r
1887 "z": "a52db008.999ba",
\r
1891 "id": "6f314ac7.786434",
\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": 3918.509033203125,
\r
1897 "y": 367.426025390625,
\r
1898 "z": "a52db008.999ba",
\r
1902 "id": "33a9cbc4.26d4ec",
\r
1903 "type": "failure",
\r
1904 "name": "failure",
\r
1905 "xml": "<outcome value='failure'>\n",
\r
1908 "x": 3759.509033203125,
\r
1909 "y": 367.426025390625,
\r
1910 "z": "a52db008.999ba",
\r
1918 "id": "690d79a7.ec256",
\r
1919 "type": "success",
\r
1920 "name": "success",
\r
1921 "xml": "<outcome value='success'>\n",
\r
1924 "x": 3766.509033203125,
\r
1925 "y": 446.426025390625,
\r
1926 "z": "a52db008.999ba",
\r
1934 "id": "13407089.aa8267",
\r
1937 "xml": "<block>\n",
\r
1938 "atomic": "false",
\r
1941 "x": 3905.509033203125,
\r
1942 "y": 446.426025390625,
\r
1943 "z": "a52db008.999ba",
\r
1951 "id": "d0bc6aa5.e1fca8",
\r
1953 "name": "set the max bandwidth",
\r
1954 "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n\n\n",
\r
1958 "z": "a52db008.999ba",
\r
1962 "id": "7b409cff.da197c",
\r
1963 "type": "execute",
\r
1964 "name": "execute split tp-id to get pnf-name",
\r
1965 "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
1970 "z": "a52db008.999ba",
\r
1979 "id": "685f5c8c.4102b4",
\r
1980 "type": "failure",
\r
1981 "name": "success",
\r
1982 "xml": "<outcome value='success'>\n",
\r
1987 "z": "a52db008.999ba",
\r
1995 "id": "6c1cd175.73bac",
\r
1996 "type": "failure",
\r
1997 "name": "failure",
\r
1998 "xml": "<outcome value='failure'>\n",
\r
2003 "z": "a52db008.999ba",
\r
2011 "id": "c779d61e.1b8528",
\r
2012 "type": "returnFailure",
\r
2013 "name": "return failure",
\r
2014 "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
2018 "z": "a52db008.999ba",
\r
2022 "id": "1331c07a.407898",
\r
2024 "name": "block : atomic",
\r
2025 "xml": "<block atomic=\"true\">",
\r
2030 "z": "a52db008.999ba",
\r
2033 "59393385.2a7954",
\r
2039 "id": "59393385.2a7954",
\r
2041 "name": "set pnf-name",
\r
2042 "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
2046 "z": "a52db008.999ba",
\r
2050 "id": "e04c02f4.2f63f8",
\r
2051 "type": "execute",
\r
2052 "name": "execute split tp-id to get pnf-name",
\r
2053 "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
2057 "y": 1461.9998779296875,
\r
2058 "z": "a52db008.999ba",
\r
2061 "250eb2ce.721286",
\r
2067 "id": "7ff4092b.9f4c3",
\r
2068 "type": "failure",
\r
2069 "name": "success",
\r
2070 "xml": "<outcome value='success'>\n",
\r
2074 "y": 1447.9998779296875,
\r
2075 "z": "a52db008.999ba",
\r
2083 "id": "250eb2ce.721286",
\r
2084 "type": "failure",
\r
2085 "name": "failure",
\r
2086 "xml": "<outcome value='failure'>\n",
\r
2090 "y": 1480.9998779296875,
\r
2091 "z": "a52db008.999ba",
\r
2099 "id": "d740a9b4.496fa",
\r
2100 "type": "returnFailure",
\r
2101 "name": "return failure",
\r
2102 "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
2105 "y": 1477.9998779296875,
\r
2106 "z": "a52db008.999ba",
\r
2110 "id": "4e15b8c4.ecfe8",
\r
2112 "name": "block : atomic",
\r
2113 "xml": "<block atomic=\"true\">",
\r
2117 "y": 1440.9998779296875,
\r
2118 "z": "a52db008.999ba",
\r
2121 "a09d9728.0836a8",
\r
2127 "id": "a09d9728.0836a8",
\r
2129 "name": "set pnf-name",
\r
2130 "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
2134 "z": "a52db008.999ba",
\r
2138 "id": "7ac4d896.f266b8",
\r
2139 "type": "execute",
\r
2140 "name": "execute properties",
\r
2141 "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
2146 "z": "a52db008.999ba",
\r
2152 "id": "41475eff.deafd",
\r
2153 "type": "execute",
\r
2154 "name": "execute UUID generator for vpn-binding domainA",
\r
2155 "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
2160 "z": "a52db008.999ba",
\r
2166 "id": "171af565.db9233",
\r
2167 "type": "execute",
\r
2168 "name": "execute UUID generator for vpn-binding domainB",
\r
2169 "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
2174 "z": "a52db008.999ba",
\r
2180 "id": "a8e7dd16.944608",
\r
2182 "name": "for each relationship",
\r
2183 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
2188 "z": "a52db008.999ba",
\r
2196 "id": "58871d7.533a164",
\r
2197 "type": "switchNode",
\r
2198 "name": "switch related-to",
\r
2199 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
2204 "z": "a52db008.999ba",
\r
2212 "id": "e6111c32.d5195",
\r
2213 "type": "outcome",
\r
2214 "name": "tunnel-termination-point",
\r
2215 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2218 "x": 4035.28564453125,
\r
2219 "y": 1194.82177734375,
\r
2220 "z": "a52db008.999ba",
\r
2228 "id": "4a0a1881.22b0b",
\r
2230 "name": "block : atomic",
\r
2231 "xml": "<block atomic=\"true\">",
\r
2234 "x": 4242.1171875,
\r
2235 "y": 1195.34033203125,
\r
2236 "z": "a52db008.999ba",
\r
2239 "5e5dd832.1a8688",
\r
2246 "id": "5e5dd832.1a8688",
\r
2248 "name": "set source ttp-id",
\r
2249 "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
2251 "x": 4457.1171875,
\r
2252 "y": 1157.34033203125,
\r
2253 "z": "a52db008.999ba",
\r
2257 "id": "54bc0e63.9b6c2",
\r
2258 "type": "get-resource",
\r
2259 "name": "get-resource src TTP",
\r
2260 "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
2263 "x": 4454.1171875,
\r
2264 "y": 1196.34033203125,
\r
2265 "z": "a52db008.999ba",
\r
2273 "id": "21213693.b01ef2",
\r
2276 "xml": "<break>\n",
\r
2278 "x": 4409.6171875,
\r
2279 "y": 1238.34033203125,
\r
2280 "z": "a52db008.999ba",
\r
2284 "id": "de5f8f91.d806",
\r
2285 "type": "success",
\r
2286 "name": "success",
\r
2287 "xml": "<outcome value='success'>\n",
\r
2290 "x": 4634.6171875,
\r
2291 "y": 1195.34033203125,
\r
2292 "z": "a52db008.999ba",
\r
2300 "id": "f282b1a5.b5514",
\r
2302 "name": "block : atomic",
\r
2303 "xml": "<block atomic=\"true\">",
\r
2306 "x": 4792.6171875,
\r
2307 "y": 1195.34033203125,
\r
2308 "z": "a52db008.999ba",
\r
2316 "id": "5cf873ba.a6923c",
\r
2318 "name": "set source tunnel tp ip",
\r
2319 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2321 "x": 4999.6171875,
\r
2322 "y": 1195.34033203125,
\r
2323 "z": "a52db008.999ba",
\r
2327 "id": "34f70001.b13958",
\r
2329 "name": "for each relationship",
\r
2330 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2334 "y": 2064.0001220703125,
\r
2335 "z": "a52db008.999ba",
\r
2343 "id": "a071673c.fc9a28",
\r
2344 "type": "switchNode",
\r
2345 "name": "switch related-to",
\r
2346 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2350 "y": 2064.0001220703125,
\r
2351 "z": "a52db008.999ba",
\r
2359 "id": "6adf0421.fc4f54",
\r
2360 "type": "outcome",
\r
2361 "name": "tunnel-termination-point",
\r
2362 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2365 "x": 4032.28564453125,
\r
2366 "y": 2063.8218994140625,
\r
2367 "z": "a52db008.999ba",
\r
2375 "id": "2bb1f1c3.65f2c6",
\r
2377 "name": "block : atomic",
\r
2378 "xml": "<block atomic=\"true\">",
\r
2381 "x": 4239.1171875,
\r
2382 "y": 2064.3404541015625,
\r
2383 "z": "a52db008.999ba",
\r
2386 "11642463.fe6e2c",
\r
2393 "id": "11642463.fe6e2c",
\r
2395 "name": "set destination ttp-id",
\r
2396 "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
2398 "x": 4454.1171875,
\r
2399 "y": 2026.3404541015625,
\r
2400 "z": "a52db008.999ba",
\r
2404 "id": "c588c96b.efcac",
\r
2405 "type": "get-resource",
\r
2406 "name": "get-resource src TTP",
\r
2407 "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
2410 "x": 4451.1171875,
\r
2411 "y": 2065.3404541015625,
\r
2412 "z": "a52db008.999ba",
\r
2420 "id": "4df609a.395b578",
\r
2423 "xml": "<break>\n",
\r
2425 "x": 4406.6171875,
\r
2426 "y": 2107.3404541015625,
\r
2427 "z": "a52db008.999ba",
\r
2431 "id": "946398a2.3fdd3",
\r
2432 "type": "success",
\r
2433 "name": "success",
\r
2434 "xml": "<outcome value='success'>\n",
\r
2437 "x": 4631.6171875,
\r
2438 "y": 2064.3404541015625,
\r
2439 "z": "a52db008.999ba",
\r
2447 "id": "4ada9462.92f41c",
\r
2449 "name": "block : atomic",
\r
2450 "xml": "<block atomic=\"true\">",
\r
2453 "x": 4789.6171875,
\r
2454 "y": 2064.3404541015625,
\r
2455 "z": "a52db008.999ba",
\r
2463 "id": "85bbe5c.988a398",
\r
2465 "name": "set destination tunnel tp ip",
\r
2466 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2468 "x": 4996.6171875,
\r
2469 "y": 2064.3404541015625,
\r
2470 "z": "a52db008.999ba",
\r
2474 "id": "62bd6081.059d7",
\r
2476 "name": "set attachment_param domain B",
\r
2477 "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,' + $maximum-bandwidth /1000 *2 /3 `\" />\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
2481 "z": "a52db008.999ba",
\r
2485 "id": "5055791b.75c5d",
\r
2486 "type": "get-resource",
\r
2487 "name": "get-resource src pnf",
\r
2488 "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
2493 "z": "a52db008.999ba",
\r
2496 "b37ffca0.5536d8",
\r
2497 "f29e8ee3.6f68c8",
\r
2503 "id": "b37ffca0.5536d8",
\r
2504 "type": "success",
\r
2505 "name": "success",
\r
2506 "xml": "<outcome value='success'>\n",
\r
2509 "x": 3722.5001220703125,
\r
2511 "z": "a52db008.999ba",
\r
2519 "id": "f29e8ee3.6f68c8",
\r
2520 "type": "not-found",
\r
2521 "name": "not-found",
\r
2522 "xml": "<outcome value='not-found'>\n",
\r
2525 "x": 3714.5001220703125,
\r
2527 "z": "a52db008.999ba",
\r
2535 "id": "12ff2066.526398",
\r
2538 "xml": "<outcome value='Other'>\n",
\r
2541 "x": 3719.5001220703125,
\r
2543 "z": "a52db008.999ba",
\r
2551 "id": "d2755963.27f41",
\r
2552 "type": "returnFailure",
\r
2553 "name": "return failure",
\r
2554 "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
2556 "x": 3871.5001220703125,
\r
2558 "z": "a52db008.999ba",
\r
2562 "id": "aea102ae.c04f58",
\r
2563 "type": "returnFailure",
\r
2564 "name": "return failure",
\r
2565 "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
2567 "x": 3882.5001220703125,
\r
2569 "z": "a52db008.999ba",
\r
2573 "id": "8d70b5c4.7732f8",
\r
2576 "xml": "<block>\n",
\r
2577 "atomic": "false",
\r
2580 "x": 3866.8824462890625,
\r
2581 "y": 620.6556701660156,
\r
2582 "z": "a52db008.999ba",
\r
2590 "id": "f4395a66.200ea",
\r
2591 "type": "outcome",
\r
2592 "name": "esr-thirdparty-sdnc",
\r
2593 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2598 "z": "a52db008.999ba",
\r
2606 "id": "89965e9d.5bf73",
\r
2608 "name": "block : atomic",
\r
2609 "xml": "<block atomic=\"true\">",
\r
2614 "z": "a52db008.999ba",
\r
2623 "id": "bbf0aa7e.e2119",
\r
2625 "name": "for each relationship",
\r
2626 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2631 "z": "a52db008.999ba",
\r
2639 "id": "5e8a47e5.344b2",
\r
2640 "type": "switchNode",
\r
2641 "name": "switch related-to",
\r
2642 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2647 "z": "a52db008.999ba",
\r
2656 "id": "cf2b04e9.c7ece",
\r
2658 "name": "set esr-thirdparty-sdnc domainA id",
\r
2659 "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
2663 "z": "a52db008.999ba",
\r
2667 "id": "73d2c0a6.ca0098",
\r
2668 "type": "success",
\r
2669 "name": "success",
\r
2670 "xml": "<outcome value='success'>\n",
\r
2675 "z": "a52db008.999ba",
\r
2683 "id": "2f388561.aeb472",
\r
2684 "type": "not-found",
\r
2685 "name": "not-found",
\r
2686 "xml": "<outcome value='not-found'>\n",
\r
2691 "z": "a52db008.999ba",
\r
2699 "id": "c9248b9c.994ac",
\r
2702 "xml": "<outcome value='Other'>\n",
\r
2707 "z": "a52db008.999ba",
\r
2715 "id": "c9c36e85.c10ae8",
\r
2716 "type": "returnFailure",
\r
2717 "name": "return failure",
\r
2718 "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
2722 "z": "a52db008.999ba",
\r
2726 "id": "d2cf9090.58e4c8",
\r
2727 "type": "returnFailure",
\r
2728 "name": "return failure",
\r
2729 "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
2733 "z": "a52db008.999ba",
\r
2737 "id": "c43ff31d.81e548",
\r
2740 "xml": "<block>\n",
\r
2741 "atomic": "false",
\r
2744 "x": 5188.38232421875,
\r
2745 "y": 626.6556701660156,
\r
2746 "z": "a52db008.999ba",
\r
2754 "id": "2aa1f89d.d99288",
\r
2756 "name": "set controller domainA data",
\r
2757 "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
2761 "z": "a52db008.999ba",
\r
2765 "id": "a9ef3bf.dca6748",
\r
2766 "type": "get-resource",
\r
2767 "name": "get-resource src pnf",
\r
2768 "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
2773 "z": "a52db008.999ba",
\r
2776 "4ce90a1d.60092c",
\r
2777 "60723c85.f84054",
\r
2783 "id": "4ce90a1d.60092c",
\r
2784 "type": "success",
\r
2785 "name": "success",
\r
2786 "xml": "<outcome value='success'>\n",
\r
2789 "x": 3763.5001220703125,
\r
2791 "z": "a52db008.999ba",
\r
2799 "id": "60723c85.f84054",
\r
2800 "type": "not-found",
\r
2801 "name": "not-found",
\r
2802 "xml": "<outcome value='not-found'>\n",
\r
2805 "x": 3755.5001220703125,
\r
2807 "z": "a52db008.999ba",
\r
2815 "id": "343ac8c.8b51638",
\r
2818 "xml": "<outcome value='Other'>\n",
\r
2821 "x": 3760.5001220703125,
\r
2823 "z": "a52db008.999ba",
\r
2831 "id": "67449715.5406e8",
\r
2832 "type": "returnFailure",
\r
2833 "name": "return failure",
\r
2834 "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
2836 "x": 3912.5001220703125,
\r
2838 "z": "a52db008.999ba",
\r
2842 "id": "e9f57737.1a79b8",
\r
2843 "type": "returnFailure",
\r
2844 "name": "return failure",
\r
2845 "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
2847 "x": 3923.5001220703125,
\r
2849 "z": "a52db008.999ba",
\r
2853 "id": "ce24a29a.e4d57",
\r
2856 "xml": "<block>\n",
\r
2857 "atomic": "false",
\r
2860 "x": 3907.8824462890625,
\r
2861 "y": 1461.6556701660156,
\r
2862 "z": "a52db008.999ba",
\r
2870 "id": "857c3216.12f558",
\r
2871 "type": "outcome",
\r
2872 "name": "esr-thirdparty-sdnc",
\r
2873 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2878 "z": "a52db008.999ba",
\r
2886 "id": "6bbf97a7.ebebb8",
\r
2888 "name": "block : atomic",
\r
2889 "xml": "<block atomic=\"true\">",
\r
2894 "z": "a52db008.999ba",
\r
2903 "id": "ed40a410.dc6fe8",
\r
2905 "name": "for each relationship",
\r
2906 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2911 "z": "a52db008.999ba",
\r
2919 "id": "70b35483.a830f4",
\r
2920 "type": "switchNode",
\r
2921 "name": "switch related-to",
\r
2922 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2927 "z": "a52db008.999ba",
\r
2930 "857c3216.12f558",
\r
2936 "id": "1c8432c4.e13b6d",
\r
2937 "type": "execute",
\r
2938 "name": "get esr-thirdparty-sdnc",
\r
2939 "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
2944 "z": "a52db008.999ba",
\r
2947 "6cc22b96.ba67f4",
\r
2948 "b08dfdd6.0852f8",
\r
2954 "id": "ee554955.44691",
\r
2956 "name": "set esr-thirdparty-sdnc domainB id",
\r
2957 "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
2961 "z": "a52db008.999ba",
\r
2965 "id": "6cc22b96.ba67f4",
\r
2966 "type": "success",
\r
2967 "name": "success",
\r
2968 "xml": "<outcome value='success'>\n",
\r
2973 "z": "a52db008.999ba",
\r
2981 "id": "b08dfdd6.0852f8",
\r
2982 "type": "not-found",
\r
2983 "name": "not-found",
\r
2984 "xml": "<outcome value='not-found'>\n",
\r
2989 "z": "a52db008.999ba",
\r
2997 "id": "4f7e6e24.1a4",
\r
3000 "xml": "<outcome value='Other'>\n",
\r
3005 "z": "a52db008.999ba",
\r
3013 "id": "92c87883.16eab",
\r
3014 "type": "returnFailure",
\r
3015 "name": "return failure",
\r
3016 "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
3020 "z": "a52db008.999ba",
\r
3024 "id": "4d7c2f7b.855e48",
\r
3025 "type": "returnFailure",
\r
3026 "name": "return failure",
\r
3027 "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
3031 "z": "a52db008.999ba",
\r
3035 "id": "19f4c2b.fd2d63d",
\r
3038 "xml": "<block>\n",
\r
3039 "atomic": "false",
\r
3042 "x": 5229.38232421875,
\r
3043 "y": 1467.6556701660156,
\r
3044 "z": "a52db008.999ba",
\r
3052 "id": "f5fd6d7b.ccf568",
\r
3054 "name": "set controller domainB data",
\r
3055 "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
3059 "z": "a52db008.999ba",
\r
3063 "id": "fdbb72c5.61c228",
\r
3064 "type": "execute",
\r
3065 "name": "execute RestApiCallNode slice creation domainA",
\r
3066 "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
3071 "z": "a52db008.999ba",
\r
3080 "id": "47c9af20.002648",
\r
3081 "type": "failure",
\r
3082 "name": "failure",
\r
3083 "xml": "<outcome value='failure'>\n",
\r
3088 "z": "a52db008.999ba",
\r
3096 "id": "b62b791e.5db38",
\r
3097 "type": "success",
\r
3098 "name": "success",
\r
3099 "xml": "<outcome value='success'>\n",
\r
3102 "x": 2690.000213623047,
\r
3103 "y": 2704.99990940094,
\r
3104 "z": "a52db008.999ba",
\r
3112 "id": "e173211c.50ca1",
\r
3113 "type": "returnFailure",
\r
3114 "name": "return failure",
\r
3115 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
\r
3117 "x": 2829.0002479553223,
\r
3118 "y": 2654.0000009536743,
\r
3119 "z": "a52db008.999ba",
\r
3123 "id": "9a481111.191d4",
\r
3126 "xml": "<block>\n",
\r
3127 "atomic": "false",
\r
3130 "x": 2835.02725982666,
\r
3131 "y": 2702.745394706726,
\r
3132 "z": "a52db008.999ba",
\r
3138 "id": "3f4df906.b67d7e",
\r
3139 "type": "execute",
\r
3140 "name": "execute RestApiCallNode slice creation domainB",
\r
3141 "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
3146 "z": "a52db008.999ba",
\r
3149 "e8fdf08e.e8b0f8",
\r
3155 "id": "a8718b8a.f404c8",
\r
3156 "type": "failure",
\r
3157 "name": "failure",
\r
3158 "xml": "<outcome value='failure'>\n",
\r
3163 "z": "a52db008.999ba",
\r
3171 "id": "e8fdf08e.e8b0f8",
\r
3172 "type": "success",
\r
3173 "name": "success",
\r
3174 "xml": "<outcome value='success'>\n",
\r
3177 "x": 2690.000213623047,
\r
3178 "y": 3076.99990940094,
\r
3179 "z": "a52db008.999ba",
\r
3187 "id": "fcecbd56.8e1ac",
\r
3188 "type": "returnFailure",
\r
3189 "name": "return failure",
\r
3190 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
\r
3192 "x": 2829.0002479553223,
\r
3193 "y": 3026.0000009536743,
\r
3194 "z": "a52db008.999ba",
\r
3198 "id": "ccb1984d.b4313",
\r
3201 "xml": "<block>\n",
\r
3202 "atomic": "false",
\r
3205 "x": 2835.02725982666,
\r
3206 "y": 3074.745394706726,
\r
3207 "z": "a52db008.999ba",
\r
3213 "id": "b6e0228b.bc6398",
\r
3215 "name": "block : atomic",
\r
3216 "xml": "<block atomic=\"true\">",
\r
3221 "z": "a52db008.999ba",
\r
3224 "65e46dcd.9c5144",
\r
3230 "id": "bb6c8a2e.a61878",
\r
3232 "name": "for each allotted-resource relationship",
\r
3233 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
3238 "z": "a52db008.999ba",
\r
3246 "id": "475f2872.5fafd",
\r
3247 "type": "switchNode",
\r
3248 "name": "switch related-to",
\r
3249 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
3254 "z": "a52db008.999ba",
\r
3262 "id": "cfe936cc.62cbd8",
\r
3263 "type": "outcome",
\r
3264 "name": "network-resource",
\r
3265 "xml": "<outcome value='network-resource'>",
\r
3270 "z": "a52db008.999ba",
\r
3278 "id": "29038cb1.b59084",
\r
3280 "name": "block : atomic",
\r
3281 "xml": "<block atomic=\"true\">",
\r
3286 "z": "a52db008.999ba",
\r
3294 "id": "c25692cd.684ce8",
\r
3296 "name": "set domainA ethernet layer network-id",
\r
3297 "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
3301 "z": "a52db008.999ba",
\r
3305 "id": "68f808b3.66b5",
\r
3307 "name": "set domainB ethernet layer network-id",
\r
3308 "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
3312 "z": "a52db008.999ba",
\r
3316 "id": "ad76d9b4.88b908",
\r
3318 "name": "block : atomic",
\r
3319 "xml": "<block atomic=\"true\">",
\r
3324 "z": "a52db008.999ba",
\r
3332 "id": "dc8e8812.fdd648",
\r
3333 "type": "outcome",
\r
3334 "name": "network-resource",
\r
3335 "xml": "<outcome value='network-resource'>",
\r
3340 "z": "a52db008.999ba",
\r
3348 "id": "fad5035b.7ee3a8",
\r
3349 "type": "execute",
\r
3350 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3351 "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/ietf-optical-slice:tp-slice-id' `\" />\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
3356 "z": "a52db008.999ba",
\r
3359 "bc31fb8e.e87f08",
\r
3365 "id": "8c5d2dc9.bdb42",
\r
3366 "type": "failure",
\r
3367 "name": "failure",
\r
3368 "xml": "<outcome value='failure'>\n",
\r
3373 "z": "a52db008.999ba",
\r
3381 "id": "bc31fb8e.e87f08",
\r
3382 "type": "success",
\r
3383 "name": "success",
\r
3384 "xml": "<outcome value='success'>\n",
\r
3387 "x": 2692.000213623047,
\r
3388 "y": 2837.99990940094,
\r
3389 "z": "a52db008.999ba",
\r
3397 "id": "536d6d82.f4f124",
\r
3398 "type": "returnFailure",
\r
3399 "name": "return failure",
\r
3400 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
\r
3402 "x": 2831.0002479553223,
\r
3403 "y": 2787.0000009536743,
\r
3404 "z": "a52db008.999ba",
\r
3408 "id": "509489f1.58fe18",
\r
3411 "xml": "<block>\n",
\r
3412 "atomic": "false",
\r
3415 "x": 2837.02725982666,
\r
3416 "y": 2835.745394706726,
\r
3417 "z": "a52db008.999ba",
\r
3423 "id": "d037b0c3.f093c",
\r
3424 "type": "execute",
\r
3425 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3426 "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/ietf-optical-slice:tp-slice-id' `\" />\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
3431 "z": "a52db008.999ba",
\r
3440 "id": "b835a972.f48b7",
\r
3441 "type": "failure",
\r
3442 "name": "failure",
\r
3443 "xml": "<outcome value='failure'>\n",
\r
3448 "z": "a52db008.999ba",
\r
3456 "id": "8c8a801.d7272",
\r
3457 "type": "success",
\r
3458 "name": "success",
\r
3459 "xml": "<outcome value='success'>\n",
\r
3462 "x": 2692.000213623047,
\r
3463 "y": 3203.99990940094,
\r
3464 "z": "a52db008.999ba",
\r
3472 "id": "88a6a85e.9ed23",
\r
3473 "type": "returnFailure",
\r
3474 "name": "return failure",
\r
3475 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
\r
3477 "x": 2831.0002479553223,
\r
3478 "y": 3153.0000009536743,
\r
3479 "z": "a52db008.999ba",
\r
3483 "id": "7de5bd62.f4f62c",
\r
3486 "xml": "<block>\n",
\r
3487 "atomic": "false",
\r
3490 "x": 2837.02725982666,
\r
3491 "y": 3201.745394706726,
\r
3492 "z": "a52db008.999ba",
\r