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": 1361.490966796875,
\r
121 "y": 176.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_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": 1515.0623779296875,
\r
169 "y": 179.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": "ca7ed950.c4257",
\r
187 "name": "set the 1st allotted-resource-id",
\r
188 "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`\" />\n\n\n",
\r
192 "z": "4d37a11.42c136",
\r
196 "id": "fea7170c.7030f8",
\r
197 "type": "outcomeTrue",
\r
199 "xml": "<outcome value='true'>\n",
\r
204 "z": "4d37a11.42c136",
\r
212 "id": "8bbb818c.845db",
\r
213 "type": "outcomeFalse",
\r
215 "xml": "<outcome value='false'>\n",
\r
220 "z": "4d37a11.42c136",
\r
226 "id": "f5ddac6.6343fd",
\r
228 "name": "new for TransportSlicing",
\r
233 "z": "4d37a11.42c136",
\r
237 "id": "bf993d83.a36c8",
\r
240 "xml": "<block>\n",
\r
246 "z": "4d37a11.42c136",
\r
255 "id": "50cd8b4c.3fbe34",
\r
257 "name": "set network-route-A",
\r
258 "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",
\r
262 "z": "4d37a11.42c136",
\r
266 "id": "4f854478.eff1a4",
\r
268 "name": "set network-route-B",
\r
269 "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",
\r
273 "z": "4d37a11.42c136",
\r
277 "id": "78e29884.225c08",
\r
279 "name": "get allotted-resource from aai",
\r
280 "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!-- AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",
\r
285 "z": "4d37a11.42c136",
\r
295 "id": "e80669a1.e9e15",
\r
298 "xml": "<outcome value='success'>\n",
\r
303 "z": "4d37a11.42c136",
\r
311 "id": "2a720603.9816ea",
\r
312 "type": "not-found",
\r
313 "name": "not-found",
\r
314 "xml": "<outcome value='not-found'>\n",
\r
317 "x": 2209.490966796875,
\r
318 "y": 239.573974609375,
\r
319 "z": "4d37a11.42c136",
\r
327 "id": "13ab43c3.0c3b8c",
\r
330 "xml": "<outcome value='failure'>\n",
\r
335 "z": "4d37a11.42c136",
\r
343 "id": "e741b978.cc2c38",
\r
344 "type": "returnFailure",
\r
345 "name": "return failure",
\r
346 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
349 "y": 239.8597412109375,
\r
350 "z": "4d37a11.42c136",
\r
354 "id": "b16bf403.baad58",
\r
355 "type": "returnFailure",
\r
356 "name": "return failure",
\r
357 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
361 "z": "4d37a11.42c136",
\r
365 "id": "6e843ab.3582ec4",
\r
367 "name": "get logical-link from aai",
\r
368 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",
\r
373 "z": "4d37a11.42c136",
\r
383 "id": "4070a4d0.4176d4",
\r
384 "type": "not-found",
\r
385 "name": "not-found",
\r
386 "xml": "<outcome value='not-found'>\n",
\r
389 "x": 2019.490966796875,
\r
390 "y": 740.573974609375,
\r
391 "z": "4d37a11.42c136",
\r
399 "id": "60c71e39.2f942",
\r
402 "xml": "<outcome value='failure'>\n",
\r
407 "z": "4d37a11.42c136",
\r
415 "id": "77c211be.bc11e8",
\r
416 "type": "returnFailure",
\r
417 "name": "return failure",
\r
418 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
\r
421 "y": 740.8597412109375,
\r
422 "z": "4d37a11.42c136",
\r
426 "id": "fbd7810f.a3734",
\r
427 "type": "returnFailure",
\r
428 "name": "return failure",
\r
429 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
433 "z": "4d37a11.42c136",
\r
437 "id": "a6a55952.b90f",
\r
440 "xml": "<outcome value='success'>\n",
\r
445 "z": "4d37a11.42c136",
\r
453 "id": "22d259e0.d6e2e6",
\r
456 "xml": "<block>\n",
\r
462 "z": "4d37a11.42c136",
\r
489 "id": "14a4c097.be654f",
\r
491 "name": "get network-route-A from aai",
\r
492 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",
\r
497 "z": "4d37a11.42c136",
\r
507 "id": "644a5f8e.b0774",
\r
509 "name": "get network-route-B from aai",
\r
510 "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
514 "y": 1546.9998779296875,
\r
515 "z": "4d37a11.42c136",
\r
525 "id": "7df96ca0.99ecc4",
\r
526 "type": "not-found",
\r
527 "name": "not-found",
\r
528 "xml": "<outcome value='not-found'>\n",
\r
533 "z": "4d37a11.42c136",
\r
541 "id": "50b0a0cb.3236a8",
\r
544 "xml": "<outcome value='failure'>\n",
\r
547 "x": 2579.509033203125,
\r
548 "y": 878.426025390625,
\r
549 "z": "4d37a11.42c136",
\r
557 "id": "a3437ac7.e0ee1",
\r
560 "xml": "<outcome value='success'>\n",
\r
563 "x": 2583.509033203125,
\r
564 "y": 929.426025390625,
\r
565 "z": "4d37a11.42c136",
\r
573 "id": "a6fc1138.23945",
\r
574 "type": "returnFailure",
\r
575 "name": "return failure",
\r
576 "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
578 "x": 2732.571533203125,
\r
579 "y": 828.2857666015625,
\r
580 "z": "4d37a11.42c136",
\r
584 "id": "6e6d0210.60f404",
\r
585 "type": "returnFailure",
\r
586 "name": "return failure",
\r
587 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
589 "x": 2722.509033203125,
\r
590 "y": 878.426025390625,
\r
591 "z": "4d37a11.42c136",
\r
595 "id": "ece670c3.4f34a8",
\r
596 "type": "not-found",
\r
597 "name": "not-found",
\r
598 "xml": "<outcome value='not-found'>\n",
\r
602 "y": 1516.9998779296875,
\r
603 "z": "4d37a11.42c136",
\r
611 "id": "263c76fe.5b3242",
\r
614 "xml": "<outcome value='failure'>\n",
\r
617 "x": 2580.509033203125,
\r
618 "y": 1566.4259033203125,
\r
619 "z": "4d37a11.42c136",
\r
627 "id": "97139121.0331f8",
\r
630 "xml": "<outcome value='success'>\n",
\r
633 "x": 2584.509033203125,
\r
634 "y": 1617.4259033203125,
\r
635 "z": "4d37a11.42c136",
\r
643 "id": "f4c07ea8.414868",
\r
644 "type": "returnFailure",
\r
645 "name": "return failure",
\r
646 "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
648 "x": 2733.571533203125,
\r
649 "y": 1516.28564453125,
\r
650 "z": "4d37a11.42c136",
\r
654 "id": "ce13d349.caf3b8",
\r
655 "type": "returnFailure",
\r
656 "name": "return failure",
\r
657 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
659 "x": 2723.509033203125,
\r
660 "y": 1566.4259033203125,
\r
661 "z": "4d37a11.42c136",
\r
665 "id": "e31af50c.926d2",
\r
667 "name": "block : atomic",
\r
668 "xml": "<block atomic=\"true\">",
\r
671 "x": 3397.66650390625,
\r
673 "z": "4d37a11.42c136",
\r
685 "id": "b7824d8a.d2e4f8",
\r
688 "xml": "<outcome value='success'>\n",
\r
693 "z": "4d37a11.42c136",
\r
701 "id": "5d5b9681.b7598",
\r
702 "type": "not-found",
\r
703 "name": "not-found",
\r
704 "xml": "<outcome value='not-found'>\n",
\r
707 "x": 3234.490966796875,
\r
708 "y": 1016.5740356445312,
\r
709 "z": "4d37a11.42c136",
\r
717 "id": "6e8be76c.59d528",
\r
720 "xml": "<outcome value='failure'>\n",
\r
725 "z": "4d37a11.42c136",
\r
733 "id": "4fc1bcc7.eeb784",
\r
734 "type": "returnFailure",
\r
735 "name": "return failure",
\r
736 "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
738 "x": 3388.0623779296875,
\r
739 "y": 1019.8597717285156,
\r
740 "z": "4d37a11.42c136",
\r
744 "id": "ac4a57cf.bef8e8",
\r
745 "type": "returnFailure",
\r
746 "name": "return failure",
\r
747 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
751 "z": "4d37a11.42c136",
\r
755 "id": "d860cdb2.412c48",
\r
757 "name": "block : atomic",
\r
758 "xml": "<block atomic=\"true\">",
\r
763 "z": "4d37a11.42c136",
\r
772 "id": "d30e3d8d.09cef8",
\r
774 "name": "block : atomic",
\r
775 "xml": "<block atomic=\"true\">",
\r
779 "y": 1618.9998779296875,
\r
780 "z": "4d37a11.42c136",
\r
789 "id": "a1006da4.a872e",
\r
791 "name": "block : atomic",
\r
792 "xml": "<block atomic=\"true\">",
\r
795 "x": 3365.66650390625,
\r
797 "z": "4d37a11.42c136",
\r
809 "id": "c9dbe459.2e8d58",
\r
812 "xml": "<outcome value='success'>\n",
\r
817 "z": "4d37a11.42c136",
\r
825 "id": "dab2f9a8.cea26",
\r
826 "type": "not-found",
\r
827 "name": "not-found",
\r
828 "xml": "<outcome value='not-found'>\n",
\r
831 "x": 3202.490966796875,
\r
832 "y": 1852.5740356445312,
\r
833 "z": "4d37a11.42c136",
\r
841 "id": "f5d094cc.fe5d68",
\r
844 "xml": "<outcome value='failure'>\n",
\r
849 "z": "4d37a11.42c136",
\r
857 "id": "6f793776.f883f",
\r
858 "type": "returnFailure",
\r
859 "name": "return failure",
\r
860 "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
862 "x": 3356.0623779296875,
\r
863 "y": 1855.8597717285156,
\r
864 "z": "4d37a11.42c136",
\r
868 "id": "f383fe68.3b83",
\r
869 "type": "returnFailure",
\r
870 "name": "return failure",
\r
871 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
875 "z": "4d37a11.42c136",
\r
879 "id": "c203b1ea.86f6c",
\r
881 "name": "execute split tp-id to get pnf-name",
\r
882 "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
887 "z": "4d37a11.42c136",
\r
896 "id": "183e3f66.48a0d1",
\r
899 "xml": "<outcome value='success'>\n",
\r
904 "z": "4d37a11.42c136",
\r
912 "id": "6fb08f41.de4d4",
\r
915 "xml": "<outcome value='failure'>\n",
\r
920 "z": "4d37a11.42c136",
\r
928 "id": "5bf466f.7bcdb98",
\r
930 "name": "set ltpId",
\r
931 "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",
\r
935 "z": "4d37a11.42c136",
\r
939 "id": "f45e344f.88a748",
\r
940 "type": "returnFailure",
\r
941 "name": "return failure",
\r
942 "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
946 "z": "4d37a11.42c136",
\r
950 "id": "e55834d1.3ca1b8",
\r
952 "name": "block : atomic",
\r
953 "xml": "<block atomic=\"true\">",
\r
958 "z": "4d37a11.42c136",
\r
967 "id": "194d0d3d.11557b",
\r
969 "name": "set pnf-name",
\r
970 "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",
\r
974 "z": "4d37a11.42c136",
\r
978 "id": "dd1a9ea9.6d631",
\r
980 "name": "TODO: FIXME",
\r
981 "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
985 "z": "4d37a11.42c136",
\r
989 "id": "5d25d92f.6f798",
\r
991 "name": "save connectivity resource in AAI",
\r
992 "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
997 "z": "4d37a11.42c136",
\r
1003 "id": "d4cb3bd3.a349c8",
\r
1004 "type": "execute",
\r
1005 "name": "execute UUID generator for connectivity domainA",
\r
1006 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",
\r
1011 "z": "4d37a11.42c136",
\r
1017 "id": "6324b9d6.c58fe",
\r
1018 "type": "comment",
\r
1019 "name": "TODO: FIXME",
\r
1020 "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
1024 "z": "4d37a11.42c136",
\r
1028 "id": "a3aca2eb.21f5a8",
\r
1029 "type": "execute",
\r
1030 "name": "execute split tp-id to get pnf-name",
\r
1031 "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
1035 "y": 1813.0001220703125,
\r
1036 "z": "4d37a11.42c136",
\r
1045 "id": "4ffb9846.2cd768",
\r
1046 "type": "failure",
\r
1047 "name": "success",
\r
1048 "xml": "<outcome value='success'>\n",
\r
1052 "y": 1768.0001220703125,
\r
1053 "z": "4d37a11.42c136",
\r
1061 "id": "37186f70.3d57",
\r
1062 "type": "failure",
\r
1063 "name": "failure",
\r
1064 "xml": "<outcome value='failure'>\n",
\r
1068 "y": 1832.0001220703125,
\r
1069 "z": "4d37a11.42c136",
\r
1077 "id": "17f707eb.a2a908",
\r
1079 "name": "set ltpId",
\r
1080 "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",
\r
1083 "y": 1726.0001220703125,
\r
1084 "z": "4d37a11.42c136",
\r
1088 "id": "1981566c.49d212",
\r
1089 "type": "returnFailure",
\r
1090 "name": "return failure",
\r
1091 "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
1094 "y": 1851.0001220703125,
\r
1095 "z": "4d37a11.42c136",
\r
1099 "id": "17371f4a.955d61",
\r
1101 "name": "block : atomic",
\r
1102 "xml": "<block atomic=\"true\">",
\r
1106 "y": 1765.0001220703125,
\r
1107 "z": "4d37a11.42c136",
\r
1110 "17f707eb.a2a908",
\r
1116 "id": "ca2d1022.cf4e88",
\r
1118 "name": "set pnf-name",
\r
1119 "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",
\r
1122 "y": 1831.0001220703125,
\r
1123 "z": "4d37a11.42c136",
\r
1127 "id": "8cfd8f17.95a8e",
\r
1128 "type": "comment",
\r
1129 "name": "TODO: FIXME",
\r
1130 "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
1133 "y": 1780.0001220703125,
\r
1134 "z": "4d37a11.42c136",
\r
1138 "id": "d3c0c42f.4b437",
\r
1140 "name": "save connectivity resource in AAI",
\r
1141 "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
1145 "y": 1972.0001220703125,
\r
1146 "z": "4d37a11.42c136",
\r
1152 "id": "d3723bfd.d9b168",
\r
1153 "type": "execute",
\r
1154 "name": "execute UUID generator for connectivity domainB",
\r
1155 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",
\r
1159 "y": 1882.0001220703125,
\r
1160 "z": "4d37a11.42c136",
\r
1166 "id": "1765f0ec.e922ff",
\r
1167 "type": "comment",
\r
1168 "name": "TODO: FIXME",
\r
1169 "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
1172 "y": 1920.0001220703125,
\r
1173 "z": "4d37a11.42c136",
\r
1177 "id": "79e86730.1965c8",
\r
1179 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
1180 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
1185 "z": "4d37a11.42c136",
\r
1191 "id": "4f1b84d7.aafb5c",
\r
1193 "name": "set attachment_param",
\r
1194 "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
1198 "z": "4d37a11.42c136",
\r
1202 "id": "3db83432.384b6c",
\r
1203 "type": "comment",
\r
1204 "name": "TODO: FIXME",
\r
1205 "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
1209 "z": "4d37a11.42c136",
\r
1213 "id": "7ca2c5af.473d34",
\r
1215 "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",
\r
1216 "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='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
1221 "z": "4d37a11.42c136",
\r
1229 "id": "28a40435.4178ec",
\r
1231 "name": "save connectivity-A relationship to vpn-binding-A, in AAI",
\r
1232 "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
1237 "z": "4d37a11.42c136",
\r
1243 "id": "82428356.c63018",
\r
1245 "name": "save srcLTP relationship in AAI",
\r
1246 "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
1251 "z": "4d37a11.42c136",
\r
1257 "id": "356966b3.03f20a",
\r
1259 "name": "save dstLTP relationship in AAI",
\r
1260 "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
1265 "z": "4d37a11.42c136",
\r
1271 "id": "a5aee8f6.ab5e58",
\r
1273 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1274 "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
1279 "z": "4d37a11.42c136",
\r
1285 "id": "2512774e.7c83b8",
\r
1287 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1288 "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
1292 "y": 2037.0001220703125,
\r
1293 "z": "4d37a11.42c136",
\r
1299 "id": "57191dce.959cfc",
\r
1300 "type": "success",
\r
1301 "name": "success",
\r
1302 "xml": "<outcome value='success'>\n",
\r
1307 "z": "4d37a11.42c136",
\r
1315 "id": "dcb72301.82c018",
\r
1318 "xml": "<block>\n",
\r
1319 "atomic": "false",
\r
1322 "x": 2879.500244140625,
\r
1323 "y": 2214.25390625,
\r
1324 "z": "4d37a11.42c136",
\r
1330 "id": "6975c99d.325498",
\r
1331 "type": "comment",
\r
1332 "name": "TODO: FIXME: do we need this relationship?",
\r
1337 "z": "4d37a11.42c136",
\r
1341 "id": "e85b69e.5211998",
\r
1342 "type": "comment",
\r
1343 "name": "TODO: FIXME: put proper values",
\r
1348 "z": "4d37a11.42c136",
\r
1352 "id": "b46ca414.99697",
\r
1354 "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",
\r
1355 "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='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
1360 "z": "4d37a11.42c136",
\r
1368 "id": "58f4ff2f.89d75",
\r
1369 "type": "comment",
\r
1370 "name": "TODO: FIXME: do we need this relationship?",
\r
1375 "z": "4d37a11.42c136",
\r
1379 "id": "cad39d05.aea5f",
\r
1381 "name": "save srcLTP relationship in AAI",
\r
1382 "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
1387 "z": "4d37a11.42c136",
\r
1393 "id": "489163b9.d640b4",
\r
1395 "name": "save dstLTP relationship in AAI",
\r
1396 "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
1401 "z": "4d37a11.42c136",
\r
1407 "id": "d0ea482.a9901b8",
\r
1410 "xml": "<block>\n",
\r
1411 "atomic": "false",
\r
1414 "x": 2882.500244140625,
\r
1415 "y": 2494.25390625,
\r
1416 "z": "4d37a11.42c136",
\r
1422 "id": "e64b3d38.e980a",
\r
1423 "type": "success",
\r
1424 "name": "success",
\r
1425 "xml": "<outcome value='success'>\n",
\r
1430 "z": "4d37a11.42c136",
\r
1438 "id": "9cd3d1db.fb7ce8",
\r
1439 "type": "comment",
\r
1440 "name": "TODO: FIXME: put proper values",
\r
1445 "z": "4d37a11.42c136",
\r
1449 "id": "57fdafb2.9eec08",
\r
1451 "name": "save connectivity-B relationship to vpn-binding-B, in AAI",
\r
1452 "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
1457 "z": "4d37a11.42c136",
\r
1463 "id": "aa4b663b.c9d06",
\r
1464 "type": "comment",
\r
1465 "name": "TODO: FIXME:",
\r
1466 "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",
\r
1470 "z": "4d37a11.42c136",
\r
1474 "id": "fc2a7bf0.e878b",
\r
1476 "name": "set attachment_param domain A",
\r
1477 "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='otn-dest-node' value='`$domain-A.node-id`' />\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
1481 "z": "4d37a11.42c136",
\r
1485 "id": "2c916faf.da498",
\r
1486 "type": "execute",
\r
1487 "name": "get esr-thirdparty-sdnc",
\r
1488 "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
1493 "z": "4d37a11.42c136",
\r
1497 "6cf958ca.c3e4a8",
\r
1503 "id": "14dca185.e1b46e",
\r
1505 "name": "block : atomic",
\r
1506 "xml": "<block atomic=\"true\">",
\r
1511 "z": "4d37a11.42c136",
\r
1519 "id": "e1ac55d9.d865b8",
\r
1520 "type": "outcome",
\r
1521 "name": "logical-link",
\r
1522 "xml": "<outcome value='logical-link'>\n",
\r
1525 "x": 1319.0001220703125,
\r
1526 "y": 757.0001220703125,
\r
1527 "z": "4d37a11.42c136",
\r
1535 "id": "14b8fde.fcc1702",
\r
1536 "type": "switchNode",
\r
1537 "name": "switch allotted-resource.relationship-list not empty",
\r
1538 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",
\r
1543 "z": "4d37a11.42c136",
\r
1552 "id": "32fc4868.fa2b8",
\r
1553 "type": "outcomeFalse",
\r
1555 "xml": "<outcome value='false'>\n",
\r
1560 "z": "4d37a11.42c136",
\r
1566 "id": "e65ebebd.579d6",
\r
1567 "type": "outcomeTrue",
\r
1569 "xml": "<outcome value='true'>\n",
\r
1574 "z": "4d37a11.42c136",
\r
1582 "id": "badc6972.d68008",
\r
1584 "name": "set the 1st logical-link-name",
\r
1585 "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
1589 "z": "4d37a11.42c136",
\r
1593 "id": "f6ec4c40.65362",
\r
1595 "name": "block : atomic",
\r
1596 "xml": "<block atomic=\"true\">",
\r
1601 "z": "4d37a11.42c136",
\r
1604 "badc6972.d68008",
\r
1610 "id": "76aa64b6.332a54",
\r
1611 "type": "comment",
\r
1612 "name": "Question?",
\r
1613 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1617 "z": "4d37a11.42c136",
\r
1621 "id": "62113903.77ec78",
\r
1623 "name": "get p-interface-src from aai",
\r
1624 "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
1629 "z": "4d37a11.42c136",
\r
1632 "b7824d8a.d2e4f8",
\r
1639 "id": "4ecc6dae.def654",
\r
1641 "name": "get p-interface-dst from aai",
\r
1642 "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
1647 "z": "4d37a11.42c136",
\r
1650 "c9dbe459.2e8d58",
\r
1657 "id": "6f6e53ed.b087ec",
\r
1658 "type": "comment",
\r
1659 "name": "Question?",
\r
1660 "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",
\r
1664 "z": "4d37a11.42c136",
\r
1668 "id": "8a257359.8a7208",
\r
1670 "name": "get allotted-resource relationship from aai",
\r
1671 "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
1676 "z": "4d37a11.42c136",
\r
1679 "8ea1434f.746858",
\r
1686 "id": "f2d8ff7.3c8d5",
\r
1687 "type": "not-found",
\r
1688 "name": "not-found",
\r
1689 "xml": "<outcome value='not-found'>\n",
\r
1692 "x": 2955.490966796875,
\r
1693 "y": 179.573974609375,
\r
1694 "z": "4d37a11.42c136",
\r
1702 "id": "b85ff289.1649f",
\r
1703 "type": "returnFailure",
\r
1704 "name": "return failure",
\r
1705 "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
1708 "y": 179.8597412109375,
\r
1709 "z": "4d37a11.42c136",
\r
1713 "id": "a6d32e01.02e81",
\r
1714 "type": "failure",
\r
1715 "name": "failure",
\r
1716 "xml": "<outcome value='failure'>\n",
\r
1721 "z": "4d37a11.42c136",
\r
1729 "id": "381f7f5a.80d3f8",
\r
1730 "type": "returnFailure",
\r
1731 "name": "return failure",
\r
1732 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1736 "z": "4d37a11.42c136",
\r
1740 "id": "8ea1434f.746858",
\r
1741 "type": "success",
\r
1742 "name": "success",
\r
1743 "xml": "<outcome value='success'>\n",
\r
1748 "z": "4d37a11.42c136",
\r
1756 "id": "6ca45b0b.848dec",
\r
1758 "name": "block : atomic",
\r
1759 "xml": "<block atomic=\"true\">",
\r
1764 "z": "4d37a11.42c136",
\r
1772 "id": "40603cb7.607bc4",
\r
1774 "name": "for each allotted-resource relationship",
\r
1775 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
1780 "z": "4d37a11.42c136",
\r
1788 "id": "4e667cbe.69222c",
\r
1789 "type": "switchNode",
\r
1790 "name": "switch related-to",
\r
1791 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
1796 "z": "4d37a11.42c136",
\r
1804 "id": "13452ae4.22e4ad",
\r
1805 "type": "outcome",
\r
1806 "name": "network-policy",
\r
1807 "xml": "<outcome value='network-policy'>\n",
\r
1812 "z": "4d37a11.42c136",
\r
1820 "id": "245f45af.4ae9da",
\r
1822 "name": "block : atomic",
\r
1823 "xml": "<block atomic=\"true\">",
\r
1826 "x": 3287.9998779296875,
\r
1827 "y": 470.9998779296875,
\r
1828 "z": "4d37a11.42c136",
\r
1837 "id": "868607a4.e796b",
\r
1839 "name": "set the 1st network-policy-id",
\r
1840 "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
1842 "x": 3530.9998779296875,
\r
1843 "y": 427.9998779296875,
\r
1844 "z": "4d37a11.42c136",
\r
1848 "id": "3bdb9c7c.d6977c",
\r
1850 "name": "get network-policy from aai",
\r
1851 "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
1854 "x": 3519.9998779296875,
\r
1855 "y": 482.9998779296875,
\r
1856 "z": "4d37a11.42c136",
\r
1859 "11d90691.38b7b1",
\r
1866 "id": "6698da7a.77b3bc",
\r
1867 "type": "not-found",
\r
1868 "name": "not-found",
\r
1869 "xml": "<outcome value='not-found'>\n",
\r
1874 "z": "4d37a11.42c136",
\r
1882 "id": "e904e6fc.1061a",
\r
1883 "type": "returnFailure",
\r
1884 "name": "return failure",
\r
1885 "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
1887 "x": 3921.571533203125,
\r
1888 "y": 369.2857666015625,
\r
1889 "z": "4d37a11.42c136",
\r
1893 "id": "4975bc8f.93ecdc",
\r
1894 "type": "returnFailure",
\r
1895 "name": "return failure",
\r
1896 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1898 "x": 3920.509033203125,
\r
1899 "y": 413.426025390625,
\r
1900 "z": "4d37a11.42c136",
\r
1904 "id": "e5aaddec.aca59",
\r
1905 "type": "failure",
\r
1906 "name": "failure",
\r
1907 "xml": "<outcome value='failure'>\n",
\r
1910 "x": 3761.509033203125,
\r
1911 "y": 413.426025390625,
\r
1912 "z": "4d37a11.42c136",
\r
1920 "id": "11d90691.38b7b1",
\r
1921 "type": "success",
\r
1922 "name": "success",
\r
1923 "xml": "<outcome value='success'>\n",
\r
1926 "x": 3768.509033203125,
\r
1927 "y": 492.426025390625,
\r
1928 "z": "4d37a11.42c136",
\r
1936 "id": "3b14af19.ae1128",
\r
1939 "xml": "<block>\n",
\r
1940 "atomic": "false",
\r
1943 "x": 3907.509033203125,
\r
1944 "y": 492.426025390625,
\r
1945 "z": "4d37a11.42c136",
\r
1954 "id": "70ed97b5.dc1c9",
\r
1956 "name": "set the max bandwidth",
\r
1957 "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
1961 "z": "4d37a11.42c136",
\r
1965 "id": "c9fe9947.c06348",
\r
1966 "type": "execute",
\r
1967 "name": "execute split tp-id to get pnf-name",
\r
1968 "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
1973 "z": "4d37a11.42c136",
\r
1976 "78baed3e.c501f4",
\r
1982 "id": "120f1ac.ca76ae5",
\r
1983 "type": "failure",
\r
1984 "name": "success",
\r
1985 "xml": "<outcome value='success'>\n",
\r
1990 "z": "4d37a11.42c136",
\r
1998 "id": "78baed3e.c501f4",
\r
1999 "type": "failure",
\r
2000 "name": "failure",
\r
2001 "xml": "<outcome value='failure'>\n",
\r
2006 "z": "4d37a11.42c136",
\r
2014 "id": "9d068c67.4598d",
\r
2015 "type": "returnFailure",
\r
2016 "name": "return failure",
\r
2017 "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
2021 "z": "4d37a11.42c136",
\r
2025 "id": "40ab4c81.445cd4",
\r
2027 "name": "block : atomic",
\r
2028 "xml": "<block atomic=\"true\">",
\r
2033 "z": "4d37a11.42c136",
\r
2042 "id": "e718de2c.ab002",
\r
2044 "name": "set pnf-name",
\r
2045 "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
2049 "z": "4d37a11.42c136",
\r
2053 "id": "669a0eda.d8f578",
\r
2054 "type": "execute",
\r
2055 "name": "execute split tp-id to get pnf-name",
\r
2056 "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
2060 "y": 1507.9998779296875,
\r
2061 "z": "4d37a11.42c136",
\r
2064 "3eeffc60.cab244",
\r
2070 "id": "163d6add.444455",
\r
2071 "type": "failure",
\r
2072 "name": "success",
\r
2073 "xml": "<outcome value='success'>\n",
\r
2077 "y": 1493.9998779296875,
\r
2078 "z": "4d37a11.42c136",
\r
2086 "id": "3eeffc60.cab244",
\r
2087 "type": "failure",
\r
2088 "name": "failure",
\r
2089 "xml": "<outcome value='failure'>\n",
\r
2093 "y": 1526.9998779296875,
\r
2094 "z": "4d37a11.42c136",
\r
2102 "id": "bb0d91d9.020e4",
\r
2103 "type": "returnFailure",
\r
2104 "name": "return failure",
\r
2105 "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
2108 "y": 1523.9998779296875,
\r
2109 "z": "4d37a11.42c136",
\r
2113 "id": "2e1531f5.2b244e",
\r
2115 "name": "block : atomic",
\r
2116 "xml": "<block atomic=\"true\">",
\r
2120 "y": 1486.9998779296875,
\r
2121 "z": "4d37a11.42c136",
\r
2130 "id": "dd9519ef.d4213",
\r
2132 "name": "set pnf-name",
\r
2133 "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
2137 "z": "4d37a11.42c136",
\r
2141 "id": "ac58016f.1c2c1",
\r
2142 "type": "execute",
\r
2143 "name": "execute properties",
\r
2144 "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
2149 "z": "4d37a11.42c136",
\r
2155 "id": "260f00b5.585908",
\r
2156 "type": "execute",
\r
2157 "name": "execute UUID generator for vpn-binding domainA",
\r
2158 "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
2163 "z": "4d37a11.42c136",
\r
2169 "id": "134248ca.e0fa77",
\r
2170 "type": "execute",
\r
2171 "name": "execute UUID generator for vpn-binding domainB",
\r
2172 "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
2177 "z": "4d37a11.42c136",
\r
2183 "id": "c830d981.aee038",
\r
2185 "name": "for each relationship",
\r
2186 "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",
\r
2191 "z": "4d37a11.42c136",
\r
2199 "id": "4f78d00a.39ba68",
\r
2200 "type": "switchNode",
\r
2201 "name": "switch related-to",
\r
2202 "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",
\r
2207 "z": "4d37a11.42c136",
\r
2215 "id": "489cbbcb.77186c",
\r
2216 "type": "outcome",
\r
2217 "name": "tunnel-termination-point",
\r
2218 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2221 "x": 4037.28564453125,
\r
2222 "y": 1240.82177734375,
\r
2223 "z": "4d37a11.42c136",
\r
2231 "id": "3bbad5a.8ec85aa",
\r
2233 "name": "block : atomic",
\r
2234 "xml": "<block atomic=\"true\">",
\r
2237 "x": 4244.1171875,
\r
2238 "y": 1241.34033203125,
\r
2239 "z": "4d37a11.42c136",
\r
2242 "cf0eeee3.8d6188",
\r
2249 "id": "cf0eeee3.8d6188",
\r
2251 "name": "set source ttp-id",
\r
2252 "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
2254 "x": 4459.1171875,
\r
2255 "y": 1203.34033203125,
\r
2256 "z": "4d37a11.42c136",
\r
2260 "id": "80da6c7c.bf9bc",
\r
2261 "type": "get-resource",
\r
2262 "name": "get-resource src TTP",
\r
2263 "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
2266 "x": 4456.1171875,
\r
2267 "y": 1242.34033203125,
\r
2268 "z": "4d37a11.42c136",
\r
2276 "id": "4327bba4.ea16c4",
\r
2279 "xml": "<break>\n",
\r
2281 "x": 4411.6171875,
\r
2282 "y": 1284.34033203125,
\r
2283 "z": "4d37a11.42c136",
\r
2287 "id": "54d57ef.0aa16",
\r
2288 "type": "success",
\r
2289 "name": "success",
\r
2290 "xml": "<outcome value='success'>\n",
\r
2293 "x": 4636.6171875,
\r
2294 "y": 1241.34033203125,
\r
2295 "z": "4d37a11.42c136",
\r
2303 "id": "136083ca.f8ed24",
\r
2305 "name": "block : atomic",
\r
2306 "xml": "<block atomic=\"true\">",
\r
2309 "x": 4794.6171875,
\r
2310 "y": 1241.34033203125,
\r
2311 "z": "4d37a11.42c136",
\r
2319 "id": "43a5fa3.d0c2504",
\r
2321 "name": "set source tunnel tp ip",
\r
2322 "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",
\r
2324 "x": 5001.6171875,
\r
2325 "y": 1241.34033203125,
\r
2326 "z": "4d37a11.42c136",
\r
2330 "id": "d281a70f.336618",
\r
2332 "name": "for each relationship",
\r
2333 "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",
\r
2337 "y": 2110.0001220703125,
\r
2338 "z": "4d37a11.42c136",
\r
2346 "id": "21553f06.14bad",
\r
2347 "type": "switchNode",
\r
2348 "name": "switch related-to",
\r
2349 "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",
\r
2353 "y": 2110.0001220703125,
\r
2354 "z": "4d37a11.42c136",
\r
2362 "id": "d5a45fe2.8cbaf",
\r
2363 "type": "outcome",
\r
2364 "name": "tunnel-termination-point",
\r
2365 "xml": "<outcome value='tunnel-termination-point'>\n",
\r
2368 "x": 4034.28564453125,
\r
2369 "y": 2109.8218994140625,
\r
2370 "z": "4d37a11.42c136",
\r
2378 "id": "3432450f.73fd1a",
\r
2380 "name": "block : atomic",
\r
2381 "xml": "<block atomic=\"true\">",
\r
2384 "x": 4241.1171875,
\r
2385 "y": 2110.3404541015625,
\r
2386 "z": "4d37a11.42c136",
\r
2389 "4d1b045c.8befb4",
\r
2396 "id": "4d1b045c.8befb4",
\r
2398 "name": "set destination ttp-id",
\r
2399 "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
2401 "x": 4456.1171875,
\r
2402 "y": 2072.3404541015625,
\r
2403 "z": "4d37a11.42c136",
\r
2407 "id": "ff4bcdcd.b592",
\r
2408 "type": "get-resource",
\r
2409 "name": "get-resource src TTP",
\r
2410 "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
2413 "x": 4453.1171875,
\r
2414 "y": 2111.3404541015625,
\r
2415 "z": "4d37a11.42c136",
\r
2423 "id": "82369db7.8fbd4",
\r
2426 "xml": "<break>\n",
\r
2428 "x": 4408.6171875,
\r
2429 "y": 2153.3404541015625,
\r
2430 "z": "4d37a11.42c136",
\r
2434 "id": "a8f23d1f.d221e8",
\r
2435 "type": "success",
\r
2436 "name": "success",
\r
2437 "xml": "<outcome value='success'>\n",
\r
2440 "x": 4633.6171875,
\r
2441 "y": 2110.3404541015625,
\r
2442 "z": "4d37a11.42c136",
\r
2450 "id": "403d184.8f53468",
\r
2452 "name": "block : atomic",
\r
2453 "xml": "<block atomic=\"true\">",
\r
2456 "x": 4791.6171875,
\r
2457 "y": 2110.3404541015625,
\r
2458 "z": "4d37a11.42c136",
\r
2466 "id": "c7d0f697.2aea68",
\r
2468 "name": "set destination tunnel tp ip",
\r
2469 "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",
\r
2471 "x": 4998.6171875,
\r
2472 "y": 2110.3404541015625,
\r
2473 "z": "4d37a11.42c136",
\r
2477 "id": "84749d0f.3038c8",
\r
2479 "name": "set attachment_param domain B",
\r
2480 "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
\r
2484 "z": "4d37a11.42c136",
\r
2488 "id": "68fbd6c1.ad0448",
\r
2489 "type": "get-resource",
\r
2490 "name": "get-resource src pnf",
\r
2491 "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
2496 "z": "4d37a11.42c136",
\r
2499 "69417d44.afb3fc",
\r
2500 "a15ac77e.798db8",
\r
2506 "id": "69417d44.afb3fc",
\r
2507 "type": "success",
\r
2508 "name": "success",
\r
2509 "xml": "<outcome value='success'>\n",
\r
2512 "x": 3724.5001220703125,
\r
2514 "z": "4d37a11.42c136",
\r
2522 "id": "a15ac77e.798db8",
\r
2523 "type": "not-found",
\r
2524 "name": "not-found",
\r
2525 "xml": "<outcome value='not-found'>\n",
\r
2528 "x": 3716.5001220703125,
\r
2530 "z": "4d37a11.42c136",
\r
2538 "id": "3a89038d.704134",
\r
2541 "xml": "<outcome value='Other'>\n",
\r
2544 "x": 3721.5001220703125,
\r
2546 "z": "4d37a11.42c136",
\r
2554 "id": "56dfcb3e.f8e3ac",
\r
2555 "type": "returnFailure",
\r
2556 "name": "return failure",
\r
2557 "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
2559 "x": 3873.5001220703125,
\r
2561 "z": "4d37a11.42c136",
\r
2565 "id": "5742f10e.dadab8",
\r
2566 "type": "returnFailure",
\r
2567 "name": "return failure",
\r
2568 "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
2570 "x": 3884.5001220703125,
\r
2572 "z": "4d37a11.42c136",
\r
2576 "id": "138b37c3.968d8",
\r
2579 "xml": "<block>\n",
\r
2580 "atomic": "false",
\r
2583 "x": 3868.8824462890625,
\r
2584 "y": 666.6556701660156,
\r
2585 "z": "4d37a11.42c136",
\r
2593 "id": "40dc3d01.0cfddc",
\r
2594 "type": "outcome",
\r
2595 "name": "esr-thirdparty-sdnc",
\r
2596 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2601 "z": "4d37a11.42c136",
\r
2609 "id": "ce5ec787.25a25",
\r
2611 "name": "block : atomic",
\r
2612 "xml": "<block atomic=\"true\">",
\r
2617 "z": "4d37a11.42c136",
\r
2620 "deda36.39eb45c8",
\r
2626 "id": "b4d80ee.d93167",
\r
2628 "name": "for each relationship",
\r
2629 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
\r
2634 "z": "4d37a11.42c136",
\r
2642 "id": "83a731e6.aee9d8",
\r
2643 "type": "switchNode",
\r
2644 "name": "switch related-to",
\r
2645 "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
2650 "z": "4d37a11.42c136",
\r
2653 "40dc3d01.0cfddc",
\r
2659 "id": "deda36.39eb45c8",
\r
2661 "name": "set esr-thirdparty-sdnc domainA id",
\r
2662 "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
2666 "z": "4d37a11.42c136",
\r
2670 "id": "883ac008.74f89",
\r
2671 "type": "success",
\r
2672 "name": "success",
\r
2673 "xml": "<outcome value='success'>\n",
\r
2678 "z": "4d37a11.42c136",
\r
2686 "id": "6cf958ca.c3e4a8",
\r
2687 "type": "not-found",
\r
2688 "name": "not-found",
\r
2689 "xml": "<outcome value='not-found'>\n",
\r
2694 "z": "4d37a11.42c136",
\r
2702 "id": "e70b241a.97d7e8",
\r
2705 "xml": "<outcome value='Other'>\n",
\r
2710 "z": "4d37a11.42c136",
\r
2718 "id": "e90b6e53.2dc61",
\r
2719 "type": "returnFailure",
\r
2720 "name": "return failure",
\r
2721 "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
2725 "z": "4d37a11.42c136",
\r
2729 "id": "f6420bc8.c6108",
\r
2730 "type": "returnFailure",
\r
2731 "name": "return failure",
\r
2732 "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
2736 "z": "4d37a11.42c136",
\r
2740 "id": "5bb6445.b0cb1bc",
\r
2743 "xml": "<block>\n",
\r
2744 "atomic": "false",
\r
2747 "x": 5190.38232421875,
\r
2748 "y": 672.6556701660156,
\r
2749 "z": "4d37a11.42c136",
\r
2757 "id": "36dcfa67.508606",
\r
2759 "name": "set controller domainA data",
\r
2760 "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
2764 "z": "4d37a11.42c136",
\r
2768 "id": "54817df4.67d484",
\r
2769 "type": "get-resource",
\r
2770 "name": "get-resource src pnf",
\r
2771 "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
2776 "z": "4d37a11.42c136",
\r
2779 "12332a8b.1f458d",
\r
2780 "e70d4463.7fed78",
\r
2786 "id": "12332a8b.1f458d",
\r
2787 "type": "success",
\r
2788 "name": "success",
\r
2789 "xml": "<outcome value='success'>\n",
\r
2792 "x": 3765.5001220703125,
\r
2794 "z": "4d37a11.42c136",
\r
2802 "id": "e70d4463.7fed78",
\r
2803 "type": "not-found",
\r
2804 "name": "not-found",
\r
2805 "xml": "<outcome value='not-found'>\n",
\r
2808 "x": 3757.5001220703125,
\r
2810 "z": "4d37a11.42c136",
\r
2818 "id": "9e28dd86.32b368",
\r
2821 "xml": "<outcome value='Other'>\n",
\r
2824 "x": 3762.5001220703125,
\r
2826 "z": "4d37a11.42c136",
\r
2834 "id": "1636bf8.c7b9e41",
\r
2835 "type": "returnFailure",
\r
2836 "name": "return failure",
\r
2837 "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
2839 "x": 3914.5001220703125,
\r
2841 "z": "4d37a11.42c136",
\r
2845 "id": "9865196d.c10828",
\r
2846 "type": "returnFailure",
\r
2847 "name": "return failure",
\r
2848 "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
2850 "x": 3925.5001220703125,
\r
2852 "z": "4d37a11.42c136",
\r
2856 "id": "97851436.c0f798",
\r
2859 "xml": "<block>\n",
\r
2860 "atomic": "false",
\r
2863 "x": 3909.8824462890625,
\r
2864 "y": 1507.6556701660156,
\r
2865 "z": "4d37a11.42c136",
\r
2873 "id": "358b8a93.9adabe",
\r
2874 "type": "outcome",
\r
2875 "name": "esr-thirdparty-sdnc",
\r
2876 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
2881 "z": "4d37a11.42c136",
\r
2889 "id": "f1454db6.8dcaf8",
\r
2891 "name": "block : atomic",
\r
2892 "xml": "<block atomic=\"true\">",
\r
2897 "z": "4d37a11.42c136",
\r
2900 "1806e2c2.14485d",
\r
2906 "id": "601870d2.2269c8",
\r
2908 "name": "for each relationship",
\r
2909 "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",
\r
2914 "z": "4d37a11.42c136",
\r
2922 "id": "4732f224.c95254",
\r
2923 "type": "switchNode",
\r
2924 "name": "switch related-to",
\r
2925 "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",
\r
2930 "z": "4d37a11.42c136",
\r
2933 "358b8a93.9adabe",
\r
2939 "id": "8cb20d6f.760bf",
\r
2940 "type": "execute",
\r
2941 "name": "get esr-thirdparty-sdnc",
\r
2942 "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
2947 "z": "4d37a11.42c136",
\r
2957 "id": "1806e2c2.14485d",
\r
2959 "name": "set esr-thirdparty-sdnc domainB id",
\r
2960 "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
2964 "z": "4d37a11.42c136",
\r
2968 "id": "c4071110.82806",
\r
2969 "type": "success",
\r
2970 "name": "success",
\r
2971 "xml": "<outcome value='success'>\n",
\r
2976 "z": "4d37a11.42c136",
\r
2984 "id": "ce108d7.ad4977",
\r
2985 "type": "not-found",
\r
2986 "name": "not-found",
\r
2987 "xml": "<outcome value='not-found'>\n",
\r
2992 "z": "4d37a11.42c136",
\r
3000 "id": "c040099f.13bbf8",
\r
3003 "xml": "<outcome value='Other'>\n",
\r
3008 "z": "4d37a11.42c136",
\r
3016 "id": "45d3d695.c0cf2",
\r
3017 "type": "returnFailure",
\r
3018 "name": "return failure",
\r
3019 "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
3023 "z": "4d37a11.42c136",
\r
3027 "id": "98979539.818688",
\r
3028 "type": "returnFailure",
\r
3029 "name": "return failure",
\r
3030 "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
3034 "z": "4d37a11.42c136",
\r
3038 "id": "c3f3513e.3d36c",
\r
3041 "xml": "<block>\n",
\r
3042 "atomic": "false",
\r
3045 "x": 5231.38232421875,
\r
3046 "y": 1513.6556701660156,
\r
3047 "z": "4d37a11.42c136",
\r
3055 "id": "90464df.06ab9b",
\r
3057 "name": "set controller domainB data",
\r
3058 "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
3062 "z": "4d37a11.42c136",
\r
3066 "id": "a5814717.4b953",
\r
3067 "type": "execute",
\r
3068 "name": "execute RestApiCallNode slice creation domainA",
\r
3069 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
3074 "z": "4d37a11.42c136",
\r
3077 "2242c3cc.13b1dc",
\r
3083 "id": "2c8586d6.b70122",
\r
3084 "type": "failure",
\r
3085 "name": "failure",
\r
3086 "xml": "<outcome value='failure'>\n",
\r
3091 "z": "4d37a11.42c136",
\r
3099 "id": "2242c3cc.13b1dc",
\r
3100 "type": "success",
\r
3101 "name": "success",
\r
3102 "xml": "<outcome value='success'>\n",
\r
3105 "x": 2692.000213623047,
\r
3106 "y": 2750.99990940094,
\r
3107 "z": "4d37a11.42c136",
\r
3115 "id": "8e14b997.54e1b8",
\r
3116 "type": "returnFailure",
\r
3117 "name": "return failure",
\r
3118 "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
3120 "x": 2831.0002479553223,
\r
3121 "y": 2700.0000009536743,
\r
3122 "z": "4d37a11.42c136",
\r
3126 "id": "72bda37b.1b4f84",
\r
3129 "xml": "<block>\n",
\r
3130 "atomic": "false",
\r
3133 "x": 2837.02725982666,
\r
3134 "y": 2748.745394706726,
\r
3135 "z": "4d37a11.42c136",
\r
3141 "id": "39b144a2.fc3a7c",
\r
3142 "type": "execute",
\r
3143 "name": "execute RestApiCallNode slice creation domainB",
\r
3144 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
\r
3149 "z": "4d37a11.42c136",
\r
3152 "23f4f16e.f2ab6e",
\r
3158 "id": "8c667512.e5492",
\r
3159 "type": "failure",
\r
3160 "name": "failure",
\r
3161 "xml": "<outcome value='failure'>\n",
\r
3166 "z": "4d37a11.42c136",
\r
3174 "id": "23f4f16e.f2ab6e",
\r
3175 "type": "success",
\r
3176 "name": "success",
\r
3177 "xml": "<outcome value='success'>\n",
\r
3180 "x": 2692.000213623047,
\r
3181 "y": 3122.99990940094,
\r
3182 "z": "4d37a11.42c136",
\r
3190 "id": "1089012f.df48c7",
\r
3191 "type": "returnFailure",
\r
3192 "name": "return failure",
\r
3193 "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
3195 "x": 2831.0002479553223,
\r
3196 "y": 3072.0000009536743,
\r
3197 "z": "4d37a11.42c136",
\r
3201 "id": "199cfc4b.ed097c",
\r
3204 "xml": "<block>\n",
\r
3205 "atomic": "false",
\r
3208 "x": 2837.02725982666,
\r
3209 "y": 3120.745394706726,
\r
3210 "z": "4d37a11.42c136",
\r
3216 "id": "c14b8719.903d8",
\r
3218 "name": "block : atomic",
\r
3219 "xml": "<block atomic=\"true\">",
\r
3224 "z": "4d37a11.42c136",
\r
3227 "40603cb7.607bc4",
\r
3233 "id": "7f3f76ad.e04ac8",
\r
3235 "name": "for each allotted-resource relationship",
\r
3236 "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",
\r
3241 "z": "4d37a11.42c136",
\r
3249 "id": "31eeaed6.c9c2d2",
\r
3250 "type": "switchNode",
\r
3251 "name": "switch related-to",
\r
3252 "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",
\r
3257 "z": "4d37a11.42c136",
\r
3265 "id": "556c2535.2cf6f4",
\r
3266 "type": "outcome",
\r
3267 "name": "network-resource",
\r
3268 "xml": "<outcome value='network-resource'>",
\r
3273 "z": "4d37a11.42c136",
\r
3281 "id": "8b677154.0c28b8",
\r
3283 "name": "block : atomic",
\r
3284 "xml": "<block atomic=\"true\">",
\r
3289 "z": "4d37a11.42c136",
\r
3297 "id": "dbe05c47.574588",
\r
3299 "name": "set domainA ethernet layer network-id",
\r
3300 "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
3304 "z": "4d37a11.42c136",
\r
3308 "id": "e5346606.e9d9f",
\r
3310 "name": "set domainB ethernet layer network-id",
\r
3311 "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
3315 "z": "4d37a11.42c136",
\r
3319 "id": "279e5fe1.a8b868",
\r
3321 "name": "block : atomic",
\r
3322 "xml": "<block atomic=\"true\">",
\r
3327 "z": "4d37a11.42c136",
\r
3335 "id": "3beefc43.434434",
\r
3336 "type": "outcome",
\r
3337 "name": "network-resource",
\r
3338 "xml": "<outcome value='network-resource'>",
\r
3343 "z": "4d37a11.42c136",
\r
3351 "id": "21292318.735edc",
\r
3352 "type": "execute",
\r
3353 "name": "execute RestApiCallNode domainA UNI Coloring",
\r
3354 "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
3359 "z": "4d37a11.42c136",
\r
3362 "aa98c0a5.978718",
\r
3368 "id": "47316c0a.b315dc",
\r
3369 "type": "failure",
\r
3370 "name": "failure",
\r
3371 "xml": "<outcome value='failure'>\n",
\r
3376 "z": "4d37a11.42c136",
\r
3384 "id": "aa98c0a5.978718",
\r
3385 "type": "success",
\r
3386 "name": "success",
\r
3387 "xml": "<outcome value='success'>\n",
\r
3390 "x": 2694.000213623047,
\r
3391 "y": 2883.99990940094,
\r
3392 "z": "4d37a11.42c136",
\r
3400 "id": "a7504bbe.eb60e",
\r
3401 "type": "returnFailure",
\r
3402 "name": "return failure",
\r
3403 "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
3405 "x": 2833.0002479553223,
\r
3406 "y": 2833.0000009536743,
\r
3407 "z": "4d37a11.42c136",
\r
3411 "id": "98c604c1.7b11b8",
\r
3414 "xml": "<block>\n",
\r
3415 "atomic": "false",
\r
3418 "x": 2839.02725982666,
\r
3419 "y": 2881.745394706726,
\r
3420 "z": "4d37a11.42c136",
\r
3426 "id": "ce066c5d.e7734",
\r
3427 "type": "execute",
\r
3428 "name": "execute RestApiCallNode domainB UNI Coloring",
\r
3429 "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
3434 "z": "4d37a11.42c136",
\r
3437 "77909c9d.223f24",
\r
3443 "id": "d69f9ea8.7be4",
\r
3444 "type": "failure",
\r
3445 "name": "failure",
\r
3446 "xml": "<outcome value='failure'>\n",
\r
3451 "z": "4d37a11.42c136",
\r
3459 "id": "77909c9d.223f24",
\r
3460 "type": "success",
\r
3461 "name": "success",
\r
3462 "xml": "<outcome value='success'>\n",
\r
3465 "x": 2694.000213623047,
\r
3466 "y": 3249.99990940094,
\r
3467 "z": "4d37a11.42c136",
\r
3475 "id": "f7f9f969.a37708",
\r
3476 "type": "returnFailure",
\r
3477 "name": "return failure",
\r
3478 "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
3480 "x": 2833.0002479553223,
\r
3481 "y": 3199.0000009536743,
\r
3482 "z": "4d37a11.42c136",
\r
3486 "id": "cf24be41.03bc48",
\r
3489 "xml": "<block>\n",
\r
3490 "atomic": "false",
\r
3493 "x": 2839.02725982666,
\r
3494 "y": 3247.745394706726,
\r
3495 "z": "4d37a11.42c136",
\r
3501 "id": "c2e43483.a12bd",
\r
3503 "name": "set the max bandwidth",
\r
3504 "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",
\r
3508 "z": "4d37a11.42c136",
\r
3512 "id": "303c5717.c426f",
\r
3513 "type": "execute",
\r
3514 "name": "execute UUID generator for ethernet-service-name",
\r
3515 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",
\r
3520 "z": "4d37a11.42c136",
\r
3526 "id": "c19c2198.0de5c",
\r
3527 "type": "execute",
\r
3528 "name": "execute UUID generator for otn-tunnel-name",
\r
3529 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",
\r
3534 "z": "4d37a11.42c136",
\r