3 "id": "187a8cd0.b6793b",
\r
9 "z": "4d37a11.42c136",
\r
17 "id": "5ea5ad17.ee4964",
\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": 428.2856903076172,
\r
26 "y": 193.23810863494873,
\r
27 "z": "4d37a11.42c136",
\r
35 "id": "9dad8fbc.f24f98",
\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": 434.42860412597656,
\r
42 "y": 278.0000305175781,
\r
43 "z": "4d37a11.42c136",
\r
51 "id": "ca46cddf.f67038",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 804.238037109375,
\r
58 "y": 302.66668701171875,
\r
59 "z": "4d37a11.42c136",
\r
69 "id": "506e7f5c.19244",
\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": 1105.571533203125,
\r
75 "y": 573.5969848632812,
\r
76 "z": "4d37a11.42c136",
\r
80 "id": "7c740453.8a159c",
\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": "78f50d5a.2a0cec",
\r
101 "xml": "<outcome value='success'>\n",
\r
106 "z": "4d37a11.42c136",
\r
114 "id": "c34c58a5.11a148",
\r
115 "type": "not-found",
\r
116 "name": "not-found",
\r
117 "xml": "<outcome value='not-found'>\n",
\r
120 "x": 1347.490966796875,
\r
121 "y": 203.57403564453125,
\r
122 "z": "4d37a11.42c136",
\r
130 "id": "f82c0a42.39fea8",
\r
133 "xml": "<outcome value='failure'>\n",
\r
138 "z": "4d37a11.42c136",
\r
146 "id": "dfc9a5db.996c4",
\r
147 "type": "switchNode",
\r
148 "name": "switch allotted-resources_length != 0",
\r
149 "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",
\r
154 "z": "4d37a11.42c136",
\r
163 "id": "5383933.3cbeeec",
\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": 1501.0623779296875,
\r
169 "y": 206.85977172851562,
\r
170 "z": "4d37a11.42c136",
\r
174 "id": "3912b121.be04f6",
\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": "fea7170c.7030f8",
\r
186 "type": "outcomeTrue",
\r
188 "xml": "<outcome value='true'>\n",
\r
193 "z": "4d37a11.42c136",
\r
201 "id": "8bbb818c.845db",
\r
202 "type": "outcomeFalse",
\r
204 "xml": "<outcome value='false'>\n",
\r
209 "z": "4d37a11.42c136",
\r
215 "id": "f5ddac6.6343fd",
\r
217 "name": "new for TransportSlicing",
\r
222 "z": "4d37a11.42c136",
\r
226 "id": "bf993d83.a36c8",
\r
229 "xml": "<block>\n",
\r
235 "z": "4d37a11.42c136",
\r
245 "id": "50cd8b4c.3fbe34",
\r
247 "name": "set network-route-A",
\r
248 "xml": "<set>\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",
\r
252 "z": "4d37a11.42c136",
\r
256 "id": "4f854478.eff1a4",
\r
258 "name": "set network-route-B",
\r
259 "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
\r
263 "z": "4d37a11.42c136",
\r
267 "id": "78e29884.225c08",
\r
269 "name": "get allotted-resource from aai",
\r
270 "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
275 "z": "4d37a11.42c136",
\r
285 "id": "e80669a1.e9e15",
\r
288 "xml": "<outcome value='success'>\n",
\r
293 "z": "4d37a11.42c136",
\r
301 "id": "2a720603.9816ea",
\r
302 "type": "not-found",
\r
303 "name": "not-found",
\r
304 "xml": "<outcome value='not-found'>\n",
\r
307 "x": 2491.490966796875,
\r
308 "y": 260.573974609375,
\r
309 "z": "4d37a11.42c136",
\r
317 "id": "13ab43c3.0c3b8c",
\r
320 "xml": "<outcome value='failure'>\n",
\r
325 "z": "4d37a11.42c136",
\r
333 "id": "e741b978.cc2c38",
\r
334 "type": "returnFailure",
\r
335 "name": "return failure",
\r
336 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
339 "y": 260.8597412109375,
\r
340 "z": "4d37a11.42c136",
\r
344 "id": "b16bf403.baad58",
\r
345 "type": "returnFailure",
\r
346 "name": "return failure",
\r
347 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
351 "z": "4d37a11.42c136",
\r
355 "id": "6e843ab.3582ec4",
\r
357 "name": "get logical-link from aai",
\r
358 "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
363 "z": "4d37a11.42c136",
\r
373 "id": "4070a4d0.4176d4",
\r
374 "type": "not-found",
\r
375 "name": "not-found",
\r
376 "xml": "<outcome value='not-found'>\n",
\r
379 "x": 2301.490966796875,
\r
380 "y": 761.573974609375,
\r
381 "z": "4d37a11.42c136",
\r
389 "id": "60c71e39.2f942",
\r
392 "xml": "<outcome value='failure'>\n",
\r
397 "z": "4d37a11.42c136",
\r
405 "id": "77c211be.bc11e8",
\r
406 "type": "returnFailure",
\r
407 "name": "return failure",
\r
408 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
411 "y": 761.8597412109375,
\r
412 "z": "4d37a11.42c136",
\r
416 "id": "fbd7810f.a3734",
\r
417 "type": "returnFailure",
\r
418 "name": "return failure",
\r
419 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
423 "z": "4d37a11.42c136",
\r
427 "id": "a6a55952.b90f",
\r
430 "xml": "<outcome value='success'>\n",
\r
435 "z": "4d37a11.42c136",
\r
443 "id": "22d259e0.d6e2e6",
\r
446 "xml": "<block>\n",
\r
452 "z": "4d37a11.42c136",
\r
479 "id": "14a4c097.be654f",
\r
481 "name": "get network-route-A from aai",
\r
482 "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
487 "z": "4d37a11.42c136",
\r
497 "id": "644a5f8e.b0774",
\r
499 "name": "get network-route-B from aai",
\r
500 "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
504 "y": 1567.9998779296875,
\r
505 "z": "4d37a11.42c136",
\r
515 "id": "7df96ca0.99ecc4",
\r
516 "type": "not-found",
\r
517 "name": "not-found",
\r
518 "xml": "<outcome value='not-found'>\n",
\r
523 "z": "4d37a11.42c136",
\r
531 "id": "50b0a0cb.3236a8",
\r
534 "xml": "<outcome value='failure'>\n",
\r
537 "x": 2861.509033203125,
\r
538 "y": 899.426025390625,
\r
539 "z": "4d37a11.42c136",
\r
547 "id": "a3437ac7.e0ee1",
\r
550 "xml": "<outcome value='success'>\n",
\r
553 "x": 2865.509033203125,
\r
554 "y": 950.426025390625,
\r
555 "z": "4d37a11.42c136",
\r
563 "id": "a6fc1138.23945",
\r
564 "type": "returnFailure",
\r
565 "name": "return failure",
\r
566 "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
568 "x": 3014.571533203125,
\r
569 "y": 849.2857666015625,
\r
570 "z": "4d37a11.42c136",
\r
574 "id": "6e6d0210.60f404",
\r
575 "type": "returnFailure",
\r
576 "name": "return failure",
\r
577 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
579 "x": 3004.509033203125,
\r
580 "y": 899.426025390625,
\r
581 "z": "4d37a11.42c136",
\r
585 "id": "ece670c3.4f34a8",
\r
586 "type": "not-found",
\r
587 "name": "not-found",
\r
588 "xml": "<outcome value='not-found'>\n",
\r
592 "y": 1537.9998779296875,
\r
593 "z": "4d37a11.42c136",
\r
601 "id": "263c76fe.5b3242",
\r
604 "xml": "<outcome value='failure'>\n",
\r
607 "x": 2862.509033203125,
\r
608 "y": 1587.4259033203125,
\r
609 "z": "4d37a11.42c136",
\r
617 "id": "97139121.0331f8",
\r
620 "xml": "<outcome value='success'>\n",
\r
623 "x": 2866.509033203125,
\r
624 "y": 1638.4259033203125,
\r
625 "z": "4d37a11.42c136",
\r
633 "id": "f4c07ea8.414868",
\r
634 "type": "returnFailure",
\r
635 "name": "return failure",
\r
636 "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
638 "x": 3015.571533203125,
\r
639 "y": 1537.28564453125,
\r
640 "z": "4d37a11.42c136",
\r
644 "id": "ce13d349.caf3b8",
\r
645 "type": "returnFailure",
\r
646 "name": "return failure",
\r
647 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
649 "x": 3005.509033203125,
\r
650 "y": 1587.4259033203125,
\r
651 "z": "4d37a11.42c136",
\r
655 "id": "e31af50c.926d2",
\r
657 "name": "block : atomic",
\r
658 "xml": "<block atomic=\"true\">",
\r
661 "x": 3679.66650390625,
\r
663 "z": "4d37a11.42c136",
\r
675 "id": "b7824d8a.d2e4f8",
\r
678 "xml": "<outcome value='success'>\n",
\r
683 "z": "4d37a11.42c136",
\r
691 "id": "5d5b9681.b7598",
\r
692 "type": "not-found",
\r
693 "name": "not-found",
\r
694 "xml": "<outcome value='not-found'>\n",
\r
697 "x": 3516.490966796875,
\r
698 "y": 1037.5740356445312,
\r
699 "z": "4d37a11.42c136",
\r
707 "id": "6e8be76c.59d528",
\r
710 "xml": "<outcome value='failure'>\n",
\r
715 "z": "4d37a11.42c136",
\r
723 "id": "4fc1bcc7.eeb784",
\r
724 "type": "returnFailure",
\r
725 "name": "return failure",
\r
726 "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
728 "x": 3670.0623779296875,
\r
729 "y": 1040.8597717285156,
\r
730 "z": "4d37a11.42c136",
\r
734 "id": "ac4a57cf.bef8e8",
\r
735 "type": "returnFailure",
\r
736 "name": "return failure",
\r
737 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
741 "z": "4d37a11.42c136",
\r
745 "id": "d860cdb2.412c48",
\r
747 "name": "block : atomic",
\r
748 "xml": "<block atomic=\"true\">",
\r
753 "z": "4d37a11.42c136",
\r
762 "id": "d30e3d8d.09cef8",
\r
764 "name": "block : atomic",
\r
765 "xml": "<block atomic=\"true\">",
\r
769 "y": 1639.9998779296875,
\r
770 "z": "4d37a11.42c136",
\r
779 "id": "a1006da4.a872e",
\r
781 "name": "block : atomic",
\r
782 "xml": "<block atomic=\"true\">",
\r
785 "x": 3647.66650390625,
\r
787 "z": "4d37a11.42c136",
\r
799 "id": "c9dbe459.2e8d58",
\r
802 "xml": "<outcome value='success'>\n",
\r
807 "z": "4d37a11.42c136",
\r
815 "id": "dab2f9a8.cea26",
\r
816 "type": "not-found",
\r
817 "name": "not-found",
\r
818 "xml": "<outcome value='not-found'>\n",
\r
821 "x": 3484.490966796875,
\r
822 "y": 1873.5740356445312,
\r
823 "z": "4d37a11.42c136",
\r
831 "id": "f5d094cc.fe5d68",
\r
834 "xml": "<outcome value='failure'>\n",
\r
839 "z": "4d37a11.42c136",
\r
847 "id": "6f793776.f883f",
\r
848 "type": "returnFailure",
\r
849 "name": "return failure",
\r
850 "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
852 "x": 3638.0623779296875,
\r
853 "y": 1876.8597717285156,
\r
854 "z": "4d37a11.42c136",
\r
858 "id": "f383fe68.3b83",
\r
859 "type": "returnFailure",
\r
860 "name": "return failure",
\r
861 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
865 "z": "4d37a11.42c136",
\r
869 "id": "c203b1ea.86f6c",
\r
871 "name": "execute split tp-id to get pnf-name",
\r
872 "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
877 "z": "4d37a11.42c136",
\r
886 "id": "183e3f66.48a0d1",
\r
889 "xml": "<outcome value='success'>\n",
\r
894 "z": "4d37a11.42c136",
\r
902 "id": "6fb08f41.de4d4",
\r
905 "xml": "<outcome value='failure'>\n",
\r
910 "z": "4d37a11.42c136",
\r
918 "id": "5bf466f.7bcdb98",
\r
920 "name": "set ltpId",
\r
921 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
\r
925 "z": "4d37a11.42c136",
\r
929 "id": "f45e344f.88a748",
\r
930 "type": "returnFailure",
\r
931 "name": "return failure",
\r
932 "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
936 "z": "4d37a11.42c136",
\r
940 "id": "e55834d1.3ca1b8",
\r
942 "name": "block : atomic",
\r
943 "xml": "<block atomic=\"true\">",
\r
948 "z": "4d37a11.42c136",
\r
957 "id": "194d0d3d.11557b",
\r
959 "name": "set pnf-name",
\r
960 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
\r
964 "z": "4d37a11.42c136",
\r
968 "id": "dd1a9ea9.6d631",
\r
970 "name": "TODO: FIXME",
\r
971 "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
975 "z": "4d37a11.42c136",
\r
979 "id": "5d25d92f.6f798",
\r
981 "name": "save connectivity resource in AAI",
\r
982 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$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
987 "z": "4d37a11.42c136",
\r
993 "id": "d4cb3bd3.a349c8",
\r
995 "name": "execute UUID generator for connectivity domainA",
\r
996 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
\r
1001 "z": "4d37a11.42c136",
\r
1007 "id": "6324b9d6.c58fe",
\r
1008 "type": "comment",
\r
1009 "name": "TODO: FIXME",
\r
1010 "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
1014 "z": "4d37a11.42c136",
\r
1018 "id": "a3aca2eb.21f5a8",
\r
1019 "type": "execute",
\r
1020 "name": "execute split tp-id to get pnf-name",
\r
1021 "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
1025 "y": 1834.0001220703125,
\r
1026 "z": "4d37a11.42c136",
\r
1035 "id": "4ffb9846.2cd768",
\r
1036 "type": "failure",
\r
1037 "name": "success",
\r
1038 "xml": "<outcome value='success'>\n",
\r
1042 "y": 1789.0001220703125,
\r
1043 "z": "4d37a11.42c136",
\r
1051 "id": "37186f70.3d57",
\r
1052 "type": "failure",
\r
1053 "name": "failure",
\r
1054 "xml": "<outcome value='failure'>\n",
\r
1058 "y": 1853.0001220703125,
\r
1059 "z": "4d37a11.42c136",
\r
1067 "id": "17f707eb.a2a908",
\r
1069 "name": "set ltpId",
\r
1070 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
\r
1073 "y": 1747.0001220703125,
\r
1074 "z": "4d37a11.42c136",
\r
1078 "id": "1981566c.49d212",
\r
1079 "type": "returnFailure",
\r
1080 "name": "return failure",
\r
1081 "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
1084 "y": 1872.0001220703125,
\r
1085 "z": "4d37a11.42c136",
\r
1089 "id": "17371f4a.955d61",
\r
1091 "name": "block : atomic",
\r
1092 "xml": "<block atomic=\"true\">",
\r
1096 "y": 1786.0001220703125,
\r
1097 "z": "4d37a11.42c136",
\r
1100 "17f707eb.a2a908",
\r
1106 "id": "ca2d1022.cf4e88",
\r
1108 "name": "set pnf-name",
\r
1109 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
1112 "y": 1852.0001220703125,
\r
1113 "z": "4d37a11.42c136",
\r
1117 "id": "8cfd8f17.95a8e",
\r
1118 "type": "comment",
\r
1119 "name": "TODO: FIXME",
\r
1120 "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
1123 "y": 1801.0001220703125,
\r
1124 "z": "4d37a11.42c136",
\r
1128 "id": "d3c0c42f.4b437",
\r
1130 "name": "save connectivity resource in AAI",
\r
1131 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\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
1135 "y": 1993.0001220703125,
\r
1136 "z": "4d37a11.42c136",
\r
1142 "id": "d3723bfd.d9b168",
\r
1143 "type": "execute",
\r
1144 "name": "execute UUID generator for connectivity domainB",
\r
1145 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
\r
1149 "y": 1903.0001220703125,
\r
1150 "z": "4d37a11.42c136",
\r
1156 "id": "1765f0ec.e922ff",
\r
1157 "type": "comment",
\r
1158 "name": "TODO: FIXME",
\r
1159 "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
1162 "y": 1941.0001220703125,
\r
1163 "z": "4d37a11.42c136",
\r
1167 "id": "79e86730.1965c8",
\r
1169 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
1170 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
1175 "z": "4d37a11.42c136",
\r
1181 "id": "4f1b84d7.aafb5c",
\r
1183 "name": "set attachment_param",
\r
1184 "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
1188 "z": "4d37a11.42c136",
\r
1192 "id": "3db83432.384b6c",
\r
1193 "type": "comment",
\r
1194 "name": "TODO: FIXME",
\r
1195 "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
1199 "z": "4d37a11.42c136",
\r
1203 "id": "7ca2c5af.473d34",
\r
1205 "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",
\r
1206 "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.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\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
1211 "z": "4d37a11.42c136",
\r
1219 "id": "28a40435.4178ec",
\r
1221 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
1222 "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
1227 "z": "4d37a11.42c136",
\r
1233 "id": "82428356.c63018",
\r
1235 "name": "save srcLTP relationship in AAI",
\r
1236 "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
1241 "z": "4d37a11.42c136",
\r
1247 "id": "356966b3.03f20a",
\r
1249 "name": "save dstLTP relationship in AAI",
\r
1250 "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
1255 "z": "4d37a11.42c136",
\r
1261 "id": "a5aee8f6.ab5e58",
\r
1263 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1264 "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
1269 "z": "4d37a11.42c136",
\r
1275 "id": "2512774e.7c83b8",
\r
1277 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1278 "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
1282 "y": 2058.0001220703125,
\r
1283 "z": "4d37a11.42c136",
\r
1289 "id": "57191dce.959cfc",
\r
1290 "type": "success",
\r
1291 "name": "success",
\r
1292 "xml": "<outcome value='success'>\n",
\r
1297 "z": "4d37a11.42c136",
\r
1305 "id": "dcb72301.82c018",
\r
1308 "xml": "<block>\n",
\r
1309 "atomic": "false",
\r
1312 "x": 3161.500244140625,
\r
1313 "y": 2235.25390625,
\r
1314 "z": "4d37a11.42c136",
\r
1320 "id": "6975c99d.325498",
\r
1321 "type": "comment",
\r
1322 "name": "TODO: FIXME: do we need this relationship?",
\r
1327 "z": "4d37a11.42c136",
\r
1331 "id": "e85b69e.5211998",
\r
1332 "type": "comment",
\r
1333 "name": "TODO: FIXME: put proper values",
\r
1338 "z": "4d37a11.42c136",
\r
1342 "id": "b46ca414.99697",
\r
1344 "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",
\r
1345 "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.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\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
1350 "z": "4d37a11.42c136",
\r
1358 "id": "58f4ff2f.89d75",
\r
1359 "type": "comment",
\r
1360 "name": "TODO: FIXME: do we need this relationship?",
\r
1365 "z": "4d37a11.42c136",
\r
1369 "id": "cad39d05.aea5f",
\r
1371 "name": "save srcLTP relationship in AAI",
\r
1372 "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
1377 "z": "4d37a11.42c136",
\r
1383 "id": "489163b9.d640b4",
\r
1385 "name": "save dstLTP relationship in AAI",
\r
1386 "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
1391 "z": "4d37a11.42c136",
\r
1397 "id": "d0ea482.a9901b8",
\r
1400 "xml": "<block>\n",
\r
1401 "atomic": "false",
\r
1404 "x": 3164.500244140625,
\r
1405 "y": 2515.25390625,
\r
1406 "z": "4d37a11.42c136",
\r
1412 "id": "e64b3d38.e980a",
\r
1413 "type": "success",
\r
1414 "name": "success",
\r
1415 "xml": "<outcome value='success'>\n",
\r
1420 "z": "4d37a11.42c136",
\r
1428 "id": "9cd3d1db.fb7ce8",
\r
1429 "type": "comment",
\r
1430 "name": "TODO: FIXME: put proper values",
\r
1435 "z": "4d37a11.42c136",
\r
1439 "id": "57fdafb2.9eec08",
\r
1441 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
1442 "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
1447 "z": "4d37a11.42c136",
\r
1453 "id": "aa4b663b.c9d06",
\r
1454 "type": "comment",
\r
1455 "name": "TODO: FIXME:",
\r
1456 "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",
\r
1460 "z": "4d37a11.42c136",
\r
1464 "id": "fc2a7bf0.e878b",
\r
1466 "name": "set attachment_param domain A",
\r
1467 "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='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\n\n<parameter name='`otn-tunnel-sliceA-list[$idx].request-id`' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-dest-node`' value='`$domain-A.node-id`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceA-list[$idx].src-ttp-id`' value='' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].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<parameter name='`otn-tunnel-sliceA-list_length`' value='`$idx + 1`' />\n\n<!--otn-tunnel-slice-list[$idx]-->\n\n",
\r
1471 "z": "4d37a11.42c136",
\r
1475 "id": "2c916faf.da498",
\r
1476 "type": "execute",
\r
1477 "name": "get esr-thirdparty-sdnc",
\r
1478 "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
1483 "z": "4d37a11.42c136",
\r
1487 "6cf958ca.c3e4a8",
\r
1493 "id": "14dca185.e1b46e",
\r
1495 "name": "block : atomic",
\r
1496 "xml": "<block atomic=\"true\">",
\r
1501 "z": "4d37a11.42c136",
\r
1509 "id": "e1ac55d9.d865b8",
\r
1510 "type": "outcome",
\r
1511 "name": "logical-link",
\r
1512 "xml": "<outcome value='logical-link'>\n",
\r
1515 "x": 1601.0001220703125,
\r
1516 "y": 778.0001220703125,
\r
1517 "z": "4d37a11.42c136",
\r
1525 "id": "14b8fde.fcc1702",
\r
1526 "type": "switchNode",
\r
1527 "name": "switch allotted-resource.relationship-list not empty",
\r
1528 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
\r
1533 "z": "4d37a11.42c136",
\r
1542 "id": "32fc4868.fa2b8",
\r
1543 "type": "outcomeFalse",
\r
1545 "xml": "<outcome value='false'>\n",
\r
1550 "z": "4d37a11.42c136",
\r
1556 "id": "e65ebebd.579d6",
\r
1557 "type": "outcomeTrue",
\r
1559 "xml": "<outcome value='true'>\n",
\r
1564 "z": "4d37a11.42c136",
\r
1572 "id": "badc6972.d68008",
\r
1574 "name": "set the current logical-link-name",
\r
1575 "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
1579 "z": "4d37a11.42c136",
\r
1583 "id": "f6ec4c40.65362",
\r
1585 "name": "block : atomic",
\r
1586 "xml": "<block atomic=\"true\">",
\r
1591 "z": "4d37a11.42c136",
\r
1594 "badc6972.d68008",
\r
1600 "id": "76aa64b6.332a54",
\r
1601 "type": "comment",
\r
1602 "name": "Question?",
\r
1603 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1607 "z": "4d37a11.42c136",
\r
1611 "id": "62113903.77ec78",
\r
1613 "name": "get p-interface-src from aai",
\r
1614 "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
1619 "z": "4d37a11.42c136",
\r
1622 "b7824d8a.d2e4f8",
\r
1629 "id": "4ecc6dae.def654",
\r
1631 "name": "get p-interface-dst from aai",
\r
1632 "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
1637 "z": "4d37a11.42c136",
\r
1640 "c9dbe459.2e8d58",
\r
1647 "id": "6f6e53ed.b087ec",
\r
1648 "type": "comment",
\r
1649 "name": "Question?",
\r
1650 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1654 "z": "4d37a11.42c136",
\r
1658 "id": "8a257359.8a7208",
\r
1660 "name": "get allotted-resource relationship from aai",
\r
1661 "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
1666 "z": "4d37a11.42c136",
\r
1669 "8ea1434f.746858",
\r
1676 "id": "f2d8ff7.3c8d5",
\r
1677 "type": "not-found",
\r
1678 "name": "not-found",
\r
1679 "xml": "<outcome value='not-found'>\n",
\r
1682 "x": 3237.490966796875,
\r
1683 "y": 200.573974609375,
\r
1684 "z": "4d37a11.42c136",
\r
1692 "id": "b85ff289.1649f",
\r
1693 "type": "returnFailure",
\r
1694 "name": "return failure",
\r
1695 "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
1698 "y": 200.8597412109375,
\r
1699 "z": "4d37a11.42c136",
\r
1703 "id": "a6d32e01.02e81",
\r
1704 "type": "failure",
\r
1705 "name": "failure",
\r
1706 "xml": "<outcome value='failure'>\n",
\r
1711 "z": "4d37a11.42c136",
\r
1719 "id": "381f7f5a.80d3f8",
\r
1720 "type": "returnFailure",
\r
1721 "name": "return failure",
\r
1722 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1726 "z": "4d37a11.42c136",
\r
1730 "id": "8ea1434f.746858",
\r
1731 "type": "success",
\r
1732 "name": "success",
\r
1733 "xml": "<outcome value='success'>\n",
\r
1738 "z": "4d37a11.42c136",
\r
1746 "id": "6ca45b0b.848dec",
\r
1748 "name": "block : atomic",
\r
1749 "xml": "<block atomic=\"true\">",
\r
1754 "z": "4d37a11.42c136",
\r
1762 "id": "40603cb7.607bc4",
\r
1764 "name": "for each allotted-resource relationship",
\r
1765 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
1770 "z": "4d37a11.42c136",
\r
1778 "id": "4e667cbe.69222c",
\r
1779 "type": "switchNode",
\r
1780 "name": "switch related-to",
\r
1781 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1786 "z": "4d37a11.42c136",
\r
1794 "id": "13452ae4.22e4ad",
\r
1795 "type": "outcome",
\r
1796 "name": "network-policy",
\r
1797 "xml": "<outcome value='network-policy'>\n",
\r
1802 "z": "4d37a11.42c136",
\r
1810 "id": "245f45af.4ae9da",
\r
1812 "name": "block : atomic",
\r
1813 "xml": "<block atomic=\"true\">",
\r
1816 "x": 3569.9998779296875,
\r
1817 "y": 491.9998779296875,
\r
1818 "z": "4d37a11.42c136",
\r
1827 "id": "868607a4.e796b",
\r
1829 "name": "set the 1st network-policy-id",
\r
1830 "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
1832 "x": 3812.9998779296875,
\r
1833 "y": 448.9998779296875,
\r
1834 "z": "4d37a11.42c136",
\r
1838 "id": "3bdb9c7c.d6977c",
\r
1840 "name": "get network-policy from aai",
\r
1841 "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
1844 "x": 3801.9998779296875,
\r
1845 "y": 503.9998779296875,
\r
1846 "z": "4d37a11.42c136",
\r
1849 "11d90691.38b7b1",
\r
1856 "id": "6698da7a.77b3bc",
\r
1857 "type": "not-found",
\r
1858 "name": "not-found",
\r
1859 "xml": "<outcome value='not-found'>\n",
\r
1864 "z": "4d37a11.42c136",
\r
1872 "id": "e904e6fc.1061a",
\r
1873 "type": "returnFailure",
\r
1874 "name": "return failure",
\r
1875 "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
1877 "x": 4203.571533203125,
\r
1878 "y": 390.2857666015625,
\r
1879 "z": "4d37a11.42c136",
\r
1883 "id": "4975bc8f.93ecdc",
\r
1884 "type": "returnFailure",
\r
1885 "name": "return failure",
\r
1886 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1888 "x": 4202.509033203125,
\r
1889 "y": 434.426025390625,
\r
1890 "z": "4d37a11.42c136",
\r
1894 "id": "e5aaddec.aca59",
\r
1895 "type": "failure",
\r
1896 "name": "failure",
\r
1897 "xml": "<outcome value='failure'>\n",
\r
1900 "x": 4043.509033203125,
\r
1901 "y": 434.426025390625,
\r
1902 "z": "4d37a11.42c136",
\r
1910 "id": "11d90691.38b7b1",
\r
1911 "type": "success",
\r
1912 "name": "success",
\r
1913 "xml": "<outcome value='success'>\n",
\r
1916 "x": 4050.509033203125,
\r
1917 "y": 513.426025390625,
\r
1918 "z": "4d37a11.42c136",
\r
1926 "id": "3b14af19.ae1128",
\r
1929 "xml": "<block>\n",
\r
1930 "atomic": "false",
\r
1933 "x": 4189.509033203125,
\r
1934 "y": 513.426025390625,
\r
1935 "z": "4d37a11.42c136",
\r
1944 "id": "70ed97b5.dc1c9",
\r
1946 "name": "set the max bandwidth",
\r
1947 "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
1951 "z": "4d37a11.42c136",
\r
1955 "id": "c9fe9947.c06348",
\r
1956 "type": "execute",
\r
1957 "name": "execute split tp-id to get pnf-name",
\r
1958 "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
1963 "z": "4d37a11.42c136",
\r
1966 "78baed3e.c501f4",
\r
1972 "id": "120f1ac.ca76ae5",
\r
1973 "type": "failure",
\r
1974 "name": "success",
\r
1975 "xml": "<outcome value='success'>\n",
\r
1980 "z": "4d37a11.42c136",
\r
1988 "id": "78baed3e.c501f4",
\r
1989 "type": "failure",
\r
1990 "name": "failure",
\r
1991 "xml": "<outcome value='failure'>\n",
\r
1996 "z": "4d37a11.42c136",
\r
2004 "id": "9d068c67.4598d",
\r
2005 "type": "returnFailure",
\r
2006 "name": "return failure",
\r
2007 "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
2011 "z": "4d37a11.42c136",
\r
2015 "id": "40ab4c81.445cd4",
\r
2017 "name": "block : atomic",
\r
2018 "xml": "<block atomic=\"true\">",
\r
2023 "z": "4d37a11.42c136",
\r
2032 "id": "e718de2c.ab002",
\r
2034 "name": "set pnf-name",
\r
2035 "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
2039 "z": "4d37a11.42c136",
\r
2043 "id": "669a0eda.d8f578",
\r
2044 "type": "execute",
\r
2045 "name": "execute split tp-id to get pnf-name",
\r
2046 "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
2050 "y": 1528.9998779296875,
\r
2051 "z": "4d37a11.42c136",
\r
2054 "3eeffc60.cab244",
\r
2060 "id": "163d6add.444455",
\r
2061 "type": "failure",
\r
2062 "name": "success",
\r
2063 "xml": "<outcome value='success'>\n",
\r
2067 "y": 1514.9998779296875,
\r
2068 "z": "4d37a11.42c136",
\r
2076 "id": "3eeffc60.cab244",
\r
2077 "type": "failure",
\r
2078 "name": "failure",
\r
2079 "xml": "<outcome value='failure'>\n",
\r
2083 "y": 1547.9998779296875,
\r
2084 "z": "4d37a11.42c136",
\r
2092 "id": "bb0d91d9.020e4",
\r
2093 "type": "returnFailure",
\r
2094 "name": "return failure",
\r
2095 "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
2098 "y": 1544.9998779296875,
\r
2099 "z": "4d37a11.42c136",
\r
2103 "id": "2e1531f5.2b244e",
\r
2105 "name": "block : atomic",
\r
2106 "xml": "<block atomic=\"true\">",
\r
2110 "y": 1507.9998779296875,
\r
2111 "z": "4d37a11.42c136",
\r
2120 "id": "dd9519ef.d4213",
\r
2122 "name": "set pnf-name",
\r
2123 "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
2127 "z": "4d37a11.42c136",
\r
2131 "id": "ac58016f.1c2c1",
\r
2132 "type": "execute",
\r
2133 "name": "execute properties",
\r
2134 "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
2139 "z": "4d37a11.42c136",
\r
2145 "id": "260f00b5.585908",
\r
2146 "type": "execute",
\r
2147 "name": "execute UUID generator for vpn-binding domainA",
\r
2148 "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
2153 "z": "4d37a11.42c136",
\r
2159 "id": "134248ca.e0fa77",
\r
2160 "type": "execute",
\r
2161 "name": "execute UUID generator for vpn-binding domainB",
\r
2162 "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
2167 "z": "4d37a11.42c136",
\r
2173 "id": "c830d981.aee038",
\r
2175 "name": "for each relationship",
\r
2176 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
2181 "z": "4d37a11.42c136",
\r
2189 "id": "4f78d00a.39ba68",
\r
2190 "type": "switchNode",
\r
2191 "name": "switch related-to",
\r
2192 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
2197 "z": "4d37a11.42c136",
\r
2205 "id": "489cbbcb.77186c",
\r
2206 "type": "outcome",
\r
2207 "name": "tunnel-termination-point",
\r
2208 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2211 "x": 4319.28564453125,
\r
2212 "y": 1261.82177734375,
\r
2213 "z": "4d37a11.42c136",
\r
2221 "id": "3bbad5a.8ec85aa",
\r
2223 "name": "block : atomic",
\r
2224 "xml": "<block atomic=\"true\">",
\r
2227 "x": 4526.1171875,
\r
2228 "y": 1262.34033203125,
\r
2229 "z": "4d37a11.42c136",
\r
2232 "cf0eeee3.8d6188",
\r
2239 "id": "cf0eeee3.8d6188",
\r
2241 "name": "set source ttp-id",
\r
2242 "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
2244 "x": 4741.1171875,
\r
2245 "y": 1224.34033203125,
\r
2246 "z": "4d37a11.42c136",
\r
2250 "id": "80da6c7c.bf9bc",
\r
2251 "type": "get-resource",
\r
2252 "name": "get-resource src TTP",
\r
2253 "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
2256 "x": 4738.1171875,
\r
2257 "y": 1263.34033203125,
\r
2258 "z": "4d37a11.42c136",
\r
2266 "id": "4327bba4.ea16c4",
\r
2269 "xml": "<break>\n",
\r
2271 "x": 4693.6171875,
\r
2272 "y": 1305.34033203125,
\r
2273 "z": "4d37a11.42c136",
\r
2277 "id": "54d57ef.0aa16",
\r
2278 "type": "success",
\r
2279 "name": "success",
\r
2280 "xml": "<outcome value='success'>\n",
\r
2283 "x": 4918.6171875,
\r
2284 "y": 1262.34033203125,
\r
2285 "z": "4d37a11.42c136",
\r
2293 "id": "136083ca.f8ed24",
\r
2295 "name": "block : atomic",
\r
2296 "xml": "<block atomic=\"true\">",
\r
2299 "x": 5076.6171875,
\r
2300 "y": 1262.34033203125,
\r
2301 "z": "4d37a11.42c136",
\r
2309 "id": "43a5fa3.d0c2504",
\r
2311 "name": "set source tunnel tp ip",
\r
2312 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2314 "x": 5283.6171875,
\r
2315 "y": 1262.34033203125,
\r
2316 "z": "4d37a11.42c136",
\r
2320 "id": "d281a70f.336618",
\r
2322 "name": "for each relationship",
\r
2323 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2327 "y": 2131.0001220703125,
\r
2328 "z": "4d37a11.42c136",
\r
2336 "id": "21553f06.14bad",
\r
2337 "type": "switchNode",
\r
2338 "name": "switch related-to",
\r
2339 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2343 "y": 2131.0001220703125,
\r
2344 "z": "4d37a11.42c136",
\r
2352 "id": "d5a45fe2.8cbaf",
\r
2353 "type": "outcome",
\r
2354 "name": "tunnel-termination-point",
\r
2355 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2358 "x": 4316.28564453125,
\r
2359 "y": 2130.8218994140625,
\r
2360 "z": "4d37a11.42c136",
\r
2368 "id": "3432450f.73fd1a",
\r
2370 "name": "block : atomic",
\r
2371 "xml": "<block atomic=\"true\">",
\r
2374 "x": 4523.1171875,
\r
2375 "y": 2131.3404541015625,
\r
2376 "z": "4d37a11.42c136",
\r
2379 "4d1b045c.8befb4",
\r
2386 "id": "4d1b045c.8befb4",
\r
2388 "name": "set destination ttp-id",
\r
2389 "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
2391 "x": 4738.1171875,
\r
2392 "y": 2093.3404541015625,
\r
2393 "z": "4d37a11.42c136",
\r
2397 "id": "ff4bcdcd.b592",
\r
2398 "type": "get-resource",
\r
2399 "name": "get-resource src TTP",
\r
2400 "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
2403 "x": 4735.1171875,
\r
2404 "y": 2132.3404541015625,
\r
2405 "z": "4d37a11.42c136",
\r
2413 "id": "82369db7.8fbd4",
\r
2416 "xml": "<break>\n",
\r
2418 "x": 4690.6171875,
\r
2419 "y": 2174.3404541015625,
\r
2420 "z": "4d37a11.42c136",
\r
2424 "id": "a8f23d1f.d221e8",
\r
2425 "type": "success",
\r
2426 "name": "success",
\r
2427 "xml": "<outcome value='success'>\n",
\r
2430 "x": 4915.6171875,
\r
2431 "y": 2131.3404541015625,
\r
2432 "z": "4d37a11.42c136",
\r
2440 "id": "403d184.8f53468",
\r
2442 "name": "block : atomic",
\r
2443 "xml": "<block atomic=\"true\">",
\r
2446 "x": 5073.6171875,
\r
2447 "y": 2131.3404541015625,
\r
2448 "z": "4d37a11.42c136",
\r
2456 "id": "c7d0f697.2aea68",
\r
2458 "name": "set destination tunnel tp ip",
\r
2459 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2461 "x": 5280.6171875,
\r
2462 "y": 2131.3404541015625,
\r
2463 "z": "4d37a11.42c136",
\r
2467 "id": "84749d0f.3038c8",
\r
2469 "name": "set attachment_param domain B",
\r
2470 "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=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='src-ttp-id' value='`$domain-B.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\n<parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\n",
\r
2474 "z": "4d37a11.42c136",
\r
2478 "id": "68fbd6c1.ad0448",
\r
2479 "type": "get-resource",
\r
2480 "name": "get-resource src pnf",
\r
2481 "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
2486 "z": "4d37a11.42c136",
\r
2489 "69417d44.afb3fc",
\r
2490 "a15ac77e.798db8",
\r
2496 "id": "69417d44.afb3fc",
\r
2497 "type": "success",
\r
2498 "name": "success",
\r
2499 "xml": "<outcome value='success'>\n",
\r
2502 "x": 4006.5001220703125,
\r
2504 "z": "4d37a11.42c136",
\r
2512 "id": "a15ac77e.798db8",
\r
2513 "type": "not-found",
\r
2514 "name": "not-found",
\r
2515 "xml": "<outcome value='not-found'>\n",
\r
2518 "x": 3998.5001220703125,
\r
2520 "z": "4d37a11.42c136",
\r
2528 "id": "3a89038d.704134",
\r
2531 "xml": "<outcome value='Other'>\n",
\r
2534 "x": 4003.5001220703125,
\r
2536 "z": "4d37a11.42c136",
\r
2544 "id": "56dfcb3e.f8e3ac",
\r
2545 "type": "returnFailure",
\r
2546 "name": "return failure",
\r
2547 "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
2549 "x": 4155.5001220703125,
\r
2551 "z": "4d37a11.42c136",
\r
2555 "id": "5742f10e.dadab8",
\r
2556 "type": "returnFailure",
\r
2557 "name": "return failure",
\r
2558 "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
2560 "x": 4166.5001220703125,
\r
2562 "z": "4d37a11.42c136",
\r
2566 "id": "138b37c3.968d8",
\r
2569 "xml": "<block>\n",
\r
2570 "atomic": "false",
\r
2573 "x": 4150.8824462890625,
\r
2574 "y": 687.6556701660156,
\r
2575 "z": "4d37a11.42c136",
\r
2583 "id": "40dc3d01.0cfddc",
\r
2584 "type": "outcome",
\r
2585 "name": "esr-thirdparty-sdnc",
\r
2586 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2591 "z": "4d37a11.42c136",
\r
2599 "id": "ce5ec787.25a25",
\r
2601 "name": "block : atomic",
\r
2602 "xml": "<block atomic=\"true\">",
\r
2607 "z": "4d37a11.42c136",
\r
2610 "deda36.39eb45c8",
\r
2616 "id": "b4d80ee.d93167",
\r
2618 "name": "for each relationship",
\r
2619 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2624 "z": "4d37a11.42c136",
\r
2632 "id": "83a731e6.aee9d8",
\r
2633 "type": "switchNode",
\r
2634 "name": "switch related-to",
\r
2635 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2640 "z": "4d37a11.42c136",
\r
2643 "40dc3d01.0cfddc",
\r
2649 "id": "deda36.39eb45c8",
\r
2651 "name": "set esr-thirdparty-sdnc domainA id",
\r
2652 "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
2656 "z": "4d37a11.42c136",
\r
2660 "id": "883ac008.74f89",
\r
2661 "type": "success",
\r
2662 "name": "success",
\r
2663 "xml": "<outcome value='success'>\n",
\r
2668 "z": "4d37a11.42c136",
\r
2676 "id": "6cf958ca.c3e4a8",
\r
2677 "type": "not-found",
\r
2678 "name": "not-found",
\r
2679 "xml": "<outcome value='not-found'>\n",
\r
2684 "z": "4d37a11.42c136",
\r
2692 "id": "e70b241a.97d7e8",
\r
2695 "xml": "<outcome value='Other'>\n",
\r
2700 "z": "4d37a11.42c136",
\r
2708 "id": "e90b6e53.2dc61",
\r
2709 "type": "returnFailure",
\r
2710 "name": "return failure",
\r
2711 "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
2715 "z": "4d37a11.42c136",
\r
2719 "id": "f6420bc8.c6108",
\r
2720 "type": "returnFailure",
\r
2721 "name": "return failure",
\r
2722 "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
2726 "z": "4d37a11.42c136",
\r
2730 "id": "5bb6445.b0cb1bc",
\r
2733 "xml": "<block>\n",
\r
2734 "atomic": "false",
\r
2737 "x": 5472.38232421875,
\r
2738 "y": 693.6556701660156,
\r
2739 "z": "4d37a11.42c136",
\r
2747 "id": "36dcfa67.508606",
\r
2749 "name": "set controller domainA data",
\r
2750 "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
2754 "z": "4d37a11.42c136",
\r
2758 "id": "54817df4.67d484",
\r
2759 "type": "get-resource",
\r
2760 "name": "get-resource src pnf",
\r
2761 "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
2766 "z": "4d37a11.42c136",
\r
2769 "12332a8b.1f458d",
\r
2770 "e70d4463.7fed78",
\r
2776 "id": "12332a8b.1f458d",
\r
2777 "type": "success",
\r
2778 "name": "success",
\r
2779 "xml": "<outcome value='success'>\n",
\r
2782 "x": 4047.5001220703125,
\r
2784 "z": "4d37a11.42c136",
\r
2792 "id": "e70d4463.7fed78",
\r
2793 "type": "not-found",
\r
2794 "name": "not-found",
\r
2795 "xml": "<outcome value='not-found'>\n",
\r
2798 "x": 4039.5001220703125,
\r
2800 "z": "4d37a11.42c136",
\r
2808 "id": "9e28dd86.32b368",
\r
2811 "xml": "<outcome value='Other'>\n",
\r
2814 "x": 4044.5001220703125,
\r
2816 "z": "4d37a11.42c136",
\r
2824 "id": "1636bf8.c7b9e41",
\r
2825 "type": "returnFailure",
\r
2826 "name": "return failure",
\r
2827 "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
2829 "x": 4196.5001220703125,
\r
2831 "z": "4d37a11.42c136",
\r
2835 "id": "9865196d.c10828",
\r
2836 "type": "returnFailure",
\r
2837 "name": "return failure",
\r
2838 "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
2840 "x": 4207.5001220703125,
\r
2842 "z": "4d37a11.42c136",
\r
2846 "id": "97851436.c0f798",
\r
2849 "xml": "<block>\n",
\r
2850 "atomic": "false",
\r
2853 "x": 4191.8824462890625,
\r
2854 "y": 1528.6556701660156,
\r
2855 "z": "4d37a11.42c136",
\r
2863 "id": "358b8a93.9adabe",
\r
2864 "type": "outcome",
\r
2865 "name": "esr-thirdparty-sdnc",
\r
2866 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2871 "z": "4d37a11.42c136",
\r
2879 "id": "f1454db6.8dcaf8",
\r
2881 "name": "block : atomic",
\r
2882 "xml": "<block atomic=\"true\">",
\r
2887 "z": "4d37a11.42c136",
\r
2890 "1806e2c2.14485d",
\r
2896 "id": "601870d2.2269c8",
\r
2898 "name": "for each relationship",
\r
2899 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2904 "z": "4d37a11.42c136",
\r
2912 "id": "4732f224.c95254",
\r
2913 "type": "switchNode",
\r
2914 "name": "switch related-to",
\r
2915 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2920 "z": "4d37a11.42c136",
\r
2923 "358b8a93.9adabe",
\r
2929 "id": "8cb20d6f.760bf",
\r
2930 "type": "execute",
\r
2931 "name": "get esr-thirdparty-sdnc",
\r
2932 "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
2937 "z": "4d37a11.42c136",
\r
2947 "id": "1806e2c2.14485d",
\r
2949 "name": "set esr-thirdparty-sdnc domainB id",
\r
2950 "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
2954 "z": "4d37a11.42c136",
\r
2958 "id": "c4071110.82806",
\r
2959 "type": "success",
\r
2960 "name": "success",
\r
2961 "xml": "<outcome value='success'>\n",
\r
2966 "z": "4d37a11.42c136",
\r
2974 "id": "ce108d7.ad4977",
\r
2975 "type": "not-found",
\r
2976 "name": "not-found",
\r
2977 "xml": "<outcome value='not-found'>\n",
\r
2982 "z": "4d37a11.42c136",
\r
2990 "id": "c040099f.13bbf8",
\r
2993 "xml": "<outcome value='Other'>\n",
\r
2998 "z": "4d37a11.42c136",
\r
3006 "id": "45d3d695.c0cf2",
\r
3007 "type": "returnFailure",
\r
3008 "name": "return failure",
\r
3009 "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
3013 "z": "4d37a11.42c136",
\r
3017 "id": "98979539.818688",
\r
3018 "type": "returnFailure",
\r
3019 "name": "return failure",
\r
3020 "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
3024 "z": "4d37a11.42c136",
\r
3028 "id": "c3f3513e.3d36c",
\r
3031 "xml": "<block>\n",
\r
3032 "atomic": "false",
\r
3035 "x": 5513.38232421875,
\r
3036 "y": 1534.6556701660156,
\r
3037 "z": "4d37a11.42c136",
\r
3045 "id": "90464df.06ab9b",
\r
3047 "name": "set controller domainB data",
\r
3048 "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
3052 "z": "4d37a11.42c136",
\r
3056 "id": "a5814717.4b953",
\r
3057 "type": "execute",
\r
3058 "name": "execute RestApiCallNode slice creation domainA",
\r
3059 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceA-list-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
3064 "z": "4d37a11.42c136",
\r
3067 "2242c3cc.13b1dc",
\r
3073 "id": "2c8586d6.b70122",
\r
3074 "type": "failure",
\r
3075 "name": "failure",
\r
3076 "xml": "<outcome value='failure'>\n",
\r
3081 "z": "4d37a11.42c136",
\r
3089 "id": "2242c3cc.13b1dc",
\r
3090 "type": "success",
\r
3091 "name": "success",
\r
3092 "xml": "<outcome value='success'>\n",
\r
3095 "x": 2243.000213623047,
\r
3096 "y": 2774.99990940094,
\r
3097 "z": "4d37a11.42c136",
\r
3105 "id": "8e14b997.54e1b8",
\r
3106 "type": "returnFailure",
\r
3107 "name": "return failure",
\r
3108 "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
3110 "x": 2382.0002479553223,
\r
3111 "y": 2724.0000009536743,
\r
3112 "z": "4d37a11.42c136",
\r
3116 "id": "72bda37b.1b4f84",
\r
3119 "xml": "<block>\n",
\r
3120 "atomic": "false",
\r
3123 "x": 2388.02725982666,
\r
3124 "y": 2772.745394706726,
\r
3125 "z": "4d37a11.42c136",
\r
3131 "id": "39b144a2.fc3a7c",
\r
3132 "type": "execute",
\r
3133 "name": "execute RestApiCallNode slice creation domainB",
\r
3134 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceB-list-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
3139 "z": "4d37a11.42c136",
\r
3142 "23f4f16e.f2ab6e",
\r
3148 "id": "8c667512.e5492",
\r
3149 "type": "failure",
\r
3150 "name": "failure",
\r
3151 "xml": "<outcome value='failure'>\n",
\r
3156 "z": "4d37a11.42c136",
\r
3164 "id": "23f4f16e.f2ab6e",
\r
3165 "type": "success",
\r
3166 "name": "success",
\r
3167 "xml": "<outcome value='success'>\n",
\r
3170 "x": 2234.000213623047,
\r
3171 "y": 3140.99990940094,
\r
3172 "z": "4d37a11.42c136",
\r
3180 "id": "1089012f.df48c7",
\r
3181 "type": "returnFailure",
\r
3182 "name": "return failure",
\r
3183 "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
3185 "x": 2373.0002479553223,
\r
3186 "y": 3090.0000009536743,
\r
3187 "z": "4d37a11.42c136",
\r
3191 "id": "199cfc4b.ed097c",
\r
3194 "xml": "<block>\n",
\r
3195 "atomic": "false",
\r
3198 "x": 2379.02725982666,
\r
3199 "y": 3138.745394706726,
\r
3200 "z": "4d37a11.42c136",
\r
3206 "id": "c14b8719.903d8",
\r
3208 "name": "block : atomic",
\r
3209 "xml": "<block atomic=\"true\">",
\r
3214 "z": "4d37a11.42c136",
\r
3217 "40603cb7.607bc4",
\r
3223 "id": "7f3f76ad.e04ac8",
\r
3225 "name": "for each allotted-resource relationship",
\r
3226 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
3231 "z": "4d37a11.42c136",
\r
3239 "id": "31eeaed6.c9c2d2",
\r
3240 "type": "switchNode",
\r
3241 "name": "switch related-to",
\r
3242 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
3247 "z": "4d37a11.42c136",
\r
3255 "id": "556c2535.2cf6f4",
\r
3256 "type": "outcome",
\r
3257 "name": "network-resource",
\r
3258 "xml": "<outcome value='network-resource'>",
\r
3263 "z": "4d37a11.42c136",
\r
3271 "id": "8b677154.0c28b8",
\r
3273 "name": "block : atomic",
\r
3274 "xml": "<block atomic=\"true\">",
\r
3279 "z": "4d37a11.42c136",
\r
3287 "id": "dbe05c47.574588",
\r
3289 "name": "set domainA ethernet layer network-id",
\r
3290 "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
3294 "z": "4d37a11.42c136",
\r
3298 "id": "e5346606.e9d9f",
\r
3300 "name": "set domainB ethernet layer network-id",
\r
3301 "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
3305 "z": "4d37a11.42c136",
\r
3309 "id": "279e5fe1.a8b868",
\r
3311 "name": "block : atomic",
\r
3312 "xml": "<block atomic=\"true\">",
\r
3317 "z": "4d37a11.42c136",
\r
3325 "id": "3beefc43.434434",
\r
3326 "type": "outcome",
\r
3327 "name": "network-resource",
\r
3328 "xml": "<outcome value='network-resource'>",
\r
3333 "z": "4d37a11.42c136",
\r
3341 "id": "21292318.735edc",
\r
3342 "type": "execute",
\r
3343 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3344 "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
3349 "z": "4d37a11.42c136",
\r
3352 "aa98c0a5.978718",
\r
3358 "id": "47316c0a.b315dc",
\r
3359 "type": "failure",
\r
3360 "name": "failure",
\r
3361 "xml": "<outcome value='failure'>\n",
\r
3366 "z": "4d37a11.42c136",
\r
3374 "id": "aa98c0a5.978718",
\r
3375 "type": "success",
\r
3376 "name": "success",
\r
3377 "xml": "<outcome value='success'>\n",
\r
3380 "x": 2988.000213623047,
\r
3381 "y": 2900.99990940094,
\r
3382 "z": "4d37a11.42c136",
\r
3390 "id": "a7504bbe.eb60e",
\r
3391 "type": "returnFailure",
\r
3392 "name": "return failure",
\r
3393 "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
3395 "x": 3127.0002479553223,
\r
3396 "y": 2850.0000009536743,
\r
3397 "z": "4d37a11.42c136",
\r
3401 "id": "98c604c1.7b11b8",
\r
3404 "xml": "<block>\n",
\r
3405 "atomic": "false",
\r
3408 "x": 3133.02725982666,
\r
3409 "y": 2898.745394706726,
\r
3410 "z": "4d37a11.42c136",
\r
3416 "id": "ce066c5d.e7734",
\r
3417 "type": "execute",
\r
3418 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3419 "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
3424 "z": "4d37a11.42c136",
\r
3427 "77909c9d.223f24",
\r
3433 "id": "d69f9ea8.7be4",
\r
3434 "type": "failure",
\r
3435 "name": "failure",
\r
3436 "xml": "<outcome value='failure'>\n",
\r
3441 "z": "4d37a11.42c136",
\r
3449 "id": "77909c9d.223f24",
\r
3450 "type": "success",
\r
3451 "name": "success",
\r
3452 "xml": "<outcome value='success'>\n",
\r
3455 "x": 2988.000213623047,
\r
3456 "y": 3266.99990940094,
\r
3457 "z": "4d37a11.42c136",
\r
3465 "id": "f7f9f969.a37708",
\r
3466 "type": "returnFailure",
\r
3467 "name": "return failure",
\r
3468 "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
3470 "x": 3127.0002479553223,
\r
3471 "y": 3216.0000009536743,
\r
3472 "z": "4d37a11.42c136",
\r
3476 "id": "cf24be41.03bc48",
\r
3479 "xml": "<block>\n",
\r
3480 "atomic": "false",
\r
3483 "x": 3133.02725982666,
\r
3484 "y": 3264.745394706726,
\r
3485 "z": "4d37a11.42c136",
\r
3491 "id": "c2e43483.a12bd",
\r
3493 "name": "set the max bandwidth",
\r
3494 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
3498 "z": "4d37a11.42c136",
\r
3502 "id": "303c5717.c426f",
\r
3503 "type": "execute",
\r
3504 "name": "execute UUID generator for ethernet-service-name",
\r
3505 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
\r
3510 "z": "4d37a11.42c136",
\r
3516 "id": "c19c2198.0de5c",
\r
3517 "type": "execute",
\r
3518 "name": "execute UUID generator for otn-tunnel-name",
\r
3519 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
\r
3524 "z": "4d37a11.42c136",
\r
3530 "id": "23c06925.0d2eb6",
\r
3532 "name": "for each allotted-resource",
\r
3533 "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",
\r
3538 "z": "4d37a11.42c136",
\r
3541 "f805b6b.c60f548",
\r
3547 "id": "f805b6b.c60f548",
\r
3549 "name": "set the current allotted-resource-id",
\r
3550 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",
\r
3554 "z": "4d37a11.42c136",
\r
3558 "id": "e927f664.5c872",
\r
3560 "name": "set query_param",
\r
3561 "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
\r
3565 "z": "4d37a11.42c136",
\r
3569 "id": "29397b6c.248454",
\r
3571 "name": "unset parameters",
\r
3572 "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",
\r
3576 "z": "4d37a11.42c136",
\r
3580 "id": "488403ee.0379ac",
\r
3582 "name": "set new ethernet-service-name",
\r
3583 "xml": "<set>\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",
\r
3587 "z": "4d37a11.42c136",
\r