+ "id": "6698da7a.77b3bc",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3773,\r
+ "y": 369,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "e904e6fc.1061a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e904e6fc.1061a",\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.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 3921.571533203125,\r
+ "y": 369.2857666015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4975bc8f.93ecdc",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 3920.509033203125,\r
+ "y": 413.426025390625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e5aaddec.aca59",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3761.509033203125,\r
+ "y": 413.426025390625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "4975bc8f.93ecdc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11d90691.38b7b1",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3768.509033203125,\r
+ "y": 492.426025390625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "3b14af19.ae1128"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b14af19.ae1128",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3907.509033203125,\r
+ "y": 492.426025390625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "70ed97b5.dc1c9",\r
+ "c2e43483.a12bd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "70ed97b5.dc1c9",\r
+ "type": "set",\r
+ "name": "set the max bandwidth",\r
+ "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 4113,\r
+ "y": 490,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c9fe9947.c06348",\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.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2969,\r
+ "y": 671,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "78baed3e.c501f4",\r
+ "120f1ac.ca76ae5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "120f1ac.ca76ae5",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3192,\r
+ "y": 657,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "40ab4c81.445cd4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "78baed3e.c501f4",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3194,\r
+ "y": 690,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "9d068c67.4598d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d068c67.4598d",\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": 3337,\r
+ "y": 687,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "40ab4c81.445cd4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3340,\r
+ "y": 650,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "e718de2c.ab002",\r
+ "68fbd6c1.ad0448"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e718de2c.ab002",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n $param-prefix-domainA-pnfName[1] + '-' +\n $param-prefix-domainA-pnfName[2] + '-' +\n $param-prefix-domainA-pnfName[3] + '-' +\n $param-prefix-domainA-pnfName[4] + '-' +\n $param-prefix-domainA-pnfName[5] + '-' +\n $param-prefix-domainA-pnfName[6] + '-' +\n $param-prefix-domainA-pnfName[7] + '-' +\n $param-prefix-domainA-pnfName[8]`\" />\n",\r
+ "comments": "",\r
+ "x": 3502,\r
+ "y": 645,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "669a0eda.d8f578",\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.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2983,\r
+ "y": 1507.9998779296875,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "3eeffc60.cab244",\r
+ "163d6add.444455"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "163d6add.444455",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3206,\r
+ "y": 1493.9998779296875,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "2e1531f5.2b244e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3eeffc60.cab244",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3208,\r
+ "y": 1526.9998779296875,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "bb0d91d9.020e4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bb0d91d9.020e4",\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": 3351,\r
+ "y": 1523.9998779296875,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e1531f5.2b244e",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3354,\r
+ "y": 1486.9998779296875,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "dd9519ef.d4213",\r
+ "54817df4.67d484"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dd9519ef.d4213",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n $param-prefix-domainB-pnfName[1] + '-' +\n $param-prefix-domainB-pnfName[2] + '-' +\n $param-prefix-domainB-pnfName[3] + '-' +\n $param-prefix-domainB-pnfName[4] + '-' +\n $param-prefix-domainB-pnfName[5] + '-' +\n $param-prefix-domainB-pnfName[6] + '-' +\n $param-prefix-domainB-pnfName[7] + '-' +\n $param-prefix-domainB-pnfName[8]`\" />\n",\r
+ "comments": "",\r
+ "x": 3548,\r
+ "y": 1490,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ac58016f.1c2c1",\r
+ "type": "execute",\r
+ "name": "execute properties",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1094,\r
+ "y": 216,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "260f00b5.585908",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for vpn-binding domainA",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2445,\r
+ "y": 2128,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "134248ca.e0fa77",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for vpn-binding domainB",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2443,\r
+ "y": 2416,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c830d981.aee038",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3616,\r
+ "y": 1241,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "4f78d00a.39ba68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4f78d00a.39ba68",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3822,\r
+ "y": 1241,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "489cbbcb.77186c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "489cbbcb.77186c",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4037.28564453125,\r
+ "y": 1240.82177734375,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "3bbad5a.8ec85aa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3bbad5a.8ec85aa",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4244.1171875,\r
+ "y": 1241.34033203125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "cf0eeee3.8d6188",\r
+ "80da6c7c.bf9bc",\r
+ "4327bba4.ea16c4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cf0eeee3.8d6188",\r
+ "type": "set",\r
+ "name": "set source ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4459.1171875,\r
+ "y": 1203.34033203125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "80da6c7c.bf9bc",\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.source.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4456.1171875,\r
+ "y": 1242.34033203125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "54d57ef.0aa16"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4327bba4.ea16c4",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4411.6171875,\r
+ "y": 1284.34033203125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "54d57ef.0aa16",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4636.6171875,\r
+ "y": 1241.34033203125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "136083ca.f8ed24"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "136083ca.f8ed24",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4794.6171875,\r
+ "y": 1241.34033203125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "43a5fa3.d0c2504"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "43a5fa3.d0c2504",\r
+ "type": "set",\r
+ "name": "set source tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 5001.6171875,\r
+ "y": 1241.34033203125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d281a70f.336618",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3613,\r
+ "y": 2110.0001220703125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "21553f06.14bad"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21553f06.14bad",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3819,\r
+ "y": 2110.0001220703125,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "d5a45fe2.8cbaf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5a45fe2.8cbaf",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4034.28564453125,\r
+ "y": 2109.8218994140625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "3432450f.73fd1a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3432450f.73fd1a",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4241.1171875,\r
+ "y": 2110.3404541015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "4d1b045c.8befb4",\r
+ "ff4bcdcd.b592",\r
+ "82369db7.8fbd4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4d1b045c.8befb4",\r
+ "type": "set",\r
+ "name": "set destination ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4456.1171875,\r
+ "y": 2072.3404541015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ff4bcdcd.b592",\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.destination.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4453.1171875,\r
+ "y": 2111.3404541015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "a8f23d1f.d221e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "82369db7.8fbd4",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4408.6171875,\r
+ "y": 2153.3404541015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a8f23d1f.d221e8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4633.6171875,\r
+ "y": 2110.3404541015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "403d184.8f53468"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "403d184.8f53468",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4791.6171875,\r
+ "y": 2110.3404541015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "c7d0f697.2aea68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c7d0f697.2aea68",\r
+ "type": "set",\r
+ "name": "set destination tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 4998.6171875,\r
+ "y": 2110.3404541015625,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "84749d0f.3038c8",\r
+ "type": "set",\r
+ "name": "set attachment_param domain B",\r
+ "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+ "comments": "",\r
+ "x": 2374,\r
+ "y": 3037,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "68fbd6c1.ad0448",\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.domainA.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3529,\r
+ "y": 717,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "69417d44.afb3fc",\r
+ "a15ac77e.798db8",\r
+ "3a89038d.704134"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "69417d44.afb3fc",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3724.5001220703125,\r
+ "y": 669,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "138b37c3.968d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a15ac77e.798db8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3716.5001220703125,\r
+ "y": 724,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "5742f10e.dadab8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3a89038d.704134",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3721.5001220703125,\r
+ "y": 781,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "56dfcb3e.f8e3ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "56dfcb3e.f8e3ac",\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": 3873.5001220703125,\r
+ "y": 782,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5742f10e.dadab8",\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": 3884.5001220703125,\r
+ "y": 727,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "138b37c3.968d8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3868.8824462890625,\r
+ "y": 666.6556701660156,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "b4d80ee.d93167"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "40dc3d01.0cfddc",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4451,\r
+ "y": 685,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "ce5ec787.25a25"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce5ec787.25a25",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4628,\r
+ "y": 677,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "deda36.39eb45c8",\r
+ "2c916faf.da498"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b4d80ee.d93167",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4053,\r
+ "y": 681,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "83a731e6.aee9d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "83a731e6.aee9d8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4248,\r
+ "y": 681,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "40dc3d01.0cfddc",\r
+ "556c2535.2cf6f4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "deda36.39eb45c8",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainA id",\r
+ "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4866,\r
+ "y": 632,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "883ac008.74f89",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5046,\r
+ "y": 675,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "5bb6445.b0cb1bc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6cf958ca.c3e4a8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5038,\r
+ "y": 730,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "f6420bc8.c6108"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e70b241a.97d7e8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5043,\r
+ "y": 787,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "e90b6e53.2dc61"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e90b6e53.2dc61",\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": 5195,\r
+ "y": 788,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f6420bc8.c6108",\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": 5206,\r
+ "y": 733,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5bb6445.b0cb1bc",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5190.38232421875,\r
+ "y": 672.6556701660156,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "36dcfa67.508606"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "36dcfa67.508606",\r
+ "type": "set",\r
+ "name": "set controller domainA data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+ "comments": "",\r
+ "x": 5405,\r
+ "y": 669,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "54817df4.67d484",\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.dst.domainB.pnf-name\"\n pfx='tmp.aai.destination-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3570,\r
+ "y": 1558,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "12332a8b.1f458d",\r
+ "e70d4463.7fed78",\r
+ "9e28dd86.32b368"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "12332a8b.1f458d",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3765.5001220703125,\r
+ "y": 1510,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "97851436.c0f798"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e70d4463.7fed78",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3757.5001220703125,\r
+ "y": 1565,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "9865196d.c10828"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9e28dd86.32b368",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3762.5001220703125,\r
+ "y": 1622,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "1636bf8.c7b9e41"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1636bf8.c7b9e41",\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": 3914.5001220703125,\r
+ "y": 1623,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9865196d.c10828",\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": 3925.5001220703125,\r
+ "y": 1568,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "97851436.c0f798",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3909.8824462890625,\r
+ "y": 1507.6556701660156,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "601870d2.2269c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "358b8a93.9adabe",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4492,\r
+ "y": 1526,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "f1454db6.8dcaf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1454db6.8dcaf8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4669,\r
+ "y": 1518,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "1806e2c2.14485d",\r
+ "8cb20d6f.760bf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "601870d2.2269c8",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4094,\r
+ "y": 1522,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "4732f224.c95254"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4732f224.c95254",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4289,\r
+ "y": 1522,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "358b8a93.9adabe",\r
+ "3beefc43.434434"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8cb20d6f.760bf",\r
+ "type": "execute",\r
+ "name": "get esr-thirdparty-sdnc",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4877,\r
+ "y": 1525,\r
+ "z": "4d37a11.42c136",\r
+ "wires": [\r
+ [\r
+ "c4071110.82806",\r
+ "ce108d7.ad4977",\r
+ "c040099f.13bbf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1806e2c2.14485d",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainB id",\r
+ "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4907,\r
+ "y": 1473,\r
+ "z": "4d37a11.42c136",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c4071110.82806",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r