+ },\r
+ {\r
+ "id": "b3287819.8ca7c",\r
+ "type": "other",\r
+ "name": "TAPI",\r
+ "xml": "<outcome value='TAPI'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1107,\r
+ "y": 435,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "a1b223fc.4bfc8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a1b223fc.4bfc8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1270,\r
+ "y": 434,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "2ba90d0d.a5469a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2ba90d0d.a5469a",\r
+ "type": "execute",\r
+ "name": "execute",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/> \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=\"topologies\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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": 1431,\r
+ "y": 433,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "e4e0c00a.96655",\r
+ "8857c3bd.cbf58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8857c3bd.cbf58",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1573,\r
+ "y": 509,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "5009a48f.6c9144"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e4e0c00a.96655",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1607,\r
+ "y": 430,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "3d3fabb0.3b7c64"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3d3fabb0.3b7c64",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",\r
+ "comments": "",\r
+ "x": 1777,\r
+ "y": 429,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5009a48f.6c9144",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1734,\r
+ "y": 508,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "7bccde97.6587f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7bccde97.6587f8",\r
+ "type": "for",\r
+ "name": "for each topology",\r
+ "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1913,\r
+ "y": 508,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "b488f25e.063e58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b488f25e.063e58",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2080,\r
+ "y": 509,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "5387bb7e.ccfa04",\r
+ "58ce3e1c.538878"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5387bb7e.ccfa04",\r
+ "type": "set",\r
+ "name": "set topology",\r
+ "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",\r
+ "comments": "",\r
+ "x": 2239,\r
+ "y": 510,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "58ce3e1c.538878",\r
+ "type": "call",\r
+ "name": "call tapi-update-network-to-aai",\r
+ "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2230,\r
+ "y": 576,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4433c168.8e0cb",\r
+ "type": "outcome",\r
+ "name": "MSA",\r
+ "xml": "<outcome value='MSA'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1077.677324295044,\r
+ "y": 591.8993349075317,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "e65be9ee.c7b3b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e65be9ee.c7b3b",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1239.6773872375488,\r
+ "y": 589.899335861206,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "35fd633c.bf4964"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "35fd633c.bf4964",\r
+ "type": "execute",\r
+ "name": "execute",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/> \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=\"networks\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.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
+ "outputs": 1,\r
+ "x": 1416.6771354675293,\r
+ "y": 581.8992919921875,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "7a243e03.e07788",\r
+ "31b0685e.813ca8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a243e03.e07788",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1569.6771354675293,\r
+ "y": 578.8992919921875,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "a65ca6e4.09ef28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a65ca6e4.09ef28",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",\r
+ "comments": "",\r
+ "x": 1744.6771354675293,\r
+ "y": 577.8992919921875,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "31b0685e.813ca8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1575.6771354675293,\r
+ "y": 651.8992919921875,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "777a7a58.789fc4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "777a7a58.789fc4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1759.6771354675293,\r
+ "y": 653.8992919921875,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "7575649a.153f4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7575649a.153f4c",\r
+ "type": "call",\r
+ "name": "call msa-update-network-to-aai",\r
+ "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2038.677001953125,\r
+ "y": 651.8992919921875,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "3075f0c3.b7397",\r
+ "type": "switchNode",\r
+ "name": "switch network_length",\r
+ "xml": "<switch test='`$topology.networks.network_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2630,\r
+ "y": 320,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "8524dca2.aeded8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8524dca2.aeded8",\r
+ "type": "outcome",\r
+ "name": "2 Topologies (1 Domain)",\r
+ "xml": "<outcome value='2'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2904,\r
+ "y": 320,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "b33095ec.9e9e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b33095ec.9e9e",\r
+ "type": "switchNode",\r
+ "name": "switch network-types[0]",\r
+ "xml": "<switch test='`$topology.networks.network[0].network-types`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3272,\r
+ "y": 305,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "d9671ae7.1f2ac",\r
+ "8d2f7cad.ac7078"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d9671ae7.1f2ac",\r
+ "type": "outcome",\r
+ "name": "ethernet-topology",\r
+ "xml": "<outcome value='ethernet-topology'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3488,\r
+ "y": 305,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "9105249.2609cd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9105249.2609cd8",\r
+ "type": "switchNode",\r
+ "name": "switch network-types[1]",\r
+ "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3713,\r
+ "y": 305,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "9ce7c86d.2eb2d8",\r
+ "36497843.e3494"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9ce7c86d.2eb2d8",\r
+ "type": "outcome",\r
+ "name": "otn-topology",\r
+ "xml": "<outcome value='otn-topology'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3949,\r
+ "y": 258,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "637acfae.0f124"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f3d25251.c6e91",\r
+ "type": "call",\r
+ "name": "call update-tp-ttp-relationship",\r
+ "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4365,\r
+ "y": 246,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "741e41f5.1da6",\r
+ "type": "set",\r
+ "name": "set networks",\r
+ "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[0].`' />\n<parameter name='network-otn.' value='`$topology.networks.network[1].`' />\n",\r
+ "comments": "",\r
+ "x": 4321,\r
+ "y": 155,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8d2f7cad.ac7078",\r
+ "type": "outcome",\r
+ "name": "otn-topology",\r
+ "xml": "<outcome value='otn-topology'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3493,\r
+ "y": 362,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "a8d319cf.4bc79"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "637acfae.0f124",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4131,\r
+ "y": 232,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "741e41f5.1da6",\r
+ "f3d25251.c6e91"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a8d319cf.4bc79",\r
+ "type": "switchNode",\r
+ "name": "switch network-types[1]",\r
+ "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3712,\r
+ "y": 364,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "5531c9a0.612ad8",\r
+ "182315db.ba9502"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "36497843.e3494",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3943,\r
+ "y": 317,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "695f6a27.1421dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "695f6a27.1421dc",\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": 4145,\r
+ "y": 315,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5531c9a0.612ad8",\r
+ "type": "outcome",\r
+ "name": "ethernet-topology",\r
+ "xml": "<outcome value='ethernet-topology'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3935,\r
+ "y": 378,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "842f72e1.b17048"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3a98f05a.e5da8",\r
+ "type": "set",\r
+ "name": "set networks",\r
+ "xml": "<set>\n<parameter name='network.eth' value='`$topology.networks.network[1].`' />\n<parameter name='network.otn' value='`$topology.networks.network[0].`' />\n",\r
+ "comments": "",\r
+ "x": 4351,\r
+ "y": 359,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "182315db.ba9502",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3894,\r
+ "y": 439,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "ac618cc1.491d7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ac618cc1.491d7",\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": 4063,\r
+ "y": 446,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "842f72e1.b17048",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4113,\r
+ "y": 374,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "3a98f05a.e5da8",\r
+ "225dfddc.2a0cba"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5530fe3e.d46a6",\r
+ "type": "get-resource",\r
+ "name": "get-resource network-resources",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resources\" \n pfx='tmp.aai.network-resources' local-only='false' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2617,\r
+ "y": 510,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "d9e48832.552bd8",\r
+ "59795789.351ce",\r
+ "61ad07cf.dca3e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d9e48832.552bd8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2870,\r
+ "y": 428,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "aa408c9d.56c38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "59795789.351ce",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2873.490966796875,\r
+ "y": 475.57403564453125,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "c28a983a.0204"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "61ad07cf.dca3e8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2861.823974609375,\r
+ "y": 519.9073486328125,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "781b901c.45ff08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "225dfddc.2a0cba",\r
+ "type": "call",\r
+ "name": "call update-tp-ttp-relationship",\r
+ "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4386,\r
+ "y": 425,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "11abef7e.ad2629",\r
+ "type": "call",\r
+ "name": "call update-open-ended-links",\r
+ "xml": "<call module='DataChange' rpc='update-open-ended-links' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3658,\r
+ "y": 683,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "aa408c9d.56c38",\r
+ "type": "switchNode",\r
+ "name": "switch network-resources_length",\r
+ "xml": "<switch test='tmp.aai.network-resources_length'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3085,\r
+ "y": 426,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "13de82c2.31f6ad"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "13de82c2.31f6ad",\r
+ "type": "outcome",\r
+ "name": "4 Topologies (2 Domains)",\r
+ "xml": "<outcome value='4'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3362,\r
+ "y": 425,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "e4acb7eb.00534"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c28a983a.0204",\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": 3046,\r
+ "y": 476,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "781b901c.45ff08",\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": 3035,\r
+ "y": 522,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3daf0b35.8056dc",\r
+ "type": "for",\r
+ "name": "for each network-resource",\r
+ "xml": "<for index='nridx' start='0' end='`$tmp.aai.network-resources.network-resource_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3677,\r
+ "y": 476,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "a478abea.aef858"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a478abea.aef858",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3836,\r
+ "y": 575,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "672de2b7.6fadec",\r
+ "b7971e38.4fdc88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "672de2b7.6fadec",\r
+ "type": "switchNode",\r
+ "name": "switch network-types[nridx]",\r
+ "xml": "<switch test='`$tmp.aai.network-resources.network-resource[$nridx].network-type`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4043,\r
+ "y": 568,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "8b03cc56.be0278"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b03cc56.be0278",\r
+ "type": "outcome",\r
+ "name": "otn-topology",\r
+ "xml": "<outcome value='otn-topology'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4256,\r
+ "y": 562,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "5b2aaa85.617b44"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7c2a6199.8c29b",\r
+ "type": "set",\r
+ "name": "set network-resource-otn[$otnidx]",\r
+ "xml": "<set>\n<parameter name='network-resource-otn[$otnidx].' value='`$tmp.aai.network-resources.network-resource[$nridx].`' />\n",\r
+ "comments": "",\r
+ "x": 4622,\r
+ "y": 555,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b7971e38.4fdc88",\r
+ "type": "set",\r
+ "name": "set otnidx",\r
+ "xml": "<set>\n<parameter name='otnidx' value='0' />\n",\r
+ "comments": "",\r
+ "x": 3988,\r
+ "y": 526,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ee5c6cf6.44a0c",\r
+ "type": "set",\r
+ "name": "set otnidx",\r
+ "xml": "<set>\n<parameter name='otnidx' value='`$otnidx + 1`' />\n",\r
+ "comments": "",\r
+ "x": 4539,\r
+ "y": 607,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5b2aaa85.617b44",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4402,\r
+ "y": 575,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "7c2a6199.8c29b",\r
+ "ee5c6cf6.44a0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e4acb7eb.00534",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3456,\r
+ "y": 499,\r
+ "z": "1b18cff5.bba51",\r
+ "wires": [\r
+ [\r
+ "3daf0b35.8056dc",\r
+ "11abef7e.ad2629"\r
+ ]\r
+ ]\r