+ "id": "eaaf8ee8.f9877",
+ "type": "comment",
+ "name": " NETWORK-TOPOLOGY-OPERATION ",
+ "info": "",
+ "comments": "",
+ "x": 489.89249420166016,
+ "y": 22.364089965820312,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "7da65c0d.1905f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 209.54766845703125,
+ "y": 238.22122955322266,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c46d40a7.05467",
+ "a800b823.efeff8",
+ "1b7cacb4.3eb843",
+ "c653bf24.72f6f"
+ ]
+ ]
+ },
+ {
+ "id": "c46d40a7.05467",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 413.63104248046875,
+ "y": 1264.3138828277588,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "a800b823.efeff8",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 436.26190185546875,
+ "y": 468.6349239349365,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "579ade78.9686f",
+ "90ee633e.22142",
+ "1c22494b.adce57",
+ "b2a49821.7d4d28",
+ "1b830aa8.7a2e35",
+ "e65a5795.2aa7e8",
+ "cddace48.d73d5",
+ "33ae8b87.cdb6f4",
+ "c9c439a4.644948",
+ "f1964d76.299a5"
+ ]
+ ]
+ },
+ {
+ "id": "579ade78.9686f",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.7381401062012,
+ "y": 240.9206027984619,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "154b49d6.8d5566"
+ ]
+ ]
+ },
+ {
+ "id": "154b49d6.8d5566",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 822.9763107299805,
+ "y": 238.92073154449463,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "41bdfec0.46d4c"
+ ]
+ ]
+ },
+ {
+ "id": "1b7cacb4.3eb843",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 546.5476264953613,
+ "y": 178.77775311470032,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90ee633e.22142",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653.547679901123,
+ "y": 330.7777404785156,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "b4a2c51c.9bf118"
+ ]
+ ]
+ },
+ {
+ "id": "660cc5db.d692ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1108.7859954833984,
+ "y": 415.77799224853516,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "861a03d4.b6c46",
+ "4d5d1a6.1ffe7e4"
+ ]
+ ]
+ },
+ {
+ "id": "df4a2853.72a188",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2300.607566833496,
+ "y": 919.38498878479,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c22494b.adce57",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 647.5476722717285,
+ "y": 562.777738571167,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3ba10e57.029e32"
+ ]
+ ]
+ },
+ {
+ "id": "9519eead.4ec21",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1084.7859725952148,
+ "y": 802.7780523300171,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "372adf7c.eb4d6",
+ "4d5d1a6.1ffe7e4"
+ ]
+ ]
+ },
+ {
+ "id": "372adf7c.eb4d6",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1628.774169921875,
+ "y": 1007.6350364685059,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2a49821.7d4d28",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 644.5476913452148,
+ "y": 814.7777881622314,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "6b94ffdc.ca5fd"
+ ]
+ ]
+ },
+ {
+ "id": "6b94ffdc.ca5fd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 825.7858505249023,
+ "y": 815.777910232544,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "ff44806e.c3ac7",
+ "4d5d1a6.1ffe7e4"
+ ]
+ ]
+ },
+ {
+ "id": "23dd09f6.b62806",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2296.3574295043945,
+ "y": 1112.884958267212,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b830aa8.7a2e35",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 589.5477180480957,
+ "y": 2568.777879714966,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "4fcc3aef.d47ee4"
+ ]
+ ]
+ },
+ {
+ "id": "4fcc3aef.d47ee4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"sdnc-request-header.svc-action is a required input\" />\n",
+ "comments": "",
+ "x": 771.5477142333984,
+ "y": 2567.777889251709,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "c653bf24.72f6f",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 432.6587371826172,
+ "y": 1223.4722213745117,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "2a7f7b48.96f564",
+ "type": "for",
+ "name": "for nidx..service-data.networks.network[]",
+ "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2165.2780952453613,
+ "y": 457.5396976470947,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "fc661165.b5a09"
+ ]
+ ]
+ },
+ {
+ "id": "153b5df3.1aa3b2",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1442.7422523498535,
+ "y": 425.8610897064209,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c17a83fc.bbfb5",
+ "8fc5b6b7.783f98"
+ ]
+ ]
+ },
+ {
+ "id": "c17a83fc.bbfb5",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1741.992130279541,
+ "y": 424.11108779907227,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5486cd52.37da04"
+ ]
+ ]
+ },
+ {
+ "id": "8fc5b6b7.783f98",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1695.9921607971191,
+ "y": 457.1111087799072,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a18e3ac0.fbf2a8"
+ ]
+ ]
+ },
+ {
+ "id": "fc661165.b5a09",
+ "type": "switchNode",
+ "name": "switch networkid found",
+ "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2455.706645965576,
+ "y": 456.78978157043457,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "bed52f1.91ac3d"
+ ]
+ ]
+ },
+ {
+ "id": "bed52f1.91ac3d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2644.6590003967285,
+ "y": 457.6825199127197,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "779dc900.b644d8"
+ ]
+ ]
+ },
+ {
+ "id": "779dc900.b644d8",
+ "type": "set",
+ "name": "set tmp.nidx and network-data",
+ "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
+ "comments": "",
+ "x": 2878.1907691955566,
+ "y": 456.43252754211426,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "6906d42b.83dd1c",
+ "type": "comment",
+ "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+ "info": "",
+ "comments": "",
+ "x": 1593.1035461425781,
+ "y": 391.11110973358154,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "95465718.254478",
+ "type": "comment",
+ "name": "service-data will not be stored until we have a network-id",
+ "info": "",
+ "comments": "",
+ "x": 1161.2144317626953,
+ "y": 20,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "5486cd52.37da04",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 1933.769687652588,
+ "y": 422.0000858306885,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "a18e3ac0.fbf2a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1863.2621269226074,
+ "y": 456.6656856536865,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2a7f7b48.96f564",
+ "6c047532.adeb9c"
+ ]
+ ]
+ },
+ {
+ "id": "6c047532.adeb9c",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2092.3296394348145,
+ "y": 507.0228967666626,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c8b50e00.37e21",
+ "2459b978.6eeb96"
+ ]
+ ]
+ },
+ {
+ "id": "a4b154d2.d24a98",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 2445.186622619629,
+ "y": 502.73713874816895,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "c8b50e00.37e21",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2263.7581748962402,
+ "y": 505.59428215026855,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a4b154d2.d24a98"
+ ]
+ ]
+ },
+ {
+ "id": "861a03d4.b6c46",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1513.575798034668,
+ "y": 919.336389541626,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "35d066f7.c8c83a",
+ "5db6e1dd.9c034"
+ ]
+ ]
+ },
+ {
+ "id": "35d066f7.c8c83a",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1878.5757776896153,
+ "y": 919.3363742828369,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "df4a2853.72a188"
+ ]
+ ]
+ },
+ {
+ "id": "5db6e1dd.9c034",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1828.5758247375488,
+ "y": 959.336404800415,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "95937dfc.560a6"
+ ]
+ ]
+ },
+ {
+ "id": "95937dfc.560a6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"`'Network is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 1998.5758247375488,
+ "y": 959.336404800415,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "ff44806e.c3ac7",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503.178810119629,
+ "y": 1114.4891605377197,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "6af81e00.f4b56",
+ "36399347.d4563c",
+ "63cca36.d07f25c"
+ ]
+ ]
+ },
+ {
+ "id": "6af81e00.f4b56",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1863.1787796020508,
+ "y": 1114.4891910552979,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "23dd09f6.b62806"
+ ]
+ ]
+ },
+ {
+ "id": "36399347.d4563c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1818.9287033081055,
+ "y": 1185.9892539978027,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2aee0aed.346576"
+ ]
+ ]
+ },
+ {
+ "id": "2aee0aed.346576",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"`'Network is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 2010.2621231079102,
+ "y": 1184.6558828353882,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "63cca36.d07f25c",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1866.4090042114258,
+ "y": 1152.3363590240479,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "23dd09f6.b62806"
+ ]
+ ]
+ },
+ {
+ "id": "e65a5795.2aa7e8",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 655.5477104187012,
+ "y": 465.77777099609375,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "651cd10b.8f5c7"
+ ]
+ ]
+ },
+ {
+ "id": "651cd10b.8f5c7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1027.797649383545,
+ "y": 462.7777624130249,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "33a32095.1d0ca"
+ ]
+ ]
+ },
+ {
+ "id": "7b6569f0.cbf838",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-assign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1796.5478324890137,
+ "y": 160.77776336669922,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41bdfec0.46d4c",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1092.5158882141113,
+ "y": 98.72915458679199,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "6d381eb0.53f11",
+ "209a7a19.1e7e26",
+ "e5e4f036.48102",
+ "9c6fbbbd.33ee08"
+ ]
+ ]
+ },
+ {
+ "id": "6d381eb0.53f11",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1478.5159339904785,
+ "y": 118.72913646697998,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "629dce5f.1c7a9"
+ ]
+ ]
+ },
+ {
+ "id": "209a7a19.1e7e26",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.5159301757812,
+ "y": 160.72916793823242,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "7b6569f0.cbf838"
+ ]
+ ]
+ },
+ {
+ "id": "629dce5f.1c7a9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"`'Network is not in appropriate state for assign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 1753.51615524292,
+ "y": 114.72918510437012,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "9c6fbbbd.33ee08",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.5476722717285,
+ "y": 83.77775192260742,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "629dce5f.1c7a9"
+ ]
+ ]
+ },
+ {
+ "id": "e5e4f036.48102",
+ "type": "outcome",
+ "name": "outcome Created",
+ "xml": "<outcome value='Created'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1456.5477104187012,
+ "y": 48.777753829956055,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "629dce5f.1c7a9"
+ ]
+ ]
+ },
+ {
+ "id": "33a32095.1d0ca",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-changeassign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-changeassign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.794044494629,
+ "y": 851.2738800048828,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d5d1a6.1ffe7e4",
+ "type": "switchNode",
+ "name": "switch network-information.network-instance-group-id",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1517.98628616333,
+ "y": 683.2787666320801,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "eb364fb8.96141",
+ "a1559a9d.cb90f8"
+ ]
+ ]
+ },
+ {
+ "id": "eb364fb8.96141",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1804.7361679077148,
+ "y": 721.4454336166382,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "ce978c0d.77ec9"
+ ]
+ ]
+ },
+ {
+ "id": "a1559a9d.cb90f8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1802.4030647277832,
+ "y": 688.4453077316284,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "49ad5a08.53a714"
+ ]
+ ]
+ },
+ {
+ "id": "49ad5a08.53a714",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1962.7362937927246,
+ "y": 685.4453649520874,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "12e43bf5.2639c4",
+ "type": "switchNode",
+ "name": "service-data.network-instance-groups.network-instance-group_length",
+ "xml": "<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2297.811908721924,
+ "y": 714.7111825942993,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2728faf9.9c4456",
+ "d59945c0.d5a2f8"
+ ]
+ ]
+ },
+ {
+ "id": "2728faf9.9c4456",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2657.0615997314453,
+ "y": 671.7111854553223,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "554c5dd5.7e8644"
+ ]
+ ]
+ },
+ {
+ "id": "d59945c0.d5a2f8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2637.0615997314453,
+ "y": 706.7111854553223,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "cadc09d7.9813e8"
+ ]
+ ]
+ },
+ {
+ "id": "ce978c0d.77ec9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1938.8474235534668,
+ "y": 721.889838218689,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "12e43bf5.2639c4"
+ ]
+ ]
+ },
+ {
+ "id": "72580ae5.e78014",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4061.0554161071777,
+ "y": 649.9217891693115,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5bc3963b.959598"
+ ]
+ ]
+ },
+ {
+ "id": "34e31311.24b3ec",
+ "type": "set",
+ "name": "set tmp.ngidx and ctx.network-instance-group-data",
+ "xml": "<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n",
+ "comments": "",
+ "x": 4503.587383270264,
+ "y": 649.6718139648438,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "5bc3963b.959598",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4209.673854827881,
+ "y": 649.778974533081,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "34e31311.24b3ec"
+ ]
+ ]
+ },
+ {
+ "id": "54948c78.13e924",
+ "type": "for",
+ "name": "for ngidx..service-data.network-instance-groups.network-instance-group[]",
+ "xml": "<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3243.9238204956055,
+ "y": 710.0287618637085,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "75f9e2f5.e8041c"
+ ]
+ ]
+ },
+ {
+ "id": "75f9e2f5.e8041c",
+ "type": "switchNode",
+ "name": "switch network-instance-group-id found",
+ "xml": "<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3689.3524169921875,
+ "y": 709.7789306640625,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "72580ae5.e78014"
+ ]
+ ]
+ },
+ {
+ "id": "cadc09d7.9813e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2855.907699584961,
+ "y": 707.9046869277954,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "54948c78.13e924"
+ ]
+ ]
+ },
+ {
+ "id": "554c5dd5.7e8644",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"network-topology-operation-input.network-request-input.network-instance-group-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 2848.6112518310547,
+ "y": 671.2787523269653,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "2459b978.6eeb96",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2263.2938270568848,
+ "y": 536.5238647460938,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "1ed328e0.6f16c7"
+ ]
+ ]
+ },
+ {
+ "id": "1ed328e0.6f16c7",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
+ "comments": "",
+ "x": 2420.2938270568848,
+ "y": 537.5238647460938,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "b4a2c51c.9bf118",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 844.6588249206543,
+ "y": 323.2326765060425,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "d150a8f6.70cf98",
+ "6fd60384.6df67c",
+ "bf7ed4ea.d9a8d8",
+ "861169d6.7df5d8"
+ ]
+ ]
+ },
+ {
+ "id": "d150a8f6.70cf98",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.9920501708984,
+ "y": 268.23250579833984,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "7f681a35.b52204"
+ ]
+ ]
+ },
+ {
+ "id": "7f681a35.b52204",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1655.9921264648438,
+ "y": 267.8993377685547,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fd60384.6df67c",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 977.9921684265137,
+ "y": 372.8992614746094,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "434dbd2e.fa1f54"
+ ]
+ ]
+ },
+ {
+ "id": "3ba10e57.029e32",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 849.2143745422363,
+ "y": 564.6770572662354,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a1c407eb.c47c08",
+ "91991218.67145",
+ "b71277b2.22fdf8",
+ "ebbb06dc.f2bfa8"
+ ]
+ ]
+ },
+ {
+ "id": "a1c407eb.c47c08",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.9922523498535,
+ "y": 508.8991947174072,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "78112491.20419c"
+ ]
+ ]
+ },
+ {
+ "id": "91991218.67145",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.4373397827148,
+ "y": 655.5908031463623,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "abc50963.ab6478"
+ ]
+ ]
+ },
+ {
+ "id": "78112491.20419c",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1630.3495178222656,
+ "y": 507.18256759643555,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cddace48.d73d5",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 645.8812637329102,
+ "y": 1678.0111122131348,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3df48f11.4089a"
+ ]
+ ]
+ },
+ {
+ "id": "3df48f11.4089a",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 882.1951904296875,
+ "y": 1679.788782119751,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5c4c45b6.3e8bec",
+ "e597f8fd.b63538",
+ "89c5bd67.beb3d",
+ "b245425a.5411b",
+ "6fa2e05d.13256"
+ ]
+ ]
+ },
+ {
+ "id": "33ae8b87.cdb6f4",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 616.8812217712402,
+ "y": 2161.0111112594604,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5367f2bb.287a1c"
+ ]
+ ]
+ },
+ {
+ "id": "5367f2bb.287a1c",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.1696014404297,
+ "y": 2164.071994781494,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3bf00019.dedb6",
+ "c6bf5c14.5523d",
+ "91ce26b2.4e44a8",
+ "aaa99683.0e1448",
+ "d0e5186c.eb1d88"
+ ]
+ ]
+ },
+ {
+ "id": "a8bc2791.422188",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2023.9927444458008,
+ "y": 1605.8997869491577,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "41977cb1.c3a6a4"
+ ]
+ ]
+ },
+ {
+ "id": "b1a9c895.331728",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1999.437068939209,
+ "y": 2117.4554653167725,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c716166e.8a9e68"
+ ]
+ ]
+ },
+ {
+ "id": "41977cb1.c3a6a4",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2448.6592559814453,
+ "y": 1605.3442859649658,
+ "z": "8219a869.858648",
+ "wires": [
+ []