Adding local-link-connectivity-list (llcl) information to match ttp and tp locally...
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sotn_nni / GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
index 658a04c..6005d81 100644 (file)
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
-                "2cd069f4.1bd85e",\r
-                "e85654b4.901fd",\r
-                "596112fe.dbc0a4"\r
+                "8a87ece8.73f728"\r
             ]\r
         ]\r
     },\r
         "id": "2cd069f4.1bd85e",\r
         "type": "set",\r
         "name": "set tmp.unis.uni[].tpId",\r
-        "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='tmp.tpId' value=\"`$tmp.aai.uni.tpId`\" />\n",\r
+        "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='tmp.tp-id' value=\"`$tmp.aai.uni.tp-id`\" />\n",\r
         "comments": "",\r
-        "x": 1843.117431640625,\r
-        "y": 598.3402709960938,\r
+        "x": 2557.117431640625,\r
+        "y": 641.3402709960938,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
     },\r
     {\r
         "id": "e85654b4.901fd",\r
         "type": "execute",\r
-        "name": "execute split tpId to get pnf-name",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`tmp.unis.uni[$vidx].tpId`'/>\n<parameter name=\"regex\" value=\"nodeId\"/>\n<parameter name=\"tmp.unis.uni[$vidx].pnf-name\" value=\"\"/>\n",\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.unis.uni[$vidx].tp-id`'/>-->\n<!--<parameter name=\"regex\" value=\"nodeId\"/>-->\n<!--<parameter name=\"tmp.unis.uni[$vidx].pnf-name\" value=\"\"/>-->\n\n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`tmp.aai.uni.tp-id`'/>\n<parameter name=\"regex\" value=\"nodeId\"/>\n<parameter name=\"tmp.aai.uni.pnf-name\" value=\"\"/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1882,\r
-        "y": 673,\r
+        "x": 2596,\r
+        "y": 716,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2105,\r
-        "y": 628,\r
+        "x": 2819,\r
+        "y": 671,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2107,\r
-        "y": 692,\r
+        "x": 2821,\r
+        "y": 735,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "name": "set ipAddress prefixLength",\r
         "xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",\r
         "comments": "",\r
-        "x": 2327,\r
-        "y": 630,\r
+        "x": 3041,\r
+        "y": 673,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
     },\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": 2266,\r
-        "y": 711,\r
+        "x": 2980,\r
+        "y": 754,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
     },\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"'pnf.pnf-name = $tmp.unis.uni[$vidx].pnf-name'\n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\t\tresource=\"generic-vnf\" -->\n<!--\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' -->\n<!--\t\tAND depth = '0'\"-->\n<!--        pfx='tmp.aai.generic-vnf' local-only='false' >-->",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1812,\r
-        "y": 810,\r
+        "x": 2526,\r
+        "y": 853,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2171.88232421875,\r
-        "y": 818.6556396484375,\r
+        "x": 2885.88232421875,\r
+        "y": 861.6556396484375,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "name": "set node-id",\r
         "xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].node-id`' value=\"`$tmp.aai.pnf.pnf-id`\" />\n",\r
         "comments": "",\r
-        "x": 2351,\r
-        "y": 772,\r
+        "x": 3065,\r
+        "y": 815,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
     },\r
         "xml": "<for silentFailure='true' index='ridx' start='0' end='`$tmp.aai.pnf.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2363.882568359375,\r
-        "y": 858.6597290039062,\r
+        "x": 3077.882568359375,\r
+        "y": 901.6597290039062,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2589.882568359375,\r
-        "y": 858.6597290039062,\r
+        "x": 3303.882568359375,\r
+        "y": 901.6597290039062,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='network-resource'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2788,\r
+        "x": 3513,\r
         "y": 971,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3001,\r
+        "x": 3726,\r
         "y": 972,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
         "name": "set network-id",\r
         "xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].network-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 3236,\r
+        "x": 3961,\r
         "y": 902,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"'network-resource.network-id = $tmp.unis.uni[$vidx].network-id'\n\t\tAND depth = '0'\"\n        pfx='tmp.aai.network-resource' local-only='false' >\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3244,\r
+        "x": 3969,\r
         "y": 983,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3476.5,\r
+        "x": 4201.5,\r
         "y": 979,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
         "name": "set network-id, topo-id, client-id, etc",\r
         "xml": "<set>\n<parameter name=\"`$tmp.unis.uni[$vidx].network-id`\" value=\"`$tmp.aai.network-resource.network-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].provider-id`\" value=\"`$tmp.aai.network-resource.provider-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].client-id`\" value=\"`$tmp.aai.network-resource.client-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].te-topo-id`\" value=\"`$tmp.aai.network-resource.te-topo-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].network-type`\" value=\"`$tmp.aai.network-resource.network-type`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 3745,\r
+        "x": 4470,\r
         "y": 978,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
         "xml": "<outcome value='thirdparty-controller'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2815,\r
+        "x": 3540,\r
         "y": 836,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3028,\r
+        "x": 3753,\r
         "y": 837,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
         "name": "set thirdparty-sdnc-id",\r
         "xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].thirdparty-sdnc-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
         "comments": "",\r
-        "x": 3255,\r
+        "x": 3980,\r
         "y": 836,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
         "name": "set oof.vpn",\r
         "xml": "<set>\n<parameter name='oof.vpn.' value='`$tmp.unis.uni[$vidx].`' />",\r
         "comments": "",\r
-        "x": 1092.0272216796875,\r
-        "y": 1027.040771484375,\r
+        "x": 1096.0272216796875,\r
+        "y": 946.040771484375,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
     },\r
         "id": "a9643f3f.4f04b",\r
         "type": "get-resource",\r
         "name": "get-resource 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 = $oof.vpn.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\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 = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1156.0272216796875,\r
         "wires": [\r
             [\r
                 "124c6957.e07dc7",\r
-                "3ce3b19a.7c10c6",\r
-                "d661efba.3fa238",\r
-                "ee991e0.ab6b36",\r
-                "f7756434.d014e"\r
+                "f7756434.d014e",\r
+                "a9643f3f.4f04b",\r
+                "ae925256.a68df",\r
+                "ee991e0.ab6b36"\r
             ]\r
         ]\r
     },\r
         "id": "678c3911.078e2",\r
         "type": "execute",\r
         "name": "execute RestconfApiCallNode Create ethernet Service with token",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1660.52734375,\r
         "id": "42cb8b06.e7daec",\r
         "type": "execute",\r
         "name": "execute RestconfApiCallNode Create ethernet Service without token",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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\"/>",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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\"/>",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1670.52734375,\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1995,\r
-        "y": 817,\r
+        "x": 2709,\r
+        "y": 860,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": [\r
             [\r
         "id": "672fc75a.1e91b",\r
         "type": "set",\r
         "name": "set tmp.unis.uni[].tpId",\r
-        "xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"\" />\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"\" />\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",\r
+        "xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"1234\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"5678\" />\n<parameter name='tmp.unis.uni[0].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"0.190.0.3\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"9123\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"4567\" />\n<parameter name='tmp.unis.uni[1].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",\r
         "comments": "",\r
         "x": 655,\r
         "y": 1015,\r
         "z": "9b26c8a0.a64c1",\r
         "wires": []\r
+    },\r
+    {\r
+        "id": "ae925256.a68df",\r
+        "type": "get-resource",\r
+        "name": "get network-resource",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $oof.vpn.network-id\"\n        pfx='tmp.aai.network-resource' local-only='false' >\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1128,\r
+        "y": 1024,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "23c084ce.22a7f4",\r
+                "d2d56dd3.d8df6",\r
+                "28e7be58.d60b6a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23c084ce.22a7f4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1323.5001220703125,\r
+        "y": 981,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "16ae77fe.3db2f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2d56dd3.d8df6",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1315.5001220703125,\r
+        "y": 1036,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "8f6658aa.e556f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "28e7be58.d60b6a",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1320.5001220703125,\r
+        "y": 1093,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "5bc0d431.a1baf4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5bc0d431.a1baf4",\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": 1472.5001220703125,\r
+        "y": 1094,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f6658aa.e556f8",\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": 1483.5001220703125,\r
+        "y": 1039,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16ae77fe.3db2f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1467.8824462890625,\r
+        "y": 978.6556701660156,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "1facb6e4.b004d9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1facb6e4.b004d9",\r
+        "type": "for",\r
+        "name": "for each relationship",\r
+        "xml": "<for index='ridx' start='0' end='`$tmp.aai.network-resource.relationship-list.relationship_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1682.8826904296875,\r
+        "y": 978.6597290039062,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "a5fdb89.17d6dc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5fdb89.17d6dc8",\r
+        "type": "switchNode",\r
+        "name": "switch related-to",\r
+        "xml": "<switch test='`$tmp.aai.network-resource.relationship-list.relationship[$ridx].related-to`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1908.8826904296875,\r
+        "y": 978.6597290039062,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "d4a46397.2bb99"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4a46397.2bb99",\r
+        "type": "outcome",\r
+        "name": "esr-thirdparty-sdnc",\r
+        "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2115.0001220703125,\r
+        "y": 977,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "d4ec153c.0cdc78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4ec153c.0cdc78",\r
+        "type": "set",\r
+        "name": "set prop.sdncRestApi.thirdpartySdnc.id",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value=\"`$tmp.aai.network-resource.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 2133,\r
+        "y": 1056,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8a87ece8.73f728",\r
+        "type": "get-resource",\r
+        "name": "get-resource uni",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"uni\" \n\t\tkey=\"uni.id = $tmp.aai.generic-vnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value\"\n        pfx='tmp.aai.uni' local-only='false' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1802,\r
+        "y": 689,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "af655688.304b78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af655688.304b78",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1974,\r
+        "y": 689,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "91d7b892.85ea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc6860a4.74042",\r
+        "type": "set",\r
+        "name": "set tmp.unis.uni[]",\r
+        "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='`tmp.unis.uni[$vidx].`' value=\"`$tmp.aai.uni.`\" />\n",\r
+        "comments": "",\r
+        "x": 2299,\r
+        "y": 645,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "91d7b892.85ea",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2115,\r
+        "y": 691,\r
+        "z": "9b26c8a0.a64c1",\r
+        "wires": [\r
+            [\r
+                "bc6860a4.74042",\r
+                "e85654b4.901fd",\r
+                "596112fe.dbc0a4"\r
+            ]\r
+        ]\r
     }\r
 ]
\ No newline at end of file