+ },
+ {
+ "id": "c20d9d61.613f4",
+ "type": "block",
+ "name": "block setLocalNetworks",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2594.03125,
+ "y": 326.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "e8def7b2.2fbf88",
+ "8e1e86c2.e5c6e8"
+ ]
+ ]
+ },
+ {
+ "id": "e8def7b2.2fbf88",
+ "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": 2797.03125,
+ "y": 261.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "8e1e86c2.e5c6e8",
+ "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": 2826.03125,
+ "y": 313.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "79bfda71.3cba44",
+ "385c2789.bb9748"
+ ]
+ ]
+ },
+ {
+ "id": "79bfda71.3cba44",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3023.03125,
+ "y": 248.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "4e5e1e98.3ee33"
+ ]
+ ]
+ },
+ {
+ "id": "385c2789.bb9748",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3024.03125,
+ "y": 314.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "31b680e7.4204f"
+ ]
+ ]
+ },
+ {
+ "id": "31b680e7.4204f",
+ "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": 3205.03125,
+ "y": 312.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4e5e1e98.3ee33",
+ "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": 3225.5314140319824,
+ "y": 247.5312900543213,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "92921b5e.2aea28"
+ ]
+ ]
+ },
+ {
+ "id": "92921b5e.2aea28",
+ "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=\"l3-network.network-name = $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": 3498.03125,
+ "y": 246.03125,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "7f44a5cd.ed61ec",
+ "94e571af.d5d5a",
+ "396567f.b05f898"
+ ]
+ ]
+ },
+ {
+ "id": "396567f.b05f898",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3715.8003692626953,
+ "y": 286.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "4b36101d.3eb74"
+ ]
+ ]
+ },
+ {
+ "id": "94e571af.d5d5a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3723.8003692626953,
+ "y": 244.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "4dd39096.a8b53"
+ ]
+ ]
+ },
+ {
+ "id": "7f44a5cd.ed61ec",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3716.8003692626953,
+ "y": 206.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "f52617f1.8bd0b8"
+ ]
+ ]
+ },
+ {
+ "id": "f52617f1.8bd0b8",
+ "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": 3891.3003005981445,
+ "y": 203.2234649658203,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4dd39096.a8b53",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3880.8003692626953,
+ "y": 248.72348475456238,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "4b36101d.3eb74",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 3873.8003692626953,
+ "y": 295.7234847545624,
+ "z": "da02cf5f.ae6f3",
+ "wires": []
+ },
+ {
+ "id": "a95dc9c7.507158",
+ "type": "execute",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1579,
+ "y": 1297,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c2a13ea.e2fe74",
+ "type": "switchNode",
+ "name": "switch vendor",
+ "xml": "<switch test=\"`$prop.sdncRestApi.thirdpartySdnc.vendor`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1585,
+ "y": 1436,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "5a0c70a7.9c1048"
+ ]
+ ]
+ },
+ {
+ "id": "5a0c70a7.9c1048",
+ "type": "outcomeTrue",
+ "name": "SPTN",
+ "xml": "<outcome value='SPTN'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1739,
+ "y": 1438,
+ "z": "da02cf5f.ae6f3",
+ "wires": [
+ [
+ "720459ea.25c288"
+ ]
+ ]