[
- {
- "id": "c99606bb.e2a028",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 112.11111450195312,
- "y": 72.41365623474121,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "864e4d1.67b0cb"
- ]
- ]
- },
- {
- "id": "864e4d1.67b0cb",
- "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": 194.0634765625,
- "y": 112.6517686843872,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "8523dd91.6b0d1"
- ]
- ]
- },
- {
- "id": "8523dd91.6b0d1",
- "type": "method",
- "name": "network-topology-operation",
- "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 190.53974151611328,
- "y": 152.4136505126953,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "1a229729.b26c99"
- ]
- ]
- },
- {
- "id": "38f1087b.161648",
- "type": "comment",
- "name": " NETWORK-TOPOLOGY-OPERATION ",
- "info": "",
- "comments": "",
- "x": 506.45597076416016,
- "y": 20,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "1a229729.b26c99",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 226.11114501953125,
- "y": 235.85713958740234,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "98cc4191.2cf35",
- "57ac21c1.a3bc3",
- "987f679f.f57988",
- "1170a38.c1b8e5d"
- ]
- ]
- },
- {
- "id": "98cc4191.2cf35",
- "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": 456.1945037841797,
- "y": 859.6997756958008,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "57ac21c1.a3bc3",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 452.82537841796875,
- "y": 466.2708339691162,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "f08cfd72.f6d7a",
- "ba263e37.fc151",
- "ee75a5f3.d1d328",
- "906cbd9a.3bcc1",
- "483543a0.87b2ec"
- ]
- ]
- },
- {
- "id": "f08cfd72.f6d7a",
- "type": "other",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 673.3015747070312,
- "y": 328.5564842224121,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "85930aff.cc50b8"
- ]
- ]
- },
- {
- "id": "85930aff.cc50b8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 854.5397338867188,
- "y": 329.5566062927246,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "733204ba.52ff4c"
- ]
- ]
- },
- {
- "id": "987f679f.f57988",
- "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": 584.1111145019531,
- "y": 236.4136562347412,
- "z": "cb3252c9.673b6",
- "wires": [
- []
- ]
- },
- {
- "id": "733204ba.52ff4c",
- "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": 1226.111083984375,
- "y": 326.4136619567871,
- "z": "cb3252c9.673b6",
- "wires": [
- []
- ]
- },
- {
- "id": "ba263e37.fc151",
- "type": "other",
- "name": "activate",
- "xml": "<outcome value='activate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 675.1111145019531,
- "y": 416.4136562347412,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "70342e4b.918dc"
- ]
- ]
- },
- {
- "id": "70342e4b.918dc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 859.3492736816406,
- "y": 417.4137783050537,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "69a87518.69854c",
- "bd1a56c0.3e9138"
- ]
- ]
- },
- {
- "id": "68785460.4653ec",
- "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": 1991.9206848144531,
- "y": 579.2708282470703,
- "z": "cb3252c9.673b6",
- "wires": [
- []
- ]
- },
- {
- "id": "ee75a5f3.d1d328",
- "type": "other",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 664.1111145019531,
- "y": 576.4136810302734,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "444b8a86.f0f0b4"
- ]
- ]
- },
- {
- "id": "444b8a86.f0f0b4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 845.3492736816406,
- "y": 577.4138031005859,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "69a87518.69854c",
- "142787bd.d3eaa8"
- ]
- ]
- },
- {
- "id": "a1ea1a5a.119a28",
- "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": 1998.4205932617188,
- "y": 695.0208282470703,
- "z": "cb3252c9.673b6",
- "wires": [
- []
- ]
- },
- {
- "id": "906cbd9a.3bcc1",
- "type": "other",
- "name": "unassign",
- "xml": "<outcome value='unassign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 672.1111145019531,
- "y": 641.4136810302734,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "78e21d22.3aa574"
- ]
- ]
- },
- {
- "id": "78e21d22.3aa574",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 853.3492736816406,
- "y": 642.4138031005859,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "69a87518.69854c",
- "9de6fd5e.4ad14"
- ]
- ]
- },
- {
- "id": "6c5f5914.18dc18",
- "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": 2005.1705932617188,
- "y": 807.7708282470703,
- "z": "cb3252c9.673b6",
- "wires": [
- []
- ]
- },
- {
- "id": "483543a0.87b2ec",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 663.1111183166504,
- "y": 701.4136714935303,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "a3c1c755.071638"
- ]
- ]
- },
- {
- "id": "a3c1c755.071638",
- "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": 845.1111145019531,
- "y": 700.4136810302734,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "1170a38.c1b8e5d",
- "type": "set",
- "name": "Set final indicator to Y",
- "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
- "comments": "",
- "x": 475.2221984863281,
- "y": 818.8581142425537,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "d9b3b70a.4d0258",
- "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": 1893.8414764404297,
- "y": 473.1755828857422,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "7ab3dce2.d045e4"
- ]
- ]
- },
- {
- "id": "69a87518.69854c",
- "type": "switchNode",
- "name": "switch service-data.networks.network_length",
- "xml": "<switch test='`$service-data.networks.network_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1227.5555725097656,
- "y": 437.74696350097656,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "1c5afa5b.117ca6",
- "e5671ca3.48268"
- ]
- ]
- },
- {
- "id": "1c5afa5b.117ca6",
- "type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1470.5555114746094,
- "y": 439.7469730377197,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "88ef598e.91daa8"
- ]
- ]
- },
- {
- "id": "e5671ca3.48268",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1424.5555419921875,
- "y": 472.7469940185547,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "18cdb225.91a67e"
- ]
- ]
- },
- {
- "id": "7ab3dce2.d045e4",
- "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": 2184.2700271606445,
- "y": 472.42566680908203,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "3a66da90.0e3556"
- ]
- ]
- },
- {
- "id": "3a66da90.0e3556",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2373.222381591797,
- "y": 473.3184051513672,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "7d4e697f.fd23e8"
- ]
- ]
- },
- {
- "id": "7d4e697f.fd23e8",
- "type": "set",
- "name": "set tmp.nidx and ctx.network-data",
- "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
- "comments": "",
- "x": 2606.754150390625,
- "y": 472.0684127807617,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "cc47bcf0.238e4",
- "type": "comment",
- "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
- "info": "",
- "comments": "",
- "x": 1350.6666564941406,
- "y": 406.74698638916016,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "60b7d7a1.646f18",
- "type": "comment",
- "name": "service-data will not be stored until we have a network-id",
- "info": "",
- "comments": "",
- "x": 1193.7777099609375,
- "y": 294.63589096069336,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "88ef598e.91daa8",
- "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": 1662.3330688476562,
- "y": 437.63597106933594,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "18cdb225.91a67e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1591.8255081176758,
- "y": 472.301570892334,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "d9b3b70a.4d0258",
- "46916c71.7511d4"
- ]
- ]
- },
- {
- "id": "46916c71.7511d4",
- "type": "switchNode",
- "name": "switch tmp.nidx ",
- "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1812.1429061889648,
- "y": 515.1587896347046,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "744b6bc1.2a0f74"
- ]
- ]
- },
- {
- "id": "570ef8cd.cbcb88",
- "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": 2164.9998893737793,
- "y": 510.87303161621094,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "744b6bc1.2a0f74",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1983.5714416503906,
- "y": 513.7301750183105,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "570ef8cd.cbcb88"
- ]
- ]
- },
- {
- "id": "bd1a56c0.3e9138",
- "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": 1204.888916015625,
- "y": 579.2222290039062,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "f3be99d5.176a88",
- "215ed9fd.338986"
- ]
- ]
- },
- {
- "id": "f3be99d5.176a88",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1569.8888956705723,
- "y": 579.2222137451171,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "68785460.4653ec"
- ]
- ]
- },
- {
- "id": "215ed9fd.338986",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1519.8889427185059,
- "y": 619.2222442626953,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "598a9836.8dec38"
- ]
- ]
- },
- {
- "id": "598a9836.8dec38",
- "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": 1689.8889427185059,
- "y": 619.2222442626953,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "142787bd.d3eaa8",
- "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": 1212.1903991699219,
- "y": 695.1736297607422,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "ae28e421.942868",
- "d2690a94.f5d8c8"
- ]
- ]
- },
- {
- "id": "ae28e421.942868",
- "type": "outcome",
- "name": "outcome Created",
- "xml": "<outcome value='Created'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1575.1903686523438,
- "y": 695.1736602783203,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "a1ea1a5a.119a28"
- ]
- ]
- },
- {
- "id": "d2690a94.f5d8c8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1545.1903686523438,
- "y": 735.1736602783203,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "db8d6195.30425"
- ]
- ]
- },
- {
- "id": "db8d6195.30425",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
- "comments": "",
- "x": 1711.1903686523438,
- "y": 737.1736602783203,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "9de6fd5e.4ad14",
- "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": 1211.9919738769531,
- "y": 809.3750305175781,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "7e221c63.bc45a4",
- "cf28440b.dda768",
- "c3dda3f.4ff456"
- ]
- ]
- },
- {
- "id": "7e221c63.bc45a4",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1571.991943359375,
- "y": 809.3750610351562,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "6c5f5914.18dc18"
- ]
- ]
- },
- {
- "id": "cf28440b.dda768",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1528.9918823242188,
- "y": 893.3750762939453,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "fbd25549.98f538"
- ]
- ]
- },
- {
- "id": "fbd25549.98f538",
- "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": 1720.3253021240234,
- "y": 892.0417051315308,
- "z": "cb3252c9.673b6",
- "wires": []
- },
- {
- "id": "c3dda3f.4ff456",
- "type": "outcome",
- "name": "outcome PendingDelete",
- "xml": "<outcome value='PendingDelete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1575.22216796875,
- "y": 847.2222290039062,
- "z": "cb3252c9.673b6",
- "wires": [
- [
- "6c5f5914.18dc18"
- ]
- ]
- }
+ {
+ "id": "22447bb.ca1b884",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 152.00390625,
+ "y": 98.41365623474121,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "466f0033.35cb7"
+ ]
+ ]
+ },
+ {
+ "id": "466f0033.35cb7",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 233.95626831054688,
+ "y": 138.6517686843872,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "72c0d062.bcd76"
+ ]
+ ]
+ },
+ {
+ "id": "72c0d062.bcd76",
+ "type": "method",
+ "name": "network-topology-operation",
+ "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 230.43253326416016,
+ "y": 178.4136505126953,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "eb6b1875.0a05c8"
+ ]
+ ]
+ },
+ {
+ "id": "5bad23a2.6ab6cc",
+ "type": "comment",
+ "name": " NETWORK-TOPOLOGY-OPERATION ",
+ "info": "",
+ "comments": "",
+ "x": 546.348762512207,
+ "y": 46,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "eb6b1875.0a05c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 266.0039367675781,
+ "y": 261.85713958740234,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "800f4458.13e0e8",
+ "69a90e48.698e4",
+ "5d15a28a.f8b28c",
+ "1c731b73.ad5485"
+ ]
+ ]
+ },
+ {
+ "id": "800f4458.13e0e8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 496.08729553222656,
+ "y": 885.6997756958008,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "69a90e48.698e4",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 492.7181701660156,
+ "y": 492.2708339691162,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "7c51d92d.ac3558",
+ "c0f563da.45066",
+ "bcd7f689.e68068",
+ "a339fa13.cef888",
+ "f32b6746.ab2ac8",
+ "65bec383.089c6c",
+ "13d33f80.29ff51"
+ ]
+ ]
+ },
+ {
+ "id": "7c51d92d.ac3558",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 713.1943664550781,
+ "y": 268.5564842224121,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "9275b2f9.0f7e1"
+ ]
+ ]
+ },
+ {
+ "id": "9275b2f9.0f7e1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 894.4325256347656,
+ "y": 269.5566062927246,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "325fdcb1.4a6014"
+ ]
+ ]
+ },
+ {
+ "id": "5d15a28a.f8b28c",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 625.0039215087891,
+ "y": 204.41373252868652,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "325fdcb1.4a6014",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-assign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1253.7816772460938,
+ "y": 189.7470084587112,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "c0f563da.45066",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 715.00390625,
+ "y": 442.4136562347412,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "61d3baaf.004a44"
+ ]
+ ]
+ },
+ {
+ "id": "7e513616.123088",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1252.2420654296875,
+ "y": 439.4138927459717,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "ae258a82.33a2e8",
+ "8bbc4549.c2c348"
+ ]
+ ]
+ },
+ {
+ "id": "7dc76c81.46ae84",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2297.8134765625,
+ "y": 568.2708282470703,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "bcd7f689.e68068",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 704.00390625,
+ "y": 602.4136810302734,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "a90bb735.783aa8"
+ ]
+ ]
+ },
+ {
+ "id": "a90bb735.783aa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 892.2422637939453,
+ "y": 601.4140040278435,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "b5b1cc7d.0a9d8"
+ ]
+ ]
+ },
+ {
+ "id": "483724bf.a7dffc",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2465.8691635131836,
+ "y": 853.131984368898,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "a339fa13.cef888",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 712.00390625,
+ "y": 667.4136810302734,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "c4bb456b.36d518"
+ ]
+ ]
+ },
+ {
+ "id": "c4bb456b.36d518",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 893.2420654296875,
+ "y": 668.4138031005859,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "ae258a82.33a2e8",
+ "b9288b8f.f7a128"
+ ]
+ ]
+ },
+ {
+ "id": "545822dc.aecafc",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2040.618911743164,
+ "y": 890.4374882141128,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "f32b6746.ab2ac8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 703.0039100646973,
+ "y": 727.4136714935303,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "43654f47.8db24"
+ ]
+ ]
+ },
+ {
+ "id": "43654f47.8db24",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"sdnc-request-header.svc-action is a required input\" />\n",
+ "comments": "",
+ "x": 885.00390625,
+ "y": 726.4136810302734,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "1c731b73.ad5485",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 515.114990234375,
+ "y": 844.8581142425537,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "5f07f64.621f908",
+ "type": "for",
+ "name": "for nidx..service-data.networks.network[]",
+ "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2251.7342681884766,
+ "y": 478.1755828857422,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "bcc0c33e.bd395"
+ ]
+ ]
+ },
+ {
+ "id": "ae258a82.33a2e8",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1558.4483642578125,
+ "y": 437.74696350097656,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "a9e39ffc.d6d6e",
+ "881da1f.33e4b6"
+ ]
+ ]
+ },
+ {
+ "id": "a9e39ffc.d6d6e",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1831.4484024047852,
+ "y": 436.7470283508301,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "77cc77c5.b2f928"
+ ]
+ ]
+ },
+ {
+ "id": "881da1f.33e4b6",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1811.4487266540527,
+ "y": 476.74703311920166,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "86bde218.2b981"
+ ]
+ ]
+ },
+ {
+ "id": "bcc0c33e.bd395",
+ "type": "switchNode",
+ "name": "switch networkid found",
+ "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2542.1628189086914,
+ "y": 477.42566680908203,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "7c46a173.c9d7a"
+ ]
+ ]
+ },
+ {
+ "id": "7c46a173.c9d7a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2731.1151733398438,
+ "y": 478.3184051513672,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "82887486.a7b018"
+ ]
+ ]
+ },
+ {
+ "id": "82887486.a7b018",
+ "type": "set",
+ "name": "set tmp.nidx and ctx.network-data",
+ "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
+ "comments": "",
+ "x": 2964.646942138672,
+ "y": 477.0684127807617,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "a24ee0c5.d21c5",
+ "type": "comment",
+ "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+ "info": "",
+ "comments": "",
+ "x": 1504.559700012207,
+ "y": 401.74702501296997,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "5e45bf.f8a18a4",
+ "type": "comment",
+ "name": "service-data will not be stored until we have a network-id",
+ "info": "",
+ "comments": "",
+ "x": 1221.4483032226562,
+ "y": 157.96923746261746,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "77cc77c5.b2f928",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 1993.2258605957031,
+ "y": 437.63597106933594,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "86bde218.2b981",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1949.7182998657227,
+ "y": 477.301570892334,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "5f07f64.621f908",
+ "385983c7.9f2b7c"
+ ]
+ ]
+ },
+ {
+ "id": "385983c7.9f2b7c",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2170.0356979370117,
+ "y": 520.1587896347046,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "f85ca643.8fb898"
+ ]
+ ]
+ },
+ {
+ "id": "cdb52735.90dc68",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 2522.892681121826,
+ "y": 515.8730316162109,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "f85ca643.8fb898",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2341.4642333984375,
+ "y": 518.7301750183105,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "cdb52735.90dc68"
+ ]
+ ]
+ },
+ {
+ "id": "8bbc4549.c2c348",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510.7817077636719,
+ "y": 568.2222290039062,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "6e122dc8.532934",
+ "22b32187.96be8e"
+ ]
+ ]
+ },
+ {
+ "id": "6e122dc8.532934",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1875.7816874186192,
+ "y": 568.2222137451171,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "7dc76c81.46ae84"
+ ]
+ ]
+ },
+ {
+ "id": "22b32187.96be8e",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825.7817344665527,
+ "y": 608.2222442626953,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "c7f8345d.b6f678"
+ ]
+ ]
+ },
+ {
+ "id": "c7f8345d.b6f678",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 1995.7817344665527,
+ "y": 608.2222442626953,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "634dd574.9447fc",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1243.7500381469727,
+ "y": 794.8403650242835,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "7b4cd5b5.65915c",
+ "e12f8291.e5f2d"
+ ]
+ ]
+ },
+ {
+ "id": "7b4cd5b5.65915c",
+ "type": "outcome",
+ "name": "outcome Created",
+ "xml": "<outcome value='Created'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1595.6388511657715,
+ "y": 789.2848469177261,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "8d2e1f53.0a094"
+ ]
+ ]
+ },
+ {
+ "id": "e12f8291.e5f2d",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1565.6388511657715,
+ "y": 829.2848469177261,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "5b7b9e1a.0f623"
+ ]
+ ]
+ },
+ {
+ "id": "5b7b9e1a.0f623",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 1731.6388511657715,
+ "y": 831.2848469177261,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "b9288b8f.f7a128",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1247.4402923583984,
+ "y": 892.0416904846206,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "83977ad2.652058",
+ "4164bd1d.d21fe4",
+ "9708ceab.b495d"
+ ]
+ ]
+ },
+ {
+ "id": "83977ad2.652058",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1607.4402618408203,
+ "y": 892.0417210021988,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "545822dc.aecafc"
+ ]
+ ]
+ },
+ {
+ "id": "4164bd1d.d21fe4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1564.440200805664,
+ "y": 976.0417362609878,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "73868aa3.1c8774"
+ ]
+ ]
+ },
+ {
+ "id": "73868aa3.1c8774",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 1755.7736206054688,
+ "y": 974.7083650985733,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "9708ceab.b495d",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1610.6704864501953,
+ "y": 929.8888889709488,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "545822dc.aecafc"
+ ]
+ ]
+ },
+ {
+ "id": "65bec383.089c6c",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 700.4562683105469,
+ "y": 787,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "854868fb.692c98"
+ ]
+ ]
+ },
+ {
+ "id": "13d33f80.29ff51",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 703.4562683105469,
+ "y": 840,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "eefbd503.989fd8"
+ ]
+ ]
+ },
+ {
+ "id": "509a1330.098dbc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1340.567497253418,
+ "y": 1081.8888937393203,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "fc73b84f.5d78c8"
+ ]
+ ]
+ },
+ {
+ "id": "8263c76f.199698",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1314.0119552612305,
+ "y": 1236.4444319168106,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "bd3a896d.c04468"
+ ]
+ ]
+ },
+ {
+ "id": "fc73b84f.5d78c8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1705.2339935302734,
+ "y": 1081.3335157791153,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "bd3a896d.c04468",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-delete",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1679.0118789672852,
+ "y": 1235.4443603912368,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "61d3baaf.004a44",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 899.6551361083984,
+ "y": 422.7314224243164,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "a1424008.31d3d",
+ "9be2b7c3.9aa0b8",
+ "9d7d6a23.ac4a28"
+ ]
+ ]
+ },
+ {
+ "id": "a1424008.31d3d",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1141.9884033203125,
+ "y": 344.7312355041504,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "3098b58e.59145a"
+ ]
+ ]
+ },
+ {
+ "id": "9be2b7c3.9aa0b8",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1071.988395690918,
+ "y": 470.3979320526123,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "7e513616.123088"
+ ]
+ ]
+ },
+ {
+ "id": "3098b58e.59145a",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1565.9884185791016,
+ "y": 342.3981046676636,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "8d2e1f53.0a094",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1870.2261199951172,
+ "y": 787.4444404998794,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "aaaa0d61.3eb52",
+ "65bd4c29.44c284"
+ ]
+ ]
+ },
+ {
+ "id": "aaaa0d61.3eb52",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2140.559371948242,
+ "y": 797.4443317810073,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "db97de83.50799"
+ ]
+ ]
+ },
+ {
+ "id": "db97de83.50799",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2615.5595932006836,
+ "y": 796.1111499229446,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "65bd4c29.44c284",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2063.2262115478516,
+ "y": 855.4444824615493,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "483724bf.a7dffc"
+ ]
+ ]
+ },
+ {
+ "id": "9d7d6a23.ac4a28",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1141.2261047363281,
+ "y": 276.3202238082886,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "a046f39e.31874"
+ ]
+ ]
+ },
+ {
+ "id": "a046f39e.31874",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1566.4482612609863,
+ "y": 272.5547663131729,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "854868fb.692c98",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 899.7700729370117,
+ "y": 793.7777611175552,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "52fa6311.1fcbbc",
+ "873a6681.0ace38"
+ ]
+ ]
+ },
+ {
+ "id": "52fa6311.1fcbbc",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1158.7700309753418,
+ "y": 1083.6665073791519,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "509a1330.098dbc"
+ ]
+ ]
+ },
+ {
+ "id": "873a6681.0ace38",
+ "type": "outcome",
+ "name": "CreateSOTNConnectivityInstance",
+ "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.4368057250977,
+ "y": 1020.4444471755996,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "2beb5ff2.5f47"
+ ]
+ ]
+ },
+ {
+ "id": "2beb5ff2.5f47",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1705.3256225585938,
+ "y": 1022.6666294494644,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "99f01de7.cef63",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1136.1036529541016,
+ "y": 680.913647309877,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "d8572f1b.9bba2"
+ ]
+ ]
+ },
+ {
+ "id": "eefbd503.989fd8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 902.7446212768555,
+ "y": 1002.060903207399,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "939da72d.b0ff98",
+ "bda71ad3.e6fc18"
+ ]
+ ]
+ },
+ {
+ "id": "bda71ad3.e6fc18",
+ "type": "outcome",
+ "name": "DeleteSOTNConnectivityInstance",
+ "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.855857849121,
+ "y": 1177.6164580741897,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "b6f5f0d5.a2a9f"
+ ]
+ ]
+ },
+ {
+ "id": "b6f5f0d5.a2a9f",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-delete",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-delete' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1702.7446746826172,
+ "y": 1179.8386403480545,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "939da72d.b0ff98",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.1890830993652,
+ "y": 1240.838518277742,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "8263c76f.199698"
+ ]
+ ]
+ },
+ {
+ "id": "3a846b42.3e5f44",
+ "type": "comment",
+ "name": "SOTN: Activate VPN Instance",
+ "info": "",
+ "comments": "",
+ "x": 1137.1890716552734,
+ "y": 239.22145618591458,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "8bda633.fc2eba",
+ "type": "comment",
+ "name": "SOTN: DeActivate VPN Instance",
+ "info": "",
+ "comments": "",
+ "x": 1676.0778427124023,
+ "y": 653.6658955970779,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "249eb98b.1011c6",
+ "type": "comment",
+ "name": "SOTN: Create VPN Instance",
+ "info": "",
+ "comments": "",
+ "x": 1234.9667892456055,
+ "y": 985.7645775238052,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "1f1ad24f.997f4e",
+ "type": "comment",
+ "name": "SOTN: Delete VPN Instance",
+ "info": "",
+ "comments": "",
+ "x": 1226.0778732299805,
+ "y": 1142.1843162933365,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "b5b1cc7d.0a9d8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.8812065124512,
+ "y": 605.9999634185806,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "a4048448.f587c8",
+ "99f01de7.cef63"
+ ]
+ ]
+ },
+ {
+ "id": "f7556427.fd2d08",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1811.0160217285156,
+ "y": 686.5053612152115,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "a4048448.f587c8",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1385.6588706970215,
+ "y": 608.2220562854782,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "f7556427.fd2d08"
+ ]
+ ]
+ },
+ {
+ "id": "d8572f1b.9bba2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1300.8811264038086,
+ "y": 682.6666122833267,
+ "z": "9e6cde1a.0ef11",
+ "wires": [
+ [
+ "634dd574.9447fc",
+ "ae258a82.33a2e8"
+ ]
+ ]
+ }
]