+ },\r
+ {\r
+ "id": "2e7334d4.9ca8fc",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2105.566650390625,\r
+ "y": 404.56666564941406,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "411c67c5.e1d9e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "411c67c5.e1d9e8",\r
+ "type": "switchNode",\r
+ "name": "switch provider-id domainC",\r
+ "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainC-pnfName[2]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2306.566650390625,\r
+ "y": 405.56666564941406,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "27025665.dd4562"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "27025665.dd4562",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2516.566650390625,\r
+ "y": 405.56666564941406,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "e947b95b.27d1a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c6b462ec.d5ec38",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDstBackup",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3224.566650390625,\r
+ "y": 495.5666961669922,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "eff9186e.125608",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='tmp.pce-dst-node-backup.' value='' />\n",\r
+ "comments": "",\r
+ "x": 1142.566650390625,\r
+ "y": 282.56666564941406,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "94f6beae.dc07e",\r
+ "type": "set",\r
+ "name": "set tmp.pce-dst-node-backup",\r
+ "xml": "<set>\n<!--<parameter name='$tmp.pce-dst-node' value=\"`$param-prefix-domainB-pnfName[0] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[1] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[2] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[3] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[4] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[5] + '-' +-->\n<!-- 1 + '-' +-->\n<!-- $param-prefix-domainB-pnfName[7] + '-' +-->\n<!-- $param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.pce-dst-node-backup' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n $param-prefix-domainC-pnfName[1] + '-' +\n $param-prefix-domainC-pnfName[2] + '-' +\n $param-prefix-domainC-pnfName[3] + '-' +\n $param-prefix-domainC-pnfName[4] + '-' +\n $param-prefix-domainC-pnfName[5] + '-' +\n $otnTopoIdDstBackup + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />",\r
+ "comments": "",\r
+ "x": 1174.566650390625,\r
+ "y": 460.56666564941406,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7b0887bb.99971",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1178.566650390625,\r
+ "y": 707.5666656494141,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "92b6aeb7.23ac68",\r
+ "21cc841a.968b4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "92b6aeb7.23ac68",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1421.566650390625,\r
+ "y": 604.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "1d1085ac.753a0a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1d1085ac.753a0a",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1548.566650390625,\r
+ "y": 603.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "944b5459.a274f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1548db64.e4c295",\r
+ "type": "execute",\r
+ "name": "execute PCE in ccsdk/sli/core",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliTopologyUtils' method='computePath' >\n<parameter name=\"pnfs-pfx\" value='ccsdkTopopnfs'/>\n<parameter name=\"links-pfx\" value=\"ccsdkTopologicalLinks\"/>\n<parameter name=\"response-pfx\" value=\"otn-oof\"/>\n<parameter name=\"output-end-to-end-path\" value=\"false\"/>\n<!--<parameter name=\"src-node\" value=\"`$tmp.src.domainA.pnf-name`\"/>-->\n<!--<parameter name=\"dst-node\" value=\"`$tmp.dst.domainB.pnf-name`\"/>-->\n<parameter name=\"src-node\" value=\"`$tmp.pce-src-node`\"/>\n<parameter name=\"dst-node\" value=\"`$tmp.pce-dst-node`\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1800.566650390625,\r
+ "y": 756.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "eea15d82.e13c8",\r
+ "86fb305c.19fe88",\r
+ "e46cbc18.4abe38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "eea15d82.e13c8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2045.566650390625,\r
+ "y": 788.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "86fb305c.19fe88",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2052.566650390625,\r
+ "y": 830.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e46cbc18.4abe38",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2047.566650390625,\r
+ "y": 751.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "29b9a31c.a264c4",\r
+ "type": "for",\r
+ "name": "for vidx..otn-oof.secondarySolutions_length[]",\r
+ "xml": "<for index='vidx' start='0' end='`$otn-oof.secondarySolutions_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 943.566650390625,\r
+ "y": 2125.566665649414,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "72742319.713a0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "72742319.713a0c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1048.0938720703125,\r
+ "y": 2316.607437133789,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "65028d7c.8b8c9c",\r
+ "8944f22e.dc9748",\r
+ "7f065ced.91ecac",\r
+ "dd82f408.a50d68",\r
+ "2e2b77b7.7faa3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "65028d7c.8b8c9c",\r
+ "type": "set",\r
+ "name": "set otn-oof.link-name and etc.",\r
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='`$otn-oof.secondarySolutions[$vidx].original_link`' />\n<parameter name='otn-oof.start-node' value='`$otn-oof.secondarySolutions[$vidx].src_node`' />\n<parameter name='otn-oof.end-node' value='`$otn-oof.secondarySolutions[$vidx].dst_node`' />",\r
+ "comments": "",\r
+ "x": 1294.5938720703125,\r
+ "y": 2209.607437133789,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e2b77b7.7faa3",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1261.0938720703125,\r
+ "y": 2398.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "5f266d1.d23e694",\r
+ "87205bbb.f159d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8944f22e.dc9748",\r
+ "type": "set",\r
+ "name": "unset parameters",\r
+ "xml": "<set>\n<parameter name='otn-oof.link-name' value='' />\n<!--<parameter name='tmp.aai.cross-link' value='' />-->\n<parameter name='tmp.aai.cross-link.' value='' />\n<!--<parameter name='tmp.aai.cross-link.link-role' value='' />-->\n\n<parameter name='tmp.src-pnf-name' value='' />\n<parameter name='tmp.cross-link.' value='' />\n<parameter name='tmp.dst-pnf-name' value='' />\n<parameter name='tmp.aai.src-tp.' value='' />\n<parameter name='param-prefix-src-tp.' value='' />\n<parameter name='tmp.aai.src-pnf.' value='' />\n<parameter name='tmp.domain-A.network-id' value='' />\n<parameter name='tmp.aai.src-network-resource.' value='' />\n<parameter name='tmp.domain-A.ttp-id' value='' />\n<parameter name='tmp.aai.src-ttp.' value='' />\n\n<parameter name='tmp.aai.dst-tp.' value='' />\n<parameter name='param-prefix-dst-tp.' value='' />\n<parameter name='tmp.aai.dst-pnf.' value='' />\n<parameter name='tmp.domain-C.network-id' value='' />\n<parameter name='tmp.aai.dst-network-resource.' value='' />\n<parameter name='tmp.domain-C.ttp-id' value='' />\n<parameter name='tmp.aai.dst-ttp.' value='' />\n\n",\r
+ "comments": "",\r
+ "x": 1285.59375,\r
+ "y": 2138.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7f065ced.91ecac",\r
+ "type": "set",\r
+ "name": "set src-ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.cross-link.src-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].src_pinterface`\" />\n<parameter name='tmp.src-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].src_node`\" />\n",\r
+ "comments": "",\r
+ "x": 1267.59375,\r
+ "y": 2269.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dd82f408.a50d68",\r
+ "type": "set",\r
+ "name": "set dst-ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.cross-link.dst-ltpId' value=\"`$otn-oof.secondarySolutions[$vidx].dst_pinterface`\" />\n<parameter name='tmp.dst-pnf-name' value=\"`$otn-oof.secondarySolutions[$vidx].dst_node`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 1268.59375,\r
+ "y": 2319.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e7a453b4.217a88",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2786.5936279296875,\r
+ "y": 2133.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "a6ec239b.39ee68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b46c3c11.2737c8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2819.59375,\r
+ "y": 2191.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "7915fc0.cce3804"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a88e58be.776e6",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2822.59375,\r
+ "y": 2243.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "ff0b2c64.5ad4b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7915fc0.cce3804",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 3004.59375,\r
+ "y": 2195.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ff0b2c64.5ad4b8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 2992.59375,\r
+ "y": 2246.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "189f7ad9.7daed5",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pintsidx' start='0' end='`$tmp.aai.src-tp.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3137.9764404296875,\r
+ "y": 2128.980667114258,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "53709e5e.d75de"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "53709e5e.d75de",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3389.9764404296875,\r
+ "y": 2125.980667114258,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "7637ca2d.741c2c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a6ec239b.39ee68",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2920.5936279296875,\r
+ "y": 2129.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "189f7ad9.7daed5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "87205bbb.f159d",\r
+ "type": "get-resource",\r
+ "name": "get-resource src tp",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.src-ltpId\"\n pfx='tmp.aai.src-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2589.09375,\r
+ "y": 2172.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "e7a453b4.217a88",\r
+ "b46c3c11.2737c8",\r
+ "a88e58be.776e6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b5bc8dfa.18e39",\r
+ "type": "set",\r
+ "name": "set domain A node ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.domain-A.ttp-id' value=\"`$tmp.aai.src-tp.relationship-list.relationship[$pintsidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4123.0936279296875,\r
+ "y": 2048.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4d4171cc.48b25",\r
+ "type": "get-resource",\r
+ "name": "get-resource src TTP",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-A.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4131.0936279296875,\r
+ "y": 2100.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "99655efb.80b65"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "99655efb.80b65",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4337.5936279296875,\r
+ "y": 2078.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "8f6c7450.ef1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7637ca2d.741c2c",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3675.2620849609375,\r
+ "y": 2126.802444458008,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "5bfd3b7c.5be7ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5bfd3b7c.5be7ac",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3902.0936279296875,\r
+ "y": 2115.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "b5bc8dfa.18e39",\r
+ "4d4171cc.48b25",\r
+ "f91d3228.bde968",\r
+ "f52dc6a0.330a3",\r
+ "5d21c2b3.c568f4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8f6c7450.ef1c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4512.5936279296875,\r
+ "y": 2074.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "4ef7dcb5.6e7414"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f91d3228.bde968",\r
+ "type": "get-resource",\r
+ "name": "get-resource src pnf",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src-pnf-name\"\n pfx='tmp.aai.src-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3992.5936279296875,\r
+ "y": 1918.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "11fdba85.d2e555",\r
+ "c4446af6.0110f8",\r
+ "f32a5dd3.e26328"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11fdba85.d2e555",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4188.09375,\r
+ "y": 1870.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "148f5625.68ca22"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c4446af6.0110f8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4180.09375,\r
+ "y": 1925.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9347116a.3058c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f32a5dd3.e26328",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4185.09375,\r
+ "y": 1982.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9b351c5a.c32878"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b351c5a.c32878",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 4337.09375,\r
+ "y": 1983.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9347116a.3058c8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 4348.09375,\r
+ "y": 1928.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "148f5625.68ca22",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4332.47607421875,\r
+ "y": 1867.9766082763672,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "351bcf46.2fdac",\r
+ "23e1fb86.3e9064"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "351bcf46.2fdac",\r
+ "type": "set",\r
+ "name": "set domain A node-id and tpn",\r
+ "xml": "<set>\n<parameter name='domain-A.node-id' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='domain-A.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-node-id`' value=\"`$tmp.aai.src-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
+ "comments": "",\r
+ "x": 4557.5936279296875,\r
+ "y": 1823.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f52dc6a0.330a3",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4079.5936279296875,\r
+ "y": 2165.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "23e1fb86.3e9064",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pvidx' start='0' end='`$tmp.aai.src-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4516.5936279296875,\r
+ "y": 1882.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "42d6b89e.bcfbd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5d21c2b3.c568f4",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<!--<parameter name=\"original_string\" value='`$tmp.aai.src-tp`'/>-->\n<parameter name=\"original_string\" value='`$tmp.aai.src-tp.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-src-tp\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4020.5936279296875,\r
+ "y": 1712.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "beac11e9.8b163",\r
+ "775594b3.5e9f34"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "775594b3.5e9f34",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4241.5936279296875,\r
+ "y": 1680.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "62125b93.79eaac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "beac11e9.8b163",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4241.5936279296875,\r
+ "y": 1727.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "6928fcc.f0dc584"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "62125b93.79eaac",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4406.5936279296875,\r
+ "y": 1677.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "ab5f1155.b15a3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab5f1155.b15a3",\r
+ "type": "set",\r
+ "name": "set domain-A.ltpId",\r
+ "xml": "<set>\n<parameter name='domain-A.ltpId' value='`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-ltp-id`' value=\"`$param-prefix-src-tp[$param-prefix-src-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />",\r
+ "comments": "",\r
+ "x": 4588.5936279296875,\r
+ "y": 1681.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6928fcc.f0dc584",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4408.5936279296875,\r
+ "y": 1727.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "befd05b9.a30de",\r
+ "type": "comment",\r
+ "name": "Not useful anymore",\r
+ "info": "this domain-A.ltpId is not used anymore",\r
+ "comments": "",\r
+ "x": 4631.5936279296875,\r
+ "y": 1657.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4ef7dcb5.6e7414",\r
+ "type": "set",\r
+ "name": "set domain A tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-tunnel-tp-id`' value=\"`$tmp.aai.src-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 1`' />\n",\r
+ "comments": "",\r
+ "x": 4773.5936279296875,\r
+ "y": 2071.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f0218229.275af8",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4914.5936279296875,\r
+ "y": 1886.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "480722d5.cb6b3c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "42d6b89e.bcfbd",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4711.5936279296875,\r
+ "y": 1882.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "f0218229.275af8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "480722d5.cb6b3c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5091.5936279296875,\r
+ "y": 1878.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "36af77c8.926fd8",\r
+ "18e52414.c15f84",\r
+ "18749988.48ed66"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "36af77c8.926fd8",\r
+ "type": "set",\r
+ "name": "set domain A network-id",\r
+ "xml": "<set>\n<parameter name='tmp.domain-A.network-id' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$pvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5306.5936279296875,\r
+ "y": 1859.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "18e52414.c15f84",\r
+ "type": "get-resource",\r
+ "name": "get-resource src network-resource",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-A.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-network-resource' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5323.5936279296875,\r
+ "y": 1923.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "d15fc532.410808"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d15fc532.410808",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5547.0936279296875,\r
+ "y": 1924.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "8cba8498.001648"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8cba8498.001648",\r
+ "type": "set",\r
+ "name": "set domain A network-id, topo-id, client-id, etc",\r
+ "xml": "<set>\n<parameter name='domain-A.network-id' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='domain-A.provider-id' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='domain-A.client-id' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='domain-A.te-topo-id' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='domain-A.network-type' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-id`' value=\"`$tmp.aai.src-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-provider-id`' value=\"`$tmp.aai.src-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-client-id`' value=\"`$tmp.aai.src-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-topology-id`' value=\"`$tmp.aai.src-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx].dstPort.dst-access-network-type`' value=\"`$tmp.aai.src-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 1`' />\n\n\n",\r
+ "comments": "",\r
+ "x": 5811.5936279296875,\r
+ "y": 1913.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "18749988.48ed66",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 5250.5936279296875,\r
+ "y": 1976.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e3152c7b.42988",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 2462.0936279296875,\r
+ "y": 2642.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5f266d1.d23e694",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst tp",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\n\t\t AND p-interface.interface-name = $tmp.cross-link.dst-ltpId\"\n pfx='tmp.aai.dst-tp' local-only='false' >\n \n <!--AND depth = '0'\"-->\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2543.09375,\r
+ "y": 2538.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "e3416277.a5383",\r
+ "35cf03db.613854",\r
+ "96b92483.78f348"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e3416277.a5383",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2765.5936279296875,\r
+ "y": 2680.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "695f1ad6.255c0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "35cf03db.613854",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2749.5936279296875,\r
+ "y": 2731.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "95ff46ae.989338"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "96b92483.78f348",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2752.5936279296875,\r
+ "y": 2783.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "702c044d.a276dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "702c044d.a276dc",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 2922.5936279296875,\r
+ "y": 2786.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "95ff46ae.989338",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 2934.5936279296875,\r
+ "y": 2735.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cf47c4e.3b665b8",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pintdidx' start='0' end='`$tmp.aai.dst-tp.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3121.9764404296875,\r
+ "y": 2690.980667114258,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "1dd200a7.125687"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1dd200a7.125687",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3364.9764404296875,\r
+ "y": 2689.980667114258,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9d100149.51fc1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "695f1ad6.255c0c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2911.5936279296875,\r
+ "y": 2671.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "cf47c4e.3b665b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d100149.51fc1",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3621.2620849609375,\r
+ "y": 2689.802444458008,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "883aea1c.549738"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "883aea1c.549738",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3921.0936279296875,\r
+ "y": 2687.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "94206f0d.95ccf",\r
+ "16ed1500.9f0433",\r
+ "d67bf507.0e5f9",\r
+ "4435dab.dca2424",\r
+ "25e20a20.a9dcb6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "94206f0d.95ccf",\r
+ "type": "set",\r
+ "name": "set domain C node ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.domain-C.ttp-id' value=\"`$tmp.aai.dst-tp.relationship-list.relationship[$pintdidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4163.0936279296875,\r
+ "y": 2641.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "16ed1500.9f0433",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst TTP",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.domain-C.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4153.0936279296875,\r
+ "y": 2692.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "104922c4.11428d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "104922c4.11428d",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4340.5936279296875,\r
+ "y": 2690.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "78d5a007.cba0e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "78d5a007.cba0e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4529.5936279296875,\r
+ "y": 2679.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "b81d23ea.740b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4435dab.dca2424",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst pnf",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst-pnf-name\"\n pfx='tmp.aai.dst-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3989.5936279296875,\r
+ "y": 2521.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9f7deca5.5268a8",\r
+ "da4c932e.8f9b7",\r
+ "910b7b2f.6b9a08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "910b7b2f.6b9a08",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4185.09375,\r
+ "y": 2473.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "6f27e8e2.ede448"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "da4c932e.8f9b7",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4177.09375,\r
+ "y": 2528.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "a119b495.536c2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9f7deca5.5268a8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4182.09375,\r
+ "y": 2585.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "80a7eb88.54c458"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6f27e8e2.ede448",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4329.47607421875,\r
+ "y": 2470.976608276367,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9413138d.7b038",\r
+ "7ef053da.372d9c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a119b495.536c2",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 4345.09375,\r
+ "y": 2531.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "80a7eb88.54c458",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 4334.09375,\r
+ "y": 2586.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9413138d.7b038",\r
+ "type": "set",\r
+ "name": "set domain C node-id and tpn",\r
+ "xml": "<set>\n<parameter name='domain-C.node-id' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='domain-C.tpn' value='1' />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-node-id`' value=\"`$tmp.aai.dst-pnf.pnf-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 4538.5936279296875,\r
+ "y": 2438.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d67bf507.0e5f9",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4108.5936279296875,\r
+ "y": 2733.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7ef053da.372d9c",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='mvidx' start='0' end='`$tmp.aai.dst-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4517.5936279296875,\r
+ "y": 2489.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "10136030.42aa18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "25e20a20.a9dcb6",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.dst-tp`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-dst-tp\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4028.5936279296875,\r
+ "y": 2336.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "a07d9f67.66341",\r
+ "93c9defd.2bdfa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "93c9defd.2bdfa",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4249.5936279296875,\r
+ "y": 2304.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9382b345.a1d1e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a07d9f67.66341",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4249.5936279296875,\r
+ "y": 2351.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "2d3dee9f.64531a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9382b345.a1d1e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4414.5936279296875,\r
+ "y": 2301.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "1c50740e.4fe454"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1c50740e.4fe454",\r
+ "type": "set",\r
+ "name": "set domain-C.ltpId",\r
+ "xml": "<set>\n<parameter name='domain-C.ltpId' value='`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`' />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-ltp-id`' value=\"`$param-prefix-dst-tp[$param-prefix-dst-tp_length -1]`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 4610.5936279296875,\r
+ "y": 2298.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2d3dee9f.64531a",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4416.5936279296875,\r
+ "y": 2351.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ba27cb3.c1b8838",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5131.0936279296875,\r
+ "y": 2491.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "e4862910.0d6dd",\r
+ "4d9794ed.0f0c74",\r
+ "41d192df.878f6c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2c077af9.3f7116",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4918.0936279296875,\r
+ "y": 2490.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "ba27cb3.c1b8838"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b81d23ea.740b38",\r
+ "type": "set",\r
+ "name": "set domain C tunnel tp id",\r
+ "xml": "<set>\n<parameter name='domain-C.tunnel-tp-id' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-tunnel-tp-id`' value=\"`$tmp.aai.dst-ttp.tunnel-tp-id`\" />\n<parameter name='`tmp.otninfoProtect_length`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 4762.5936279296875,\r
+ "y": 2678.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "10136030.42aa18",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4712.5936279296875,\r
+ "y": 2489.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "2c077af9.3f7116"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "41d192df.878f6c",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 5336.5936279296875,\r
+ "y": 2569.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "993481fc.0a9cc",\r
+ "type": "comment",\r
+ "name": "Not useful anymore",\r
+ "info": "this domain-B.ltpId is not used anymore",\r
+ "comments": "",\r
+ "x": 4653.5936279296875,\r
+ "y": 2270.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e4862910.0d6dd",\r
+ "type": "set",\r
+ "name": "set domain C network-id",\r
+ "xml": "<set>\n<parameter name='tmp.domain-C.network-id' value=\"`$tmp.aai.dst-pnf.relationship-list.relationship[$mvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5401.0936279296875,\r
+ "y": 2467.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4d9794ed.0f0c74",\r
+ "type": "get-resource",\r
+ "name": "get-resource dst network-resource",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $tmp.domain-C.network-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.dst-network-resource' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5411.0936279296875,\r
+ "y": 2513.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "df2dbdcc.750e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "df2dbdcc.750e8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5626.5936279296875,\r
+ "y": 2504.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "190b6efa.058019"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "190b6efa.058019",\r
+ "type": "set",\r
+ "name": "set domain B network-id, topo-id, client-id, etc",\r
+ "xml": "<set>\n<parameter name='domain-C.network-id' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='domain-C.provider-id' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='domain-C.client-id' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='domain-C.te-topo-id' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='domain-C.network-type' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n\n\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-id`' value=\"`$tmp.aai.dst-network-resource.network-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-provider-id`' value=\"`$tmp.aai.dst-network-resource.provider-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-client-id`' value=\"`$tmp.aai.dst-network-resource.client-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-topology-id`' value=\"`$tmp.aai.dst-network-resource.te-topo-id`\" />\n<parameter name='`tmp.otninfoProtect[$vidx + 1].srcPort.src-access-network-type`' value=\"`$tmp.aai.dst-network-resource.network-type`\" />\n<parameter name='`tmp.otninfoProtect`' value='`$vidx + 2`' />",\r
+ "comments": "",\r
+ "x": 5881.0936279296875,\r
+ "y": 2510.3209381103516,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "21a1b6cf.f58d12",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2787.7666015625,\r
+ "y": 328.6499938964844,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "4aea8251.037e9c",\r
+ "52f89c33.605164"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4aea8251.037e9c",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2978.7666015625,\r
+ "y": 332.6499938964844,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "835e11a3.ae9b18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "835e11a3.ae9b18",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3105.7666015625,\r
+ "y": 331.6499938964844,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "609cdd79.df387c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "609cdd79.df387c",\r
+ "type": "switchNode",\r
+ "name": "switch 2-ROOTS in same domain?",\r
+ "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3328.64990234375,\r
+ "y": 326.53330993652344,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "b6173df.3337a4",\r
+ "e7365ac5.4ed5b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b6173df.3337a4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3535.64990234375,\r
+ "y": 263.53330993652344,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "ed7ff15a.b9a05"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e7365ac5.4ed5b",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3465.64990234375,\r
+ "y": 454.53334045410156,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "687dbd4d.7679f4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ed7ff15a.b9a05",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3677.64990234375,\r
+ "y": 253.53330993652344,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "89b993df.07b78",\r
+ "5e2c6ea6.2dfa38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "687dbd4d.7679f4",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3591.64990234375,\r
+ "y": 454.53334045410156,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "a4105892.c0505"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1e64b2b7.385b1d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2588.533447265625,\r
+ "y": 331.65000915527344,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "21a1b6cf.f58d12"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "52f89c33.605164",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2983.5,\r
+ "y": 284.6499938964844,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "82fe228a.5ad828"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "89b993df.07b78",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDst",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3836.2333984375,\r
+ "y": 232.64999389648438,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5e2c6ea6.2dfa38",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDstBackup",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDstBackup' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3858.2333984375,\r
+ "y": 280.6499938964844,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a4105892.c0505",\r
+ "type": "set",\r
+ "name": "set otnTopoIdDst",\r
+ "xml": "<set>\n<parameter name='otnTopoIdDst' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+ "comments": "",\r
+ "x": 3762.2333984375,\r
+ "y": 454.65000915527344,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e947b95b.27d1a8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2657.25,\r
+ "y": 406.4499969482422,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "c74c236.99ba66"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c74c236.99ba66",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2856.483154296875,\r
+ "y": 403.4499816894531,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "befa4e01.9ed388"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "befa4e01.9ed388",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3047.483154296875,\r
+ "y": 407.4499816894531,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "98517b17.6a6348"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "98517b17.6a6348",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3174.483154296875,\r
+ "y": 406.4499816894531,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d77821ed.16483",\r
+ "type": "switchNode",\r
+ "name": "switch secondarySolutions empty?",\r
+ "xml": "<switch test='`length($otn-oof.secondarySolutions) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1518.13330078125,\r
+ "y": 1710.133316040039,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "f463fee4.443ea",\r
+ "587b05b.a97cbfc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f463fee4.443ea",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1744.0333251953125,\r
+ "y": 1682.133316040039,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9e1884a5.b31a88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "587b05b.a97cbfc",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1742.0333251953125,\r
+ "y": 1732.133316040039,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "9e1884a5.b31a88",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1886.13330078125,\r
+ "y": 1682.133316040039,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ed4632fb.07dd2",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 897.0333251953125,\r
+ "y": 1899.133316040039,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "9a39a481.b29ef"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9a39a481.b29ef",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1083.0333251953125,\r
+ "y": 1900.133316040039,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "29d17717.6b3378"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "29d17717.6b3378",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1213.0333251953125,\r
+ "y": 1900.133316040039,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "29b9a31c.a264c4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21cc841a.968b4c",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1419.566650390625,\r
+ "y": 710.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "a199714f.963fb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a199714f.963fb",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1559.566650390625,\r
+ "y": 710.566650390625,\r
+ "z": "67ca1183.dbac8",\r
+ "wires": [\r
+ [\r
+ "1548db64.e4c295"\r
+ ]\r
+ ]\r