Generic resource API DG catch up
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation.json
index 4e2c7d5..f2b4699 100644 (file)
@@ -1,1306 +1 @@
-[
-  {
-    "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"
-      ]
-    ]
-  }
-]
+[{"id":"80860971.7a2d98","type":"dgstart","name":"DGSTART","outputs":1,"x":260.00390625,"y":120.00390625,"z":"9e04e9a4.f67a48","wires":[["35321753.65a598"]]},{"id":"35321753.65a598","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":341.9562683105469,"y":160.242018699646,"z":"9e04e9a4.f67a48","wires":[["21839cd6.ba0e34"]]},{"id":"21839cd6.ba0e34","type":"method","name":"network-topology-operation","xml":"<method rpc='network-topology-operation' mode='sync'>\n","comments":"","outputs":1,"x":321.4325408935547,"y":211.0039119720459,"z":"9e04e9a4.f67a48","wires":[["af3458e2.edff98"]]},{"id":"3b04215d.2645ae","type":"comment","name":" NETWORK-TOPOLOGY-OPERATION ","info":"","comments":"","x":654.348762512207,"y":67.59025001525879,"z":"9e04e9a4.f67a48","wires":[]},{"id":"af3458e2.edff98","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":374.0039367675781,"y":283.44738960266113,"z":"9e04e9a4.f67a48","wires":[["785c802c.065ba","1d399d6e.1c4783","13771147.44e61f","1e0000f5.f479bf"]]},{"id":"785c802c.065ba","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":604.0873107910156,"y":998.5400505065918,"z":"9e04e9a4.f67a48","wires":[]},{"id":"1d399d6e.1c4783","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":600.7181701660156,"y":513.861083984375,"z":"9e04e9a4.f67a48","wires":[["1793dad0.8ae325","4ff33a14.aa46b4","8b320f87.323ed","c7c6e669.4c0ea8","82971b8d.ec65e8","e560f1d4.fee42"]]},{"id":"1793dad0.8ae325","type":"other","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":821.1943664550781,"y":376.1467342376709,"z":"9e04e9a4.f67a48","wires":[["f45218dc.949518"]]},{"id":"f45218dc.949518","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1002.4325256347656,"y":377.1468563079834,"z":"9e04e9a4.f67a48","wires":[["a8240529.3feab8"]]},{"id":"13771147.44e61f","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":732.00390625,"y":284.00390625,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"4ff33a14.aa46b4","type":"other","name":"activate","xml":"<outcome value='activate'>\n","comments":"","outputs":1,"x":823.00390625,"y":464.00390625,"z":"9e04e9a4.f67a48","wires":[["7c3e19c4.ef5188"]]},{"id":"7c3e19c4.ef5188","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1007.2420654296875,"y":465.0040283203125,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","a75318f4.373a38","f9bd493e.491498"]]},{"id":"f1bdf407.7a7098","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":2171.0636978149414,"y":920.6111240386963,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"8b320f87.323ed","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>\n","comments":"","outputs":1,"x":812.00390625,"y":624.0039310455322,"z":"9e04e9a4.f67a48","wires":[["7b681dba.6ee5b4"]]},{"id":"7b681dba.6ee5b4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":993.2420654296875,"y":625.0040531158447,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","785b82f7.c95c3c","f9bd493e.491498"]]},{"id":"785b82f7.c95c3c","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":1499.2303009033203,"y":1008.8611717224121,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"c7c6e669.4c0ea8","type":"other","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":820.00390625,"y":689.0039310455322,"z":"9e04e9a4.f67a48","wires":[["6ddc5a42.cfe224"]]},{"id":"6ddc5a42.cfe224","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1001.2420654296875,"y":690.0040531158447,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","462ccc94.6beb64","f9bd493e.491498"]]},{"id":"48de2ebb.c0365","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":2166.81356048584,"y":1114.1110935211182,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"82971b8d.ec65e8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":811.0039100646973,"y":749.0039215087891,"z":"9e04e9a4.f67a48","wires":[["148d6e51.ec1a92"]]},{"id":"148d6e51.ec1a92","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":993.00390625,"y":748.0039310455322,"z":"9e04e9a4.f67a48","wires":[]},{"id":"1e0000f5.f479bf","type":"set","name":"Set final indicator to Y","xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":623.1150054931641,"y":957.6983890533447,"z":"9e04e9a4.f67a48","wires":[]},{"id":"4eefcd8e.4dcfc4","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":2041.7342681884766,"y":520.765832901001,"z":"9e04e9a4.f67a48","wires":[["1628ac3e.d64384"]]},{"id":"6e412045.72665","type":"switchNode","name":"switch service-data.networks.network_length","xml":"<switch test='`$service-data.networks.network_length`'>\n","comments":"","outputs":1,"x":1319.1984252929688,"y":489.08722496032715,"z":"9e04e9a4.f67a48","wires":[["ad0b44f0.57c218","c8bc796a.7462d8"]]},{"id":"ad0b44f0.57c218","type":"other","name":"outcome Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1618.4483032226562,"y":487.3372230529785,"z":"9e04e9a4.f67a48","wires":[["4cf192f7.6ad02c"]]},{"id":"c8bc796a.7462d8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1572.4483337402344,"y":520.3372440338135,"z":"9e04e9a4.f67a48","wires":[["f7a3bf51.65627"]]},{"id":"1628ac3e.d64384","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":2332.1628189086914,"y":520.0159168243408,"z":"9e04e9a4.f67a48","wires":[["8dbd4d82.f084c"]]},{"id":"8dbd4d82.f084c","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2521.1151733398438,"y":520.908655166626,"z":"9e04e9a4.f67a48","wires":[["9cf530e.b6158d"]]},{"id":"9cf530e.b6158d","type":"set","name":"set tmp.nidx and network-data","xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n","comments":"","x":2754.646942138672,"y":519.6586627960205,"z":"9e04e9a4.f67a48","wires":[]},{"id":"371caf2.937dc5","type":"comment","name":"Find the index to service data for this network - save id in tmp.nidx, save service-data","info":"","comments":"","x":1498.5594482421875,"y":454.33723640441895,"z":"9e04e9a4.f67a48","wires":[]},{"id":"ccc1a22f.17742","type":"comment","name":"service-data  will not be stored until we have a network-id","info":"","comments":"","x":1325.6707000732422,"y":65.22616004943848,"z":"9e04e9a4.f67a48","wires":[]},{"id":"4cf192f7.6ad02c","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":1810.2258605957031,"y":485.2262210845947,"z":"9e04e9a4.f67a48","wires":[]},{"id":"f7a3bf51.65627","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1739.7182998657227,"y":519.8918209075928,"z":"9e04e9a4.f67a48","wires":[["4eefcd8e.4dcfc4","d4dba645.f19fb8"]]},{"id":"d4dba645.f19fb8","type":"switchNode","name":"switch tmp.nidx ","xml":"<switch test=\"`$tmp.nidx`\">\n\n","comments":"","outputs":1,"x":1968.7858123779297,"y":570.2490320205688,"z":"9e04e9a4.f67a48","wires":[["d8ff3217.6edda","87d798a7.78ab9"]]},{"id":"c07f7024.caab9","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":2321.642795562744,"y":565.9632740020752,"z":"9e04e9a4.f67a48","wires":[]},{"id":"d8ff3217.6edda","type":"outcome","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":2140.2143478393555,"y":568.8204174041748,"z":"9e04e9a4.f67a48","wires":[["c07f7024.caab9"]]},{"id":"a75318f4.373a38","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":1384.0319290161133,"y":920.5625247955322,"z":"9e04e9a4.f67a48","wires":[["2e5752c8.ad50fe","bbfd426a.a73de"]]},{"id":"2e5752c8.ad50fe","type":"outcome","name":"outcome PendingCreate","xml":"<outcome value='PendingCreate'>\n","comments":"","outputs":1,"x":1749.0319086710606,"y":920.5625095367432,"z":"9e04e9a4.f67a48","wires":[["f1bdf407.7a7098"]]},{"id":"bbfd426a.a73de","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1699.0319557189941,"y":960.5625400543213,"z":"9e04e9a4.f67a48","wires":[["aebde0b1.1a71b"]]},{"id":"aebde0b1.1a71b","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":1869.0319557189941,"y":960.5625400543213,"z":"9e04e9a4.f67a48","wires":[]},{"id":"462ccc94.6beb64","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":1373.6349411010742,"y":1115.715295791626,"z":"9e04e9a4.f67a48","wires":[["291e18de.cf7f18","c96c41cb.84c93","851864a5.fcbbb8"]]},{"id":"291e18de.cf7f18","type":"outcome","name":"outcome PendingCreate","xml":"<outcome value='PendingCreate'>\n","comments":"","outputs":1,"x":1733.634910583496,"y":1115.715326309204,"z":"9e04e9a4.f67a48","wires":[["48de2ebb.c0365"]]},{"id":"c96c41cb.84c93","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1689.3848342895508,"y":1187.215389251709,"z":"9e04e9a4.f67a48","wires":[["79b40969.543ca8"]]},{"id":"79b40969.543ca8","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":1880.7182540893555,"y":1185.8820180892944,"z":"9e04e9a4.f67a48","wires":[]},{"id":"851864a5.fcbbb8","type":"outcome","name":"outcome PendingDelete","xml":"<outcome value='PendingDelete'>\n","comments":"","outputs":1,"x":1736.865135192871,"y":1153.562494277954,"z":"9e04e9a4.f67a48","wires":[["48de2ebb.c0365"]]},{"id":"e560f1d4.fee42","type":"other","name":"changeassign","xml":"<outcome value='changeassign'>","comments":"","outputs":1,"x":837.0039463043213,"y":550.0039367675781,"z":"9e04e9a4.f67a48","wires":[["ce44237c.5be2d"]]},{"id":"ce44237c.5be2d","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1016.25390625,"y":550.00390625,"z":"9e04e9a4.f67a48","wires":[["6e412045.72665","7ac1b98d.08b398"]]},{"id":"4f7c4ca5.5a39c4","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":2050.004066467285,"y":334.0039176940918,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"a8240529.3feab8","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":1364.9721374511719,"y":293.95530700683594,"z":"9e04e9a4.f67a48","wires":[["7517ea2b.0da5b4","db31cd1e.e0cfa","93d594a7.6eeac8","9e432f80.85537"]]},{"id":"7517ea2b.0da5b4","type":"outcome","name":"outcome PendingCreate","xml":"<outcome value='PendingCreate'>\n","comments":"","outputs":1,"x":1731.97216796875,"y":291.95529079437256,"z":"9e04e9a4.f67a48","wires":[["b3c7f566.404088"]]},{"id":"db31cd1e.e0cfa","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1679.9721641540527,"y":333.955322265625,"z":"9e04e9a4.f67a48","wires":[["4f7c4ca5.5a39c4"]]},{"id":"b3c7f566.404088","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for assign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />","comments":"","x":2006.9723892211914,"y":287.9553394317627,"z":"9e04e9a4.f67a48","wires":[]},{"id":"9e432f80.85537","type":"outcome","name":"outcome PendingDelete","xml":"<outcome value='PendingDelete'>\n","comments":"","outputs":1,"x":1730.00390625,"y":257.00390625,"z":"9e04e9a4.f67a48","wires":[["b3c7f566.404088"]]},{"id":"93d594a7.6eeac8","type":"outcome","name":"outcome Created","xml":"<outcome value='Created'>\n","comments":"","outputs":1,"x":1710.0039443969727,"y":222.00390815734863,"z":"9e04e9a4.f67a48","wires":[["b3c7f566.404088"]]},{"id":"7ac1b98d.08b398","type":"call","name":"call GENERIC-RESOURCE-API:network-topology-operation-changeassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-changeassign' mode='sync' >\n","comments":"","outputs":1,"x":1476.2501754760742,"y":852.5000152587891,"z":"9e04e9a4.f67a48","wires":[[]]},{"id":"7e310ca2.ddc884","type":"set","name":"set object-path","xml":"<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/network-topology/'` \" />\n \n","comments":"","x":632.5048828125,"y":863.7548828125,"z":"9e04e9a4.f67a48","wires":[]},{"id":"e15e95da.0c5038","type":"set","name":"set networkId","xml":"<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n","comments":"","x":626.7905158996582,"y":826.6119909286499,"z":"9e04e9a4.f67a48","wires":[]},{"id":"27b6f380.c84aac","type":"set","name":"set network-level-oper-status","xml":"<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n","comments":"","x":674.7905769348145,"y":909.1833562850952,"z":"9e04e9a4.f67a48","wires":[]},{"id":"f9bd493e.491498","type":"switchNode","name":"switch network-information.network-instance-group-id","xml":"<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n","comments":"","outputs":1,"x":1388.4423828125,"y":642.5048828125,"z":"9e04e9a4.f67a48","wires":[["9633a29a.a507e","9354dc6d.8f6cb"]]},{"id":"9633a29a.a507e","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1678.1922721862793,"y":672.6715660095215,"z":"9e04e9a4.f67a48","wires":[["f073821e.dc605"]]},{"id":"9354dc6d.8f6cb","type":"other","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1675.8591690063477,"y":639.6714401245117,"z":"9e04e9a4.f67a48","wires":[["96d8f132.2319d"]]},{"id":"96d8f132.2319d","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='' value='' />\n","comments":"","x":1836.192398071289,"y":636.6714973449707,"z":"9e04e9a4.f67a48","wires":[]},{"id":"869d510a.11315","type":"switchNode","name":"service-data.network-instance-groups.network-instance-group_length","xml":"<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n","comments":"","outputs":1,"x":2162.267951965332,"y":670.9373474121094,"z":"9e04e9a4.f67a48","wires":[["6c9060fd.81509","523bb131.81c94"]]},{"id":"6c9060fd.81509","type":"other","name":"outcome Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":2527.5177307128906,"y":672.9373207092285,"z":"9e04e9a4.f67a48","wires":[["2843030f.4bc7ec"]]},{"id":"523bb131.81c94","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2507.5177307128906,"y":707.9373207092285,"z":"9e04e9a4.f67a48","wires":[["7ff73a97.aa0634"]]},{"id":"f073821e.dc605","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1812.3035278320312,"y":673.1159706115723,"z":"9e04e9a4.f67a48","wires":[["869d510a.11315"]]},{"id":"f3155af3.fb2478","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":3937.511589050293,"y":713.1479244232178,"z":"9e04e9a4.f67a48","wires":[["1b137fef.7ea88"]]},{"id":"bf03131d.937eb","type":"set","name":"set tmp.ngidx and ctx.network-instance-group-data","xml":"<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n","comments":"","x":4380.043556213379,"y":712.89794921875,"z":"9e04e9a4.f67a48","wires":[]},{"id":"1b137fef.7ea88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":4086.130027770996,"y":713.0051097869873,"z":"9e04e9a4.f67a48","wires":[["bf03131d.937eb"]]},{"id":"4ff03708.0c0798","type":"for","name":"for ngidx..service-data.network-instance-groups.network-instance-group[]","xml":"<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n","comments":"","outputs":1,"x":3114.379951477051,"y":711.2548971176147,"z":"9e04e9a4.f67a48","wires":[["c86f06ee.494348"]]},{"id":"c86f06ee.494348","type":"switchNode","name":"switch network-instance-group-id found","xml":"<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n","comments":"","outputs":1,"x":3559.808547973633,"y":711.0050659179688,"z":"9e04e9a4.f67a48","wires":[["f3155af3.fb2478"]]},{"id":"7ff73a97.aa0634","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2726.3638305664062,"y":709.1308221817017,"z":"9e04e9a4.f67a48","wires":[["4ff03708.0c0798"]]},{"id":"2843030f.4bc7ec","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-instance-group-id not found in service-data\" />\n","comments":"","x":2719.0673828125,"y":672.5048875808716,"z":"9e04e9a4.f67a48","wires":[]},{"id":"87d798a7.78ab9","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2139.75,"y":599.75,"z":"9e04e9a4.f67a48","wires":[["489f12a9.f43554"]]},{"id":"489f12a9.f43554","type":"set","name":"set nidx","xml":"<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n","comments":"","x":2296.75,"y":600.75,"z":"9e04e9a4.f67a48","wires":[]}]
\ No newline at end of file