Connecting SOTN sub DGs to network DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation.json
index e0baa7a..4e2c7d5 100644 (file)
 [
-    {
-        "id": "41c5caea.9adc34",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 95.54763793945312,
-        "y": 109.41365623474121,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "cc320d31.bccdf"
-            ]
-        ]
-    },
-    {
-        "id": "cc320d31.bccdf",
-        "type": "service-logic",
-        "name": "GENERIC-RESOURCE-API ${project.version}",
-        "module": "GENERIC-RESOURCE-API",
-        "version": "${project.version}",
-        "comments": "",
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
-        "outputs": 1,
-        "x": 177.5,
-        "y": 149.6517686843872,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "82b10f50.5d8e8"
-            ]
-        ]
-    },
-    {
-        "id": "82b10f50.5d8e8",
-        "type": "method",
-        "name": "network-topology-operation",
-        "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 173.97626495361328,
-        "y": 189.4136505126953,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "bf4f5344.1024c8"
-            ]
-        ]
-    },
-    {
-        "id": "17ece3ab.35321c",
-        "type": "comment",
-        "name": " NETWORK-TOPOLOGY-OPERATION ",
-        "info": "",
-        "comments": "",
-        "x": 489.89249420166016,
-        "y": 57,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "bf4f5344.1024c8",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 209.54766845703125,
-        "y": 272.85713958740234,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "d50c5a2a.c0cea",
-                "b762591f.2fb7a",
-                "f06b8960.155ea8",
-                "f1b5981d.bfa858"
-            ]
-        ]
-    },
-    {
-        "id": "d50c5a2a.c0cea",
-        "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": 439.6310272216797,
-        "y": 896.6997756958008,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "b762591f.2fb7a",
-        "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": 503.2708339691162,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "38a30397.7f9c64",
-                "5b59ca66.3fadec",
-                "7a4b792c.22588",
-                "b22e57ce.c6aee8",
-                "10c582cc.cfd665",
-                "de74faab.3a2ae",
-                "9bc3f97c.14bbf8"
-            ]
-        ]
-    },
-    {
-        "id": "38a30397.7f9c64",
-        "type": "other",
-        "name": "assign",
-        "xml": "<outcome value='assign'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 656.7380981445312,
-        "y": 365.5564842224121,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "7047d313.0a4e84"
-            ]
-        ]
-    },
-    {
-        "id": "7047d313.0a4e84",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 837.9762573242188,
-        "y": 366.5566062927246,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "fbc9882f.656ad8"
-            ]
-        ]
-    },
-    {
-        "id": "f06b8960.155ea8",
-        "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": 567.5476379394531,
-        "y": 273.4136562347412,
-        "z": "67a3081a.032478",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "fbc9882f.656ad8",
-        "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": 1209.547607421875,
-        "y": 363.4136619567871,
-        "z": "67a3081a.032478",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "5b59ca66.3fadec",
-        "type": "other",
-        "name": "activate",
-        "xml": "<outcome value='activate'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 658.5476379394531,
-        "y": 453.4136562347412,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "73ce8c08.c3845c"
-            ]
-        ]
-    },
-    {
-        "id": "73ce8c08.c3845c",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 842.7857971191406,
-        "y": 454.4137783050537,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "a003c0d6.5a0d8",
-                "61a363af.ee55bc"
-            ]
-        ]
-    },
-    {
-        "id": "ee7e53d1.6aac9",
-        "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": 1975.3572082519531,
-        "y": 616.2708282470703,
-        "z": "67a3081a.032478",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "7a4b792c.22588",
-        "type": "other",
-        "name": "deactivate",
-        "xml": "<outcome value='deactivate'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 647.5476379394531,
-        "y": 613.4136810302734,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "72ac187b.b86c38"
-            ]
-        ]
-    },
-    {
-        "id": "72ac187b.b86c38",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 828.7857971191406,
-        "y": 614.4138031005859,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "a003c0d6.5a0d8",
-                "831644e8.e13cc"
-            ]
-        ]
-    },
-    {
-        "id": "65e2e00c.98fae8",
-        "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": 1981.8571166992188,
-        "y": 732.0208282470703,
-        "z": "67a3081a.032478",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "b22e57ce.c6aee8",
-        "type": "other",
-        "name": "unassign",
-        "xml": "<outcome value='unassign'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 655.5476379394531,
-        "y": 678.4136810302734,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "4894d2ca.1278e4"
-            ]
-        ]
-    },
-    {
-        "id": "4894d2ca.1278e4",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 836.7857971191406,
-        "y": 679.4138031005859,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "a003c0d6.5a0d8",
-                "2108d22b.ae9926"
-            ]
-        ]
-    },
-    {
-        "id": "40a123a7.613904",
-        "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": 1988.6071166992188,
-        "y": 844.7708282470703,
-        "z": "67a3081a.032478",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "10c582cc.cfd665",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 646.5476417541504,
-        "y": 738.4136714935303,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "9b7e6225.5d79d"
-            ]
-        ]
-    },
-    {
-        "id": "9b7e6225.5d79d",
-        "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": 828.5476379394531,
-        "y": 737.4136810302734,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "f1b5981d.bfa858",
-        "type": "set",
-        "name": "Set final indicator to Y",
-        "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
-        "comments": "",
-        "x": 458.6587219238281,
-        "y": 855.8581142425537,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "e4027dbf.f06578",
-        "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": 1877.2779998779297,
-        "y": 510.1755828857422,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "ac917046.066bc"
-            ]
-        ]
-    },
-    {
-        "id": "a003c0d6.5a0d8",
-        "type": "switchNode",
-        "name": "switch service-data.networks.network_length",
-        "xml": "<switch test='`$service-data.networks.network_length`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1210.9920959472656,
-        "y": 474.74696350097656,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "9e3ec1fd.ad5b98",
-                "47eae2b1.438c54"
-            ]
-        ]
-    },
-    {
-        "id": "9e3ec1fd.ad5b98",
-        "type": "other",
-        "name": "outcome Null",
-        "xml": "<outcome value=''>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1453.9920349121094,
-        "y": 476.7469730377197,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "f460d6cb.ffd978"
-            ]
-        ]
-    },
-    {
-        "id": "47eae2b1.438c54",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1407.9920654296875,
-        "y": 509.7469940185547,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "e10cc477.9b0f2"
-            ]
-        ]
-    },
-    {
-        "id": "ac917046.066bc",
-        "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": 2167.7065505981445,
-        "y": 509.42566680908203,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "6f4b90eb.3d488"
-            ]
-        ]
-    },
-    {
-        "id": "6f4b90eb.3d488",
-        "type": "outcomeTrue",
-        "name": "true",
-        "xml": "<outcome value='true'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 2356.658905029297,
-        "y": 510.3184051513672,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "9e191d8a.ab6c4"
-            ]
-        ]
-    },
-    {
-        "id": "9e191d8a.ab6c4",
-        "type": "set",
-        "name": "set tmp.nidx and ctx.network-data",
-        "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
-        "comments": "",
-        "x": 2590.190673828125,
-        "y": 509.0684127807617,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "7b13cf65.3164b",
-        "type": "comment",
-        "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
-        "info": "",
-        "comments": "",
-        "x": 1334.1031799316406,
-        "y": 443.74698638916016,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "1ed6801d.d2f0c8",
-        "type": "comment",
-        "name": "service-data  will not be stored until we have a network-id",
-        "info": "",
-        "comments": "",
-        "x": 1177.2142333984375,
-        "y": 331.63589096069336,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "f460d6cb.ffd978",
-        "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": 1645.7695922851562,
-        "y": 474.63597106933594,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "e10cc477.9b0f2",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 1575.2620315551758,
-        "y": 509.301570892334,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "e4027dbf.f06578",
-                "8872fa92.c2a47"
-            ]
-        ]
-    },
-    {
-        "id": "8872fa92.c2a47",
-        "type": "switchNode",
-        "name": "switch tmp.nidx ",
-        "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1795.5794296264648,
-        "y": 552.1587896347046,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "90030fdf.45af7"
-            ]
-        ]
-    },
-    {
-        "id": "6b0a8e46.af7a78",
-        "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": 2148.4364128112793,
-        "y": 547.8730316162109,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "90030fdf.45af7",
-        "type": "outcome",
-        "name": "NULL",
-        "xml": "<outcome value=''>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1967.0079650878906,
-        "y": 550.7301750183105,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "6b0a8e46.af7a78"
-            ]
-        ]
-    },
-    {
-        "id": "61a363af.ee55bc",
-        "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": 1188.325439453125,
-        "y": 616.2222290039062,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "a0dc1668.8be6a8",
-                "e9825cb2.5deff"
-            ]
-        ]
-    },
-    {
-        "id": "a0dc1668.8be6a8",
-        "type": "outcome",
-        "name": "outcome PendingCreate",
-        "xml": "<outcome value='PendingCreate'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1553.3254191080723,
-        "y": 616.2222137451171,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "ee7e53d1.6aac9"
-            ]
-        ]
-    },
-    {
-        "id": "e9825cb2.5deff",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1503.3254661560059,
-        "y": 656.2222442626953,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "44229861.ecaaa8"
-            ]
-        ]
-    },
-    {
-        "id": "44229861.ecaaa8",
-        "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": 1673.3254661560059,
-        "y": 656.2222442626953,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "831644e8.e13cc",
-        "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": 1195.6269226074219,
-        "y": 732.1736297607422,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "1181976c.1aed59",
-                "1843fe0b.3bf1d2"
-            ]
-        ]
-    },
-    {
-        "id": "1181976c.1aed59",
-        "type": "outcome",
-        "name": "outcome Created",
-        "xml": "<outcome value='Created'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1558.6268920898438,
-        "y": 732.1736602783203,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "65e2e00c.98fae8"
-            ]
-        ]
-    },
-    {
-        "id": "1843fe0b.3bf1d2",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1528.6268920898438,
-        "y": 772.1736602783203,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "420607f9.76c808"
-            ]
-        ]
-    },
-    {
-        "id": "420607f9.76c808",
-        "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 deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
-        "comments": "",
-        "x": 1694.6268920898438,
-        "y": 774.1736602783203,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "2108d22b.ae9926",
-        "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": 1195.4284973144531,
-        "y": 846.3750305175781,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "e2213711.520dd",
-                "6c464ada.030e1c",
-                "457e18b7.6ac5a8"
-            ]
-        ]
-    },
-    {
-        "id": "e2213711.520dd",
-        "type": "outcome",
-        "name": "outcome PendingCreate",
-        "xml": "<outcome value='PendingCreate'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1555.428466796875,
-        "y": 846.3750610351562,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "40a123a7.613904"
-            ]
-        ]
-    },
-    {
-        "id": "6c464ada.030e1c",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1512.4284057617188,
-        "y": 930.3750762939453,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "138a0d17.b239e3"
-            ]
-        ]
-    },
-    {
-        "id": "138a0d17.b239e3",
-        "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": 1703.7618255615234,
-        "y": 929.0417051315308,
-        "z": "67a3081a.032478",
-        "wires": []
-    },
-    {
-        "id": "457e18b7.6ac5a8",
-        "type": "outcome",
-        "name": "outcome PendingDelete",
-        "xml": "<outcome value='PendingDelete'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1558.65869140625,
-        "y": 884.2222290039062,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "40a123a7.613904"
-            ]
-        ]
-    },
-    {
-        "id": "de74faab.3a2ae",
-        "type": "other",
-        "name": "create",
-        "xml": "<outcome value='create'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 644,
-        "y": 798,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "326c42d2.bec496"
-            ]
-        ]
-    },
-    {
-        "id": "9bc3f97c.14bbf8",
-        "type": "other",
-        "name": "delete",
-        "xml": "<outcome value='delete'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 647,
-        "y": 851,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "58d15587.e02aec"
-            ]
-        ]
-    },
-    {
-        "id": "326c42d2.bec496",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 833,
-        "y": 804,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "4ece5b87.0ed32c"
-            ]
-        ]
-    },
-    {
-        "id": "58d15587.e02aec",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 832,
-        "y": 863,
-        "z": "67a3081a.032478",
-        "wires": [
-            [
-                "b37ff23e.4b78c8"
-            ]
-        ]
-    },
-    {
-        "id": "4ece5b87.0ed32c",
-        "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": 1241,
-        "y": 989,
-        "z": "67a3081a.032478",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "b37ff23e.4b78c8",
-        "type": "call",
-        "name": "call GENERIC-RESOURCE-API:network-topology-operation-delete",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1247,
-        "y": 1072,
-        "z": "67a3081a.032478",
-        "wires": [
-            []
-        ]
-    }
+  {
+    "id": "22447bb.ca1b884",
+    "type": "dgstart",
+    "name": "DGSTART",
+    "outputs": 1,
+    "x": 152.00390625,
+    "y": 98.41365623474121,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "466f0033.35cb7"
+      ]
+    ]
+  },
+  {
+    "id": "466f0033.35cb7",
+    "type": "service-logic",
+    "name": "GENERIC-RESOURCE-API ${project.version}",
+    "module": "GENERIC-RESOURCE-API",
+    "version": "${project.version}",
+    "comments": "",
+    "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+    "outputs": 1,
+    "x": 233.95626831054688,
+    "y": 138.6517686843872,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "72c0d062.bcd76"
+      ]
+    ]
+  },
+  {
+    "id": "72c0d062.bcd76",
+    "type": "method",
+    "name": "network-topology-operation",
+    "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 230.43253326416016,
+    "y": 178.4136505126953,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "eb6b1875.0a05c8"
+      ]
+    ]
+  },
+  {
+    "id": "5bad23a2.6ab6cc",
+    "type": "comment",
+    "name": " NETWORK-TOPOLOGY-OPERATION ",
+    "info": "",
+    "comments": "",
+    "x": 546.348762512207,
+    "y": 46,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "eb6b1875.0a05c8",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 266.0039367675781,
+    "y": 261.85713958740234,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "800f4458.13e0e8",
+        "69a90e48.698e4",
+        "5d15a28a.f8b28c",
+        "1c731b73.ad5485"
+      ]
+    ]
+  },
+  {
+    "id": "800f4458.13e0e8",
+    "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": 496.08729553222656,
+    "y": 885.6997756958008,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "69a90e48.698e4",
+    "type": "switchNode",
+    "name": "switch svc-action",
+    "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 492.7181701660156,
+    "y": 492.2708339691162,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "7c51d92d.ac3558",
+        "c0f563da.45066",
+        "bcd7f689.e68068",
+        "a339fa13.cef888",
+        "f32b6746.ab2ac8",
+        "65bec383.089c6c",
+        "13d33f80.29ff51"
+      ]
+    ]
+  },
+  {
+    "id": "7c51d92d.ac3558",
+    "type": "other",
+    "name": "assign",
+    "xml": "<outcome value='assign'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 713.1943664550781,
+    "y": 268.5564842224121,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "9275b2f9.0f7e1"
+      ]
+    ]
+  },
+  {
+    "id": "9275b2f9.0f7e1",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 894.4325256347656,
+    "y": 269.5566062927246,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "325fdcb1.4a6014"
+      ]
+    ]
+  },
+  {
+    "id": "5d15a28a.f8b28c",
+    "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": 625.0039215087891,
+    "y": 204.41373252868652,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "325fdcb1.4a6014",
+    "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": 1253.7816772460938,
+    "y": 189.7470084587112,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "c0f563da.45066",
+    "type": "other",
+    "name": "activate",
+    "xml": "<outcome value='activate'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 715.00390625,
+    "y": 442.4136562347412,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "61d3baaf.004a44"
+      ]
+    ]
+  },
+  {
+    "id": "7e513616.123088",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 1252.2420654296875,
+    "y": 439.4138927459717,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "ae258a82.33a2e8",
+        "8bbc4549.c2c348"
+      ]
+    ]
+  },
+  {
+    "id": "7dc76c81.46ae84",
+    "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": 2297.8134765625,
+    "y": 568.2708282470703,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "bcd7f689.e68068",
+    "type": "other",
+    "name": "deactivate",
+    "xml": "<outcome value='deactivate'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 704.00390625,
+    "y": 602.4136810302734,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "a90bb735.783aa8"
+      ]
+    ]
+  },
+  {
+    "id": "a90bb735.783aa8",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 892.2422637939453,
+    "y": 601.4140040278435,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "b5b1cc7d.0a9d8"
+      ]
+    ]
+  },
+  {
+    "id": "483724bf.a7dffc",
+    "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": 2465.8691635131836,
+    "y": 853.131984368898,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "a339fa13.cef888",
+    "type": "other",
+    "name": "unassign",
+    "xml": "<outcome value='unassign'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 712.00390625,
+    "y": 667.4136810302734,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "c4bb456b.36d518"
+      ]
+    ]
+  },
+  {
+    "id": "c4bb456b.36d518",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 893.2420654296875,
+    "y": 668.4138031005859,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "ae258a82.33a2e8",
+        "b9288b8f.f7a128"
+      ]
+    ]
+  },
+  {
+    "id": "545822dc.aecafc",
+    "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": 2040.618911743164,
+    "y": 890.4374882141128,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "f32b6746.ab2ac8",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 703.0039100646973,
+    "y": 727.4136714935303,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "43654f47.8db24"
+      ]
+    ]
+  },
+  {
+    "id": "43654f47.8db24",
+    "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": 885.00390625,
+    "y": 726.4136810302734,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "1c731b73.ad5485",
+    "type": "set",
+    "name": "Set final indicator to Y",
+    "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+    "comments": "",
+    "x": 515.114990234375,
+    "y": 844.8581142425537,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "5f07f64.621f908",
+    "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": 2251.7342681884766,
+    "y": 478.1755828857422,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "bcc0c33e.bd395"
+      ]
+    ]
+  },
+  {
+    "id": "ae258a82.33a2e8",
+    "type": "switchNode",
+    "name": "switch service-data.networks.network_length",
+    "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1558.4483642578125,
+    "y": 437.74696350097656,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "a9e39ffc.d6d6e",
+        "881da1f.33e4b6"
+      ]
+    ]
+  },
+  {
+    "id": "a9e39ffc.d6d6e",
+    "type": "other",
+    "name": "outcome Null",
+    "xml": "<outcome value=''>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1831.4484024047852,
+    "y": 436.7470283508301,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "77cc77c5.b2f928"
+      ]
+    ]
+  },
+  {
+    "id": "881da1f.33e4b6",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1811.4487266540527,
+    "y": 476.74703311920166,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "86bde218.2b981"
+      ]
+    ]
+  },
+  {
+    "id": "bcc0c33e.bd395",
+    "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": 2542.1628189086914,
+    "y": 477.42566680908203,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "7c46a173.c9d7a"
+      ]
+    ]
+  },
+  {
+    "id": "7c46a173.c9d7a",
+    "type": "outcomeTrue",
+    "name": "true",
+    "xml": "<outcome value='true'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2731.1151733398438,
+    "y": 478.3184051513672,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "82887486.a7b018"
+      ]
+    ]
+  },
+  {
+    "id": "82887486.a7b018",
+    "type": "set",
+    "name": "set tmp.nidx and ctx.network-data",
+    "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
+    "comments": "",
+    "x": 2964.646942138672,
+    "y": 477.0684127807617,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "a24ee0c5.d21c5",
+    "type": "comment",
+    "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+    "info": "",
+    "comments": "",
+    "x": 1504.559700012207,
+    "y": 401.74702501296997,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "5e45bf.f8a18a4",
+    "type": "comment",
+    "name": "service-data  will not be stored until we have a network-id",
+    "info": "",
+    "comments": "",
+    "x": 1221.4483032226562,
+    "y": 157.96923746261746,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "77cc77c5.b2f928",
+    "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": 1993.2258605957031,
+    "y": 437.63597106933594,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "86bde218.2b981",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 1949.7182998657227,
+    "y": 477.301570892334,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "5f07f64.621f908",
+        "385983c7.9f2b7c"
+      ]
+    ]
+  },
+  {
+    "id": "385983c7.9f2b7c",
+    "type": "switchNode",
+    "name": "switch tmp.nidx ",
+    "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2170.0356979370117,
+    "y": 520.1587896347046,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "f85ca643.8fb898"
+      ]
+    ]
+  },
+  {
+    "id": "cdb52735.90dc68",
+    "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": 2522.892681121826,
+    "y": 515.8730316162109,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "f85ca643.8fb898",
+    "type": "outcome",
+    "name": "NULL",
+    "xml": "<outcome value=''>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2341.4642333984375,
+    "y": 518.7301750183105,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "cdb52735.90dc68"
+      ]
+    ]
+  },
+  {
+    "id": "8bbc4549.c2c348",
+    "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": 1510.7817077636719,
+    "y": 568.2222290039062,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "6e122dc8.532934",
+        "22b32187.96be8e"
+      ]
+    ]
+  },
+  {
+    "id": "6e122dc8.532934",
+    "type": "outcome",
+    "name": "outcome PendingCreate",
+    "xml": "<outcome value='PendingCreate'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1875.7816874186192,
+    "y": 568.2222137451171,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "7dc76c81.46ae84"
+      ]
+    ]
+  },
+  {
+    "id": "22b32187.96be8e",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1825.7817344665527,
+    "y": 608.2222442626953,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "c7f8345d.b6f678"
+      ]
+    ]
+  },
+  {
+    "id": "c7f8345d.b6f678",
+    "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": 1995.7817344665527,
+    "y": 608.2222442626953,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "634dd574.9447fc",
+    "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": 1243.7500381469727,
+    "y": 794.8403650242835,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "7b4cd5b5.65915c",
+        "e12f8291.e5f2d"
+      ]
+    ]
+  },
+  {
+    "id": "7b4cd5b5.65915c",
+    "type": "outcome",
+    "name": "outcome Created",
+    "xml": "<outcome value='Created'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1595.6388511657715,
+    "y": 789.2848469177261,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "8d2e1f53.0a094"
+      ]
+    ]
+  },
+  {
+    "id": "e12f8291.e5f2d",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1565.6388511657715,
+    "y": 829.2848469177261,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "5b7b9e1a.0f623"
+      ]
+    ]
+  },
+  {
+    "id": "5b7b9e1a.0f623",
+    "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 deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+    "comments": "",
+    "x": 1731.6388511657715,
+    "y": 831.2848469177261,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "b9288b8f.f7a128",
+    "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": 1247.4402923583984,
+    "y": 892.0416904846206,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "83977ad2.652058",
+        "4164bd1d.d21fe4",
+        "9708ceab.b495d"
+      ]
+    ]
+  },
+  {
+    "id": "83977ad2.652058",
+    "type": "outcome",
+    "name": "outcome PendingCreate",
+    "xml": "<outcome value='PendingCreate'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1607.4402618408203,
+    "y": 892.0417210021988,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "545822dc.aecafc"
+      ]
+    ]
+  },
+  {
+    "id": "4164bd1d.d21fe4",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1564.440200805664,
+    "y": 976.0417362609878,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "73868aa3.1c8774"
+      ]
+    ]
+  },
+  {
+    "id": "73868aa3.1c8774",
+    "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": 1755.7736206054688,
+    "y": 974.7083650985733,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "9708ceab.b495d",
+    "type": "outcome",
+    "name": "outcome PendingDelete",
+    "xml": "<outcome value='PendingDelete'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1610.6704864501953,
+    "y": 929.8888889709488,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "545822dc.aecafc"
+      ]
+    ]
+  },
+  {
+    "id": "65bec383.089c6c",
+    "type": "other",
+    "name": "create",
+    "xml": "<outcome value='create'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 700.4562683105469,
+    "y": 787,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "854868fb.692c98"
+      ]
+    ]
+  },
+  {
+    "id": "13d33f80.29ff51",
+    "type": "other",
+    "name": "delete",
+    "xml": "<outcome value='delete'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 703.4562683105469,
+    "y": 840,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "eefbd503.989fd8"
+      ]
+    ]
+  },
+  {
+    "id": "509a1330.098dbc",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 1340.567497253418,
+    "y": 1081.8888937393203,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "fc73b84f.5d78c8"
+      ]
+    ]
+  },
+  {
+    "id": "8263c76f.199698",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 1314.0119552612305,
+    "y": 1236.4444319168106,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "bd3a896d.c04468"
+      ]
+    ]
+  },
+  {
+    "id": "fc73b84f.5d78c8",
+    "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": 1705.2339935302734,
+    "y": 1081.3335157791153,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "bd3a896d.c04468",
+    "type": "call",
+    "name": "call GENERIC-RESOURCE-API:network-topology-operation-delete",
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1679.0118789672852,
+    "y": 1235.4443603912368,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "61d3baaf.004a44",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 899.6551361083984,
+    "y": 422.7314224243164,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "a1424008.31d3d",
+        "9be2b7c3.9aa0b8",
+        "9d7d6a23.ac4a28"
+      ]
+    ]
+  },
+  {
+    "id": "a1424008.31d3d",
+    "type": "outcome",
+    "name": "ActivateDCINetworkInstance",
+    "xml": "<outcome value='ActivateDCINetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1141.9884033203125,
+    "y": 344.7312355041504,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "3098b58e.59145a"
+      ]
+    ]
+  },
+  {
+    "id": "9be2b7c3.9aa0b8",
+    "type": "outcome",
+    "name": "other",
+    "xml": "<outcome value='other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1071.988395690918,
+    "y": 470.3979320526123,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "7e513616.123088"
+      ]
+    ]
+  },
+  {
+    "id": "3098b58e.59145a",
+    "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": 1565.9884185791016,
+    "y": 342.3981046676636,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "8d2e1f53.0a094",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1870.2261199951172,
+    "y": 787.4444404998794,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "aaaa0d61.3eb52",
+        "65bd4c29.44c284"
+      ]
+    ]
+  },
+  {
+    "id": "aaaa0d61.3eb52",
+    "type": "outcome",
+    "name": "DeActivateDCINetworkInstance",
+    "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 2140.559371948242,
+    "y": 797.4443317810073,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "db97de83.50799"
+      ]
+    ]
+  },
+  {
+    "id": "db97de83.50799",
+    "type": "call",
+    "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2615.5595932006836,
+    "y": 796.1111499229446,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "65bd4c29.44c284",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2063.2262115478516,
+    "y": 855.4444824615493,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "483724bf.a7dffc"
+      ]
+    ]
+  },
+  {
+    "id": "9d7d6a23.ac4a28",
+    "type": "outcome",
+    "name": "ActivateSOTNConnectivityInstance",
+    "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1141.2261047363281,
+    "y": 276.3202238082886,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "a046f39e.31874"
+      ]
+    ]
+  },
+  {
+    "id": "a046f39e.31874",
+    "type": "call",
+    "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-activate",
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-activate' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1566.4482612609863,
+    "y": 272.5547663131729,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "854868fb.692c98",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 899.7700729370117,
+    "y": 793.7777611175552,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "52fa6311.1fcbbc",
+        "873a6681.0ace38"
+      ]
+    ]
+  },
+  {
+    "id": "52fa6311.1fcbbc",
+    "type": "outcome",
+    "name": "other",
+    "xml": "<outcome value='other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1158.7700309753418,
+    "y": 1083.6665073791519,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "509a1330.098dbc"
+      ]
+    ]
+  },
+  {
+    "id": "873a6681.0ace38",
+    "type": "outcome",
+    "name": "CreateSOTNConnectivityInstance",
+    "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1226.4368057250977,
+    "y": 1020.4444471755996,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "2beb5ff2.5f47"
+      ]
+    ]
+  },
+  {
+    "id": "2beb5ff2.5f47",
+    "type": "call",
+    "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-create",
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-create' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1705.3256225585938,
+    "y": 1022.6666294494644,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "99f01de7.cef63",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1136.1036529541016,
+    "y": 680.913647309877,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "d8572f1b.9bba2"
+      ]
+    ]
+  },
+  {
+    "id": "eefbd503.989fd8",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 902.7446212768555,
+    "y": 1002.060903207399,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "939da72d.b0ff98",
+        "bda71ad3.e6fc18"
+      ]
+    ]
+  },
+  {
+    "id": "bda71ad3.e6fc18",
+    "type": "outcome",
+    "name": "DeleteSOTNConnectivityInstance",
+    "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1223.855857849121,
+    "y": 1177.6164580741897,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "b6f5f0d5.a2a9f"
+      ]
+    ]
+  },
+  {
+    "id": "b6f5f0d5.a2a9f",
+    "type": "call",
+    "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-delete",
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-delete' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1702.7446746826172,
+    "y": 1179.8386403480545,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "939da72d.b0ff98",
+    "type": "outcome",
+    "name": "other",
+    "xml": "<outcome value='other'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1156.1890830993652,
+    "y": 1240.838518277742,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "8263c76f.199698"
+      ]
+    ]
+  },
+  {
+    "id": "3a846b42.3e5f44",
+    "type": "comment",
+    "name": "SOTN: Activate VPN Instance",
+    "info": "",
+    "comments": "",
+    "x": 1137.1890716552734,
+    "y": 239.22145618591458,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "8bda633.fc2eba",
+    "type": "comment",
+    "name": "SOTN: DeActivate VPN Instance",
+    "info": "",
+    "comments": "",
+    "x": 1676.0778427124023,
+    "y": 653.6658955970779,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "249eb98b.1011c6",
+    "type": "comment",
+    "name": "SOTN: Create VPN Instance",
+    "info": "",
+    "comments": "",
+    "x": 1234.9667892456055,
+    "y": 985.7645775238052,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "1f1ad24f.997f4e",
+    "type": "comment",
+    "name": "SOTN: Delete VPN Instance",
+    "info": "",
+    "comments": "",
+    "x": 1226.0778732299805,
+    "y": 1142.1843162933365,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      
+    ]
+  },
+  {
+    "id": "b5b1cc7d.0a9d8",
+    "type": "switchNode",
+    "name": "switch request-action",
+    "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1110.8812065124512,
+    "y": 605.9999634185806,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "a4048448.f587c8",
+        "99f01de7.cef63"
+      ]
+    ]
+  },
+  {
+    "id": "f7556427.fd2d08",
+    "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": 1811.0160217285156,
+    "y": 686.5053612152115,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        
+      ]
+    ]
+  },
+  {
+    "id": "a4048448.f587c8",
+    "type": "outcome",
+    "name": "DeactivateSOTNConnectivityInstance",
+    "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+    "comments": "",
+    "outputs": 1,
+    "x": 1385.6588706970215,
+    "y": 608.2220562854782,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "f7556427.fd2d08"
+      ]
+    ]
+  },
+  {
+    "id": "d8572f1b.9bba2",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 1300.8811264038086,
+    "y": 682.6666122833267,
+    "z": "9e6cde1a.0ef11",
+    "wires": [
+      [
+        "634dd574.9447fc",
+        "ae258a82.33a2e8"
+      ]
+    ]
+  }
 ]