3 "id": "2b7da8b.17ed9d8",
\r
9 "z": "ab59e982.86c81",
\r
17 "id": "970691bb.ddc15",
\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": 532.2856903076172,
\r
26 "y": 106.23810863494873,
\r
27 "z": "ab59e982.86c81",
\r
35 "id": "60aef583.9235ac",
\r
37 "name": "method cll-vnf-topology-operation-cll-F1",
\r
38 "xml": "<method rpc='cll-vnf-topology-operation-cll-F1' mode='sync'>\n",
\r
41 "x": 448.4285888671875,
\r
42 "y": 184.00003051757812,
\r
43 "z": "ab59e982.86c81",
\r
51 "id": "aea204d6.6a791",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 182.238037109375,
\r
58 "y": 687.6666870117188,
\r
59 "z": "ab59e982.86c81",
\r
74 "id": "8d663f65.8f74e8",
\r
76 "name": "set query_param",
\r
77 "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
\r
81 "z": "ab59e982.86c81",
\r
85 "id": "8c3bad0a.2ae1e",
\r
87 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
88 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
93 "z": "ab59e982.86c81",
\r
99 "id": "7334fea3.c843f",
\r
101 "name": "execute printContext",
\r
102 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
\r
107 "z": "ab59e982.86c81",
\r
113 "id": "6a3e2f90.eef6e",
\r
115 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",
\r
116 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
\r
121 "z": "ab59e982.86c81",
\r
127 "id": "65e8fb60.0959f4",
\r
129 "name": "for vidx..tmp.otninfo_length[]",
\r
130 "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
\r
135 "z": "ab59e982.86c81",
\r
143 "id": "c2ebc420.8ee88",
\r
145 "name": "block : atomic",
\r
146 "xml": "<block atomic='true'>",
\r
150 "x": 972.9999694824219,
\r
152 "z": "ab59e982.86c81",
\r
169 "id": "2cc97555.3fad02",
\r
171 "name": "execute UUID generator for vpn-binding $otnidx",
\r
172 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
\r
177 "z": "ab59e982.86c81",
\r
183 "id": "78caef7b.ab95f8",
\r
184 "type": "switchNode",
\r
185 "name": "switch dstPort == NULL",
\r
186 "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
\r
191 "z": "ab59e982.86c81",
\r
200 "id": "b4cf3f6b.7b5288",
\r
201 "type": "outcomeTrue",
\r
203 "xml": "<outcome value='true'>\n",
\r
208 "z": "ab59e982.86c81",
\r
216 "id": "f7c5eac6.57b338",
\r
217 "type": "outcomeFalse",
\r
219 "xml": "<outcome value='false'>\n",
\r
224 "z": "ab59e982.86c81",
\r
232 "id": "7ef1427a.0fd4ac",
\r
234 "name": "set access-provider-id and client-id",
\r
235 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",
\r
239 "z": "ab59e982.86c81",
\r
243 "id": "26ca350f.1d9a8a",
\r
245 "name": "set access-provider-id and client-id",
\r
246 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",
\r
250 "z": "ab59e982.86c81",
\r
254 "id": "9c05f571.1eb168",
\r
256 "name": "set srcdstpnf-name",
\r
257 "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
\r
261 "z": "ab59e982.86c81",
\r
265 "id": "eda8e4ad.92ee8",
\r
266 "type": "get-resource",
\r
267 "name": "get-resource tmp.srcdstpnf-name",
\r
268 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
273 "z": "ab59e982.86c81",
\r
283 "id": "79ecfb4e.255ea4",
\r
286 "xml": "<outcome value='success'>\n",
\r
291 "z": "ab59e982.86c81",
\r
299 "id": "441f51df.f58208",
\r
300 "type": "not-found",
\r
301 "name": "not-found",
\r
302 "xml": "<outcome value='not-found'>\n",
\r
307 "z": "ab59e982.86c81",
\r
315 "id": "204f27c3.a07c18",
\r
318 "xml": "<outcome value='Other'>\n",
\r
323 "z": "ab59e982.86c81",
\r
331 "id": "afa61155.e3e4f",
\r
332 "type": "returnFailure",
\r
333 "name": "return failure",
\r
334 "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
338 "z": "ab59e982.86c81",
\r
342 "id": "4a1b3b6f.aa547c",
\r
343 "type": "returnFailure",
\r
344 "name": "return failure",
\r
345 "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
349 "z": "ab59e982.86c81",
\r
353 "id": "eac32b1e.ec64f",
\r
356 "xml": "<block>\n",
\r
360 "x": 1919.8824462890625,
\r
361 "y": 942.6556701660156,
\r
362 "z": "ab59e982.86c81",
\r
370 "id": "3c0a3138.bdd26e",
\r
372 "name": "for each relationship",
\r
373 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
\r
378 "z": "ab59e982.86c81",
\r
386 "id": "e187685d.0e36b8",
\r
387 "type": "switchNode",
\r
388 "name": "switch related-to",
\r
389 "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
394 "z": "ab59e982.86c81",
\r
402 "id": "48b536ea.5f9248",
\r
404 "name": "block : atomic",
\r
405 "xml": "<block atomic=\"true\">",
\r
410 "z": "ab59e982.86c81",
\r
419 "id": "9a0b489a.f82b3",
\r
421 "name": "get esr-thirdparty-sdnc",
\r
422 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
\r
427 "z": "ab59e982.86c81",
\r
437 "id": "c8495fb1.c63f38",
\r
439 "name": "set esr-thirdparty-sdnc domainG id",
\r
440 "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
444 "z": "ab59e982.86c81",
\r
448 "id": "ff325fba.81a3f",
\r
451 "xml": "<outcome value='success'>\n",
\r
456 "z": "ab59e982.86c81",
\r
464 "id": "5e11cb23.ea8384",
\r
465 "type": "not-found",
\r
466 "name": "not-found",
\r
467 "xml": "<outcome value='not-found'>\n",
\r
472 "z": "ab59e982.86c81",
\r
480 "id": "435ef02b.e0a51",
\r
483 "xml": "<outcome value='Other'>\n",
\r
488 "z": "ab59e982.86c81",
\r
496 "id": "c8c2b440.36c658",
\r
497 "type": "returnFailure",
\r
498 "name": "return failure",
\r
499 "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
503 "z": "ab59e982.86c81",
\r
507 "id": "db1340d4.287d2",
\r
508 "type": "returnFailure",
\r
509 "name": "return failure",
\r
510 "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
514 "z": "ab59e982.86c81",
\r
518 "id": "3437139a.bfdd9c",
\r
521 "xml": "<block>\n",
\r
525 "x": 3218.38232421875,
\r
526 "y": 948.6556701660156,
\r
527 "z": "ab59e982.86c81",
\r
535 "id": "124aeba.98fab14",
\r
537 "name": "esr-thirdparty-sdnc",
\r
538 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
543 "z": "ab59e982.86c81",
\r
551 "id": "e7684b.19d5f7b8",
\r
553 "name": "set controller domainA data",
\r
554 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
\r
558 "z": "ab59e982.86c81",
\r
562 "id": "a27c8181.cf517",
\r
563 "type": "switchNode",
\r
564 "name": "switch dmnsidx == 0 (domainA)",
\r
565 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
570 "z": "ab59e982.86c81",
\r
579 "id": "55f451b.c21bcb",
\r
580 "type": "outcomeTrue",
\r
582 "xml": "<outcome value='true'>\n",
\r
587 "z": "ab59e982.86c81",
\r
595 "id": "a4ef5898.fcc6d8",
\r
597 "name": "set pce-src-node",
\r
598 "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
\r
602 "z": "ab59e982.86c81",
\r
606 "id": "82a35f7.532ff2",
\r
607 "type": "switchNode",
\r
608 "name": "switch dmnsidx == last (domainB)",
\r
609 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
\r
614 "z": "ab59e982.86c81",
\r
623 "id": "151d6bac.6b36ac",
\r
624 "type": "outcomeTrue",
\r
626 "xml": "<outcome value='true'>\n",
\r
631 "z": "ab59e982.86c81",
\r
639 "id": "148790b5.591b8f",
\r
640 "type": "outcomeFalse",
\r
642 "xml": "<outcome value='false'>\n",
\r
647 "z": "ab59e982.86c81",
\r
655 "id": "e7ce23ad.f63438",
\r
656 "type": "outcomeFalse",
\r
658 "xml": "<outcome value='false'>\n",
\r
663 "z": "ab59e982.86c81",
\r
671 "id": "3d6b9433.a347bc",
\r
673 "name": "set attachment_param domain G",
\r
674 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
\r
678 "z": "ab59e982.86c81",
\r
682 "id": "308a9211.a77236",
\r
684 "name": "set attachment_param domain A",
\r
685 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",
\r
689 "z": "ab59e982.86c81",
\r
693 "id": "190bbee0.fdc3a1",
\r
696 "xml": "<block>\n",
\r
702 "z": "ab59e982.86c81",
\r
710 "id": "1bd30175.73854f",
\r
713 "xml": "<block>\n",
\r
719 "z": "ab59e982.86c81",
\r
727 "id": "9261980e.04515",
\r
729 "name": "set pce-src-node",
\r
730 "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
\r
734 "z": "ab59e982.86c81",
\r
738 "id": "9e7d0c9c.28922",
\r
740 "name": "set attachment_param domain B",
\r
741 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",
\r
745 "z": "ab59e982.86c81",
\r
749 "id": "363053e.3c7802c",
\r
751 "name": "unset parameters",
\r
752 "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
754 "x": 423.99993896484375,
\r
755 "y": 3813.000244140625,
\r
756 "z": "ab59e982.86c81",
\r
760 "id": "322c901e.38e458",
\r
762 "name": "set srcTtp OTN layer",
\r
763 "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!-- $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!-- $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",
\r
767 "z": "ab59e982.86c81",
\r
771 "id": "e500131.d3db37",
\r
773 "name": "set srcTtp+dstTtp pair",
\r
774 "xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`\" />\n\n\n",
\r
778 "z": "ab59e982.86c81",
\r
782 "id": "ac5e1496.5bc93",
\r
784 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
\r
785 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
\r
788 "x": 1719.9999694824219,
\r
790 "z": "ab59e982.86c81",
\r
796 "id": "b4245913.ae7bb",
\r
798 "name": "set current-provider-id and current-cvlan-id",
\r
799 "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",
\r
803 "z": "ab59e982.86c81",
\r
807 "id": "6299b58a.3a41b4",
\r
808 "type": "switchNode",
\r
809 "name": "switch found-connectivity?",
\r
810 "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
\r
815 "z": "ab59e982.86c81",
\r
824 "id": "2ae1d3e2.c44d5c",
\r
825 "type": "outcomeTrue",
\r
827 "xml": "<outcome value='true'>\n",
\r
832 "z": "ab59e982.86c81",
\r
840 "id": "8ba690d8.c6505",
\r
842 "name": "call string.contains to check if the cache has srcTtpdstTtpPair",
\r
843 "info": "if it had: then no new otn/vpn-binding is needed\n ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",
\r
847 "z": "ab59e982.86c81",
\r
851 "id": "6f1cf403.6bf7dc",
\r
853 "name": "create a new connectivity - (for dummy connectivity)",
\r
854 "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",
\r
856 "x": 1979.9999694824219,
\r
858 "z": "ab59e982.86c81",
\r
862 "id": "570cc158.1e1d08",
\r
864 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
865 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
\r
870 "z": "ab59e982.86c81",
\r
878 "id": "e9e323ca.2e498",
\r
881 "xml": "<outcome value='success'>\n",
\r
886 "z": "ab59e982.86c81",
\r
894 "id": "f5fef51a.3d04f8",
\r
897 "xml": "<block>\n",
\r
902 "y": 1514.25390625,
\r
903 "z": "ab59e982.86c81",
\r
909 "id": "12f528da.eadc7f",
\r
911 "name": "execute string.contains srcTtpdstTtpPair",
\r
912 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",
\r
917 "z": "ab59e982.86c81",
\r
926 "id": "8dd1e788.b5dd4",
\r
927 "type": "outcomeFalse",
\r
929 "xml": "<outcome value='false'>\n",
\r
934 "z": "ab59e982.86c81",
\r
940 "id": "6a3cb15d.6fc0f8",
\r
941 "type": "outcomeFalse",
\r
943 "xml": "<outcome value='true'>\n",
\r
948 "z": "ab59e982.86c81",
\r
956 "id": "82bc647c.2cf778",
\r
958 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
959 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
\r
964 "z": "ab59e982.86c81",
\r
972 "id": "6754cf0f.d24068",
\r
975 "xml": "<outcome value='success'>\n",
\r
980 "z": "ab59e982.86c81",
\r
988 "id": "a854224c.98a058",
\r
991 "xml": "<block>\n",
\r
996 "y": 1961.25390625,
\r
997 "z": "ab59e982.86c81",
\r
1003 "id": "87b5ce3b.8ef938",
\r
1004 "type": "execute",
\r
1005 "name": "execute UUID generator for connectivity domain otnidx",
\r
1006 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
\r
1011 "z": "ab59e982.86c81",
\r
1017 "id": "6a69c0c.0beb14",
\r
1019 "name": "save connectivity resource in AAI",
\r
1020 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\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
1025 "z": "ab59e982.86c81",
\r
1031 "id": "a4e3ab7a.498dc8",
\r
1033 "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
\r
1034 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
\r
1039 "z": "ab59e982.86c81",
\r
1045 "id": "909dac00.1cdf4",
\r
1047 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1048 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
\r
1053 "z": "ab59e982.86c81",
\r
1059 "id": "30650806.4cf508",
\r
1061 "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
\r
1062 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
\r
1067 "z": "ab59e982.86c81",
\r
1073 "id": "a06d70ba.206bf",
\r
1074 "type": "comment",
\r
1075 "name": "find middle-man's eth-srv-name",
\r
1080 "z": "ab59e982.86c81",
\r
1084 "id": "6cd61101.45105",
\r
1086 "name": "set prop.ethernet-service-name",
\r
1087 "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",
\r
1091 "z": "ab59e982.86c81",
\r
1095 "id": "78936cec.4008d4",
\r
1097 "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",
\r
1098 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \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/' + $tmp.the-connectivity.connectivity-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=\"`$tmp.the-connectivity.connectivity-id`\" />",
\r
1103 "z": "ab59e982.86c81",
\r
1109 "id": "8c815ed6.372fa",
\r
1111 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1112 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
\r
1117 "z": "ab59e982.86c81",
\r
1123 "id": "add6fed7.67e35",
\r
1125 "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",
\r
1126 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-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=\"`$tmp.the-connectivity.connectivity-id`\" />",
\r
1131 "z": "ab59e982.86c81",
\r
1137 "id": "8ad8acf7.e8e67",
\r
1138 "type": "comment",
\r
1139 "name": "update the founded connectivity to have a new coupling-flag",
\r
1144 "z": "ab59e982.86c81",
\r
1148 "id": "8ca2b693.c50608",
\r
1150 "name": "set newFlag",
\r
1151 "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",
\r
1155 "z": "ab59e982.86c81",
\r
1159 "id": "9f51b095.94fd08",
\r
1161 "name": "update connectivity resource in AAI",
\r
1162 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",
\r
1167 "z": "ab59e982.86c81",
\r
1173 "id": "58d04196.f5778",
\r
1174 "type": "comment",
\r
1175 "name": "the following two relationships should have already been there; if not => error",
\r
1180 "z": "ab59e982.86c81",
\r
1184 "id": "832e8c75.f85478",
\r
1187 "xml": "<block>\n",
\r
1188 "atomic": "false",
\r
1193 "z": "ab59e982.86c81",
\r
1196 "570cc158.1e1d08",
\r
1197 "87b5ce3b.8ef938",
\r
1199 "a4e3ab7a.498dc8",
\r
1206 "id": "7342444f.5f3ea4",
\r
1207 "type": "outcomeFalse",
\r
1209 "xml": "<outcome value='false'>\n",
\r
1214 "z": "ab59e982.86c81",
\r
1222 "id": "27e9b59e.2795c2",
\r
1224 "name": "block : atomic",
\r
1225 "xml": "<block atomic='true'>",
\r
1231 "z": "ab59e982.86c81",
\r
1234 "82bc647c.2cf778",
\r
1235 "8ca2b693.c50608",
\r
1236 "9f51b095.94fd08",
\r
1242 "id": "ddcfbda0.672cc",
\r
1243 "type": "comment",
\r
1244 "name": "loop through the relationships of this founded connectivity, then",
\r
1245 "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",
\r
1249 "z": "ab59e982.86c81",
\r
1253 "id": "86c04fbf.f3fdf8",
\r
1255 "name": "for each relationship",
\r
1256 "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",
\r
1261 "z": "ab59e982.86c81",
\r
1269 "id": "d9d55075.06cb88",
\r
1270 "type": "switchNode",
\r
1271 "name": "switch related-to",
\r
1272 "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
\r
1277 "z": "ab59e982.86c81",
\r
1285 "id": "b5809f3c.79c17",
\r
1286 "type": "outcome",
\r
1287 "name": "vpn-binding",
\r
1288 "xml": "<outcome value='vpn-binding'>\n",
\r
1293 "z": "ab59e982.86c81",
\r
1301 "id": "17f341d4.56b9ee",
\r
1303 "name": "block : atomic",
\r
1304 "xml": "<block atomic=\"true\">",
\r
1309 "z": "ab59e982.86c81",
\r
1312 "77bff99b.403968",
\r
1318 "id": "813820e1.d9db2",
\r
1320 "name": "unset tmp.aai.vpn-binding",
\r
1321 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
1325 "z": "ab59e982.86c81",
\r
1329 "id": "77bff99b.403968",
\r
1331 "name": "get vpn-binding from aai",
\r
1332 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
\r
1337 "z": "ab59e982.86c81",
\r
1340 "574e7a35.7acb64",
\r
1341 "72ff429d.0f84dc",
\r
1347 "id": "72ff429d.0f84dc",
\r
1348 "type": "not-found",
\r
1349 "name": "not-found",
\r
1350 "xml": "<outcome value='not-found'>\n",
\r
1353 "x": 3742.490966796875,
\r
1354 "y": 2429.5740356445312,
\r
1355 "z": "ab59e982.86c81",
\r
1363 "id": "47df6bef.c00ec4",
\r
1364 "type": "returnFailure",
\r
1365 "name": "return failure",
\r
1366 "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
1369 "y": 2428.8597412109375,
\r
1370 "z": "ab59e982.86c81",
\r
1374 "id": "25a6a90d.740966",
\r
1375 "type": "returnFailure",
\r
1376 "name": "return failure",
\r
1377 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1381 "z": "ab59e982.86c81",
\r
1385 "id": "d88724e6.b16bd8",
\r
1386 "type": "failure",
\r
1387 "name": "failure",
\r
1388 "xml": "<outcome value='failure'>\n",
\r
1393 "z": "ab59e982.86c81",
\r
1401 "id": "574e7a35.7acb64",
\r
1402 "type": "success",
\r
1403 "name": "success",
\r
1404 "xml": "<outcome value='success'>\n",
\r
1409 "z": "ab59e982.86c81",
\r
1417 "id": "fafaf735.33502",
\r
1419 "name": "block : atomic",
\r
1420 "xml": "<block atomic=\"true\">",
\r
1425 "z": "ab59e982.86c81",
\r
1433 "id": "7ecab95b.cd5a18",
\r
1436 "xml": "<block>\n",
\r
1437 "atomic": "false",
\r
1442 "z": "ab59e982.86c81",
\r
1445 "86c04fbf.f3fdf8",
\r
1446 "3d93e24d.201056",
\r
1452 "id": "dbd3b6f8.ffc688",
\r
1453 "type": "switchNode",
\r
1454 "name": "switch srcTtp",
\r
1455 "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`'>\n",
\r
1460 "z": "ab59e982.86c81",
\r
1468 "id": "f13865e2.850a98",
\r
1469 "type": "outcomeTrue",
\r
1471 "xml": "<outcome value='true'>\n",
\r
1476 "z": "ab59e982.86c81",
\r
1484 "id": "9cbb1279.26e6c",
\r
1485 "type": "switchNode",
\r
1486 "name": "switch dstTtp",
\r
1487 "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",
\r
1492 "z": "ab59e982.86c81",
\r
1500 "id": "9f041833.a96178",
\r
1501 "type": "outcomeTrue",
\r
1503 "xml": "<outcome value='true'>\n",
\r
1508 "z": "ab59e982.86c81",
\r
1516 "id": "3d307538.ff5302",
\r
1518 "name": "set tmp.the-vpn-binding",
\r
1519 "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",
\r
1523 "z": "ab59e982.86c81",
\r
1527 "id": "7a99f43e.47072c",
\r
1530 "xml": "<block>\n",
\r
1531 "atomic": "false",
\r
1536 "z": "ab59e982.86c81",
\r
1539 "3d307538.ff5302",
\r
1545 "id": "9c163e19.5e2778",
\r
1548 "xml": "<break>\n",
\r
1552 "z": "ab59e982.86c81",
\r
1556 "id": "3d93e24d.201056",
\r
1558 "name": "unset tmp.the-vpn-binding",
\r
1559 "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
\r
1563 "z": "ab59e982.86c81",
\r
1567 "id": "ad919177.04496",
\r
1568 "type": "comment",
\r
1569 "name": "increase the bw of the-vpn-binding and change status to modified",
\r
1570 "info": "increase the bw of the-vpn-binding\nchange status to modified\n",
\r
1574 "z": "ab59e982.86c81",
\r
1578 "id": "18210d7a.52f32b",
\r
1580 "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
1581 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",
\r
1586 "z": "ab59e982.86c81",
\r
1592 "id": "af2be5de.84caa8",
\r
1593 "type": "switchNode",
\r
1594 "name": "switch otninfoProtect exists",
\r
1595 "xml": "<switch test=\"`$tmp.otninfoProtect_length > 0`\">\n\n",
\r
1598 "x": 579.1166381835938,
\r
1600 "z": "ab59e982.86c81",
\r
1608 "id": "bdb88dff.a2cfc8",
\r
1609 "type": "outcomeTrue",
\r
1611 "xml": "<outcome value='true'>\n",
\r
1614 "x": 800.1166381835938,
\r
1616 "z": "ab59e982.86c81",
\r
1624 "id": "4da32200.1a505",
\r
1626 "name": "for vidx..tmp.otninfoProtect_length[]",
\r
1627 "xml": "<for index='otnidx' start='0' end='`$tmp.otninfoProtect_length`' >",
\r
1630 "x": 615.6666870117188,
\r
1631 "y": 3269.89990234375,
\r
1632 "z": "ab59e982.86c81",
\r
1640 "id": "78d123a7.ebdd04",
\r
1642 "name": "block : atomic",
\r
1643 "xml": "<block atomic='true'>",
\r
1647 "x": 875.6666564941406,
\r
1648 "y": 3262.89990234375,
\r
1649 "z": "ab59e982.86c81",
\r
1652 "655b0cf9.434f14",
\r
1653 "2cbd342f.008e4c",
\r
1655 "b4328c41.7c5e68",
\r
1656 "54752c5a.7588d4",
\r
1657 "88c79ac5.392298",
\r
1659 "1b1a37df.8ffb38",
\r
1660 "40d5cce.138f1b4",
\r
1666 "id": "2cbd342f.008e4c",
\r
1667 "type": "switchNode",
\r
1668 "name": "switch dstPort == NULL",
\r
1669 "xml": "<switch test=\"`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
\r
1672 "x": 1264.6666870117188,
\r
1673 "y": 2931.89990234375,
\r
1674 "z": "ab59e982.86c81",
\r
1683 "id": "a481fb54.252848",
\r
1684 "type": "outcomeFalse",
\r
1686 "xml": "<outcome value='false'>\n",
\r
1689 "x": 1631.6666870117188,
\r
1690 "y": 2938.89990234375,
\r
1691 "z": "ab59e982.86c81",
\r
1699 "id": "accd9965.551cc",
\r
1701 "name": "set access-provider-id and client-id",
\r
1702 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />\n",
\r
1704 "x": 1842.6666870117188,
\r
1705 "y": 2936.89990234375,
\r
1706 "z": "ab59e982.86c81",
\r
1710 "id": "af443653.16e2a",
\r
1712 "name": "set srcdstpnf-name",
\r
1713 "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n $tmp.access-provider-id + '-clientId-' +\n $tmp.access-client-id + '-topologyId-' + \n $tmp.access-topology-id + '-nodeId-' + \n $tmp.srcdstpnf-id`\" />\n\n",
\r
1715 "x": 1440.6666870117188,
\r
1716 "y": 3005.89990234375,
\r
1717 "z": "ab59e982.86c81",
\r
1721 "id": "b4328c41.7c5e68",
\r
1722 "type": "get-resource",
\r
1723 "name": "get-resource tmp.srcdstpnf-name",
\r
1724 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
\r
1727 "x": 1484.6666870117188,
\r
1728 "y": 3053.89990234375,
\r
1729 "z": "ab59e982.86c81",
\r
1732 "2ab1cad2.cc8df6",
\r
1739 "id": "2ab1cad2.cc8df6",
\r
1740 "type": "success",
\r
1741 "name": "success",
\r
1742 "xml": "<outcome value='success'>\n",
\r
1745 "x": 1697.1666870117188,
\r
1746 "y": 3000.89990234375,
\r
1747 "z": "ab59e982.86c81",
\r
1755 "id": "95061116.66953",
\r
1756 "type": "not-found",
\r
1757 "name": "not-found",
\r
1758 "xml": "<outcome value='not-found'>\n",
\r
1761 "x": 1709.1666870117188,
\r
1762 "y": 3050.89990234375,
\r
1763 "z": "ab59e982.86c81",
\r
1771 "id": "d118596c.c8a1b",
\r
1774 "xml": "<outcome value='Other'>\n",
\r
1777 "x": 1700.1666870117188,
\r
1778 "y": 3105.89990234375,
\r
1779 "z": "ab59e982.86c81",
\r
1787 "id": "c4cf4a50.357dd",
\r
1788 "type": "returnFailure",
\r
1789 "name": "return failure",
\r
1790 "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
1792 "x": 1845.1666870117188,
\r
1793 "y": 3104.89990234375,
\r
1794 "z": "ab59e982.86c81",
\r
1798 "id": "a8bbbf3c.490288",
\r
1799 "type": "returnFailure",
\r
1800 "name": "return failure",
\r
1801 "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
1803 "x": 1856.1666870117188,
\r
1804 "y": 3047.89990234375,
\r
1805 "z": "ab59e982.86c81",
\r
1809 "id": "9a46b094.250a1",
\r
1812 "xml": "<block>\n",
\r
1813 "atomic": "false",
\r
1816 "x": 1822.5491333007812,
\r
1817 "y": 2994.5555725097656,
\r
1818 "z": "ab59e982.86c81",
\r
1826 "id": "8c15c7c0.68b978",
\r
1828 "name": "for each relationship",
\r
1829 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
\r
1832 "x": 1983.6666870117188,
\r
1833 "y": 3008.89990234375,
\r
1834 "z": "ab59e982.86c81",
\r
1842 "id": "a8c602fe.1de83",
\r
1843 "type": "switchNode",
\r
1844 "name": "switch related-to",
\r
1845 "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
1848 "x": 2178.6666870117188,
\r
1849 "y": 3008.89990234375,
\r
1850 "z": "ab59e982.86c81",
\r
1858 "id": "3d5fc5da.8209c2",
\r
1860 "name": "block : atomic",
\r
1861 "xml": "<block atomic=\"true\">",
\r
1864 "x": 2558.6666870117188,
\r
1865 "y": 3004.89990234375,
\r
1866 "z": "ab59e982.86c81",
\r
1869 "f1e62050.aa9b48",
\r
1875 "id": "142adcaa.53768b",
\r
1876 "type": "execute",
\r
1877 "name": "get esr-thirdparty-sdnc",
\r
1878 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",
\r
1881 "x": 2766.6666870117188,
\r
1882 "y": 3011.89990234375,
\r
1883 "z": "ab59e982.86c81",
\r
1886 "b0f57546.a572f8",
\r
1893 "id": "f1e62050.aa9b48",
\r
1895 "name": "set esr-thirdparty-sdnc domainG id",
\r
1896 "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
\r
1898 "x": 2796.6666870117188,
\r
1899 "y": 2959.89990234375,
\r
1900 "z": "ab59e982.86c81",
\r
1904 "id": "b0f57546.a572f8",
\r
1905 "type": "success",
\r
1906 "name": "success",
\r
1907 "xml": "<outcome value='success'>\n",
\r
1910 "x": 2976.6666870117188,
\r
1911 "y": 3002.89990234375,
\r
1912 "z": "ab59e982.86c81",
\r
1920 "id": "f4d8ee18.503d6",
\r
1921 "type": "not-found",
\r
1922 "name": "not-found",
\r
1923 "xml": "<outcome value='not-found'>\n",
\r
1926 "x": 2968.6666870117188,
\r
1927 "y": 3057.89990234375,
\r
1928 "z": "ab59e982.86c81",
\r
1936 "id": "6cf185fa.032e7c",
\r
1939 "xml": "<outcome value='Other'>\n",
\r
1942 "x": 2973.6666870117188,
\r
1943 "y": 3114.89990234375,
\r
1944 "z": "ab59e982.86c81",
\r
1952 "id": "88d269ff.2a4e78",
\r
1953 "type": "returnFailure",
\r
1954 "name": "return failure",
\r
1955 "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
1957 "x": 3125.6666870117188,
\r
1958 "y": 3115.89990234375,
\r
1959 "z": "ab59e982.86c81",
\r
1963 "id": "14e1063f.bcaa12",
\r
1964 "type": "returnFailure",
\r
1965 "name": "return failure",
\r
1966 "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
1968 "x": 3136.6666870117188,
\r
1969 "y": 3060.89990234375,
\r
1970 "z": "ab59e982.86c81",
\r
1974 "id": "8af042ca.abce2",
\r
1977 "xml": "<block>\n",
\r
1978 "atomic": "false",
\r
1981 "x": 3121.0490112304688,
\r
1982 "y": 3000.5555725097656,
\r
1983 "z": "ab59e982.86c81",
\r
1991 "id": "92605acf.b6eae",
\r
1992 "type": "outcome",
\r
1993 "name": "esr-thirdparty-sdnc",
\r
1994 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
1997 "x": 2381.6666870117188,
\r
1998 "y": 3012.89990234375,
\r
1999 "z": "ab59e982.86c81",
\r
2007 "id": "6ee06c7f.e87634",
\r
2009 "name": "set controller domainA data",
\r
2010 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",
\r
2012 "x": 3335.6666870117188,
\r
2013 "y": 2996.89990234375,
\r
2014 "z": "ab59e982.86c81",
\r
2018 "id": "54752c5a.7588d4",
\r
2019 "type": "switchNode",
\r
2020 "name": "switch dmnsidx == 0 (domainA)",
\r
2021 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
2024 "x": 1454.6666870117188,
\r
2025 "y": 3222.89990234375,
\r
2026 "z": "ab59e982.86c81",
\r
2035 "id": "a23826d9.6cbf8",
\r
2036 "type": "outcomeTrue",
\r
2038 "xml": "<outcome value='true'>\n",
\r
2041 "x": 1655.6666870117188,
\r
2042 "y": 3220.89990234375,
\r
2043 "z": "ab59e982.86c81",
\r
2051 "id": "5f0d00e5.7b1628",
\r
2053 "name": "set pce-src-node",
\r
2054 "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
\r
2056 "x": 1936.6666870117188,
\r
2057 "y": 3170.89990234375,
\r
2058 "z": "ab59e982.86c81",
\r
2062 "id": "f4e7389.48dcac8",
\r
2063 "type": "switchNode",
\r
2064 "name": "switch dmnsidx == last (domainC)",
\r
2065 "xml": "<switch test='`$otnidx == $tmp.otninfoProtect_length - 1`'>\n",
\r
2068 "x": 1872.6666870117188,
\r
2069 "y": 3271.89990234375,
\r
2070 "z": "ab59e982.86c81",
\r
2073 "1eeda518.bbd863",
\r
2079 "id": "1eeda518.bbd863",
\r
2080 "type": "outcomeTrue",
\r
2082 "xml": "<outcome value='true'>\n",
\r
2085 "x": 2102.6666870117188,
\r
2086 "y": 3267.89990234375,
\r
2087 "z": "ab59e982.86c81",
\r
2095 "id": "ca79965c.c43c5",
\r
2096 "type": "outcomeFalse",
\r
2098 "xml": "<outcome value='false'>\n",
\r
2101 "x": 1655.6666870117188,
\r
2102 "y": 3269.89990234375,
\r
2103 "z": "ab59e982.86c81",
\r
2111 "id": "25bb7e68.eed552",
\r
2112 "type": "outcomeFalse",
\r
2114 "xml": "<outcome value='false'>\n",
\r
2117 "x": 2103.6666870117188,
\r
2118 "y": 3313.89990234375,
\r
2119 "z": "ab59e982.86c81",
\r
2127 "id": "ff457a93.22142",
\r
2129 "name": "set attachment_param domain G",
\r
2130 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",
\r
2132 "x": 2317.6666870117188,
\r
2133 "y": 3313.89990234375,
\r
2134 "z": "ab59e982.86c81",
\r
2138 "id": "a5bfc25b.24a798",
\r
2140 "name": "set attachment_param domain A",
\r
2141 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",
\r
2143 "x": 1991.6666870117188,
\r
2144 "y": 3217.89990234375,
\r
2145 "z": "ab59e982.86c81",
\r
2149 "id": "1188399c.8e417e",
\r
2152 "xml": "<block>\n",
\r
2153 "atomic": "false",
\r
2156 "x": 1779.6666870117188,
\r
2157 "y": 3211.89990234375,
\r
2158 "z": "ab59e982.86c81",
\r
2166 "id": "19cc5bd6.d13bb4",
\r
2169 "xml": "<block>\n",
\r
2170 "atomic": "false",
\r
2173 "x": 2235.6666870117188,
\r
2174 "y": 3243.89990234375,
\r
2175 "z": "ab59e982.86c81",
\r
2183 "id": "f9df9d2f.f6b57",
\r
2185 "name": "set pce-src-node",
\r
2186 "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
\r
2188 "x": 2391.6666870117188,
\r
2189 "y": 3259.89990234375,
\r
2190 "z": "ab59e982.86c81",
\r
2194 "id": "ecfd7b03.8cb46",
\r
2196 "name": "set attachment_param domain C",
\r
2197 "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />",
\r
2199 "x": 2439.6666870117188,
\r
2200 "y": 3211.89990234375,
\r
2201 "z": "ab59e982.86c81",
\r
2205 "id": "88c79ac5.392298",
\r
2207 "name": "set srcTtp+dstTtp pair",
\r
2208 "xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n $tmp.otninfootninfoProtect.dstPort.dst-tunnel-tp-id`\" />\n\n\n",
\r
2210 "x": 1430.6666870117188,
\r
2211 "y": 3302.89990234375,
\r
2212 "z": "ab59e982.86c81",
\r
2216 "id": "1b1a37df.8ffb38",
\r
2218 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
\r
2219 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
\r
2222 "x": 1622.6666564941406,
\r
2223 "y": 3400.89990234375,
\r
2224 "z": "ab59e982.86c81",
\r
2230 "id": "f442f477.1b9ac",
\r
2232 "name": "set current-provider-id and current-cvlan-id",
\r
2233 "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",
\r
2235 "x": 1494.6666870117188,
\r
2236 "y": 3353.89990234375,
\r
2237 "z": "ab59e982.86c81",
\r
2241 "id": "40d5cce.138f1b4",
\r
2242 "type": "switchNode",
\r
2243 "name": "switch found-connectivity?",
\r
2244 "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
\r
2247 "x": 1303.6666870117188,
\r
2248 "y": 3554.89990234375,
\r
2249 "z": "ab59e982.86c81",
\r
2252 "e841833f.a5b018",
\r
2258 "id": "e841833f.a5b018",
\r
2259 "type": "outcomeTrue",
\r
2261 "xml": "<outcome value='true'>\n",
\r
2264 "x": 1589.6666870117188,
\r
2265 "y": 4373.89990234375,
\r
2266 "z": "ab59e982.86c81",
\r
2274 "id": "40e5d82c.0988c",
\r
2275 "type": "comment",
\r
2276 "name": "call string.contains to check if the cache has srcTtpdstTtpPair",
\r
2277 "info": "if it had: then no new otn/vpn-binding is needed\n ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",
\r
2279 "x": 2015.6666870117188,
\r
2280 "y": 4318.89990234375,
\r
2281 "z": "ab59e982.86c81",
\r
2285 "id": "37b719a7.3177d6",
\r
2286 "type": "comment",
\r
2287 "name": "create a new connectivity - (for dummy connectivity)",
\r
2288 "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",
\r
2290 "x": 1882.6666564941406,
\r
2291 "y": 3516.89990234375,
\r
2292 "z": "ab59e982.86c81",
\r
2296 "id": "f0f8f4ff.e42fa",
\r
2298 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
2299 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
\r
2302 "x": 1929.6666870117188,
\r
2303 "y": 3566.89990234375,
\r
2304 "z": "ab59e982.86c81",
\r
2312 "id": "37e8875.87c3378",
\r
2313 "type": "success",
\r
2314 "name": "success",
\r
2315 "xml": "<outcome value='success'>\n",
\r
2318 "x": 2217.6666870117188,
\r
2319 "y": 3567.89990234375,
\r
2320 "z": "ab59e982.86c81",
\r
2328 "id": "90a3277d.c4bfc",
\r
2331 "xml": "<block>\n",
\r
2332 "atomic": "false",
\r
2335 "x": 2401.1666870117188,
\r
2336 "y": 3566.15380859375,
\r
2337 "z": "ab59e982.86c81",
\r
2343 "id": "4b046e56.9a1b9",
\r
2344 "type": "execute",
\r
2345 "name": "execute string.contains srcTtpdstTtpPair",
\r
2346 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",
\r
2349 "x": 2003.6666870117188,
\r
2350 "y": 4370.89990234375,
\r
2351 "z": "ab59e982.86c81",
\r
2354 "779ce37e.93a47c",
\r
2360 "id": "779ce37e.93a47c",
\r
2361 "type": "outcomeFalse",
\r
2363 "xml": "<outcome value='false'>\n",
\r
2366 "x": 2176.6666870117188,
\r
2367 "y": 4218.89990234375,
\r
2368 "z": "ab59e982.86c81",
\r
2374 "id": "f1f0cfe.10d413",
\r
2375 "type": "outcomeFalse",
\r
2377 "xml": "<outcome value='true'>\n",
\r
2380 "x": 2208.6666870117188,
\r
2381 "y": 4477.89990234375,
\r
2382 "z": "ab59e982.86c81",
\r
2390 "id": "58dad5a1.4283d4",
\r
2392 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
2393 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",
\r
2396 "x": 2615.6666870117188,
\r
2397 "y": 4008.89990234375,
\r
2398 "z": "ab59e982.86c81",
\r
2406 "id": "ca0562a9.f9dfa",
\r
2407 "type": "success",
\r
2408 "name": "success",
\r
2409 "xml": "<outcome value='success'>\n",
\r
2412 "x": 2919.6666870117188,
\r
2413 "y": 4005.89990234375,
\r
2414 "z": "ab59e982.86c81",
\r
2422 "id": "21917e0f.61cb02",
\r
2425 "xml": "<block>\n",
\r
2426 "atomic": "false",
\r
2429 "x": 3070.1666870117188,
\r
2430 "y": 4013.15380859375,
\r
2431 "z": "ab59e982.86c81",
\r
2437 "id": "c456d560.e56b4",
\r
2438 "type": "execute",
\r
2439 "name": "execute UUID generator for connectivity domain otnidx",
\r
2440 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
\r
2443 "x": 1909.6666870117188,
\r
2444 "y": 3621.89990234375,
\r
2445 "z": "ab59e982.86c81",
\r
2451 "id": "1c6b3c2b.a8cfe4",
\r
2453 "name": "save connectivity resource in AAI",
\r
2454 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n\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
2457 "x": 1847.6666870117188,
\r
2458 "y": 3671.89990234375,
\r
2459 "z": "ab59e982.86c81",
\r
2465 "id": "883e63bc.f1bf9",
\r
2467 "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
\r
2468 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
\r
2471 "x": 1948.6666870117188,
\r
2472 "y": 3716.89990234375,
\r
2473 "z": "ab59e982.86c81",
\r
2479 "id": "67b90a5f.a2bde4",
\r
2481 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
2482 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
\r
2485 "x": 1984.6666870117188,
\r
2486 "y": 3770.89990234375,
\r
2487 "z": "ab59e982.86c81",
\r
2493 "id": "44633bde.4c2f24",
\r
2495 "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
\r
2496 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",
\r
2499 "x": 1952.6666870117188,
\r
2500 "y": 3829.89990234375,
\r
2501 "z": "ab59e982.86c81",
\r
2507 "id": "ad055e93.cbffc8",
\r
2508 "type": "comment",
\r
2509 "name": "find middle-man's eth-srv-name",
\r
2512 "x": 1410.6666870117188,
\r
2513 "y": 3445.89990234375,
\r
2514 "z": "ab59e982.86c81",
\r
2518 "id": "17ca39fd.1576de",
\r
2520 "name": "set prop.ethernet-service-name",
\r
2521 "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",
\r
2523 "x": 1432.6666870117188,
\r
2524 "y": 3489.89990234375,
\r
2525 "z": "ab59e982.86c81",
\r
2529 "id": "91cb3623.bfa508",
\r
2531 "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",
\r
2532 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \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/' + $tmp.the-connectivity.connectivity-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=\"`$tmp.the-connectivity.connectivity-id`\" />",
\r
2535 "x": 2639.6666870117188,
\r
2536 "y": 4225.89990234375,
\r
2537 "z": "ab59e982.86c81",
\r
2543 "id": "749face3.2a032c",
\r
2545 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
2546 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",
\r
2549 "x": 2670.6666870117188,
\r
2550 "y": 4264.89990234375,
\r
2551 "z": "ab59e982.86c81",
\r
2557 "id": "d1e29877.e2638",
\r
2559 "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",
\r
2560 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-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=\"`$tmp.the-connectivity.connectivity-id`\" />",
\r
2563 "x": 2641.6666870117188,
\r
2564 "y": 4337.89990234375,
\r
2565 "z": "ab59e982.86c81",
\r
2571 "id": "ca553073.a3999",
\r
2572 "type": "comment",
\r
2573 "name": "update the founded connectivity to have a new coupling-flag",
\r
2576 "x": 2611.6666870117188,
\r
2577 "y": 4053.89990234375,
\r
2578 "z": "ab59e982.86c81",
\r
2582 "id": "30b58e5f.9a5412",
\r
2584 "name": "set newFlag",
\r
2585 "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",
\r
2587 "x": 2497.6666870117188,
\r
2588 "y": 4092.89990234375,
\r
2589 "z": "ab59e982.86c81",
\r
2593 "id": "b32f2c11.a0cbd",
\r
2595 "name": "update connectivity resource in AAI",
\r
2596 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",
\r
2599 "x": 2561.6666870117188,
\r
2600 "y": 4137.89990234375,
\r
2601 "z": "ab59e982.86c81",
\r
2607 "id": "b26dba6c.6455b",
\r
2608 "type": "comment",
\r
2609 "name": "the following two relationships should have already been there; if not => error",
\r
2612 "x": 2653.6666870117188,
\r
2613 "y": 4187.89990234375,
\r
2614 "z": "ab59e982.86c81",
\r
2618 "id": "f615578d.11ca3",
\r
2621 "xml": "<block>\n",
\r
2622 "atomic": "false",
\r
2625 "x": 1639.6666870117188,
\r
2626 "y": 3554.89990234375,
\r
2627 "z": "ab59e982.86c81",
\r
2632 "1c6b3c2b.a8cfe4",
\r
2634 "67b90a5f.a2bde4",
\r
2640 "id": "1d9dc789.fabfa",
\r
2641 "type": "outcomeFalse",
\r
2643 "xml": "<outcome value='false'>\n",
\r
2646 "x": 1501.6666870117188,
\r
2647 "y": 3550.89990234375,
\r
2648 "z": "ab59e982.86c81",
\r
2656 "id": "5f9745ba.8cabdc",
\r
2658 "name": "block : atomic",
\r
2659 "xml": "<block atomic='true'>",
\r
2663 "x": 2299.6666870117188,
\r
2664 "y": 4017.89990234375,
\r
2665 "z": "ab59e982.86c81",
\r
2668 "58dad5a1.4283d4",
\r
2669 "30b58e5f.9a5412",
\r
2676 "id": "fe407594.64cba8",
\r
2677 "type": "comment",
\r
2678 "name": "loop through the relationships of this founded connectivity, then",
\r
2679 "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",
\r
2681 "x": 2304.6666870117188,
\r
2682 "y": 4442.89990234375,
\r
2683 "z": "ab59e982.86c81",
\r
2687 "id": "c41409e5.b5d3c",
\r
2689 "name": "for each relationship",
\r
2690 "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",
\r
2693 "x": 2646.6666870117188,
\r
2694 "y": 4478.89990234375,
\r
2695 "z": "ab59e982.86c81",
\r
2703 "id": "edec3f37.241e6",
\r
2704 "type": "switchNode",
\r
2705 "name": "switch related-to",
\r
2706 "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
\r
2709 "x": 2858.6666870117188,
\r
2710 "y": 4476.89990234375,
\r
2711 "z": "ab59e982.86c81",
\r
2719 "id": "1919beb6.7cb971",
\r
2720 "type": "outcome",
\r
2721 "name": "vpn-binding",
\r
2722 "xml": "<outcome value='vpn-binding'>\n",
\r
2725 "x": 3042.6666870117188,
\r
2726 "y": 4474.89990234375,
\r
2727 "z": "ab59e982.86c81",
\r
2735 "id": "df4bf19a.978d2",
\r
2737 "name": "block : atomic",
\r
2738 "xml": "<block atomic=\"true\">",
\r
2741 "x": 3221.6666870117188,
\r
2742 "y": 4479.89990234375,
\r
2743 "z": "ab59e982.86c81",
\r
2746 "89ff485c.8db648",
\r
2752 "id": "2bf1f71c.a919d",
\r
2754 "name": "unset tmp.aai.vpn-binding",
\r
2755 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
2757 "x": 3438.6666870117188,
\r
2758 "y": 4410.89990234375,
\r
2759 "z": "ab59e982.86c81",
\r
2763 "id": "89ff485c.8db648",
\r
2765 "name": "get vpn-binding from aai",
\r
2766 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
\r
2769 "x": 3431.6666870117188,
\r
2770 "y": 4496.89990234375,
\r
2771 "z": "ab59e982.86c81",
\r
2774 "5ee5ca48.dc9864",
\r
2775 "e1c034fb.99a648",
\r
2781 "id": "e1c034fb.99a648",
\r
2782 "type": "not-found",
\r
2783 "name": "not-found",
\r
2784 "xml": "<outcome value='not-found'>\n",
\r
2787 "x": 3645.1576538085938,
\r
2788 "y": 4481.473937988281,
\r
2789 "z": "ab59e982.86c81",
\r
2797 "id": "6e271c06.d0d73c",
\r
2798 "type": "returnFailure",
\r
2799 "name": "return failure",
\r
2800 "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
2802 "x": 3807.7291870117188,
\r
2803 "y": 4480.7596435546875,
\r
2804 "z": "ab59e982.86c81",
\r
2808 "id": "38e2891f.3394ee",
\r
2809 "type": "returnFailure",
\r
2810 "name": "return failure",
\r
2811 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
2813 "x": 3808.6666870117188,
\r
2814 "y": 4525.89990234375,
\r
2815 "z": "ab59e982.86c81",
\r
2819 "id": "c5ac5c6f.6f9258",
\r
2820 "type": "failure",
\r
2821 "name": "failure",
\r
2822 "xml": "<outcome value='failure'>\n",
\r
2825 "x": 3640.6666870117188,
\r
2826 "y": 4525.89990234375,
\r
2827 "z": "ab59e982.86c81",
\r
2835 "id": "5ee5ca48.dc9864",
\r
2836 "type": "success",
\r
2837 "name": "success",
\r
2838 "xml": "<outcome value='success'>\n",
\r
2841 "x": 3642.6666870117188,
\r
2842 "y": 4585.89990234375,
\r
2843 "z": "ab59e982.86c81",
\r
2851 "id": "e13c4300.ac87f",
\r
2853 "name": "block : atomic",
\r
2854 "xml": "<block atomic=\"true\">",
\r
2857 "x": 3811.6666870117188,
\r
2858 "y": 4584.89990234375,
\r
2859 "z": "ab59e982.86c81",
\r
2867 "id": "9f0cdaa9.449a9",
\r
2870 "xml": "<block>\n",
\r
2871 "atomic": "false",
\r
2874 "x": 2435.6666870117188,
\r
2875 "y": 4476.89990234375,
\r
2876 "z": "ab59e982.86c81",
\r
2886 "id": "3fedffc1.068a9",
\r
2887 "type": "switchNode",
\r
2888 "name": "switch srcTtp",
\r
2889 "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`'>\n",
\r
2892 "x": 4010.6666870117188,
\r
2893 "y": 4585.89990234375,
\r
2894 "z": "ab59e982.86c81",
\r
2902 "id": "46797ae5.8f5fdc",
\r
2903 "type": "outcomeTrue",
\r
2905 "xml": "<outcome value='true'>\n",
\r
2908 "x": 4173.666687011719,
\r
2909 "y": 4583.89990234375,
\r
2910 "z": "ab59e982.86c81",
\r
2918 "id": "26801daf.757d4a",
\r
2919 "type": "switchNode",
\r
2920 "name": "switch dstTtp",
\r
2921 "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",
\r
2924 "x": 4354.666687011719,
\r
2925 "y": 4583.89990234375,
\r
2926 "z": "ab59e982.86c81",
\r
2934 "id": "4ecd0d28.02b6dc",
\r
2935 "type": "outcomeTrue",
\r
2937 "xml": "<outcome value='true'>\n",
\r
2940 "x": 4517.666687011719,
\r
2941 "y": 4581.89990234375,
\r
2942 "z": "ab59e982.86c81",
\r
2950 "id": "efbe91c3.9535c8",
\r
2952 "name": "set tmp.the-vpn-binding",
\r
2953 "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",
\r
2955 "x": 4874.666687011719,
\r
2956 "y": 4588.89990234375,
\r
2957 "z": "ab59e982.86c81",
\r
2961 "id": "2b446601.7eb632",
\r
2964 "xml": "<block>\n",
\r
2965 "atomic": "false",
\r
2968 "x": 4656.666687011719,
\r
2969 "y": 4580.89990234375,
\r
2970 "z": "ab59e982.86c81",
\r
2973 "efbe91c3.9535c8",
\r
2979 "id": "1b35126e.c915be",
\r
2982 "xml": "<break>\n",
\r
2984 "x": 4820.666687011719,
\r
2985 "y": 4632.89990234375,
\r
2986 "z": "ab59e982.86c81",
\r
2990 "id": "ef03524f.322ab",
\r
2992 "name": "unset tmp.the-vpn-binding",
\r
2993 "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
\r
2995 "x": 2656.6666870117188,
\r
2996 "y": 4439.89990234375,
\r
2997 "z": "ab59e982.86c81",
\r
3001 "id": "bb2c64f6.a88498",
\r
3002 "type": "comment",
\r
3003 "name": "increase the bw of the-vpn-binding and change status to modified",
\r
3004 "info": "increase the bw of the-vpn-binding\nchange status to modified\n",
\r
3006 "x": 2745.6666870117188,
\r
3007 "y": 4613.89990234375,
\r
3008 "z": "ab59e982.86c81",
\r
3012 "id": "a41cf4f1.35b988",
\r
3014 "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
3015 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",
\r
3018 "x": 2715.6666870117188,
\r
3019 "y": 4673.89990234375,
\r
3020 "z": "ab59e982.86c81",
\r
3026 "id": "655b0cf9.434f14",
\r
3027 "type": "execute",
\r
3028 "name": "execute UUID generator for vpn-binding $otnidx",
\r
3029 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",
\r
3032 "x": 1550.6666870117188,
\r
3033 "y": 2841.89990234375,
\r
3034 "z": "ab59e982.86c81",
\r
3040 "id": "390f0f63.f5713",
\r
3041 "type": "outcomeTrue",
\r
3043 "xml": "<outcome value='true'>\n",
\r
3046 "x": 1630.6666870117188,
\r
3047 "y": 2892.89990234375,
\r
3048 "z": "ab59e982.86c81",
\r
3056 "id": "46e17225.a2db0c",
\r
3058 "name": "set access-provider-id and client-id",
\r
3059 "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n",
\r
3061 "x": 1844.6666870117188,
\r
3062 "y": 2891.89990234375,
\r
3063 "z": "ab59e982.86c81",
\r
3067 "id": "2286c595.dee83a",
\r
3069 "name": "unset parameters",
\r
3070 "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value='' />\n<parameter name='prop.vpn-binding-otnidx-uuid' value='' />\n<parameter name='tmp.access-provider-id' value='' />\n<parameter name='tmp.access-client-id' value='' />\n<parameter name='tmp.access-topology-id' value='' />\n<parameter name='tmp.srcdstpnf-id' value='' />\n<parameter name='tmp.aai.srcdst-pnf.' value='' />\n<parameter name='tmp.domainG.esr-thirdparty-id' value='' />\n<parameter name='tmp.aai.domainG.esr-thirdparty-sdnc.' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value='' />\n<parameter name='tmp.srcTtpdstTtpPair' value='' />\n\n\n",
\r
3072 "x": 1210.5665893554688,
\r
3073 "y": 2476.89990234375,
\r
3074 "z": "ab59e982.86c81",
\r
3078 "id": "62f58207.69b144",
\r
3080 "name": "block : atomic",
\r
3081 "xml": "<block atomic='true'>",
\r
3085 "x": 985.2000122070312,
\r
3086 "y": 2493.13330078125,
\r
3087 "z": "ab59e982.86c81",
\r
3090 "2286c595.dee83a",
\r