[
- {
- "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": "c19fae6.fd4f15",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 156,
+ "y": 91.77774620056152,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "d41d69a6.549648"
+ ]
+ ]
+ },
+ {
+ "id": "d41d69a6.549648",
+ "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": 237.95236206054688,
+ "y": 132.01585865020752,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "c18fe015.f338a"
+ ]
+ ]
+ },
+ {
+ "id": "c18fe015.f338a",
+ "type": "method",
+ "name": "network-topology-operation",
+ "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 217.4286346435547,
+ "y": 182.77775192260742,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "7bb97745.a09f58"
+ ]
+ ]
+ },
+ {
+ "id": "9dc3ada0.6983e",
+ "type": "comment",
+ "name": " NETWORK-TOPOLOGY-OPERATION ",
+ "info": "",
+ "comments": "",
+ "x": 550.344856262207,
+ "y": 39.36408996582031,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "7bb97745.a09f58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 270.0000305175781,
+ "y": 255.22122955322266,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "852074bb.b92d38",
+ "5d9f602.f8cd8a",
+ "a9b65525.597998",
+ "d2f271fb.1251e"
+ ]
+ ]
+ },
+ {
+ "id": "852074bb.b92d38",
+ "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": 474.0834045410156,
+ "y": 1281.3138828277588,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "5d9f602.f8cd8a",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.7142639160156,
+ "y": 485.6349239349365,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "1a068b2f.ec1c25",
+ "c32a4d78.480ba",
+ "5471c0fe.38f1d",
+ "ef9f174e.95c598",
+ "e2c37c63.95631",
+ "933967a8.61f458",
+ "1ec9b1c2.d7896e",
+ "7621e17b.a9522",
+ "a3ec8288.4b45b"
+ ]
+ ]
+ },
+ {
+ "id": "1a068b2f.ec1c25",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 711.190502166748,
+ "y": 257.9206027984619,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "2d8f5a2d.0637b6"
+ ]
+ ]
+ },
+ {
+ "id": "2d8f5a2d.0637b6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 883.4286727905273,
+ "y": 255.92073154449463,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "edbce417.bd23e8"
+ ]
+ ]
+ },
+ {
+ "id": "a9b65525.597998",
+ "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": 606.9999885559082,
+ "y": 195.77775311470032,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c32a4d78.480ba",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 714.0000419616699,
+ "y": 347.7777404785156,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "3e56973c.7167e8"
+ ]
+ ]
+ },
+ {
+ "id": "91cf810e.16ded",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1169.2383575439453,
+ "y": 432.77799224853516,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "510a8ba.2d0a674",
+ "c320966e.dcfd18",
+ "d140ba03.9488f8"
+ ]
+ ]
+ },
+ {
+ "id": "60aaff20.5a112",
+ "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": 2361.059928894043,
+ "y": 936.38498878479,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5471c0fe.38f1d",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 708.0000343322754,
+ "y": 579.777738571167,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "ac8744c.c01bcb8"
+ ]
+ ]
+ },
+ {
+ "id": "955e93bb.ba042",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1145.2383346557617,
+ "y": 819.7780523300171,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "510a8ba.2d0a674",
+ "1d230c90.43d433",
+ "d140ba03.9488f8"
+ ]
+ ]
+ },
+ {
+ "id": "1d230c90.43d433",
+ "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": 1689.2265319824219,
+ "y": 1024.6350364685059,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef9f174e.95c598",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 705.0000534057617,
+ "y": 831.7777881622314,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "94357376.87b42"
+ ]
+ ]
+ },
+ {
+ "id": "94357376.87b42",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 886.2382125854492,
+ "y": 832.777910232544,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "510a8ba.2d0a674",
+ "1a2ab749.8c5249",
+ "d140ba03.9488f8"
+ ]
+ ]
+ },
+ {
+ "id": "4a11ad47.8a00e4",
+ "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": 2356.8097915649414,
+ "y": 1129.884958267212,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2c37c63.95631",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.0000534057617,
+ "y": 1086.7777848243713,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "b262823a.325c8"
+ ]
+ ]
+ },
+ {
+ "id": "b262823a.325c8",
+ "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": 871.0000495910645,
+ "y": 1085.7777943611145,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "d2f271fb.1251e",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 493.11109924316406,
+ "y": 1240.4722213745117,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "f1cdaba4.4b1468",
+ "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": 2225.730457305908,
+ "y": 474.5396976470947,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "1ce3aa4.6cf4256"
+ ]
+ ]
+ },
+ {
+ "id": "510a8ba.2d0a674",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503.1946144104004,
+ "y": 442.8610897064209,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "8d10209.2f0f7e",
+ "b8f3d29c.ee262"
+ ]
+ ]
+ },
+ {
+ "id": "8d10209.2f0f7e",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1802.444492340088,
+ "y": 441.11108779907227,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "6f9c2eea.df9cc"
+ ]
+ ]
+ },
+ {
+ "id": "b8f3d29c.ee262",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1756.444522857666,
+ "y": 474.1111087799072,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f1ccef3b.7d9c6"
+ ]
+ ]
+ },
+ {
+ "id": "1ce3aa4.6cf4256",
+ "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": 2516.159008026123,
+ "y": 473.78978157043457,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "702929b4.6bd008"
+ ]
+ ]
+ },
+ {
+ "id": "702929b4.6bd008",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2705.1113624572754,
+ "y": 474.6825199127197,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "46381e91.19efd"
+ ]
+ ]
+ },
+ {
+ "id": "46381e91.19efd",
+ "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": 2938.6431312561035,
+ "y": 473.43252754211426,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "1e4f1e53.bd5ab2",
+ "type": "comment",
+ "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+ "info": "",
+ "comments": "",
+ "x": 1653.555908203125,
+ "y": 408.11110973358154,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "3eb7337.d523acc",
+ "type": "comment",
+ "name": "service-data will not be stored until we have a network-id",
+ "info": "",
+ "comments": "",
+ "x": 1221.6667938232422,
+ "y": 37,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "6f9c2eea.df9cc",
+ "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": 1994.2220497131348,
+ "y": 439.0000858306885,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "f1ccef3b.7d9c6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1923.7144889831543,
+ "y": 473.6656856536865,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f1cdaba4.4b1468",
+ "b70c43a4.8f446"
+ ]
+ ]
+ },
+ {
+ "id": "b70c43a4.8f446",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2152.7820014953613,
+ "y": 524.0228967666626,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f9fd607e.a7a39",
+ "6229e67b.dcc688"
+ ]
+ ]
+ },
+ {
+ "id": "f043129c.def34",
+ "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": 2505.638984680176,
+ "y": 519.737138748169,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "f9fd607e.a7a39",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2324.210536956787,
+ "y": 522.5942821502686,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f043129c.def34"
+ ]
+ ]
+ },
+ {
+ "id": "c320966e.dcfd18",
+ "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": 1574.0281600952148,
+ "y": 936.336389541626,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "8fc07d73.2176e",
+ "97dffa6e.212f38"
+ ]
+ ]
+ },
+ {
+ "id": "8fc07d73.2176e",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1939.0281397501622,
+ "y": 936.3363742828369,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "60aaff20.5a112"
+ ]
+ ]
+ },
+ {
+ "id": "97dffa6e.212f38",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1889.0281867980957,
+ "y": 976.336404800415,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "1160d210.ecd43e"
+ ]
+ ]
+ },
+ {
+ "id": "1160d210.ecd43e",
+ "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": 2059.0281867980957,
+ "y": 976.336404800415,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "1a2ab749.8c5249",
+ "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": 1563.6311721801758,
+ "y": 1131.4891605377197,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f2a9aed4.f72e6",
+ "873cbb6b.299728",
+ "adb06f51.82448"
+ ]
+ ]
+ },
+ {
+ "id": "f2a9aed4.f72e6",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1923.6311416625977,
+ "y": 1131.4891910552979,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "4a11ad47.8a00e4"
+ ]
+ ]
+ },
+ {
+ "id": "873cbb6b.299728",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1879.3810653686523,
+ "y": 1202.9892539978027,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "4806b0a4.c6ffb"
+ ]
+ ]
+ },
+ {
+ "id": "4806b0a4.c6ffb",
+ "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": 2070.714485168457,
+ "y": 1201.6558828353882,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "adb06f51.82448",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1926.8613662719727,
+ "y": 1169.3363590240479,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "4a11ad47.8a00e4"
+ ]
+ ]
+ },
+ {
+ "id": "933967a8.61f458",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 716.000072479248,
+ "y": 482.77777099609375,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "cab994c6.fcf578"
+ ]
+ ]
+ },
+ {
+ "id": "cab994c6.fcf578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1088.2500114440918,
+ "y": 479.7777624130249,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "510a8ba.2d0a674",
+ "9f741f0f.86e65"
+ ]
+ ]
+ },
+ {
+ "id": "c5852511.ea0668",
+ "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": 1857.0001945495605,
+ "y": 177.77776336669922,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "edbce417.bd23e8",
+ "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": 1152.9682502746582,
+ "y": 115.72915458679199,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "5138e78a.bf2918",
+ "ce27f2ab.d7a5d",
+ "c8c8edc5.558e4",
+ "ae55af74.56f3c"
+ ]
+ ]
+ },
+ {
+ "id": "5138e78a.bf2918",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1538.9682960510254,
+ "y": 135.72913646697998,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "c7dca56e.257ca8"
+ ]
+ ]
+ },
+ {
+ "id": "ce27f2ab.d7a5d",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.9682922363281,
+ "y": 177.72916793823242,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "c5852511.ea0668"
+ ]
+ ]
+ },
+ {
+ "id": "c7dca56e.257ca8",
+ "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": 1813.9685173034668,
+ "y": 131.72918510437012,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "ae55af74.56f3c",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1537.0000343322754,
+ "y": 100.77775192260742,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "c7dca56e.257ca8"
+ ]
+ ]
+ },
+ {
+ "id": "c8c8edc5.558e4",
+ "type": "outcome",
+ "name": "outcome Created",
+ "xml": "<outcome value='Created'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1517.000072479248,
+ "y": 65.77775382995605,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "c7dca56e.257ca8"
+ ]
+ ]
+ },
+ {
+ "id": "9f741f0f.86e65",
+ "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": 1666.2464065551758,
+ "y": 868.2738800048828,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d140ba03.9488f8",
+ "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": 1578.438648223877,
+ "y": 700.2787666320801,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "19350a2.00944f6",
+ "2ac3adf2.61df12"
+ ]
+ ]
+ },
+ {
+ "id": "19350a2.00944f6",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1865.1885299682617,
+ "y": 738.4454336166382,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "c6e7b54f.a386d8"
+ ]
+ ]
+ },
+ {
+ "id": "2ac3adf2.61df12",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1862.85542678833,
+ "y": 705.4453077316284,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "4c785d2a.b22b24"
+ ]
+ ]
+ },
+ {
+ "id": "4c785d2a.b22b24",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 2023.1886558532715,
+ "y": 702.4453649520874,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "7082d0a5.d6ea",
+ "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": 2358.2642707824707,
+ "y": 731.7111825942993,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "e3d6d488.f4d528",
+ "bf586b63.f59aa8"
+ ]
+ ]
+ },
+ {
+ "id": "e3d6d488.f4d528",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2717.513961791992,
+ "y": 688.7111854553223,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "ada3072f.b79978"
+ ]
+ ]
+ },
+ {
+ "id": "bf586b63.f59aa8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2697.513961791992,
+ "y": 723.7111854553223,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "8992cd4d.3eddd"
+ ]
+ ]
+ },
+ {
+ "id": "c6e7b54f.a386d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1999.2997856140137,
+ "y": 738.889838218689,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "7082d0a5.d6ea"
+ ]
+ ]
+ },
+ {
+ "id": "74dc02ac.b7191c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4121.507778167725,
+ "y": 666.9217891693115,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "e21a7b71.ed73e8"
+ ]
+ ]
+ },
+ {
+ "id": "a41523ea.9b6f2",
+ "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": 4564.039745330811,
+ "y": 666.6718139648438,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "e21a7b71.ed73e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4270.126216888428,
+ "y": 666.778974533081,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "a41523ea.9b6f2"
+ ]
+ ]
+ },
+ {
+ "id": "b5ea24ff.8906d8",
+ "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": 3304.3761825561523,
+ "y": 727.0287618637085,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f7b04893.75f7b8"
+ ]
+ ]
+ },
+ {
+ "id": "f7b04893.75f7b8",
+ "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": 3749.8047790527344,
+ "y": 726.7789306640625,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "74dc02ac.b7191c"
+ ]
+ ]
+ },
+ {
+ "id": "8992cd4d.3eddd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2916.360061645508,
+ "y": 724.9046869277954,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "b5ea24ff.8906d8"
+ ]
+ ]
+ },
+ {
+ "id": "ada3072f.b79978",
+ "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": 2909.0636138916016,
+ "y": 688.2787523269653,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "6229e67b.dcc688",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2323.7461891174316,
+ "y": 553.5238647460938,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "3eb1e370.0868ec"
+ ]
+ ]
+ },
+ {
+ "id": "3eb1e370.0868ec",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
+ "comments": "",
+ "x": 2480.7461891174316,
+ "y": 554.5238647460938,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "3e56973c.7167e8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 905.1111869812012,
+ "y": 340.2326765060425,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "35e94c82.e258f4",
+ "3e5ff33f.47870c",
+ "e06b8831.66ddf8",
+ "28b987dd.785e58"
+ ]
+ ]
+ },
+ {
+ "id": "35e94c82.e258f4",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.4444122314453,
+ "y": 285.23250579833984,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "155e6231.f6ae8e"
+ ]
+ ]
+ },
+ {
+ "id": "155e6231.f6ae8e",
+ "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": 1716.4444885253906,
+ "y": 284.8993377685547,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e5ff33f.47870c",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.4445304870605,
+ "y": 389.8992614746094,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "dd8ef6f1.b78588"
+ ]
+ ]
+ },
+ {
+ "id": "ac8744c.c01bcb8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 909.6667366027832,
+ "y": 581.6770572662354,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "4bae5f0b.cedde",
+ "675d1751.d19a88",
+ "8a4a4e41.b5515",
+ "59dbfd81.6f2924"
+ ]
+ ]
+ },
+ {
+ "id": "4bae5f0b.cedde",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.4446144104004,
+ "y": 525.8991947174072,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "64bcaf0e.b9bc4"
+ ]
+ ]
+ },
+ {
+ "id": "675d1751.d19a88",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.8897018432617,
+ "y": 672.5908031463623,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "3130c731.b83a38"
+ ]
+ ]
+ },
+ {
+ "id": "64bcaf0e.b9bc4",
+ "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": 1690.8018798828125,
+ "y": 524.1825675964355,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ec9b1c2.d7896e",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 695.3335037231445,
+ "y": 921.0105962753296,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "d8080c3a.ae819"
+ ]
+ ]
+ },
+ {
+ "id": "d8080c3a.ae819",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 895.6473236083984,
+ "y": 920.7882690429688,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "36fb281c.5a7318",
+ "81edc8f4.ef4398",
+ "7cf33cd4.4d9ff4"
+ ]
+ ]
+ },
+ {
+ "id": "7621e17b.a9522",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 693.3335075378418,
+ "y": 998.0106000900269,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f6b6bca8.c4f78"
+ ]
+ ]
+ },
+ {
+ "id": "f6b6bca8.c4f78",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 895.6217651367188,
+ "y": 999.071400642395,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "f30dd932.31da78",
+ "5aa4890e.c66fd8",
+ "9d76e3e7.e3dc5"
+ ]
+ ]
+ },
+ {
+ "id": "17812524.ab993b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1627.4448852539062,
+ "y": 1411.8994827270508,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "ee06cc7e.4911c"
+ ]
+ ]
+ },
+ {
+ "id": "c39b7ecf.bd11",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1593.8891830444336,
+ "y": 1707.4552936553955,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "389a961d.5233ca"
+ ]
+ ]
+ },
+ {
+ "id": "ee06cc7e.4911c",
+ "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": 1993.111328125,
+ "y": 1408.3441352844238,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "389a961d.5233ca",
+ "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": 1958.8891067504883,
+ "y": 1706.4552221298218,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36fb281c.5a7318",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1457.6473083496094,
+ "y": 1357.677001953125,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "60512a1c.621c74"
+ ]
+ ]
+ },
+ {
+ "id": "81edc8f4.ef4398",
+ "type": "outcome",
+ "name": "CreateSOTNConnectivityInstance",
+ "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1537.314037322998,
+ "y": 1258.4549032608047,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "97483d5f.4254d"
+ ]
+ ]
+ },
+ {
+ "id": "97483d5f.4254d",
+ "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": 2016.2028541564941,
+ "y": 1260.6770855346695,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5aa4890e.c66fd8",
+ "type": "outcome",
+ "name": "DeleteSOTNConnectivityInstance",
+ "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1530.7332000732422,
+ "y": 1515.6271324157715,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "976fa25c.f8c0f"
+ ]
+ ]
+ },
+ {
+ "id": "976fa25c.f8c0f",
+ "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": 1997.6220169067383,
+ "y": 1517.8493146896362,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f30dd932.31da78",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.0663375854492,
+ "y": 1626.8492712974548,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "b8c67313.e4837"
+ ]
+ ]
+ },
+ {
+ "id": "e06b8831.66ddf8",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1221.4445037841797,
+ "y": 236.01041412353516,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "ca6079d7.52d3f8"
+ ]
+ ]
+ },
+ {
+ "id": "ca6079d7.52d3f8",
+ "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": 1675.6667175292969,
+ "y": 237.24494552612305,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a4a4e41.b5515",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1179.5451545715332,
+ "y": 568.9999942779541,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "dfad3438.d76388"
+ ]
+ ]
+ },
+ {
+ "id": "dfad3438.d76388",
+ "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": 1719.5455322265625,
+ "y": 572.666805267334,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28b987dd.785e58",
+ "type": "outcome",
+ "name": "ActivateSDWANConnectivityInstance",
+ "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.9896392822266,
+ "y": 336.0000190734863,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "ba274317.79471"
+ ]
+ ]
+ },
+ {
+ "id": "ba274317.79471",
+ "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": 1742.9898376464844,
+ "y": 330.66687393188477,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59dbfd81.6f2924",
+ "type": "outcome",
+ "name": "DeactivateSDWANConnectivityInstance",
+ "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1196.9895935058594,
+ "y": 622,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "3ea2e33f.e9bfac"
+ ]
+ ]
+ },
+ {
+ "id": "3ea2e33f.e9bfac",
+ "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": 1710.9898681640625,
+ "y": 619.6668519973755,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7cf33cd4.4d9ff4",
+ "type": "outcome",
+ "name": "CreateSDWANConnectivityInstance",
+ "xml": "<outcome value='CreateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1542.9895935058594,
+ "y": 1307,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "229eb427.523f3c"
+ ]
+ ]
+ },
+ {
+ "id": "229eb427.523f3c",
+ "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": 1985.9897842407227,
+ "y": 1304.6668286323547,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d76e3e7.e3dc5",
+ "type": "outcome",
+ "name": "DeleteSDWANConnectivityInstance",
+ "xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1531.989658355713,
+ "y": 1566.0001797676086,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "8830d064.6046"
+ ]
+ ]
+ },
+ {
+ "id": "8830d064.6046",
+ "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": 1998.878475189209,
+ "y": 1568.2223620414734,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd8ef6f1.b78588",
+ "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": 1228.8954391479492,
+ "y": 375.0065197944641,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "4305e223.93e80c",
+ "c6d3360e.e46bb8"
+ ]
+ ]
+ },
+ {
+ "id": "4305e223.93e80c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1434.895492553711,
+ "y": 370.11759185791016,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "efbbd6dd.74a268"
+ ]
+ ]
+ },
+ {
+ "id": "efbbd6dd.74a268",
+ "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": 1819.8955917358398,
+ "y": 372.1176052093506,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6d3360e.e46bb8",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.1176147460938,
+ "y": 437.0064754486084,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "91cf810e.16ded"
+ ]
+ ]
+ },
+ {
+ "id": "3130c731.b83a38",
+ "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": 1244.6732025146484,
+ "y": 663.2287330627441,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "ac9a367d.5109a8",
+ "d701c806.67d1c8"
+ ]
+ ]
+ },
+ {
+ "id": "ac9a367d.5109a8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1445.6733589172363,
+ "y": 662.339765548706,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "85b225fb.948668"
+ ]
+ ]
+ },
+ {
+ "id": "85b225fb.948668",
+ "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": 1811.673324584961,
+ "y": 659.3397808074951,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d701c806.67d1c8",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1091.673252105713,
+ "y": 726.1176118850708,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "955e93bb.ba042"
+ ]
+ ]
+ },
+ {
+ "id": "60512a1c.621c74",
+ "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": 1642.895492553711,
+ "y": 1363.6731243133545,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "dbd50474.6c2188",
+ "8590bbfd.3e1818"
+ ]
+ ]
+ },
+ {
+ "id": "8590bbfd.3e1818",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.8954315185547,
+ "y": 1410.562126159668,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "17812524.ab993b"
+ ]
+ ]
+ },
+ {
+ "id": "dbd50474.6c2188",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1848.895565032959,
+ "y": 1355.7841815948486,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "1cb02075.d69fc"
+ ]
+ ]
+ },
+ {
+ "id": "1cb02075.d69fc",
+ "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": 2207.895492553711,
+ "y": 1356.7842350006104,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b8c67313.e4837",
+ "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": 1655.56201171875,
+ "y": 1635.0065059661865,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "3f6aae39.2b27c2",
+ "d69b4681.c4d078"
+ ]
+ ]
+ },
+ {
+ "id": "d69b4681.c4d078",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440.562026977539,
+ "y": 1710.895429611206,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "c39b7ecf.bd11"
+ ]
+ ]
+ },
+ {
+ "id": "3f6aae39.2b27c2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1856.562168121338,
+ "y": 1634.1175384521484,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "2b872d7d.587eb2"
+ ]
+ ]
+ },
+ {
+ "id": "2b872d7d.587eb2",
+ "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": 2222.5621337890625,
+ "y": 1631.1175537109375,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34673e4d.5f2892",
+ "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": 544.7866706848145,
+ "y": 1191.9571886062622,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "8cdfa6fc.6f3bc8",
+ "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": 502.5009765625,
+ "y": 1146.528715133667,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "e2dc53b9.ec394",
+ "type": "set",
+ "name": "set networkId",
+ "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
+ "comments": "",
+ "x": 496.7866096496582,
+ "y": 1109.385823249817,
+ "z": "b2ff82f0.56033",
+ "wires": []
+ },
+ {
+ "id": "a3ec8288.4b45b",
+ "type": "other",
+ "name": "reoptimize",
+ "xml": "<outcome value='reoptimize'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 693,
+ "y": 1034,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "ee626a29.366388"
+ ]
+ ]
+ },
+ {
+ "id": "ee626a29.366388",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 888,
+ "y": 1038,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "5c17b026.118b2"
+ ]
+ ]
+ },
+ {
+ "id": "5c17b026.118b2",
+ "type": "outcome",
+ "name": "ReoptimizeSOTNInstance",
+ "xml": "<outcome value='ReoptimizeSOTNInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1540,
+ "y": 1781,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ [
+ "674f0e13.78aad"
+ ]
+ ]
+ },
+ {
+ "id": "674f0e13.78aad",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-reoptimize",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-reoptimize' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1955,
+ "y": 1779,
+ "z": "b2ff82f0.56033",
+ "wires": [
+ []
+ ]
+ }
]