3 "id": "66573054.d6959",
\r
9 "z": "4fb14ce0.40eb24",
\r
17 "id": "88fd1149.f833f",
\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": 514.2856903076172,
\r
26 "y": 123.23810863494873,
\r
27 "z": "4fb14ce0.40eb24",
\r
35 "id": "4c164ab.c48bfb4",
\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": 430.4285888671875,
\r
42 "y": 201.00003051757812,
\r
43 "z": "4fb14ce0.40eb24",
\r
51 "id": "e2c1e393.f72a2",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 164.238037109375,
\r
58 "y": 704.6666870117188,
\r
59 "z": "4fb14ce0.40eb24",
\r
73 "id": "35872244.0dadfe",
\r
75 "name": "set query_param",
\r
76 "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",
\r
80 "z": "4fb14ce0.40eb24",
\r
84 "id": "76353aba.1a1834",
\r
86 "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",
\r
87 "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",
\r
92 "z": "4fb14ce0.40eb24",
\r
98 "id": "1a3db60a.42601a",
\r
100 "name": "execute printContext",
\r
101 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",
\r
106 "z": "4fb14ce0.40eb24",
\r
112 "id": "19956ea.f245091",
\r
114 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",
\r
115 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",
\r
120 "z": "4fb14ce0.40eb24",
\r
126 "id": "cde65043.1c4f8",
\r
128 "name": "for vidx..tmp.otninfo_length[]",
\r
129 "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",
\r
134 "z": "4fb14ce0.40eb24",
\r
142 "id": "53111f1b.5dbab",
\r
144 "name": "block : atomic",
\r
145 "xml": "<block atomic='true'>",
\r
151 "z": "4fb14ce0.40eb24",
\r
168 "id": "78857b79.cfe234",
\r
170 "name": "execute UUID generator for vpn-binding $otnidx",
\r
171 "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
176 "z": "4fb14ce0.40eb24",
\r
182 "id": "b3432980.49ee6",
\r
183 "type": "switchNode",
\r
184 "name": "switch dstPort == NULL",
\r
185 "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",
\r
190 "z": "4fb14ce0.40eb24",
\r
199 "id": "fb6a4667.5dee4",
\r
200 "type": "outcomeTrue",
\r
202 "xml": "<outcome value='true'>\n",
\r
207 "z": "4fb14ce0.40eb24",
\r
215 "id": "8968ad13.112c48",
\r
216 "type": "outcomeFalse",
\r
218 "xml": "<outcome value='false'>\n",
\r
223 "z": "4fb14ce0.40eb24",
\r
231 "id": "38cd80d0.a81b08",
\r
233 "name": "set access-provider-id and client-id",
\r
234 "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
238 "z": "4fb14ce0.40eb24",
\r
242 "id": "12ac055c.676cf3",
\r
244 "name": "set access-provider-id and client-id",
\r
245 "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
249 "z": "4fb14ce0.40eb24",
\r
253 "id": "233e999f.144d9e",
\r
255 "name": "set srcdstpnf-name",
\r
256 "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
260 "z": "4fb14ce0.40eb24",
\r
264 "id": "7a85fbed.abf844",
\r
265 "type": "get-resource",
\r
266 "name": "get-resource tmp.srcdstpnf-name",
\r
267 "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
272 "z": "4fb14ce0.40eb24",
\r
282 "id": "85cf2b2f.efe2d8",
\r
285 "xml": "<outcome value='success'>\n",
\r
290 "z": "4fb14ce0.40eb24",
\r
298 "id": "40c18c0.1c43574",
\r
299 "type": "not-found",
\r
300 "name": "not-found",
\r
301 "xml": "<outcome value='not-found'>\n",
\r
306 "z": "4fb14ce0.40eb24",
\r
314 "id": "e3b12e57.7afb78",
\r
317 "xml": "<outcome value='Other'>\n",
\r
322 "z": "4fb14ce0.40eb24",
\r
330 "id": "c0e357e5.8168d8",
\r
331 "type": "returnFailure",
\r
332 "name": "return failure",
\r
333 "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
337 "z": "4fb14ce0.40eb24",
\r
341 "id": "317c3552.8ea652",
\r
342 "type": "returnFailure",
\r
343 "name": "return failure",
\r
344 "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
348 "z": "4fb14ce0.40eb24",
\r
352 "id": "7b23fddb.009994",
\r
355 "xml": "<block>\n",
\r
359 "x": 1901.8824462890625,
\r
360 "y": 959.6556701660156,
\r
361 "z": "4fb14ce0.40eb24",
\r
369 "id": "f3d54fb4.5c0a1",
\r
371 "name": "for each relationship",
\r
372 "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",
\r
377 "z": "4fb14ce0.40eb24",
\r
385 "id": "763118b6.61e2b8",
\r
386 "type": "switchNode",
\r
387 "name": "switch related-to",
\r
388 "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
\r
393 "z": "4fb14ce0.40eb24",
\r
401 "id": "6fd0244b.f38ce4",
\r
403 "name": "block : atomic",
\r
404 "xml": "<block atomic=\"true\">",
\r
409 "z": "4fb14ce0.40eb24",
\r
418 "id": "56d60802.89ee28",
\r
420 "name": "get esr-thirdparty-sdnc",
\r
421 "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
426 "z": "4fb14ce0.40eb24",
\r
436 "id": "e527c2f.df2fcc",
\r
438 "name": "set esr-thirdparty-sdnc domainG id",
\r
439 "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
443 "z": "4fb14ce0.40eb24",
\r
447 "id": "b854345d.faf84",
\r
450 "xml": "<outcome value='success'>\n",
\r
455 "z": "4fb14ce0.40eb24",
\r
463 "id": "437ea2b.b00f35c",
\r
464 "type": "not-found",
\r
465 "name": "not-found",
\r
466 "xml": "<outcome value='not-found'>\n",
\r
471 "z": "4fb14ce0.40eb24",
\r
479 "id": "fed3318a.a11e3",
\r
482 "xml": "<outcome value='Other'>\n",
\r
487 "z": "4fb14ce0.40eb24",
\r
495 "id": "e095e0e5.375ba",
\r
496 "type": "returnFailure",
\r
497 "name": "return failure",
\r
498 "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
502 "z": "4fb14ce0.40eb24",
\r
506 "id": "1afabba1.4179cc",
\r
507 "type": "returnFailure",
\r
508 "name": "return failure",
\r
509 "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
513 "z": "4fb14ce0.40eb24",
\r
517 "id": "918d39ea.cf7f2",
\r
520 "xml": "<block>\n",
\r
524 "x": 3200.38232421875,
\r
525 "y": 965.6556701660156,
\r
526 "z": "4fb14ce0.40eb24",
\r
534 "id": "45a9ec7c.a92c4c",
\r
536 "name": "esr-thirdparty-sdnc",
\r
537 "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
\r
542 "z": "4fb14ce0.40eb24",
\r
550 "id": "47a021ef.066c88",
\r
552 "name": "set controller domainA data",
\r
553 "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
557 "z": "4fb14ce0.40eb24",
\r
561 "id": "715b7a53.d039d4",
\r
562 "type": "switchNode",
\r
563 "name": "switch dmnsidx == 0 (domainA)",
\r
564 "xml": "<switch test='`$otnidx == 0`'>\n",
\r
569 "z": "4fb14ce0.40eb24",
\r
578 "id": "f53c2621.eb9438",
\r
579 "type": "outcomeTrue",
\r
581 "xml": "<outcome value='true'>\n",
\r
586 "z": "4fb14ce0.40eb24",
\r
594 "id": "b0d2a923.51103",
\r
596 "name": "set pce-src-node",
\r
597 "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",
\r
601 "z": "4fb14ce0.40eb24",
\r
605 "id": "c9652673.c83de8",
\r
606 "type": "switchNode",
\r
607 "name": "switch dmnsidx == last (domainB)",
\r
608 "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",
\r
613 "z": "4fb14ce0.40eb24",
\r
622 "id": "ab876b76.0d0a8",
\r
623 "type": "outcomeTrue",
\r
625 "xml": "<outcome value='true'>\n",
\r
630 "z": "4fb14ce0.40eb24",
\r
638 "id": "1c719c21.ec9b04",
\r
639 "type": "outcomeFalse",
\r
641 "xml": "<outcome value='false'>\n",
\r
646 "z": "4fb14ce0.40eb24",
\r
654 "id": "2a964a93.a3cb96",
\r
655 "type": "outcomeFalse",
\r
657 "xml": "<outcome value='false'>\n",
\r
662 "z": "4fb14ce0.40eb24",
\r
670 "id": "1f38645a.fd2454",
\r
672 "name": "set attachment_param domain G",
\r
673 "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
677 "z": "4fb14ce0.40eb24",
\r
681 "id": "ada84f30.11bba8",
\r
683 "name": "set attachment_param domain A",
\r
684 "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
688 "z": "4fb14ce0.40eb24",
\r
692 "id": "39a7b2e1.a50fbe",
\r
695 "xml": "<block>\n",
\r
701 "z": "4fb14ce0.40eb24",
\r
709 "id": "62dd94dd.71b75c",
\r
712 "xml": "<block>\n",
\r
718 "z": "4fb14ce0.40eb24",
\r
726 "id": "dce0c80a.efad",
\r
728 "name": "set pce-src-node",
\r
729 "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",
\r
733 "z": "4fb14ce0.40eb24",
\r
737 "id": "c86a8489.80e7c",
\r
739 "name": "set attachment_param domain B",
\r
740 "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
744 "z": "4fb14ce0.40eb24",
\r
748 "id": "6f21b0a4.c1ba8",
\r
750 "name": "unset parameters",
\r
751 "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
755 "z": "4fb14ce0.40eb24",
\r
759 "id": "5f4f339e.018654",
\r
761 "name": "set srcTtp OTN layer",
\r
762 "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
766 "z": "4fb14ce0.40eb24",
\r
770 "id": "13d7f319.f10ffd",
\r
772 "name": "set srcTtp+dstTtp pair",
\r
773 "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
777 "z": "4fb14ce0.40eb24",
\r
781 "id": "9673bbc9.e232d8",
\r
783 "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",
\r
784 "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",
\r
789 "z": "4fb14ce0.40eb24",
\r
795 "id": "fe43d4e7.2e266",
\r
797 "name": "set current-provider-id and current-cvlan-id",
\r
798 "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
802 "z": "4fb14ce0.40eb24",
\r
806 "id": "8c1ff0ec.d0238",
\r
807 "type": "switchNode",
\r
808 "name": "switch found-connectivity?",
\r
809 "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",
\r
814 "z": "4fb14ce0.40eb24",
\r
823 "id": "43f2090.27bb178",
\r
824 "type": "outcomeTrue",
\r
826 "xml": "<outcome value='true'>\n",
\r
831 "z": "4fb14ce0.40eb24",
\r
839 "id": "340621d.c4a9c5e",
\r
841 "name": "call string.contains to check if the cache has srcTtpdstTtpPair",
\r
842 "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
846 "z": "4fb14ce0.40eb24",
\r
850 "id": "b5382f7e.2bd898",
\r
852 "name": "create a new connectivity",
\r
853 "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
857 "z": "4fb14ce0.40eb24",
\r
861 "id": "be6ceee2.825c9",
\r
863 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
864 "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
869 "z": "4fb14ce0.40eb24",
\r
877 "id": "cf21392c.4841d8",
\r
880 "xml": "<outcome value='success'>\n",
\r
885 "z": "4fb14ce0.40eb24",
\r
893 "id": "7f292268.acccbc",
\r
896 "xml": "<block>\n",
\r
901 "y": 1531.25390625,
\r
902 "z": "4fb14ce0.40eb24",
\r
908 "id": "16c5a50f.2f8633",
\r
910 "name": "execute string.contains srcTtpdstTtpPair",
\r
911 "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
916 "z": "4fb14ce0.40eb24",
\r
925 "id": "452b77d1.b4f2a8",
\r
926 "type": "outcomeFalse",
\r
928 "xml": "<outcome value='false'>\n",
\r
933 "z": "4fb14ce0.40eb24",
\r
939 "id": "b1806606.25c148",
\r
940 "type": "outcomeFalse",
\r
942 "xml": "<outcome value='true'>\n",
\r
947 "z": "4fb14ce0.40eb24",
\r
955 "id": "65dfad8a.1bcc14",
\r
957 "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
958 "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
963 "z": "4fb14ce0.40eb24",
\r
971 "id": "685af2d8.b662dc",
\r
974 "xml": "<outcome value='success'>\n",
\r
979 "z": "4fb14ce0.40eb24",
\r
987 "id": "edef5d31.f27bb8",
\r
990 "xml": "<block>\n",
\r
995 "y": 1978.25390625,
\r
996 "z": "4fb14ce0.40eb24",
\r
1002 "id": "fca1e078.90281",
\r
1003 "type": "execute",
\r
1004 "name": "execute UUID generator for connectivity domain otnidx",
\r
1005 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",
\r
1010 "z": "4fb14ce0.40eb24",
\r
1016 "id": "84e90fcb.be7ce",
\r
1018 "name": "save connectivity resource in AAI",
\r
1019 "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.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
1024 "z": "4fb14ce0.40eb24",
\r
1030 "id": "548a399a.3a9a1",
\r
1032 "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",
\r
1033 "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
1038 "z": "4fb14ce0.40eb24",
\r
1044 "id": "ea27a84e.a57e98",
\r
1046 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1047 "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
1052 "z": "4fb14ce0.40eb24",
\r
1058 "id": "688a1580.c26934",
\r
1060 "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",
\r
1061 "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
1066 "z": "4fb14ce0.40eb24",
\r
1072 "id": "ab8e2668.029e08",
\r
1073 "type": "comment",
\r
1074 "name": "find middle-man's eth-srv-name",
\r
1079 "z": "4fb14ce0.40eb24",
\r
1083 "id": "84f3d24d.36c17",
\r
1085 "name": "set prop.ethernet-service-name",
\r
1086 "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",
\r
1090 "z": "4fb14ce0.40eb24",
\r
1094 "id": "ae53151f.a2887",
\r
1096 "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",
\r
1097 "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
1102 "z": "4fb14ce0.40eb24",
\r
1108 "id": "4e7cd680.120818",
\r
1110 "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",
\r
1111 "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
1116 "z": "4fb14ce0.40eb24",
\r
1122 "id": "ecdbcb6.a92d738",
\r
1124 "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",
\r
1125 "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
1130 "z": "4fb14ce0.40eb24",
\r
1136 "id": "82dff351.eb0b18",
\r
1137 "type": "comment",
\r
1138 "name": "update the founded connectivity to have a new coupling-flag",
\r
1143 "z": "4fb14ce0.40eb24",
\r
1147 "id": "4af074ca.bd591c",
\r
1149 "name": "set newFlag",
\r
1150 "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n $tmp.srcTtpdstTtpPair`\" />\n\n\n",
\r
1154 "z": "4fb14ce0.40eb24",
\r
1158 "id": "5e632476.eb799c",
\r
1160 "name": "update connectivity resource in AAI",
\r
1161 "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
1166 "z": "4fb14ce0.40eb24",
\r
1172 "id": "6b3b57c6.7c8f5",
\r
1173 "type": "comment",
\r
1174 "name": "the following two relationships should have already been there; if not => error",
\r
1179 "z": "4fb14ce0.40eb24",
\r
1183 "id": "453ea410.800c04",
\r
1186 "xml": "<block>\n",
\r
1187 "atomic": "false",
\r
1192 "z": "4fb14ce0.40eb24",
\r
1199 "ea27a84e.a57e98",
\r
1205 "id": "78a0670.cf2d998",
\r
1206 "type": "outcomeFalse",
\r
1208 "xml": "<outcome value='false'>\n",
\r
1213 "z": "4fb14ce0.40eb24",
\r
1221 "id": "c80f5b2c.e8799",
\r
1223 "name": "block : atomic",
\r
1224 "xml": "<block atomic='true'>",
\r
1230 "z": "4fb14ce0.40eb24",
\r
1233 "65dfad8a.1bcc14",
\r
1234 "4af074ca.bd591c",
\r
1235 "5e632476.eb799c",
\r
1241 "id": "f5aa86ab.3de758",
\r
1242 "type": "comment",
\r
1243 "name": "loop through the relationships of this founded connectivity, then",
\r
1244 "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",
\r
1248 "z": "4fb14ce0.40eb24",
\r
1252 "id": "8608bc09.df0608",
\r
1254 "name": "for each relationship",
\r
1255 "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",
\r
1260 "z": "4fb14ce0.40eb24",
\r
1268 "id": "5d08ac03.36d834",
\r
1269 "type": "switchNode",
\r
1270 "name": "switch related-to",
\r
1271 "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",
\r
1276 "z": "4fb14ce0.40eb24",
\r
1284 "id": "d7fbd393.802b28",
\r
1285 "type": "outcome",
\r
1286 "name": "vpn-binding",
\r
1287 "xml": "<outcome value='vpn-binding'>\n",
\r
1292 "z": "4fb14ce0.40eb24",
\r
1300 "id": "7b17a25c.8a3ecc",
\r
1302 "name": "block : atomic",
\r
1303 "xml": "<block atomic=\"true\">",
\r
1308 "z": "4fb14ce0.40eb24",
\r
1317 "id": "ebe21a38.772d1",
\r
1319 "name": "unset tmp.aai.vpn-binding",
\r
1320 "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",
\r
1324 "z": "4fb14ce0.40eb24",
\r
1328 "id": "404536aa.fd072",
\r
1330 "name": "get vpn-binding from aai",
\r
1331 "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
1336 "z": "4fb14ce0.40eb24",
\r
1339 "82eb023b.8b6878",
\r
1340 "3917c696.d9cc82",
\r
1346 "id": "3917c696.d9cc82",
\r
1347 "type": "not-found",
\r
1348 "name": "not-found",
\r
1349 "xml": "<outcome value='not-found'>\n",
\r
1352 "x": 3724.490966796875,
\r
1353 "y": 2446.5740356445312,
\r
1354 "z": "4fb14ce0.40eb24",
\r
1362 "id": "33dd47ac.b200d",
\r
1363 "type": "returnFailure",
\r
1364 "name": "return failure",
\r
1365 "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
1368 "y": 2445.8597412109375,
\r
1369 "z": "4fb14ce0.40eb24",
\r
1373 "id": "49f1ea3b.eabc34",
\r
1374 "type": "returnFailure",
\r
1375 "name": "return failure",
\r
1376 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
1380 "z": "4fb14ce0.40eb24",
\r
1384 "id": "ad895865.ea3bc8",
\r
1385 "type": "failure",
\r
1386 "name": "failure",
\r
1387 "xml": "<outcome value='failure'>\n",
\r
1392 "z": "4fb14ce0.40eb24",
\r
1400 "id": "82eb023b.8b6878",
\r
1401 "type": "success",
\r
1402 "name": "success",
\r
1403 "xml": "<outcome value='success'>\n",
\r
1408 "z": "4fb14ce0.40eb24",
\r
1416 "id": "cb43f8c5.5d2f9",
\r
1418 "name": "block : atomic",
\r
1419 "xml": "<block atomic=\"true\">",
\r
1424 "z": "4fb14ce0.40eb24",
\r
1432 "id": "28b98f8a.d66ba8",
\r
1435 "xml": "<block>\n",
\r
1436 "atomic": "false",
\r
1441 "z": "4fb14ce0.40eb24",
\r
1444 "8608bc09.df0608",
\r
1445 "57ababe0.ec3414",
\r
1451 "id": "b8d3290b.70429",
\r
1452 "type": "switchNode",
\r
1453 "name": "switch srcTtp",
\r
1454 "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`'>\n",
\r
1459 "z": "4fb14ce0.40eb24",
\r
1467 "id": "4ce3e8eb.f24da8",
\r
1468 "type": "outcomeTrue",
\r
1470 "xml": "<outcome value='true'>\n",
\r
1475 "z": "4fb14ce0.40eb24",
\r
1483 "id": "18f785cc.cf347a",
\r
1484 "type": "switchNode",
\r
1485 "name": "switch dstTtp",
\r
1486 "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",
\r
1491 "z": "4fb14ce0.40eb24",
\r
1499 "id": "988f1cd5.aa027",
\r
1500 "type": "outcomeTrue",
\r
1502 "xml": "<outcome value='true'>\n",
\r
1507 "z": "4fb14ce0.40eb24",
\r
1515 "id": "dd1b26b2.35eef",
\r
1517 "name": "set tmp.the-vpn-binding",
\r
1518 "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",
\r
1522 "z": "4fb14ce0.40eb24",
\r
1526 "id": "9caa890d.344aa8",
\r
1529 "xml": "<block>\n",
\r
1530 "atomic": "false",
\r
1535 "z": "4fb14ce0.40eb24",
\r
1544 "id": "69c80295.f3b48c",
\r
1547 "xml": "<break>\n",
\r
1551 "z": "4fb14ce0.40eb24",
\r
1555 "id": "57ababe0.ec3414",
\r
1557 "name": "unset tmp.the-vpn-binding",
\r
1558 "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",
\r
1562 "z": "4fb14ce0.40eb24",
\r
1566 "id": "b81a7ea3.f58288",
\r
1567 "type": "comment",
\r
1568 "name": "increase the bw of the-vpn-binding and change status to modified",
\r
1569 "info": "increase the bw of the-vpn-binding\nchange status to modified\n",
\r
1573 "z": "4fb14ce0.40eb24",
\r
1577 "id": "52276af3.2f9a4c",
\r
1579 "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",
\r
1580 "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
1585 "z": "4fb14ce0.40eb24",
\r