+ },
+ {
+ "id": "6eecda19.439af4",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2602,
+ "y": 356,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "bdc08c35.1283",
+ "394dfa49.7d183e"
+ ]
+ ]
+ },
+ {
+ "id": "bdc08c35.1283",
+ "type": "set",
+ "name": "set local_networks",
+ "xml": "<set>\n<parameter name='tmp.dci-connects.local_networks.original' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2805,
+ "y": 291,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "394dfa49.7d183e",
+ "type": "execute",
+ "name": "split local_networks",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.dci-connects.local_networks.original`'/>\n<parameter name=\"regex\" value=',' />\n<parameter name=\"ctx_memory_result_key\" value=\"tmp.dci-connects.local_networks\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2834,
+ "y": 343,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "60eb5396.78be9c",
+ "4332c294.3fe73c"
+ ]
+ ]
+ },
+ {
+ "id": "60eb5396.78be9c",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3031,
+ "y": 278,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "1db92507.15d47b"
+ ]
+ ]
+ },
+ {
+ "id": "4332c294.3fe73c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3032,
+ "y": 344,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "8c77dee5.f45208"
+ ]
+ ]
+ },
+ {
+ "id": "8c77dee5.f45208",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
+ "comments": "",
+ "x": 3213,
+ "y": 342,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "1db92507.15d47b",
+ "type": "for",
+ "name": "for each local_networks",
+ "xml": "<for index='idx' start='0' end='`$tmp.dci-connects.local_networks_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3233.5001640319824,
+ "y": 277.5000400543213,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "5d5e8ee8.e594e8"
+ ]
+ ]
+ },
+ {
+ "id": "5d5e8ee8.e594e8",
+ "type": "get-resource",
+ "name": "get-resource l3-network",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"l3-network\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.dci-connects.local_networks[$idx] AND \n\t\t depth = '0'\"\n pfx='tmp.aai.l3-network' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3506,
+ "y": 276,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "9eecd85b.9e0378",
+ "f0b90daa.70ba48",
+ "c26d74dd.826c88"
+ ]
+ ]
+ },
+ {
+ "id": "c26d74dd.826c88",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3723.7691192626953,
+ "y": 316.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "19ff7603.327b32"
+ ]
+ ]
+ },
+ {
+ "id": "f0b90daa.70ba48",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3731.7691192626953,
+ "y": 274.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "283dc5a8.944bea"
+ ]
+ ]
+ },
+ {
+ "id": "9eecd85b.9e0378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3724.7691192626953,
+ "y": 236.69223475456238,
+ "z": "e441b8db.02f6b8",
+ "wires": [
+ [
+ "974d7763.cd52a8"
+ ]
+ ]
+ },
+ {
+ "id": "974d7763.cd52a8",
+ "type": "set",
+ "name": "set network-id",
+ "xml": "<set>\n<parameter name='prop.dci-connects.local_networks[$idx]' value=\"`$tmp.aai.l3-network.network-id`\" />\n",
+ "comments": "",
+ "x": 3899.2690505981445,
+ "y": 233.1922149658203,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "283dc5a8.944bea",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3888.7691192626953,
+ "y": 278.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": []
+ },
+ {
+ "id": "19ff7603.327b32",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3881.7691192626953,
+ "y": 325.6922347545624,
+ "z": "e441b8db.02f6b8",
+ "wires": []