-[
- {
- "id": "79f282c8.82473c",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 126.01040649414062,
- "y": 74.77774620056152,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "aa8fb88e.70ce88"
- ]
- ]
- },
- {
- "id": "aa8fb88e.70ce88",
- "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": 207.9627685546875,
- "y": 115.01585865020752,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "6e24967e.ad6008"
- ]
- ]
- },
- {
- "id": "6e24967e.ad6008",
- "type": "method",
- "name": "network-topology-operation",
- "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 187.4390411376953,
- "y": 165.77775192260742,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "7a35625.e24119c"
- ]
- ]
- },
- {
- "id": "a789a649.5a0d58",
- "type": "comment",
- "name": " NETWORK-TOPOLOGY-OPERATION ",
- "info": "",
- "comments": "",
- "x": 520.3552627563477,
- "y": 22.364089965820312,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "7a35625.e24119c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 240.01043701171875,
- "y": 238.22122955322266,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "ba0d38ae.e81c58",
- "457583d9.562e0c",
- "cba36fc0.072d2",
- "d3235e19.d8ecb"
- ]
- ]
- },
- {
- "id": "ba0d38ae.e81c58",
- "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": 444.09381103515625,
- "y": 1264.3138828277588,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "457583d9.562e0c",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 466.72467041015625,
- "y": 468.6349239349365,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "dc5ac960.8b0118",
- "c0a124c2.b074a8",
- "615f84cf.02d10c",
- "5464b8d8.4a3498",
- "fb6e7e31.10ac3",
- "a87a521d.9540c",
- "31fb5db9.aec912",
- "24acb0b8.15f98"
- ]
- ]
- },
- {
- "id": "dc5ac960.8b0118",
- "type": "other",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 681.2009086608887,
- "y": 240.9206027984619,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "875082ec.7b232"
- ]
- ]
- },
- {
- "id": "875082ec.7b232",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 853.439079284668,
- "y": 238.92073154449463,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "580a77ff.6cd088"
- ]
- ]
- },
- {
- "id": "cba36fc0.072d2",
- "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": 577.0103950500488,
- "y": 178.77775311470032,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "c0a124c2.b074a8",
- "type": "other",
- "name": "activate",
- "xml": "<outcome value='activate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 684.0104484558105,
- "y": 330.7777404785156,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "e703e8d7.7187b8"
- ]
- ]
- },
- {
- "id": "5517cc3b.5b0904",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1060.2486991882324,
- "y": 407.77792263031006,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "9c0b8d26.ccc64",
- "7ee91c34.4e4f44",
- "10521c9e.098fa3"
- ]
- ]
- },
- {
- "id": "4ebef597.bf543c",
- "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": 2331.0703353881836,
- "y": 919.38498878479,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "615f84cf.02d10c",
- "type": "other",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 678.010440826416,
- "y": 562.777738571167,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "c572c289.cadd5"
- ]
- ]
- },
- {
- "id": "1e922072.6c693",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1080.248664855957,
- "y": 757.7780284881592,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "9c0b8d26.ccc64",
- "8aea2ef9.6eafd",
- "10521c9e.098fa3"
- ]
- ]
- },
- {
- "id": "8aea2ef9.6eafd",
- "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": 1659.2369384765625,
- "y": 1007.6350364685059,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "5464b8d8.4a3498",
- "type": "other",
- "name": "unassign",
- "xml": "<outcome value='unassign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 675.0104598999023,
- "y": 814.7777881622314,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "a28f55cf.2766d8"
- ]
- ]
- },
- {
- "id": "a28f55cf.2766d8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 856.2486190795898,
- "y": 815.777910232544,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "9c0b8d26.ccc64",
- "f8a88ed3.13cf",
- "10521c9e.098fa3"
- ]
- ]
- },
- {
- "id": "3a9ebc21.5bb5a4",
- "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": 2326.820198059082,
- "y": 1112.884958267212,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "fb6e7e31.10ac3",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 659.0104598999023,
- "y": 1069.7777848243713,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "ddd743b8.7f7fe"
- ]
- ]
- },
- {
- "id": "ddd743b8.7f7fe",
- "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": 841.0104560852051,
- "y": 1068.7777943611145,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "d3235e19.d8ecb",
- "type": "set",
- "name": "Set final indicator to Y",
- "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
- "comments": "",
- "x": 463.1215057373047,
- "y": 1223.4722213745117,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "58c301a.4cd9b",
- "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": 2195.740863800049,
- "y": 457.5396976470947,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "ae92c30c.ac766"
- ]
- ]
- },
- {
- "id": "9c0b8d26.ccc64",
- "type": "switchNode",
- "name": "switch service-data.networks.network_length",
- "xml": "<switch test='`$service-data.networks.network_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1473.205020904541,
- "y": 425.8610897064209,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "88ad5c25.78bab",
- "eb688204.84b63"
- ]
- ]
- },
- {
- "id": "88ad5c25.78bab",
- "type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1772.4548988342285,
- "y": 424.11108779907227,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "5cd57caa.022474"
- ]
- ]
- },
- {
- "id": "eb688204.84b63",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1726.4549293518066,
- "y": 457.1111087799072,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "a9c84ebc.a8703"
- ]
- ]
- },
- {
- "id": "ae92c30c.ac766",
- "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": 2486.1694145202637,
- "y": 456.78978157043457,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "3c861008.97d8d"
- ]
- ]
- },
- {
- "id": "3c861008.97d8d",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2675.121768951416,
- "y": 457.6825199127197,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "276ddcff.2cc734"
- ]
- ]
- },
- {
- "id": "276ddcff.2cc734",
- "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": 2908.653537750244,
- "y": 456.43252754211426,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "b1fb15f0.efbb18",
- "type": "comment",
- "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
- "info": "",
- "comments": "",
- "x": 1652.5660438537598,
- "y": 391.1111011505127,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "5cfdd79e.62ec78",
- "type": "comment",
- "name": "service-data will not be stored until we have a network-id",
- "info": "",
- "comments": "",
- "x": 1191.6772003173828,
- "y": 20,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "5cd57caa.022474",
- "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": 1964.2324562072754,
- "y": 422.0000858306885,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "a9c84ebc.a8703",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1893.724895477295,
- "y": 456.6656856536865,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "58c301a.4cd9b",
- "a3b536b8.c2db88"
- ]
- ]
- },
- {
- "id": "a3b536b8.c2db88",
- "type": "switchNode",
- "name": "switch tmp.nidx ",
- "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2122.792407989502,
- "y": 507.0228967666626,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "71b6d5f6.52251c",
- "76280ac2.a29dc4"
- ]
- ]
- },
- {
- "id": "18569546.2d3f0b",
- "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": 2475.6493911743164,
- "y": 502.73713874816895,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "71b6d5f6.52251c",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 2294.2209434509277,
- "y": 505.59428215026855,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "18569546.2d3f0b"
- ]
- ]
- },
- {
- "id": "7ee91c34.4e4f44",
- "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": 1544.0385665893555,
- "y": 919.336389541626,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "9b070cdb.c3554",
- "e0410e72.9776b"
- ]
- ]
- },
- {
- "id": "9b070cdb.c3554",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1909.0385462443028,
- "y": 919.3363742828369,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "4ebef597.bf543c"
- ]
- ]
- },
- {
- "id": "e0410e72.9776b",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1859.0385932922363,
- "y": 959.336404800415,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "3fd77df7.1089b2"
- ]
- ]
- },
- {
- "id": "3fd77df7.1089b2",
- "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": 2029.0385932922363,
- "y": 959.336404800415,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "f8a88ed3.13cf",
- "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": 1533.6415786743164,
- "y": 1114.4891605377197,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "bc4211ff.d463a",
- "affa5015.d4e59",
- "f59d3b2d.cd5398"
- ]
- ]
- },
- {
- "id": "bc4211ff.d463a",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1893.6415481567383,
- "y": 1114.4891910552979,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "3a9ebc21.5bb5a4"
- ]
- ]
- },
- {
- "id": "affa5015.d4e59",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1849.391471862793,
- "y": 1185.9892539978027,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "3f9880a9.7295a"
- ]
- ]
- },
- {
- "id": "3f9880a9.7295a",
- "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": 2040.7248916625977,
- "y": 1184.6558828353882,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "f59d3b2d.cd5398",
- "type": "outcome",
- "name": "outcome PendingDelete",
- "xml": "<outcome value='PendingDelete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1896.8717727661133,
- "y": 1152.3363590240479,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "3a9ebc21.5bb5a4"
- ]
- ]
- },
- {
- "id": "a87a521d.9540c",
- "type": "other",
- "name": "changeassign",
- "xml": "<outcome value='changeassign'>",
- "comments": "",
- "outputs": 1,
- "x": 686.0104789733887,
- "y": 465.77777099609375,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "4c2bd72a.1c31e8"
- ]
- ]
- },
- {
- "id": "4c2bd72a.1c31e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1058.2604179382324,
- "y": 462.7777624130249,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "9c0b8d26.ccc64",
- "8a2b1a64.939138"
- ]
- ]
- },
- {
- "id": "a28b0e04.6b316",
- "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": 1827.0106010437012,
- "y": 160.77776336669922,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "580a77ff.6cd088",
- "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": 1122.9786567687988,
- "y": 98.72915458679199,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "bfcbec05.b41b2",
- "ca2b9239.fc004",
- "3e71fe57.a54f32",
- "fd7d3d8b.626ba"
- ]
- ]
- },
- {
- "id": "bfcbec05.b41b2",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1508.978702545166,
- "y": 118.72913646697998,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "8e3a130b.a0405"
- ]
- ]
- },
- {
- "id": "ca2b9239.fc004",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1456.9786987304688,
- "y": 160.72916793823242,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "a28b0e04.6b316"
- ]
- ]
- },
- {
- "id": "8e3a130b.a0405",
- "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": 1783.9789237976074,
- "y": 114.72918510437012,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "fd7d3d8b.626ba",
- "type": "outcome",
- "name": "outcome PendingDelete",
- "xml": "<outcome value='PendingDelete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1507.010440826416,
- "y": 83.77775192260742,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "8e3a130b.a0405"
- ]
- ]
- },
- {
- "id": "3e71fe57.a54f32",
- "type": "outcome",
- "name": "outcome Created",
- "xml": "<outcome value='Created'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1487.0104789733887,
- "y": 48.777753829956055,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "8e3a130b.a0405"
- ]
- ]
- },
- {
- "id": "8a2b1a64.939138",
- "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": 1636.2568130493164,
- "y": 851.2738800048828,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "aa217b3b.e03768",
- "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": 472.5113830566406,
- "y": 1129.528715133667,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "5dd24184.f92cb",
- "type": "set",
- "name": "set networkId",
- "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
- "comments": "",
- "x": 466.7970161437988,
- "y": 1092.385823249817,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "c28329f4.0a0298",
- "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": 514.7970771789551,
- "y": 1174.9571886062622,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "10521c9e.098fa3",
- "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": 1548.4490547180176,
- "y": 683.2787666320801,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "9cd01d18.8e54",
- "b7c9f72f.a87b48"
- ]
- ]
- },
- {
- "id": "9cd01d18.8e54",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 1835.1989364624023,
- "y": 721.4454336166382,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "a5779725.1836a8"
- ]
- ]
- },
- {
- "id": "b7c9f72f.a87b48",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1832.8658332824707,
- "y": 688.4453077316284,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "92ce5cf3.bc142"
- ]
- ]
- },
- {
- "id": "92ce5cf3.bc142",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='' value='' />\n",
- "comments": "",
- "x": 1993.199062347412,
- "y": 685.4453649520874,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "434328af.62d878",
- "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": 2328.2746772766113,
- "y": 714.7111825942993,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "b36d81f7.3394d",
- "af36bb73.fa73d8"
- ]
- ]
- },
- {
- "id": "b36d81f7.3394d",
- "type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 2687.524368286133,
- "y": 671.7111854553223,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "14e27ae6.5357e5"
- ]
- ]
- },
- {
- "id": "af36bb73.fa73d8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2667.524368286133,
- "y": 706.7111854553223,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "c46e6f.e0c8b19"
- ]
- ]
- },
- {
- "id": "a5779725.1836a8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1969.3101921081543,
- "y": 721.889838218689,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "434328af.62d878"
- ]
- ]
- },
- {
- "id": "704254e7.9457ec",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4091.5181846618652,
- "y": 649.9217891693115,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "c1e82544.f95008"
- ]
- ]
- },
- {
- "id": "909b166d.5228d8",
- "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": 4534.050151824951,
- "y": 649.6718139648438,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "c1e82544.f95008",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 4240.136623382568,
- "y": 649.778974533081,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "909b166d.5228d8"
- ]
- ]
- },
- {
- "id": "b3d1c50c.fca068",
- "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": 3274.386589050293,
- "y": 710.0287618637085,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "7b57f8f2.c90d48"
- ]
- ]
- },
- {
- "id": "7b57f8f2.c90d48",
- "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": 3719.815185546875,
- "y": 709.7789306640625,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "704254e7.9457ec"
- ]
- ]
- },
- {
- "id": "c46e6f.e0c8b19",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 2886.3704681396484,
- "y": 707.9046869277954,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "b3d1c50c.fca068"
- ]
- ]
- },
- {
- "id": "14e27ae6.5357e5",
- "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": 2879.074020385742,
- "y": 671.2787523269653,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "76280ac2.a29dc4",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2293.7565956115723,
- "y": 536.5238647460938,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "d6b32cf3.dcd68"
- ]
- ]
- },
- {
- "id": "d6b32cf3.dcd68",
- "type": "set",
- "name": "set nidx",
- "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
- "comments": "",
- "x": 2450.7565956115723,
- "y": 537.5238647460938,
- "z": "9aad28bb.de6b08",
- "wires": []
- },
- {
- "id": "e703e8d7.7187b8",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 875.1215934753418,
- "y": 323.2326765060425,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "ab621132.6111e",
- "503d49e7.558b48",
- "79aaad9.716b554",
- "7fc79916.fb5438"
- ]
- ]
- },
- {
- "id": "ab621132.6111e",
- "type": "outcome",
- "name": "ActivateDCINetworkInstance",
- "xml": "<outcome value='ActivateDCINetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1135.4548149108887,
- "y": 268.2324924468994,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "cac59810.e65568"
- ]
- ]
- },
- {
- "id": "cac59810.e65568",
- "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": 1581.4549140930176,
- "y": 269.8993225097656,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "503d49e7.558b48",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1071.454833984375,
- "y": 361.89923095703125,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "5517cc3b.5b0904"
- ]
- ]
- },
- {
- "id": "c572c289.cadd5",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 879.6771430969238,
- "y": 564.6770572662354,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "b98e948a.2ccfb8",
- "5cdec052.1da21",
- "16f91dec.cb7af2",
- "625d77ac.1d4f58"
- ]
- ]
- },
- {
- "id": "b98e948a.2ccfb8",
- "type": "outcome",
- "name": "DeactivateSOTNConnectivityInstance",
- "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1169.455020904541,
- "y": 508.8991947174072,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "2cfdfb08.ec09b4"
- ]
- ]
- },
- {
- "id": "5cdec052.1da21",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1077.8999862670898,
- "y": 656.5907688140869,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "1e922072.6c693"
- ]
- ]
- },
- {
- "id": "2cfdfb08.ec09b4",
- "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": 1629.8121376037598,
- "y": 510.18252182006836,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "31fb5db9.aec912",
- "type": "other",
- "name": "create",
- "xml": "<outcome value='create'>\n",
- "comments": "",
- "outputs": 1,
- "x": 665.3439102172852,
- "y": 904.0105962753296,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "b39f385b.dd8e48"
- ]
- ]
- },
- {
- "id": "b39f385b.dd8e48",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 865.6577301025391,
- "y": 903.7882690429688,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "de767c6b.834f1",
- "6bdbc712.18ec58",
- "c75bd3e1.bc391"
- ]
- ]
- },
- {
- "id": "24acb0b8.15f98",
- "type": "other",
- "name": "delete",
- "xml": "<outcome value='delete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 663.3439140319824,
- "y": 981.0106000900269,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "7e743816.5d9958"
- ]
- ]
- },
- {
- "id": "7e743816.5d9958",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 865.6321716308594,
- "y": 982.071400642395,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "8f457dbf.8b07b",
- "915d81d7.e103a",
- "c7012119.b3554"
- ]
- ]
- },
- {
- "id": "c02f2b27.1444e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1609.4551811218262,
- "y": 1338.8993883132935,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "f7aee00f.2cad"
- ]
- ]
- },
- {
- "id": "afea4e67.794a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1581.8996543884277,
- "y": 1537.454912662506,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "1b882c62.b4d5c4"
- ]
- ]
- },
- {
- "id": "f7aee00f.2cad",
- "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": 1974.1216773986816,
- "y": 1338.3440103530884,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "1b882c62.b4d5c4",
- "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": 1946.8995780944824,
- "y": 1536.4548411369324,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "de767c6b.834f1",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1427.65771484375,
- "y": 1340.677001953125,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "c02f2b27.1444e8"
- ]
- ]
- },
- {
- "id": "6bdbc712.18ec58",
- "type": "outcome",
- "name": "CreateSOTNConnectivityInstance",
- "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1507.3244438171387,
- "y": 1241.4549032608047,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "cc35726f.72d91"
- ]
- ]
- },
- {
- "id": "cc35726f.72d91",
- "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": 1986.2132606506348,
- "y": 1243.6770855346695,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "915d81d7.e103a",
- "type": "outcome",
- "name": "DeleteSOTNConnectivityInstance",
- "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1504.7435417175293,
- "y": 1434.6269526481628,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "ffefe985.e53578"
- ]
- ]
- },
- {
- "id": "ffefe985.e53578",
- "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": 1971.6323585510254,
- "y": 1436.8491349220276,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "8f457dbf.8b07b",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1424.0767822265625,
- "y": 1541.8489990234375,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "afea4e67.794a"
- ]
- ]
- },
- {
- "id": "79aaad9.716b554",
- "type": "outcome",
- "name": "ActivateSOTNConnectivityInstance",
- "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1158.4548530578613,
- "y": 223.01040077209473,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "a1756e2.236019"
- ]
- ]
- },
- {
- "id": "a1756e2.236019",
- "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": 1583.6770095825195,
- "y": 219.24494327697903,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "16f91dec.cb7af2",
- "type": "outcome",
- "name": "DeActivateDCINetworkInstance",
- "xml": "<outcome value='DeActivateDCINetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1149.5555610656738,
- "y": 551.9999942779541,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "20c06620.a7484a"
- ]
- ]
- },
- {
- "id": "20c06620.a7484a",
- "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": 1624.5557823181152,
- "y": 550.6668124198914,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "7fc79916.fb5438",
- "type": "outcome",
- "name": "ActivateSDWANConnectivityInstance",
- "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1155.0000228881836,
- "y": 318.0000190734863,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "8f8df3ac.f43bf"
- ]
- ]
- },
- {
- "id": "8f8df3ac.f43bf",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-activate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-activate' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1598.0002136230469,
- "y": 315.66684770584106,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "625d77ac.1d4f58",
- "type": "outcome",
- "name": "DeactivateSDWANConnectivityInstance",
- "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1167,
- "y": 605,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "3bbfdab2.224de6"
- ]
- ]
- },
- {
- "id": "3bbfdab2.224de6",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-deactivate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-deactivate' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1610.0001907348633,
- "y": 602.6668286323547,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "c75bd3e1.bc391",
- "type": "outcome",
- "name": "CreateSDWANConnectivityInstance",
- "xml": "<outcome value='CreateSDWANConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1513,
- "y": 1290,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "db52f061.34611"
- ]
- ]
- },
- {
- "id": "db52f061.34611",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-create",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-create' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1956.0001907348633,
- "y": 1287.6668286323547,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- },
- {
- "id": "c7012119.b3554",
- "type": "outcome",
- "name": "DeleteSDWANConnectivityInstance",
- "xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1506,
- "y": 1485,
- "z": "9aad28bb.de6b08",
- "wires": [
- [
- "c57dac36.dcf83"
- ]
- ]
- },
- {
- "id": "c57dac36.dcf83",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-delete",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-delete' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1972.888816833496,
- "y": 1487.2221822738647,
- "z": "9aad28bb.de6b08",
- "wires": [
- []
- ]
- }
-]
+[{
+ "id": "cda9cb25.008878",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 116.00390625,
+ "y": 127.00390625,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["62bd4bd7.3ee3c4"]
+ ]
+}, {
+ "id": "62bd4bd7.3ee3c4",
+ "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": 197.95626831054688,
+ "y": 167.242018699646,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["92bec9ff.3ca028"]
+ ]
+}, {
+ "id": "92bec9ff.3ca028",
+ "type": "method",
+ "name": "network-topology-operation",
+ "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 177.4325408935547,
+ "y": 218.0039119720459,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["787d9954.38bba8"]
+ ]
+}, {
+ "id": "648b626a.56b11c",
+ "type": "comment",
+ "name": " NETWORK-TOPOLOGY-OPERATION ",
+ "info": "",
+ "comments": "",
+ "x": 510.34876251220703,
+ "y": 74.59025001525879,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "787d9954.38bba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 230.00393676757812,
+ "y": 290.44738960266113,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["fa0c17ce.6e7bc8", "fadbb13.7d2dd5", "dc48dc75.75815", "7270aff7.976ff"]
+ ]
+}, {
+ "id": "fa0c17ce.6e7bc8",
+ "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": 434.0873107910156,
+ "y": 1316.5400428771973,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "fadbb13.7d2dd5",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 456.7181701660156,
+ "y": 520.861083984375,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c05cc8a9.a87538", "8c9c980d.ccc4f8", "8bf526ae.923e18", "7de8f4ae.cff8ac", "26afc371.40355c", "bb05b811.ebde68", "1a44c3fe.115f5c", "315bf1cb.32141e"]
+ ]
+}, {
+ "id": "c05cc8a9.a87538",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 671.194408416748,
+ "y": 293.1467628479004,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["5bf1acae.be9164"]
+ ]
+}, {
+ "id": "5bf1acae.be9164",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 843.4325790405273,
+ "y": 291.1468915939331,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e342989e.94fd28"]
+ ]
+}, {
+ "id": "dc48dc75.75815",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 567.0038948059082,
+ "y": 231.0039131641388,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "8c9c980d.ccc4f8",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 674.0039482116699,
+ "y": 383.0039005279541,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e028738c.44a5e"]
+ ]
+}, {
+ "id": "647e7eaa.31279",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1129.2422637939453,
+ "y": 468.00415229797363,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "ba635494.f7cda8", "5f3efec5.a1f4d"]
+ ]
+}, {
+ "id": "b8d794c5.efea38",
+ "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": 2321.063835144043,
+ "y": 971.6111488342285,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "8bf526ae.923e18",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 668.0039405822754,
+ "y": 615.0038986206055,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cf3c1895.618e38"]
+ ]
+}, {
+ "id": "55cb30ff.95ca3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1105.2422409057617,
+ "y": 855.0042123794556,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "7bec74e2.e8459c", "5f3efec5.a1f4d"]
+ ]
+}, {
+ "id": "7bec74e2.e8459c",
+ "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": 1649.2304382324219,
+ "y": 1059.8611965179443,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "7de8f4ae.cff8ac",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.0039596557617,
+ "y": 867.0039482116699,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cc00dd86.d7918"]
+ ]
+}, {
+ "id": "cc00dd86.d7918",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 846.2421188354492,
+ "y": 868.0040702819824,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "8d92f87.3b71108", "5f3efec5.a1f4d"]
+ ]
+}, {
+ "id": "7ba153c5.8b3f2c",
+ "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": 2316.8136978149414,
+ "y": 1165.1111183166504,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "26afc371.40355c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 649.0039596557617,
+ "y": 1122.0039448738098,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["14623740.584dd9"]
+ ]
+}, {
+ "id": "14623740.584dd9",
+ "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": 831.0039558410645,
+ "y": 1121.003954410553,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "7270aff7.976ff",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 453.11500549316406,
+ "y": 1275.6983814239502,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "c06efb45.ffaa78",
+ "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": 2185.734363555908,
+ "y": 509.7658576965332,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c1a437ff.1b7718"]
+ ]
+}, {
+ "id": "794617b.1131ce8",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463.1985206604004,
+ "y": 478.0872497558594,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["26994831.0e1298", "ecf2ea88.0ee378"]
+ ]
+}, {
+ "id": "26994831.0e1298",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1762.448398590088,
+ "y": 476.33724784851074,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["55f21fbf.094db"]
+ ]
+}, {
+ "id": "ecf2ea88.0ee378",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1716.448429107666,
+ "y": 509.3372688293457,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b06a60a0.ec18c"]
+ ]
+}, {
+ "id": "c1a437ff.1b7718",
+ "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": 2476.162914276123,
+ "y": 509.01594161987305,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["dc253be8.d2cc08"]
+ ]
+}, {
+ "id": "dc253be8.d2cc08",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2665.1152687072754,
+ "y": 509.9086799621582,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["db34e276.b7ef7"]
+ ]
+}, {
+ "id": "db34e276.b7ef7",
+ "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": 2898.6470375061035,
+ "y": 508.65868759155273,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "810ee0f6.12029",
+ "type": "comment",
+ "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+ "info": "",
+ "comments": "",
+ "x": 1613.559814453125,
+ "y": 443.33726978302,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "faca6d42.ad164",
+ "type": "comment",
+ "name": "service-data will not be stored until we have a network-id",
+ "info": "",
+ "comments": "",
+ "x": 1181.6707000732422,
+ "y": 72.22616004943848,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "55f21fbf.094db",
+ "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": 1954.2259559631348,
+ "y": 474.22624588012695,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "b06a60a0.ec18c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1883.7183952331543,
+ "y": 508.891845703125,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c06efb45.ffaa78", "56e75e01.1337c"]
+ ]
+}, {
+ "id": "56e75e01.1337c",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.7859077453613,
+ "y": 559.2490568161011,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c0593450.c30c98", "2cfecf83.4d66"]
+ ]
+}, {
+ "id": "38dfaef5.ab0d82",
+ "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": 2465.642890930176,
+ "y": 554.9632987976074,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "c0593450.c30c98",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2284.214443206787,
+ "y": 557.820442199707,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["38dfaef5.ab0d82"]
+ ]
+}, {
+ "id": "ba635494.f7cda8",
+ "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": 1534.0320663452148,
+ "y": 971.5625495910645,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["f777a5ff.1ff918", "65fed18b.d3691"]
+ ]
+}, {
+ "id": "f777a5ff.1ff918",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1899.0320460001622,
+ "y": 971.5625343322754,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b8d794c5.efea38"]
+ ]
+}, {
+ "id": "65fed18b.d3691",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1849.0320930480957,
+ "y": 1011.5625648498535,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["ad2b7f81.8f2fa"]
+ ]
+}, {
+ "id": "ad2b7f81.8f2fa",
+ "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": 2019.0320930480957,
+ "y": 1011.5625648498535,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "8d92f87.3b71108",
+ "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": 1523.6350784301758,
+ "y": 1166.7153205871582,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["2bf6a461.e029dc", "1dc42825.9e33e8", "3c21ea48.9e0a06"]
+ ]
+}, {
+ "id": "2bf6a461.e029dc",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1883.6350479125977,
+ "y": 1166.7153511047363,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["7ba153c5.8b3f2c"]
+ ]
+}, {
+ "id": "1dc42825.9e33e8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1839.3849716186523,
+ "y": 1238.2154140472412,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["77f1e70c.bfe408"]
+ ]
+}, {
+ "id": "77f1e70c.bfe408",
+ "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": 2030.718391418457,
+ "y": 1236.8820428848267,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "3c21ea48.9e0a06",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1886.8652725219727,
+ "y": 1204.5625190734863,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["7ba153c5.8b3f2c"]
+ ]
+}, {
+ "id": "bb05b811.ebde68",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 676.003978729248,
+ "y": 518.0039310455322,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["8f942ed8.86388"]
+ ]
+}, {
+ "id": "8f942ed8.86388",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1048.2539176940918,
+ "y": 515.0039224624634,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "66843091.29a36"]
+ ]
+}, {
+ "id": "42b0a6db.432d98",
+ "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": 1817.0041007995605,
+ "y": 213.0039234161377,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "e342989e.94fd28",
+ "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": 1112.9721565246582,
+ "y": 150.95531463623047,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["40bb733e.dd6f7c", "b0f9b859.068648", "593782df.da509c", "387e750f.af463a"]
+ ]
+}, {
+ "id": "40bb733e.dd6f7c",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1498.9722023010254,
+ "y": 170.95529651641846,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["511a23b5.730e6c"]
+ ]
+}, {
+ "id": "b0f9b859.068648",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1446.9721984863281,
+ "y": 212.9553279876709,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["42b0a6db.432d98"]
+ ]
+}, {
+ "id": "511a23b5.730e6c",
+ "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": 1773.9724235534668,
+ "y": 166.9553451538086,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "387e750f.af463a",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.0039405822754,
+ "y": 136.0039119720459,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["511a23b5.730e6c"]
+ ]
+}, {
+ "id": "593782df.da509c",
+ "type": "outcome",
+ "name": "outcome Created",
+ "xml": "<outcome value='Created'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1477.003978729248,
+ "y": 101.00391387939453,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["511a23b5.730e6c"]
+ ]
+}, {
+ "id": "66843091.29a36",
+ "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": 1626.2503128051758,
+ "y": 903.5000400543213,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "5f3efec5.a1f4d",
+ "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": 1538.442554473877,
+ "y": 735.5049266815186,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["284c8b6d.7f3634", "7a92615c.c2127"]
+ ]
+}, {
+ "id": "284c8b6d.7f3634",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825.1924362182617,
+ "y": 773.6715936660767,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a50032f5.72a83"]
+ ]
+}, {
+ "id": "7a92615c.c2127",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1822.85933303833,
+ "y": 740.6714677810669,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b4f37512.d70bb8"]
+ ]
+}, {
+ "id": "b4f37512.d70bb8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1983.1925621032715,
+ "y": 737.6715250015259,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "fe324586.0b55a8",
+ "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": 2318.2681770324707,
+ "y": 766.9373426437378,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e21d92d1.3db16", "3beb03c.3e8d3fc"]
+ ]
+}, {
+ "id": "e21d92d1.3db16",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2677.517868041992,
+ "y": 723.9373455047607,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b8fb72eb.e727c"]
+ ]
+}, {
+ "id": "3beb03c.3e8d3fc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2657.517868041992,
+ "y": 758.9373455047607,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["48f28981.9aa598"]
+ ]
+}, {
+ "id": "a50032f5.72a83",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1959.3036918640137,
+ "y": 774.1159982681274,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["fe324586.0b55a8"]
+ ]
+}, {
+ "id": "7d5793c9.a9443c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4081.5116844177246,
+ "y": 702.14794921875,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a95997cc.c83c08"]
+ ]
+}, {
+ "id": "15a71d4.a9638e3",
+ "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": 4524.043651580811,
+ "y": 701.8979740142822,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "a95997cc.c83c08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4230.130123138428,
+ "y": 702.0051345825195,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["15a71d4.a9638e3"]
+ ]
+}, {
+ "id": "a82beca.188501",
+ "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": 3264.3800888061523,
+ "y": 762.254921913147,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["14adc4b7.e22c9b"]
+ ]
+}, {
+ "id": "14adc4b7.e22c9b",
+ "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": 3709.8086853027344,
+ "y": 762.005090713501,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["7d5793c9.a9443c"]
+ ]
+}, {
+ "id": "48f28981.9aa598",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2876.363967895508,
+ "y": 760.1308469772339,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a82beca.188501"]
+ ]
+}, {
+ "id": "b8fb72eb.e727c",
+ "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": 2869.0675201416016,
+ "y": 723.5049123764038,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "2cfecf83.4d66",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2283.7500953674316,
+ "y": 588.7500247955322,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["46a8714e.72c73"]
+ ]
+}, {
+ "id": "46a8714e.72c73",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
+ "comments": "",
+ "x": 2440.7500953674316,
+ "y": 589.7500247955322,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "e028738c.44a5e",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.1150932312012,
+ "y": 375.45883655548096,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["4b5ff3a1.79dd3c", "7a80b9c3.a5dcb8", "c5dccdb2.4a1d2", "6dd58869.b5c168"]
+ ]
+}, {
+ "id": "4b5ff3a1.79dd3c",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161.4483184814453,
+ "y": 320.4586658477783,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["67b5a7fb.45ef88"]
+ ]
+}, {
+ "id": "67b5a7fb.45ef88",
+ "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": 1676.4483947753906,
+ "y": 320.12549781799316,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "7a80b9c3.a5dcb8",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.4484367370605,
+ "y": 425.12542152404785,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["bf8db20a.91bed"]
+ ]
+}, {
+ "id": "cf3c1895.618e38",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 869.6706428527832,
+ "y": 616.9032173156738,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cbdbb0cc.f0331", "5badbdc.f46d244", "7e6d0610.2563c8", "13b9136d.b8ff1d"]
+ ]
+}, {
+ "id": "cbdbb0cc.f0331",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159.4485206604004,
+ "y": 561.1253547668457,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["49a424cb.12dbec"]
+ ]
+}, {
+ "id": "5badbdc.f46d244",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.8936080932617,
+ "y": 707.8169631958008,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e396e5dc.9253f8"]
+ ]
+}, {
+ "id": "49a424cb.12dbec",
+ "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": 1650.8057861328125,
+ "y": 559.408727645874,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "1a44c3fe.115f5c",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 655.3374099731445,
+ "y": 956.2367563247681,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["45693d0f.b52f34"]
+ ]
+}, {
+ "id": "45693d0f.b52f34",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.6512298583984,
+ "y": 956.0144290924072,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["779b6195.9f707", "620d8e1f.fb138", "3ab6b5e.164cc4a"]
+ ]
+}, {
+ "id": "315bf1cb.32141e",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653.3374137878418,
+ "y": 1033.2367601394653,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["93e17ab4.f42768"]
+ ]
+}, {
+ "id": "93e17ab4.f42768",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.6256713867188,
+ "y": 1034.2975606918335,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["bead6e63.0cea2", "2c6e7786.59c9d8", "dd8b829c.98de2"]
+ ]
+}, {
+ "id": "f074082c.642148",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1587.4487915039062,
+ "y": 1447.1256427764893,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e2f268db.e09cb8"]
+ ]
+}, {
+ "id": "273eee3d.625232",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1553.8930892944336,
+ "y": 1742.681453704834,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["26e1cb1f.5ee944"]
+ ]
+}, {
+ "id": "e2f268db.e09cb8",
+ "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": 1953.115234375,
+ "y": 1443.5702953338623,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "26e1cb1f.5ee944",
+ "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": 1918.8930130004883,
+ "y": 1741.6813821792603,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "779b6195.9f707",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1417.6512145996094,
+ "y": 1392.9031620025635,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["2bb8422a.2e625e"]
+ ]
+}, {
+ "id": "620d8e1f.fb138",
+ "type": "outcome",
+ "name": "CreateSOTNConnectivityInstance",
+ "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.317943572998,
+ "y": 1293.6810633102432,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cd4e7eb6.ff6ff"]
+ ]
+}, {
+ "id": "cd4e7eb6.ff6ff",
+ "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": 1976.2067604064941,
+ "y": 1295.903245584108,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "2c6e7786.59c9d8",
+ "type": "outcome",
+ "name": "DeleteSOTNConnectivityInstance",
+ "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1490.7371063232422,
+ "y": 1550.85329246521,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["19f1388e.0fadf7"]
+ ]
+}, {
+ "id": "19f1388e.0fadf7",
+ "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": 1957.6259231567383,
+ "y": 1553.0754747390747,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "bead6e63.0cea2",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.0702438354492,
+ "y": 1662.0754313468933,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["1fe426ab.fd1089"]
+ ]
+}, {
+ "id": "c5dccdb2.4a1d2",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.4484100341797,
+ "y": 271.23657417297363,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["2dd1b08b.8bc5e"]
+ ]
+}, {
+ "id": "2dd1b08b.8bc5e",
+ "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": 1635.6706237792969,
+ "y": 272.4711055755615,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "7e6d0610.2563c8",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1139.5490608215332,
+ "y": 604.2261543273926,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["39e58430.1a297c"]
+ ]
+}, {
+ "id": "39e58430.1a297c",
+ "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": 1679.5494384765625,
+ "y": 607.8929653167725,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "6dd58869.b5c168",
+ "type": "outcome",
+ "name": "ActivateSDWANConnectivityInstance",
+ "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1182.9935455322266,
+ "y": 371.2261791229248,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["9662796.a381e88"]
+ ]
+}, {
+ "id": "9662796.a381e88",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1702.9937438964844,
+ "y": 365.89303398132324,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "13b9136d.b8ff1d",
+ "type": "outcome",
+ "name": "DeactivateSDWANConnectivityInstance",
+ "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.9934997558594,
+ "y": 657.2261600494385,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["407f818a.a3f1e"]
+ ]
+}, {
+ "id": "407f818a.a3f1e",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1670.9937744140625,
+ "y": 654.893012046814,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "3ab6b5e.164cc4a",
+ "type": "outcome",
+ "name": "CreateSDWANConnectivityInstance",
+ "xml": "<outcome value='CreateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.9934997558594,
+ "y": 1342.2261600494385,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["26a8274b.85d1f8"]
+ ]
+}, {
+ "id": "26a8274b.85d1f8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1945.9936904907227,
+ "y": 1339.8929886817932,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "dd8b829c.98de2",
+ "type": "outcome",
+ "name": "DeleteSDWANConnectivityInstance",
+ "xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1491.993564605713,
+ "y": 1601.2263398170471,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a36aa3d0.1a854"]
+ ]
+}, {
+ "id": "a36aa3d0.1a854",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-delete",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-delete' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1958.882381439209,
+ "y": 1603.4485220909119,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "bf8db20a.91bed",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1188.8993453979492,
+ "y": 410.2326798439026,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a4b8222c.37fd2", "f38dc6c7.31f8f8"]
+ ]
+}, {
+ "id": "a4b8222c.37fd2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1394.899398803711,
+ "y": 405.34375190734863,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cfa31.bc3ac5cf8"]
+ ]
+}, {
+ "id": "cfa31.bc3ac5cf8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1779.8994979858398,
+ "y": 407.34376525878906,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "f38dc6c7.31f8f8",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 967.1215209960938,
+ "y": 472.2326354980469,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["647e7eaa.31279"]
+ ]
+}, {
+ "id": "e396e5dc.9253f8",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1204.6771087646484,
+ "y": 698.4548931121826,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["16dbb839.f33278", "5d50fb2f.744eb4"]
+ ]
+}, {
+ "id": "16dbb839.f33278",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1405.6772651672363,
+ "y": 697.5659255981445,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["db483123.c7a64"]
+ ]
+}, {
+ "id": "db483123.c7a64",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1771.677230834961,
+ "y": 694.5659408569336,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "5d50fb2f.744eb4",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1051.677158355713,
+ "y": 761.3437719345093,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["55cb30ff.95ca3"]
+ ]
+}, {
+ "id": "2bb8422a.2e625e",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1602.899398803711,
+ "y": 1398.899284362793,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["f0fc160f.719fc8", "19b66d7a.3c5d03"]
+ ]
+}, {
+ "id": "19b66d7a.3c5d03",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.8993377685547,
+ "y": 1445.7882862091064,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["f074082c.642148"]
+ ]
+}, {
+ "id": "f0fc160f.719fc8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1808.899471282959,
+ "y": 1391.010341644287,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b831c9c0.001f08"]
+ ]
+}, {
+ "id": "b831c9c0.001f08",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2167.899398803711,
+ "y": 1392.0103950500488,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "1fe426ab.fd1089",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1615.56591796875,
+ "y": 1670.232666015625,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["ff1ea989.df69b8", "d8afda97.54c288"]
+ ]
+}, {
+ "id": "d8afda97.54c288",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1400.565933227539,
+ "y": 1746.1215896606445,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["273eee3d.625232"]
+ ]
+}, {
+ "id": "ff1ea989.df69b8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.566074371338,
+ "y": 1669.343698501587,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["bae544d2.711e28"]
+ ]
+}, {
+ "id": "bae544d2.711e28",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2182.5660400390625,
+ "y": 1666.343713760376,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "8343f26d.19336",
+ "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": 504.79057693481445,
+ "y": 1227.1833486557007,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "fc4f404.28de9c",
+ "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": 462.5048828125,
+ "y": 1181.7548751831055,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "b8117e21.6ea85",
+ "type": "set",
+ "name": "set networkId",
+ "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
+ "comments": "",
+ "x": 456.7905158996582,
+ "y": 1144.6119832992554,
+ "z": "6262cf90.82826",
+ "wires": []
+}]
\ No newline at end of file