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 41243f3..4e2c7d5 100644 (file)
 [
-    {
-        "id":"85a3d498.ee70b8",
-        "type":"dgstart",
-        "name":"DGSTART",
-        "outputs":1,
-        "x":467.0155944824219,
-        "y":473.0155944824219,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "484faa8a.853654"
-            ]
-        ]
-    },
-    {
-        "id":"484faa8a.853654",
-        "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":548.9679565429688,
-        "y":513.2537069320679,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "577e559b.5bf3fc"
-            ]
-        ]
-    },
-    {
-        "id":"577e559b.5bf3fc",
-        "type":"method",
-        "name":"network-topology-operation",
-        "xml":"<method rpc='network-topology-operation' mode='sync'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":545.444221496582,
-        "y":553.015588760376,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "d89fb108.c15da"
-            ]
-        ]
-    },
-    {
-        "id":"ac32132a.0500d",
-        "type":"comment",
-        "name":" NETWORK-TOPOLOGY-OPERATION ",
-        "info":"",
-        "comments":"",
-        "x":861.3604507446289,
-        "y":420.60193824768066,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"d89fb108.c15da",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":581.015625,
-        "y":636.459077835083,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "e42a6d76.72f57",
-                "6e4d7ebf.93e81",
-                "ae97e5fa.ddc148",
-                "879a69b3.6edd88"
-            ]
-        ]
-    },
-    {
-        "id":"e42a6d76.72f57",
-        "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":811.0989837646484,
-        "y":1260.3017139434814,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"6e4d7ebf.93e81",
-        "type":"switchNode",
-        "name":"switch svc-action",
-        "xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":807.7298583984375,
-        "y":866.8727722167969,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "f25f7aea.b8fbf8",
-                "5b25cfb0.9dc3",
-                "ce4f0e34.637f",
-                "554ed162.fdbc2",
-                "9c1f95f4.d32d48",
-                "b361fb8f.196518",
-                "e0127b7f.249248"
-            ]
-        ]
-    },
-    {
-        "id":"f25f7aea.b8fbf8",
-        "type":"other",
-        "name":"assign",
-        "xml":"<outcome value='assign'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1028.2060546875,
-        "y":643.1584224700928,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "9ca02c4f.ecd52"
-            ]
-        ]
-    },
-    {
-        "id":"9ca02c4f.ecd52",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1209.4442138671875,
-        "y":644.1585445404053,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "e222c594.de61b8"
-            ]
-        ]
-    },
-    {
-        "id":"ae97e5fa.ddc148",
-        "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":940.0156097412109,
-        "y":579.0156707763672,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"e222c594.de61b8",
-        "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":1581.0155639648438,
-        "y":641.0156002044678,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"5b25cfb0.9dc3",
-        "type":"other",
-        "name":"activate",
-        "xml":"<outcome value='activate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1030.0155944824219,
-        "y":817.0155944824219,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "a2f3df33.c4b68"
-            ]
-        ]
-    },
-    {
-        "id":"922d755b.661638",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1567.2537536621094,
-        "y":814.0158309936523,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "c5274c8f.1721b",
-                "3b322ad5.66cb26"
-            ]
-        ]
-    },
-    {
-        "id":"7c5eb492.d1272c",
-        "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":2612.825164794922,
-        "y":942.872766494751,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"ce4f0e34.637f",
-        "type":"other",
-        "name":"deactivate",
-        "xml":"<outcome value='deactivate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1019.0155944824219,
-        "y":977.0156192779541,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "4fa02a57.55a214"
-            ]
-        ]
-    },
-    {
-        "id":"9c0934a4.38d8c8",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1571.2537994384766,
-        "y":1080.0159301757812,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "c5274c8f.1721b",
-                "a31ca188.c32d7"
-            ]
-        ]
-    },
-    {
-        "id":"61181d4d.3f9f64",
-        "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":2611.3250732421875,
-        "y":1114.622766494751,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"554ed162.fdbc2",
-        "type":"other",
-        "name":"unassign",
-        "xml":"<outcome value='unassign'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1027.0155944824219,
-        "y":1042.015619277954,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "babe1e.7216b1e"
-            ]
-        ]
-    },
-    {
-        "id":"babe1e.7216b1e",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1208.2537536621094,
-        "y":1043.0157413482666,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "c5274c8f.1721b",
-                "a93ebb11.5112b8"
-            ]
-        ]
-    },
-    {
-        "id":"98390811.bf3d38",
-        "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":2360.0750732421875,
-        "y":1208.372766494751,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"9c1f95f4.d32d48",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1018.0155982971191,
-        "y":1102.015609741211,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "b64c1d1.5a772e"
-            ]
-        ]
-    },
-    {
-        "id":"b64c1d1.5a772e",
-        "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":1200.0155944824219,
-        "y":1101.015619277954,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"879a69b3.6edd88",
-        "type":"set",
-        "name":"Set final indicator to Y",
-        "xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
-        "comments":"",
-        "x":830.1266784667969,
-        "y":1219.4600524902344,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"8945700c.0d991",
-        "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":2566.7459564208984,
-        "y":852.7775211334229,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "63bd9e68.829b4"
-            ]
-        ]
-    },
-    {
-        "id":"c5274c8f.1721b",
-        "type":"switchNode",
-        "name":"switch service-data.networks.network_length",
-        "xml":"<switch test='`$service-data.networks.network_length`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1873.4600524902344,
-        "y":812.3489017486572,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "aeada561.cc58d8",
-                "7091af2b.522e4"
-            ]
-        ]
-    },
-    {
-        "id":"aeada561.cc58d8",
-        "type":"other",
-        "name":"outcome Null",
-        "xml":"<outcome value=''>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2146.460090637207,
-        "y":811.3489665985107,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "ed06878e.3cab58"
-            ]
-        ]
-    },
-    {
-        "id":"7091af2b.522e4",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2126.4604148864746,
-        "y":851.3489713668823,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "ab947f5a.5f651"
-            ]
-        ]
-    },
-    {
-        "id":"63bd9e68.829b4",
-        "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":2857.1745071411133,
-        "y":852.0276050567627,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "3695eb78.874394"
-            ]
-        ]
-    },
-    {
-        "id":"3695eb78.874394",
-        "type":"outcomeTrue",
-        "name":"true",
-        "xml":"<outcome value='true'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":3046.1268615722656,
-        "y":852.9203433990479,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "674767aa.48a638"
-            ]
-        ]
-    },
-    {
-        "id":"674767aa.48a638",
-        "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":3279.6586303710938,
-        "y":851.6703510284424,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"6fdacf7d.b32fb",
-        "type":"comment",
-        "name":"Find the index to service data for this network - save id in tmp.nidx, save service-data",
-        "info":"",
-        "comments":"",
-        "x":1819.571388244629,
-        "y":776.3489632606506,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"f5085beb.082298",
-        "type":"comment",
-        "name":"service-data  will not be stored until we have a network-id",
-        "info":"",
-        "comments":"",
-        "x":1548.6821899414062,
-        "y":609.237829208374,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"ed06878e.3cab58",
-        "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":2308.237548828125,
-        "y":812.2379093170166,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"ab947f5a.5f651",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":2264.7299880981445,
-        "y":851.9035091400146,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "8945700c.0d991",
-                "61e26d45.4186e4"
-            ]
-        ]
-    },
-    {
-        "id":"61e26d45.4186e4",
-        "type":"switchNode",
-        "name":"switch tmp.nidx ",
-        "xml":"<switch test=\"`$tmp.nidx`\">\n\n",
-        "comments":"",
-        "outputs":1,
-        "x":2485.0473861694336,
-        "y":894.7607278823853,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "b746b314.6a6bb"
-            ]
-        ]
-    },
-    {
-        "id":"ebd0f10f.cbf66",
-        "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":2837.904369354248,
-        "y":890.4749698638916,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"b746b314.6a6bb",
-        "type":"outcome",
-        "name":"NULL",
-        "xml":"<outcome value=''>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2656.4759216308594,
-        "y":893.3321132659912,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "ebd0f10f.cbf66"
-            ]
-        ]
-    },
-    {
-        "id":"3b322ad5.66cb26",
-        "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":1825.7933959960938,
-        "y":942.8241672515869,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "4168b97e.614508",
-                "648208ba.c9c398"
-            ]
-        ]
-    },
-    {
-        "id":"4168b97e.614508",
-        "type":"outcome",
-        "name":"outcome PendingCreate",
-        "xml":"<outcome value='PendingCreate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2190.793375651041,
-        "y":942.8241519927977,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "7c5eb492.d1272c"
-            ]
-        ]
-    },
-    {
-        "id":"648208ba.c9c398",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2140.7934226989746,
-        "y":982.824182510376,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "cd47365a.985768"
-            ]
-        ]
-    },
-    {
-        "id":"cd47365a.985768",
-        "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":2310.7934226989746,
-        "y":982.824182510376,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"a31ca188.c32d7",
-        "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":1825.0948791503906,
-        "y":1114.7755680084229,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "e33c6a6c.b344c8",
-                "aa28812e.314c3"
-            ]
-        ]
-    },
-    {
-        "id":"e33c6a6c.b344c8",
-        "type":"outcome",
-        "name":"outcome Created",
-        "xml":"<outcome value='Created'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2188.0948486328125,
-        "y":1114.775598526001,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "61181d4d.3f9f64"
-            ]
-        ]
-    },
-    {
-        "id":"aa28812e.314c3",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":2158.0948486328125,
-        "y":1154.775598526001,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "deb09c1d.1e536"
-            ]
-        ]
-    },
-    {
-        "id":"deb09c1d.1e536",
-        "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":2324.0948486328125,
-        "y":1156.775598526001,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"a93ebb11.5112b8",
-        "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":1566.8964538574219,
-        "y":1209.9769687652588,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "b6998c15.248c1",
-                "86ffd64.1d13d28",
-                "90e3f2b9.f7fb8"
-            ]
-        ]
-    },
-    {
-        "id":"b6998c15.248c1",
-        "type":"outcome",
-        "name":"outcome PendingCreate",
-        "xml":"<outcome value='PendingCreate'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1926.8964233398438,
-        "y":1209.976999282837,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "98390811.bf3d38"
-            ]
-        ]
-    },
-    {
-        "id":"86ffd64.1d13d28",
-        "type":"other",
-        "name":"other",
-        "xml":"<outcome value='Other'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1883.8963623046875,
-        "y":1293.977014541626,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "38a0884b.706138"
-            ]
-        ]
-    },
-    {
-        "id":"38a0884b.706138",
-        "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":2075.229782104492,
-        "y":1292.6436433792114,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-
-        ]
-    },
-    {
-        "id":"90e3f2b9.f7fb8",
-        "type":"outcome",
-        "name":"outcome PendingDelete",
-        "xml":"<outcome value='PendingDelete'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1930.1266479492188,
-        "y":1247.824167251587,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "98390811.bf3d38"
-            ]
-        ]
-    },
-    {
-        "id":"b361fb8f.196518",
-        "type":"other",
-        "name":"create",
-        "xml":"<outcome value='create'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1015.4679565429688,
-        "y":1161.6019382476807,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "870ebc3.cf39e4"
-            ]
-        ]
-    },
-    {
-        "id":"e0127b7f.249248",
-        "type":"other",
-        "name":"delete",
-        "xml":"<outcome value='delete'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1018.4679565429688,
-        "y":1214.6019382476807,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "997e78db.545078"
-            ]
-        ]
-    },
-    {
-        "id":"870ebc3.cf39e4",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1204.4679565429688,
-        "y":1167.6019382476807,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "3c97679a.62e2f8"
-            ]
-        ]
-    },
-    {
-        "id":"997e78db.545078",
-        "type":"block",
-        "name":"block : atomic",
-        "xml":"<block atomic=\"true\">",
-        "atomic":"true",
-        "outputs":1,
-        "x":1203.4679565429688,
-        "y":1226.6019382476807,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "54f0a399.e0516c"
-            ]
-        ]
-    },
-    {
-        "id":"3c97679a.62e2f8",
-        "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":1612.4679565429688,
-        "y":1352.6019382476807,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"54f0a399.e0516c",
-        "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":1618.4679565429688,
-        "y":1435.6019382476807,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"a2f3df33.c4b68",
-        "type":"switchNode",
-        "name":"switch request-action",
-        "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1214.6668243408203,
-        "y":797.3333606719971,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "4eb93a4e.82ca64",
-                "7ad79299.e126cc"
-            ]
-        ]
-    },
-    {
-        "id":"4eb93a4e.82ca64",
-        "type":"outcome",
-        "name":"ActivateDCINetworkInstance",
-        "xml":"<outcome value='ActivateDCINetworkInstance'>",
-        "comments":"",
-        "outputs":1,
-        "x":1457.0000915527344,
-        "y":719.333173751831,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "564c81e9.848b9"
-            ]
-        ]
-    },
-    {
-        "id":"7ad79299.e126cc",
-        "type":"outcome",
-        "name":"other",
-        "xml":"<outcome value='other'>",
-        "comments":"",
-        "outputs":1,
-        "x":1387.0000839233398,
-        "y":844.999870300293,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "922d755b.661638"
-            ]
-        ]
-    },
-    {
-        "id":"564c81e9.848b9",
-        "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":1881.0001068115234,
-        "y":719.0000429153442,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"4fa02a57.55a214",
-        "type":"switchNode",
-        "name":"switch request-action",
-        "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
-        "comments":"",
-        "outputs":1,
-        "x":1227.6666259765625,
-        "y":975,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "bcde7f7f.e235b",
-                "55dafa1.c389f04"
-            ]
-        ]
-    },
-    {
-        "id":"bcde7f7f.e235b",
-        "type":"outcome",
-        "name":"DeActivateDCINetworkInstance",
-        "xml":"<outcome value='DeActivateDCINetworkInstance'>",
-        "comments":"",
-        "outputs":1,
-        "x":1497.9998779296875,
-        "y":984.9998912811279,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "efb1ed02.23fdf"
-            ]
-        ]
-    },
-    {
-        "id":"efb1ed02.23fdf",
-        "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":1964.999900817871,
-        "y":1041.6667194366455,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-
-            ]
-        ]
-    },
-    {
-        "id":"55dafa1.c389f04",
-        "type":"outcome",
-        "name":"other",
-        "xml":"<outcome value='other'>",
-        "comments":"",
-        "outputs":1,
-        "x":1422.9998817443848,
-        "y":1080.6665649414062,
-        "z":"be8f5eb6.ea882",
-        "wires":[
-            [
-                "9c0934a4.38d8c8"
-            ]
-        ]
-    }
-]
\ 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"
+      ]
+    ]
+  }
+]