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 7d572f9..4e2c7d5 100644 (file)
 [
-    {
-        "id":"f7054ab9.c750e8",
-        "type":"dgstart",
-        "name":"DGSTART",
-        "outputs":1,
-        "x":120.66666412353516,
-        "y":100.41365557909012,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "c424c6c5.ae02a8"
-            ]
-        ]
-    },
-    {
-        "id":"c424c6c5.ae02a8",
-        "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":202.61902618408203,
-        "y":140.65176802873611,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "293d1a40.e88a76"
-            ]
-        ]
-    },
-    {
-        "id":"293d1a40.e88a76",
-        "type":"method",
-        "name":"network-topology-operation",
-        "xml":"<method rpc='network-topology-operation' mode='sync'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":199.0952911376953,
-        "y":180.41364985704422,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "6c71864c.68b0b8"
-            ]
-        ]
-    },
-    {
-        "id":"6808a800.72f6b8",
-        "type":"comment",
-        "name":" NETWORK-TOPOLOGY-OPERATION ",
-        "info":"",
-        "comments":"",
-        "x":515.0115203857422,
-        "y":47.99999934434891,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"6c71864c.68b0b8",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":234.66669464111328,
-        "y":263.85713893175125,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "a683a74d.bbfcd8",
-                "ec781a98.809e88",
-                "d4adb7b5.a74888",
-                "a12d09b7.6dc858"
-            ]
-        ]
-    },
-    {
-        "id":"a683a74d.bbfcd8",
-        "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":464.7500534057617,
-        "y":887.6997750401497,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"ec781a98.809e88",
-        "type":"switchNode",
-        "name":"switch svc-action",
-        "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":461.3809280395508,
-        "y":494.2708333134651,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "4dfadbed.777bc4",
-                "55daa54f.4836ec",
-                "5c025596.ae8c5c",
-                "67e93f6e.2c897",
-                "24132a9d.396786",
-                "29d750bd.02a64",
-                "e6eca3d3.abe59"
-            ]
-        ]
-    },
-    {
-        "id":"4dfadbed.777bc4",
-        "type":"other",
-        "name":"assign",
-        "xml":"<outcome value='assign'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":681.8571243286133,
-        "y":270.556483566761,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "fc28dd4a.e1c57"
-            ]
-        ]
-    },
-    {
-        "id":"fc28dd4a.e1c57",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":863.0952835083008,
-        "y":271.5566056370735,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "82d45ba2.1d8bc8"
-            ]
-        ]
-    },
-    {
-        "id":"d4adb7b5.a74888",
-        "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":593.6666793823242,
-        "y":206.41373187303543,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"82d45ba2.1d8bc8",
-        "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":1234.666633605957,
-        "y":268.413661301136,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"55daa54f.4836ec",
-        "type":"other",
-        "name":"activate",
-        "xml":"<outcome value='activate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":683.6666641235352,
-        "y":444.4136555790901,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "67566173.45c4c"
-            ]
-        ]
-    },
-    {
-        "id":"627cdb56.3b7234",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1220.9048233032227,
-        "y":441.4138920903206,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "2132e234.e510ce",
-                "a3ddfe15.bee34"
-            ]
-        ]
-    },
-    {
-        "id":"6e5c6d24.81c194",
-        "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":2266.476234436035,
-        "y":570.2708275914192,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"5c025596.ae8c5c",
-        "type":"other",
-        "name":"deactivate",
-        "xml":"<outcome value='deactivate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":672.6666641235352,
-        "y":604.4136803746223,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "2deb4375.385a5c"
-            ]
-        ]
-    },
-    {
-        "id":"2deb4375.385a5c",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":860.9050216674805,
-        "y":603.4140033721924,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "2132e234.e510ce",
-                "1d159242.42217e"
-            ]
-        ]
-    },
-    {
-        "id":"d02489f7.8cbe58",
-        "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":2458.9762954711914,
-        "y":734.0208568572998,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"67e93f6e.2c897",
-        "type":"other",
-        "name":"unassign",
-        "xml":"<outcome value='unassign'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":680.6666641235352,
-        "y":669.4136803746223,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "a5a4cbe4.928108"
-            ]
-        ]
-    },
-    {
-        "id":"a5a4cbe4.928108",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":861.9048233032227,
-        "y":670.4138024449348,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "2132e234.e510ce",
-                "8cb9d01a.01cbb"
-            ]
-        ]
-    },
-    {
-        "id":"76ad4a39.0cc194",
-        "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":2013.7261428833008,
-        "y":835.7708275914192,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"24132a9d.396786",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":671.6666679382324,
-        "y":729.4136708378792,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "e05b3a0e.6b2cf8"
-            ]
-        ]
-    },
-    {
-        "id":"e05b3a0e.6b2cf8",
-        "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":853.6666641235352,
-        "y":728.4136803746223,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"a12d09b7.6dc858",
-        "type":"set",
-        "name":"Set final indicator to Y",
-        "xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
-        "comments":"",
-        "x":483.77774810791016,
-        "y":846.8581135869026,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"9acad2b9.f0834",
-        "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":2220.3970260620117,
-        "y":480.1755822300911,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "329c7937.b6a136"
-            ]
-        ]
-    },
-    {
-        "id":"2132e234.e510ce",
-        "type":"switchNode",
-        "name":"switch service-data.networks.network_length",
-        "xml":"<switch test='`$service-data.networks.network_length`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1527.1111221313477,
-        "y":439.74696284532547,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "4172c482.3f5a6c",
-                "d4b9b393.99ada"
-            ]
-        ]
-    },
-    {
-        "id":"4172c482.3f5a6c",
-        "type":"other",
-        "name":"outcome Null",
-        "xml":"<outcome value=''>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1800.1111602783203,
-        "y":438.747027695179,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "29641469.ee90fc"
-            ]
-        ]
-    },
-    {
-        "id":"d4b9b393.99ada",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1780.111484527588,
-        "y":478.74703246355057,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "1bb6dea1.ed18f1"
-            ]
-        ]
-    },
-    {
-        "id":"329c7937.b6a136",
-        "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":2510.8255767822266,
-        "y":479.42566615343094,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "af5c385d.aaa198"
-            ]
-        ]
-    },
-    {
-        "id":"af5c385d.aaa198",
-        "type":"outcomeTrue",
-        "name":"true",
-        "xml":"<outcome value='true'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2699.777931213379,
-        "y":480.3184044957161,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "7a7e1001.3b10e"
-            ]
-        ]
-    },
-    {
-        "id":"7a7e1001.3b10e",
-        "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":2933.309700012207,
-        "y":479.0684121251106,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"a849a7c.367a458",
-        "type":"comment",
-        "name":"Find the index to service data for this network - save id in tmp.nidx, save service-data",
-        "info":"",
-        "comments":"",
-        "x":1473.2224578857422,
-        "y":403.7470243573189,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"be0b87cc.facda8",
-        "type":"comment",
-        "name":"service-data  will not be stored until we have a network-id",
-        "info":"",
-        "comments":"",
-        "x":1202.3332595825195,
-        "y":236.63589030504227,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"29641469.ee90fc",
-        "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":1961.8886184692383,
-        "y":439.63597041368484,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"1bb6dea1.ed18f1",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1918.3810577392578,
-        "y":479.3015702366829,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "9acad2b9.f0834",
-                "cf1a68d3.1547a8"
-            ]
-        ]
-    },
-    {
-        "id":"cf1a68d3.1547a8",
-        "type":"switchNode",
-        "name":"switch tmp.nidx ",
-        "xml":"<switch test=\"`$tmp.nidx`\">\n\n",
-        "comments":"",
-        "outputs":1,
-        "x":2138.698455810547,
-        "y":522.1587889790535,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "5e666501.228a8c"
-            ]
-        ]
-    },
-    {
-        "id":"b312a9fc.605418",
-        "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":2491.5554389953613,
-        "y":517.8730309605598,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"5e666501.228a8c",
-        "type":"outcome",
-        "name":"NULL",
-        "xml":"<outcome value=''>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2310.1269912719727,
-        "y":520.7301743626595,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "b312a9fc.605418"
-            ]
-        ]
-    },
-    {
-        "id":"a3ddfe15.bee34",
-        "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":1479.444465637207,
-        "y":570.2222283482552,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "671fe44a.883fcc",
-                "619f5c4e.da9664"
-            ]
-        ]
-    },
-    {
-        "id":"671fe44a.883fcc",
-        "type":"outcome",
-        "name":"outcome PendingCreate",
-        "xml":"<outcome value='PendingCreate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1844.4444452921543,
-        "y":570.222213089466,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "6e5c6d24.81c194"
-            ]
-        ]
-    },
-    {
-        "id":"619f5c4e.da9664",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1794.444492340088,
-        "y":610.2222436070442,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "ddaa51b4.1a3e6"
-            ]
-        ]
-    },
-    {
-        "id":"ddaa51b4.1a3e6",
-        "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":1964.444492340088,
-        "y":610.2222436070442,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"1d159242.42217e",
-        "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":1225.7460136413574,
-        "y":670.1736888885498,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "666ae4b6.332edc",
-                "a7398342.dc0f5"
-            ]
-        ]
-    },
-    {
-        "id":"666ae4b6.332edc",
-        "type":"outcome",
-        "name":"outcome Created",
-        "xml":"<outcome value='Created'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1588.7459831237793,
-        "y":670.1737194061279,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "fc61673.76cb698"
-            ]
-        ]
-    },
-    {
-        "id":"a7398342.dc0f5",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1558.7459831237793,
-        "y":710.1737194061279,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "6900f252.7fffdc"
-            ]
-        ]
-    },
-    {
-        "id":"6900f252.7fffdc",
-        "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":1724.7459831237793,
-        "y":712.1737194061279,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"8cb9d01a.01cbb",
-        "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":1220.5475234985352,
-        "y":837.375029861927,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "c260be3c.787a4",
-                "3745164.07306ea",
-                "aa12305c.9840f"
-            ]
-        ]
-    },
-    {
-        "id":"c260be3c.787a4",
-        "type":"outcome",
-        "name":"outcome PendingCreate",
-        "xml":"<outcome value='PendingCreate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1580.547492980957,
-        "y":837.3750603795052,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "76ad4a39.0cc194"
-            ]
-        ]
-    },
-    {
-        "id":"3745164.07306ea",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1537.5474319458008,
-        "y":921.3750756382942,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "609493c3.1dc45c"
-            ]
-        ]
-    },
-    {
-        "id":"609493c3.1dc45c",
-        "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":1728.8808517456055,
-        "y":920.0417044758797,
-        "z":"d739160d.215ac8",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"aa12305c.9840f",
-        "type":"outcome",
-        "name":"outcome PendingDelete",
-        "xml":"<outcome value='PendingDelete'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1583.777717590332,
-        "y":875.2222283482552,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "76ad4a39.0cc194"
-            ]
-        ]
-    },
-    {
-        "id":"29d750bd.02a64",
-        "type":"other",
-        "name":"create",
-        "xml":"<outcome value='create'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":669.119026184082,
-        "y":788.9999993443489,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "8872f98e.6acb58"
-            ]
-        ]
-    },
-    {
-        "id":"e6eca3d3.abe59",
-        "type":"other",
-        "name":"delete",
-        "xml":"<outcome value='delete'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":672.119026184082,
-        "y":841.9999993443489,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "9bd83beb.090958"
-            ]
-        ]
-    },
-    {
-        "id":"8872f98e.6acb58",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":858.119026184082,
-        "y":794.9999993443489,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "1974de99.132ea1"
-            ]
-        ]
-    },
-    {
-        "id":"9bd83beb.090958",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":857.119026184082,
-        "y":853.9999993443489,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "bedc898b.68ec58"
-            ]
-        ]
-    },
-    {
-        "id":"1974de99.132ea1",
-        "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":1266.119026184082,
-        "y":979.9999993443489,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"bedc898b.68ec58",
-        "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":1272.119026184082,
-        "y":1062.999999344349,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"67566173.45c4c",
-        "type":"switchNode",
-        "name":"switch request-action",
-        "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":868.3178939819336,
-        "y":424.7314217686653,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "18ffc8df.333407",
-                "4f680131.8475e"
-            ]
-        ]
-    },
-    {
-        "id":"18ffc8df.333407",
-        "type":"outcome",
-        "name":"ActivateDCINetworkInstance",
-        "xml":"<outcome value='ActivateDCINetworkInstance'>",
-        "comments":"",
-        "outputs":1,
-        "x":1110.6511611938477,
-        "y":346.7312348484993,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "73585281.0c5d0c"
-            ]
-        ]
-    },
-    {
-        "id":"4f680131.8475e",
-        "type":"outcome",
-        "name":"other",
-        "xml":"<outcome value='other'>",
-        "comments":"",
-        "outputs":1,
-        "x":1040.6511535644531,
-        "y":472.3979313969612,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "627cdb56.3b7234"
-            ]
-        ]
-    },
-    {
-        "id":"73585281.0c5d0c",
-        "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":1534.6511764526367,
-        "y":346.3981040120125,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"fc61673.76cb698",
-        "type":"switchNode",
-        "name":"switch request-action",
-        "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1863.333251953125,
-        "y":668.3333129882812,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "96fbac31.d3f4f",
-                "3bd184d4.cd8cbc"
-            ]
-        ]
-    },
-    {
-        "id":"96fbac31.d3f4f",
-        "type":"outcome",
-        "name":"DeActivateDCINetworkInstance",
-        "xml":"<outcome value='DeActivateDCINetworkInstance'>",
-        "comments":"",
-        "outputs":1,
-        "x":2133.66650390625,
-        "y":678.3332042694092,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "5f435227.66b5dc"
-            ]
-        ]
-    },
-    {
-        "id":"5f435227.66b5dc",
-        "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":2608.6667251586914,
-        "y":677.0000224113464,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"3bd184d4.cd8cbc",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2056.3333435058594,
-        "y":736.3333549499512,
-        "z":"d739160d.215ac8",
-        "wires":[
-            [
-                "d02489f7.8cbe58"
-            ]
-        ]
-    }
-]
\ No newline at end of file
+  {
+    "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"
+      ]
+    ]
+  }
+]