+ },\r
+ {\r
+ "id": "4c9f1a43.e137e4",\r
+ "type": "save",\r
+ "name": "get network-route-three from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3288.116668701172,\r
+ "y": 1041.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "b2eea3d4.d83b2",\r
+ "c92a9c74.6d8cb",\r
+ "be6d3c2.c1bdfc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "68098f91.a64618",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3974.116668701172,\r
+ "y": 1173.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "3baeb12d.78947e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3baeb12d.78947e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4148.116668701172,\r
+ "y": 1168.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "f32a06d7.18ee6",\r
+ "9c8c5f6f.4f4828"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9c8c5f6f.4f4828",\r
+ "type": "set",\r
+ "name": "set network-route-C",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4318.116668701172,\r
+ "y": 1241.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f32a06d7.18ee6",\r
+ "type": "set",\r
+ "name": "set network-route-SECONDARY-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4372.116668701172,\r
+ "y": 1201.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "89b3411b.fe2cb",\r
+ "type": "comment",\r
+ "name": "This is it (should be)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4486.116668701172,\r
+ "y": 1226.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fe4b773c.0eae98",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4045.116668701172,\r
+ "y": 929.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "a6d4107d.6655f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e8ae3a08.56b988",\r
+ "type": "set",\r
+ "name": "set network-route-C",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4389.116668701172,\r
+ "y": 997.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8ecb2104.b1fc58",\r
+ "type": "set",\r
+ "name": "set network-route-SECONDARY-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4443.116668701172,\r
+ "y": 957.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a817660e.e9d2",\r
+ "type": "comment",\r
+ "name": "This is it (should be)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4587.116668701172,\r
+ "y": 986.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a6d4107d.6655f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4219.116668701172,\r
+ "y": 924.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "8ecb2104.b1fc58",\r
+ "e8ae3a08.56b988"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "83ce05e.7f315f8",\r
+ "type": "outcome",\r
+ "name": "SECONDARY-ROOT",\r
+ "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4105.116668701172,\r
+ "y": 667.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "d03cb873.c57328"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2049e56d.3172ca",\r
+ "type": "set",\r
+ "name": "set network-route-C",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4449.116668701172,\r
+ "y": 735.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6995e48e.171b9c",\r
+ "type": "set",\r
+ "name": "set network-route-SECONDARY-ROOT",\r
+ "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 4503.116668701172,\r
+ "y": 695.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "80fe4b30.9273d",\r
+ "type": "comment",\r
+ "name": "This is it (should be)",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4617.116668701172,\r
+ "y": 720.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d03cb873.c57328",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4279.116668701172,\r
+ "y": 662.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "6995e48e.171b9c",\r
+ "2049e56d.3172ca"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d8eb368d.7e35e8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3686.116668701172,\r
+ "y": 2544.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "9d31c4f.62b63b8",\r
+ "42d540.6e2552c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4acebe87.51a2e",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3513.450164794922,\r
+ "y": 2545.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "d8eb368d.7e35e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "faf79ca9.39c718",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3522.941131591797,\r
+ "y": 2587.690704345703,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "760b8826.a76aa",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3511.450164794922,\r
+ "y": 2634.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d31c4f.62b63b8",\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-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3972.450164794922,\r
+ "y": 2548.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "beea1414.622ca8",\r
+ "e0900c85.f5153"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0900c85.f5153",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4195.450164794922,\r
+ "y": 2503.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "b1fce547.cdefa8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "beea1414.622ca8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4197.450164794922,\r
+ "y": 2567.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "1f2077c9.d2f12"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1931dff5.72d728",\r
+ "type": "save",\r
+ "name": "get p-interface-dst from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3285.450164794922,\r
+ "y": 2580.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "4acebe87.51a2e",\r
+ "faf79ca9.39c718",\r
+ "760b8826.a76aa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20a2805c.f7ce68",\r
+ "type": "comment",\r
+ "name": "Question?",\r
+ "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+ "comments": "",\r
+ "x": 3246.450164794922,\r
+ "y": 2524.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f953800.9cf34",\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-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3305.450164794922,\r
+ "y": 2320.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "1523d633.28a802",\r
+ "23587c7d.fbba4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "23587c7d.fbba4c",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3528.450164794922,\r
+ "y": 2306.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "c7b4b7e7.8e8b78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1523d633.28a802",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3530.450164794922,\r
+ "y": 2339.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c7b4b7e7.8e8b78",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3676.450164794922,\r
+ "y": 2299.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "cb965cfe.67a2f",\r
+ "1a7add8d.af97ca"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb965cfe.67a2f",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' 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 $param-prefix-domainC-pnfName[6] + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />\n",\r
+ "comments": "",\r
+ "x": 3870.450164794922,\r
+ "y": 2302.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "42d540.6e2552c",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3923.4501342773438,\r
+ "y": 2671.1166381835938,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "b84e7511.3844a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b84e7511.3844a8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4129.450134277344,\r
+ "y": 2671.1166381835938,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "ac19c527.29aaf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1a7add8d.af97ca",\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.domainC.pnf-name\"\n pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3892.450164794922,\r
+ "y": 2370.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "c6c93f82.1aa228",\r
+ "f4da497f.0275c8",\r
+ "6e9758a5.eabec"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c6c93f82.1aa228",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4087.9502868652344,\r
+ "y": 2322.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "a1f1dc1c.4be4e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4da497f.0275c8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4079.9502868652344,\r
+ "y": 2377.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "dd2530b3.0ce388"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e9758a5.eabec",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4084.9502868652344,\r
+ "y": 2434.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "35cb1b46.9ab3ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "35cb1b46.9ab3ac",\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": 4236.950286865234,\r
+ "y": 2435.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a1f1dc1c.4be4e8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4232.332611083984,\r
+ "y": 2319.7724609375,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "807e8aa5.b5f288"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "be1fed24.75522",\r
+ "type": "set",\r
+ "name": "set SECONDARY-ROOT stuff",\r
+ "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' 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 $param-prefix-domainC-pnfName[6] + '-' +\n $param-prefix-domainC-pnfName[7] + '-' +\n $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
+ "comments": "",\r
+ "x": 3308.116668701172,\r
+ "y": 2659.116668701172,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "89002347.f12fb8",\r
+ "type": "comment",\r
+ "name": "NOT NEEDED ANYMORE?",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3983.1166381835938,\r
+ "y": 2623.1166381835938,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1f2077c9.d2f12",\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": 4356.450164794922,\r
+ "y": 2586.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b1fce547.cdefa8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4360.450164794922,\r
+ "y": 2500.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "9ddcbad2.3cd968",\r
+ "a4909c74.16b3c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ac19c527.29aaf8",\r
+ "type": "outcome",\r
+ "name": "tunnel-termination-point",\r
+ "xml": "<outcome value='tunnel-termination-point'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4346.735778808594,\r
+ "y": 2669.9384155273438,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "aecc45b1.07799"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dd2530b3.0ce388",\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": 4247.950286865234,\r
+ "y": 2380.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9ddcbad2.3cd968",\r
+ "type": "set",\r
+ "name": "set ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
+ "comments": "",\r
+ "x": 4530.450164794922,\r
+ "y": 2461.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a4909c74.16b3c",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
+ "comments": "",\r
+ "x": 4531.450164794922,\r
+ "y": 2566.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "90f369e0.1f5ea",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+ "comments": "",\r
+ "x": 4526.450164794922,\r
+ "y": 2515.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "aecc45b1.07799",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4553.567321777344,\r
+ "y": 2659.4570922851562,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "d7d46b6.f157298",\r
+ "a76ccf28.3b019",\r
+ "6d38c2ba.e73f94"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7d46b6.f157298",\r
+ "type": "set",\r
+ "name": "set destination ttp-id",\r
+ "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 4768.567321777344,\r
+ "y": 2621.4570922851562,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a76ccf28.3b019",\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-secondary.ttp-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4765.567321777344,\r
+ "y": 2660.4570922851562,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "af66a72d.a68048"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6d38c2ba.e73f94",\r
+ "type": "break",\r
+ "name": "break",\r
+ "xml": "<break>\n",\r
+ "comments": "",\r
+ "x": 4721.067321777344,\r
+ "y": 2702.4570922851562,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "56aae750.4bf18",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4814.450164794922,\r
+ "y": 2338.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "df2c6ab5.f8c7a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "807e8aa5.b5f288",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4416.450164794922,\r
+ "y": 2334.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "83815f42.db62e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "83815f42.db62e8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4611.450164794922,\r
+ "y": 2334.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "56aae750.4bf18",\r
+ "ace3955f.b78118"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ace3955f.b78118",\r
+ "type": "outcome",\r
+ "name": "network-resource",\r
+ "xml": "<outcome value='network-resource'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4816.450164794922,\r
+ "y": 2411.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "86fe5017.1c8158"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "af66a72d.a68048",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4946.067321777344,\r
+ "y": 2659.4570922851562,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "73b98dcb.d53e2c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "73b98dcb.d53e2c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 5104.067321777344,\r
+ "y": 2659.4570922851562,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "35f64a50.ea71a6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "35f64a50.ea71a6",\r
+ "type": "set",\r
+ "name": "set destination tunnel tp ip",\r
+ "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 5311.067321777344,\r
+ "y": 2659.4570922851562,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df2c6ab5.f8c7a",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4991.450164794922,\r
+ "y": 2330.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "b41095a1.9dd71",\r
+ "c294b821.4082d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c294b821.4082d",\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.domainC.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5199.450164794922,\r
+ "y": 2337.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "cbd53666.7a192",\r
+ "70f8105c.8c53c8",\r
+ "d07f4c5c.e57d28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "86fe5017.1c8158",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4993.450164794922,\r
+ "y": 2403.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "29792fa0.312a5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b41095a1.9dd71",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainC id",\r
+ "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5229.450164794922,\r
+ "y": 2285.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "29792fa0.312a5",\r
+ "type": "set",\r
+ "name": "set domainC ethernet layer network-id",\r
+ "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 5228.450164794922,\r
+ "y": 2527.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cbd53666.7a192",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5409.450164794922,\r
+ "y": 2328.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "12fe1a85.5f5265"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "70f8105c.8c53c8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5401.450164794922,\r
+ "y": 2383.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "720591da.7ff908"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d07f4c5c.e57d28",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5406.450164794922,\r
+ "y": 2440.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "50fd00db.804e78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "50fd00db.804e78",\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": 5558.450164794922,\r
+ "y": 2441.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "720591da.7ff908",\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": 5569.450164794922,\r
+ "y": 2386.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "12fe1a85.5f5265",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5553.832489013672,\r
+ "y": 2325.7724609375,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "d4fbd78f.a8b058"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d4fbd78f.a8b058",\r
+ "type": "set",\r
+ "name": "set controller domainC data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+ "comments": "",\r
+ "x": 5768.450164794922,\r
+ "y": 2322.1167907714844,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3ab03c8.bdf8544",\r
+ "type": "switchNode",\r
+ "name": "switch secondary empty?",\r
+ "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3282.116668701172,\r
+ "y": 795.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "7806cbe6.64ea14",\r
+ "91bd4861.b38048"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7806cbe6.64ea14",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3404.11669921875,\r
+ "y": 740.11669921875,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "4d1b7d4.397bf04"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "91bd4861.b38048",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3391.11669921875,\r
+ "y": 849.11669921875,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "a8d8fc87.45b9a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4d1b7d4.397bf04",\r
+ "type": "set",\r
+ "name": "set hasSecondary false",\r
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3619.116668701172,\r
+ "y": 577.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a8d8fc87.45b9a",\r
+ "type": "set",\r
+ "name": "set hasSecondary true",\r
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 3615.116668701172,\r
+ "y": 621.1166687011719,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "87dcb71b.a618f",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3812.11669921875,\r
+ "y": 3521.11669921875,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "9a1c6f33.80c0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9a1c6f33.80c0c",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4003.11669921875,\r
+ "y": 3525.11669921875,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "8de09ee3.1f82b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8de09ee3.1f82b8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4130.11669921875,\r
+ "y": 3524.11669921875,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "cc59ae49.952b8",\r
+ "3b72359b.f45e6a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b72359b.f45e6a",\r
+ "type": "save",\r
+ "name": "save SECONDARY-ROOT UNI in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4352.11669921875,\r
+ "y": 3413.11669921875,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d566dc7.835f6a",\r
+ "type": "set",\r
+ "name": "unset secondary related variables",\r
+ "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
+ "comments": "",\r
+ "x": 3357,\r
+ "y": 453,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cc59ae49.952b8",\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": 4348,\r
+ "y": 3472,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "e0cf290a.3bb57",\r
+ "91bee9e5.bd12c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0cf290a.3bb57",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4558,\r
+ "y": 3449,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "2e6c4f7b.89f37"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e6c4f7b.89f37",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4684,\r
+ "y": 3449,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "e80cf077.13626"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "eb956f81.674a8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4689,\r
+ "y": 3498,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "538ba095.13ecb8",\r
+ "a894e133.03a62",\r
+ "bbac82b0.611ad8",\r
+ "5d08bff9.d57b18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "91bee9e5.bd12c8",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4563,\r
+ "y": 3498,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "eb956f81.674a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e80cf077.13626",\r
+ "type": "save",\r
+ "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5012,\r
+ "y": 3446,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "538ba095.13ecb8",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domainC",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4965,\r
+ "y": 3537,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a894e133.03a62",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!-- key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\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<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4913,\r
+ "y": 3579,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "bbac82b0.611ad8",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5042,\r
+ "y": 3621,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7be6dab9.621efc",\r
+ "type": "comment",\r
+ "name": "Create SECONDARY-ROOT connectivity",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4928,\r
+ "y": 3494,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5d08bff9.d57b18",\r
+ "type": "save",\r
+ "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5020,\r
+ "y": 3669,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "748bc1ca.c78678",\r
+ "type": "comment",\r
+ "name": "Create SECONDARY-ROOT UNI",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3840,\r
+ "y": 3472,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "286f0ec8.852352",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3815,\r
+ "y": 4143,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "d7543b1f.0223a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7543b1f.0223a",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4007,\r
+ "y": 4138,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "8aacb5a.7bd82c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8aacb5a.7bd82c8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4136,\r
+ "y": 4138,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "9ecf386c.da77f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9ecf386c.da77f",\r
+ "type": "save",\r
+ "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
+ "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=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4468,\r
+ "y": 4136,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2bbca6cc.0ec622",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3803,\r
+ "y": 4367,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "85f62fba.be3af8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "85f62fba.be3af8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3983,\r
+ "y": 4366,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "f0b10235.e7e788"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f0b10235.e7e788",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4112,\r
+ "y": 4366,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "ccf3ecf0.96a2b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ccf3ecf0.96a2b",\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": 4329.88330078125,\r
+ "y": 4364.88330078125,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "cabe89a7.9d69e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cabe89a7.9d69e",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4544.88330078125,\r
+ "y": 4364.88330078125,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "760290ae.a21e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "760290ae.a21e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4676.88330078125,\r
+ "y": 4364.88330078125,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "d0b7affb.c1db2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d0b7affb.c1db2",\r
+ "type": "save",\r
+ "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
+ "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/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5041,\r
+ "y": 4364,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c32fbe2a.4ce3f",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3478,\r
+ "y": 4622,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "f2b98ff2.538df8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f2b98ff2.538df8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3658,\r
+ "y": 4621,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "44866831.1c971"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "44866831.1c971",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3787,\r
+ "y": 4621,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "531a8e91.6c36e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6aa2083f.c88dc",\r
+ "type": "comment",\r
+ "name": "Update SECONDARY-ROOT UNI's bw",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3523,\r
+ "y": 4680,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5db121cf.f62b2",\r
+ "type": "save",\r
+ "name": "update S-ROOT UNI in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4089,\r
+ "y": 4779,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "531a8e91.6c36e8",\r
+ "type": "save",\r
+ "name": "get S-root uni from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3553,\r
+ "y": 4713,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "5ffa37b0.a29d98",\r
+ "2e65d2b6.ac2056",\r
+ "b5462b77.92e368"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e65d2b6.ac2056",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3734.490966796875,\r
+ "y": 4690.57421875,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "5fe821cf.842878"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b5462b77.92e368",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3723,\r
+ "y": 4730,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "6ea658d1.17df7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5fe821cf.842878",\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": 3894.0625,\r
+ "y": 4688.85986328125,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6ea658d1.17df7",\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": 3884,\r
+ "y": 4731,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4792a0c5.aeb76",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 3886,\r
+ "y": 4775,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "78930237.780be4",\r
+ "5db121cf.f62b2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5ffa37b0.a29d98",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3728,\r
+ "y": 4767,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "4792a0c5.aeb76"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "78930237.780be4",\r
+ "type": "set",\r
+ "name": "set new bw",\r
+ "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+ "comments": "",\r
+ "x": 4047,\r
+ "y": 4707,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "74408c25.ef5164",\r
+ "type": "comment",\r
+ "name": "populate connectivity-C variable in the context map",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4413,\r
+ "y": 5275,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d1a4e2c9.15ac9",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4568,\r
+ "y": 5316,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "748b1299.fd2144",\r
+ "type": "set",\r
+ "name": "set prop.connectivity-domainC-uuid",\r
+ "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 5011,\r
+ "y": 5364,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "24040f90.d6a4",\r
+ "type": "switchNode",\r
+ "name": "switch found-secondary-root-connectivity",\r
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4384,\r
+ "y": 5374,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "f8d36d32.9ac71",\r
+ "9cd0c03a.a311a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f8d36d32.9ac71",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4620,\r
+ "y": 5358,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "d753b8f.12e03c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d753b8f.12e03c8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4764,\r
+ "y": 5360,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "748b1299.fd2144",\r
+ "9643625b.90e238",\r
+ "c3f4caa.3b73cb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9cd0c03a.a311a",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4619,\r
+ "y": 5406,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "9643625b.90e238",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "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/' + $tmp.aai.SECONDARY-ROOT.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.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5132,\r
+ "y": 5411,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c3f4caa.3b73cb8",\r
+ "type": "save",\r
+ "name": "update connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5013.6669921875,\r
+ "y": 5496.08349609375,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "433011d7.349ae8",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5014.8837890625,\r
+ "y": 5454.88330078125,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e2691c6e.49966",\r
+ "type": "set",\r
+ "name": "set prop.connectivity-domainC-uuid",\r
+ "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 5546,\r
+ "y": 5843,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7492e58a.da53dc",\r
+ "type": "switchNode",\r
+ "name": "switch found-secondary-root-connectivity",\r
+ "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4919,\r
+ "y": 5853,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "7d7daf2e.06b168",\r
+ "1dddd00a.b82ef8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7d7daf2e.06b168",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5152,\r
+ "y": 5847,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "51e74c47.c309bc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "51e74c47.c309bc",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5299,\r
+ "y": 5855,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "e2691c6e.49966",\r
+ "f2071b27.722968",\r
+ "ce8449a1.6c0af8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1dddd00a.b82ef8",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5153,\r
+ "y": 5897,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f2071b27.722968",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "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/' + $tmp.aai.SECONDARY-ROOT.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.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\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
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5667,\r
+ "y": 5890,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce8449a1.6c0af8",\r
+ "type": "save",\r
+ "name": "update connectivity resource in AAI",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5548.6669921875,\r
+ "y": 5975.08349609375,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6cf05b70.9ecfd4",\r
+ "type": "comment",\r
+ "name": "Update connectivity status to modified",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 5549.8837890625,\r
+ "y": 5933.88330078125,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b08c7802.5d204",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5080,\r
+ "y": 5803,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e97fbec2.db6de",\r
+ "type": "comment",\r
+ "name": "populate connectivity-C variable in the context map",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 4914,\r
+ "y": 5764,\r
+ "z": "f8944603.71553",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "651a17c0.63b678",\r
+ "type": "switchNode",\r
+ "name": "switch $hasSecondary",\r
+ "xml": "<switch test='`$hasSecondary`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3241.25,\r
+ "y": 6373.25,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "74077cd7.2a1a94",\r
+ "f3174188.6084b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "74077cd7.2a1a94",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3432.25,\r
+ "y": 6377.25,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "f2351c78.3536d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f2351c78.3536d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3559.25,\r
+ "y": 6376.25,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "9d7f2116.baeda"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f3174188.6084b",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3428.25,\r
+ "y": 6447.25,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "84ee4e22.34786"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bf4fd4bd.d3efb",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3977.75,\r
+ "y": 6446.33349609375,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "84ee4e22.34786",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3561.75,\r
+ "y": 6449.33349609375,\r
+ "z": "f8944603.71553",\r
+ "wires": [\r
+ [\r
+ "bf4fd4bd.d3efb"\r
+ ]\r
+ ]\r