[
- {
- "id": "41c5caea.9adc34",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 95.54763793945312,
- "y": 109.41365623474121,
- "z": "67a3081a.032478",
- "wires": [
- [
- "cc320d31.bccdf"
- ]
- ]
- },
- {
- "id": "cc320d31.bccdf",
- "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": 177.5,
- "y": 149.6517686843872,
- "z": "67a3081a.032478",
- "wires": [
- [
- "82b10f50.5d8e8"
- ]
- ]
- },
- {
- "id": "82b10f50.5d8e8",
- "type": "method",
- "name": "network-topology-operation",
- "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 173.97626495361328,
- "y": 189.4136505126953,
- "z": "67a3081a.032478",
- "wires": [
- [
- "bf4f5344.1024c8"
- ]
- ]
- },
- {
- "id": "17ece3ab.35321c",
- "type": "comment",
- "name": " NETWORK-TOPOLOGY-OPERATION ",
- "info": "",
- "comments": "",
- "x": 489.89249420166016,
- "y": 57,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "bf4f5344.1024c8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 209.54766845703125,
- "y": 272.85713958740234,
- "z": "67a3081a.032478",
- "wires": [
- [
- "d50c5a2a.c0cea",
- "b762591f.2fb7a",
- "f06b8960.155ea8",
- "f1b5981d.bfa858"
- ]
- ]
- },
- {
- "id": "d50c5a2a.c0cea",
- "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": 439.6310272216797,
- "y": 896.6997756958008,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "b762591f.2fb7a",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 436.26190185546875,
- "y": 503.2708339691162,
- "z": "67a3081a.032478",
- "wires": [
- [
- "38a30397.7f9c64",
- "5b59ca66.3fadec",
- "7a4b792c.22588",
- "b22e57ce.c6aee8",
- "10c582cc.cfd665",
- "de74faab.3a2ae",
- "9bc3f97c.14bbf8"
- ]
- ]
- },
- {
- "id": "38a30397.7f9c64",
- "type": "other",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 656.7380981445312,
- "y": 365.5564842224121,
- "z": "67a3081a.032478",
- "wires": [
- [
- "7047d313.0a4e84"
- ]
- ]
- },
- {
- "id": "7047d313.0a4e84",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 837.9762573242188,
- "y": 366.5566062927246,
- "z": "67a3081a.032478",
- "wires": [
- [
- "fbc9882f.656ad8"
- ]
- ]
- },
- {
- "id": "f06b8960.155ea8",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:validate-network-input",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 567.5476379394531,
- "y": 273.4136562347412,
- "z": "67a3081a.032478",
- "wires": [
- []
- ]
- },
- {
- "id": "fbc9882f.656ad8",
- "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": 1209.547607421875,
- "y": 363.4136619567871,
- "z": "67a3081a.032478",
- "wires": [
- []
- ]
- },
- {
- "id": "5b59ca66.3fadec",
- "type": "other",
- "name": "activate",
- "xml": "<outcome value='activate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 658.5476379394531,
- "y": 453.4136562347412,
- "z": "67a3081a.032478",
- "wires": [
- [
- "73ce8c08.c3845c"
- ]
- ]
- },
- {
- "id": "73ce8c08.c3845c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 842.7857971191406,
- "y": 454.4137783050537,
- "z": "67a3081a.032478",
- "wires": [
- [
- "a003c0d6.5a0d8",
- "61a363af.ee55bc"
- ]
- ]
- },
- {
- "id": "ee7e53d1.6aac9",
- "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": 1975.3572082519531,
- "y": 616.2708282470703,
- "z": "67a3081a.032478",
- "wires": [
- []
- ]
- },
- {
- "id": "7a4b792c.22588",
- "type": "other",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 647.5476379394531,
- "y": 613.4136810302734,
- "z": "67a3081a.032478",
- "wires": [
- [
- "72ac187b.b86c38"
- ]
- ]
- },
- {
- "id": "72ac187b.b86c38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 828.7857971191406,
- "y": 614.4138031005859,
- "z": "67a3081a.032478",
- "wires": [
- [
- "a003c0d6.5a0d8",
- "831644e8.e13cc"
- ]
- ]
- },
- {
- "id": "65e2e00c.98fae8",
- "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": 1981.8571166992188,
- "y": 732.0208282470703,
- "z": "67a3081a.032478",
- "wires": [
- []
- ]
- },
- {
- "id": "b22e57ce.c6aee8",
- "type": "other",
- "name": "unassign",
- "xml": "<outcome value='unassign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 655.5476379394531,
- "y": 678.4136810302734,
- "z": "67a3081a.032478",
- "wires": [
- [
- "4894d2ca.1278e4"
- ]
- ]
- },
- {
- "id": "4894d2ca.1278e4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 836.7857971191406,
- "y": 679.4138031005859,
- "z": "67a3081a.032478",
- "wires": [
- [
- "a003c0d6.5a0d8",
- "2108d22b.ae9926"
- ]
- ]
- },
- {
- "id": "40a123a7.613904",
- "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": 1988.6071166992188,
- "y": 844.7708282470703,
- "z": "67a3081a.032478",
- "wires": [
- []
- ]
- },
- {
- "id": "10c582cc.cfd665",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 646.5476417541504,
- "y": 738.4136714935303,
- "z": "67a3081a.032478",
- "wires": [
- [
- "9b7e6225.5d79d"
- ]
- ]
- },
- {
- "id": "9b7e6225.5d79d",
- "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": 828.5476379394531,
- "y": 737.4136810302734,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "f1b5981d.bfa858",
- "type": "set",
- "name": "Set final indicator to Y",
- "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
- "comments": "",
- "x": 458.6587219238281,
- "y": 855.8581142425537,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "e4027dbf.f06578",
- "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": 1877.2779998779297,
- "y": 510.1755828857422,
- "z": "67a3081a.032478",
- "wires": [
- [
- "ac917046.066bc"
- ]
- ]
- },
- {
- "id": "a003c0d6.5a0d8",
- "type": "switchNode",
- "name": "switch service-data.networks.network_length",
- "xml": "<switch test='`$service-data.networks.network_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1210.9920959472656,
- "y": 474.74696350097656,
- "z": "67a3081a.032478",
- "wires": [
- [
- "9e3ec1fd.ad5b98",
- "47eae2b1.438c54"
- ]
- ]
- },
- {
- "id": "9e3ec1fd.ad5b98",
- "type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1453.9920349121094,
- "y": 476.7469730377197,
- "z": "67a3081a.032478",
- "wires": [
- [
- "f460d6cb.ffd978"
- ]
- ]
- },
- {
- "id": "47eae2b1.438c54",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1407.9920654296875,
- "y": 509.7469940185547,
- "z": "67a3081a.032478",
- "wires": [
- [
- "e10cc477.9b0f2"
- ]
- ]
- },
- {
- "id": "ac917046.066bc",
- "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": 2167.7065505981445,
- "y": 509.42566680908203,
- "z": "67a3081a.032478",
- "wires": [
- [
- "6f4b90eb.3d488"
- ]
- ]
- },
- {
- "id": "6f4b90eb.3d488",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2356.658905029297,
- "y": 510.3184051513672,
- "z": "67a3081a.032478",
- "wires": [
- [
- "9e191d8a.ab6c4"
- ]
- ]
- },
- {
- "id": "9e191d8a.ab6c4",
- "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": 2590.190673828125,
- "y": 509.0684127807617,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "7b13cf65.3164b",
- "type": "comment",
- "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
- "info": "",
- "comments": "",
- "x": 1334.1031799316406,
- "y": 443.74698638916016,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "1ed6801d.d2f0c8",
- "type": "comment",
- "name": "service-data will not be stored until we have a network-id",
- "info": "",
- "comments": "",
- "x": 1177.2142333984375,
- "y": 331.63589096069336,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "f460d6cb.ffd978",
- "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": 1645.7695922851562,
- "y": 474.63597106933594,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "e10cc477.9b0f2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1575.2620315551758,
- "y": 509.301570892334,
- "z": "67a3081a.032478",
- "wires": [
- [
- "e4027dbf.f06578",
- "8872fa92.c2a47"
- ]
- ]
- },
- {
- "id": "8872fa92.c2a47",
- "type": "switchNode",
- "name": "switch tmp.nidx ",
- "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1795.5794296264648,
- "y": 552.1587896347046,
- "z": "67a3081a.032478",
- "wires": [
- [
- "90030fdf.45af7"
- ]
- ]
- },
- {
- "id": "6b0a8e46.af7a78",
- "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": 2148.4364128112793,
- "y": 547.8730316162109,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "90030fdf.45af7",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1967.0079650878906,
- "y": 550.7301750183105,
- "z": "67a3081a.032478",
- "wires": [
- [
- "6b0a8e46.af7a78"
- ]
- ]
- },
- {
- "id": "61a363af.ee55bc",
- "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": 1188.325439453125,
- "y": 616.2222290039062,
- "z": "67a3081a.032478",
- "wires": [
- [
- "a0dc1668.8be6a8",
- "e9825cb2.5deff"
- ]
- ]
- },
- {
- "id": "a0dc1668.8be6a8",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1553.3254191080723,
- "y": 616.2222137451171,
- "z": "67a3081a.032478",
- "wires": [
- [
- "ee7e53d1.6aac9"
- ]
- ]
- },
- {
- "id": "e9825cb2.5deff",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1503.3254661560059,
- "y": 656.2222442626953,
- "z": "67a3081a.032478",
- "wires": [
- [
- "44229861.ecaaa8"
- ]
- ]
- },
- {
- "id": "44229861.ecaaa8",
- "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": 1673.3254661560059,
- "y": 656.2222442626953,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "831644e8.e13cc",
- "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": 1195.6269226074219,
- "y": 732.1736297607422,
- "z": "67a3081a.032478",
- "wires": [
- [
- "1181976c.1aed59",
- "1843fe0b.3bf1d2"
- ]
- ]
- },
- {
- "id": "1181976c.1aed59",
- "type": "outcome",
- "name": "outcome Created",
- "xml": "<outcome value='Created'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1558.6268920898438,
- "y": 732.1736602783203,
- "z": "67a3081a.032478",
- "wires": [
- [
- "65e2e00c.98fae8"
- ]
- ]
- },
- {
- "id": "1843fe0b.3bf1d2",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1528.6268920898438,
- "y": 772.1736602783203,
- "z": "67a3081a.032478",
- "wires": [
- [
- "420607f9.76c808"
- ]
- ]
- },
- {
- "id": "420607f9.76c808",
- "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": 1694.6268920898438,
- "y": 774.1736602783203,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "2108d22b.ae9926",
- "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": 1195.4284973144531,
- "y": 846.3750305175781,
- "z": "67a3081a.032478",
- "wires": [
- [
- "e2213711.520dd",
- "6c464ada.030e1c",
- "457e18b7.6ac5a8"
- ]
- ]
- },
- {
- "id": "e2213711.520dd",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1555.428466796875,
- "y": 846.3750610351562,
- "z": "67a3081a.032478",
- "wires": [
- [
- "40a123a7.613904"
- ]
- ]
- },
- {
- "id": "6c464ada.030e1c",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1512.4284057617188,
- "y": 930.3750762939453,
- "z": "67a3081a.032478",
- "wires": [
- [
- "138a0d17.b239e3"
- ]
- ]
- },
- {
- "id": "138a0d17.b239e3",
- "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": 1703.7618255615234,
- "y": 929.0417051315308,
- "z": "67a3081a.032478",
- "wires": []
- },
- {
- "id": "457e18b7.6ac5a8",
- "type": "outcome",
- "name": "outcome PendingDelete",
- "xml": "<outcome value='PendingDelete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1558.65869140625,
- "y": 884.2222290039062,
- "z": "67a3081a.032478",
- "wires": [
- [
- "40a123a7.613904"
- ]
- ]
- },
- {
- "id": "de74faab.3a2ae",
- "type": "other",
- "name": "create",
- "xml": "<outcome value='create'>\n",
- "comments": "",
- "outputs": 1,
- "x": 644,
- "y": 798,
- "z": "67a3081a.032478",
- "wires": [
- [
- "326c42d2.bec496"
- ]
- ]
- },
- {
- "id": "9bc3f97c.14bbf8",
- "type": "other",
- "name": "delete",
- "xml": "<outcome value='delete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 647,
- "y": 851,
- "z": "67a3081a.032478",
- "wires": [
- [
- "58d15587.e02aec"
- ]
- ]
- },
- {
- "id": "326c42d2.bec496",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 833,
- "y": 804,
- "z": "67a3081a.032478",
- "wires": [
- [
- "4ece5b87.0ed32c"
- ]
- ]
- },
- {
- "id": "58d15587.e02aec",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 832,
- "y": 863,
- "z": "67a3081a.032478",
- "wires": [
- [
- "b37ff23e.4b78c8"
- ]
- ]
- },
- {
- "id": "4ece5b87.0ed32c",
- "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": 1241,
- "y": 989,
- "z": "67a3081a.032478",
- "wires": [
- []
- ]
- },
- {
- "id": "b37ff23e.4b78c8",
- "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": 1247,
- "y": 1072,
- "z": "67a3081a.032478",
- "wires": [
- []
- ]
- }
+ {
+ "id": "4e8e1695.988a28",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 123.01040649414062,
+ "y": 97.77774596214294,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "3d7adacf.e37b26"
+ ]
+ ]
+ },
+ {
+ "id": "3d7adacf.e37b26",
+ "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": 204.9627685546875,
+ "y": 138.01585841178894,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "99936fad.eb5a8"
+ ]
+ ]
+ },
+ {
+ "id": "99936fad.eb5a8",
+ "type": "method",
+ "name": "network-topology-operation",
+ "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 184.4390411376953,
+ "y": 188.77775168418884,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "fa94a458.153ec8"
+ ]
+ ]
+ },
+ {
+ "id": "e85a20e2.1a6f",
+ "type": "comment",
+ "name": " NETWORK-TOPOLOGY-OPERATION ",
+ "info": "",
+ "comments": "",
+ "x": 517.3552627563477,
+ "y": 45.36408972740173,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "fa94a458.153ec8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 237.01043701171875,
+ "y": 261.2212293148041,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "74a7b33e.25ccac",
+ "e6a39d58.fa5d7",
+ "94b2997f.90f198",
+ "2ccd4cf4.cd1224"
+ ]
+ ]
+ },
+ {
+ "id": "74a7b33e.25ccac",
+ "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": 441.09381103515625,
+ "y": 1287.3138825893402,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "e6a39d58.fa5d7",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 463.72467041015625,
+ "y": 491.63492369651794,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "ad7b4573.ffb848",
+ "2a4dd65a.9a82ea",
+ "a50cf8ad.598a18",
+ "f1232753.705208",
+ "de92e919.3dfbf8",
+ "7130c8aa.c3e608",
+ "1591e42d.e2cabc",
+ "d1b59f6c.66aa3",
+ "3a527742.291048"
+ ]
+ ]
+ },
+ {
+ "id": "ad7b4573.ffb848",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 678.2009086608887,
+ "y": 263.92060256004333,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "341de51.f64001a"
+ ]
+ ]
+ },
+ {
+ "id": "341de51.f64001a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 850.439079284668,
+ "y": 261.92073130607605,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "b2a344c1.b2b118"
+ ]
+ ]
+ },
+ {
+ "id": "94b2997f.90f198",
+ "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": 574.0103950500488,
+ "y": 201.77775287628174,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a4dd65a.9a82ea",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 681.0104484558105,
+ "y": 353.77774024009705,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "28e87a49.f59c96"
+ ]
+ ]
+ },
+ {
+ "id": "389876cb.1e467a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1057.2486991882324,
+ "y": 430.7779223918915,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "62930298.0b2a1c",
+ "d3301b58.914a58",
+ "fb007c4b.5179"
+ ]
+ ]
+ },
+ {
+ "id": "c9165975.2c8ce8",
+ "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": 2328.0703353881836,
+ "y": 942.3849885463715,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a50cf8ad.598a18",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 675.010440826416,
+ "y": 585.7777383327484,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "8e1c520d.d2576"
+ ]
+ ]
+ },
+ {
+ "id": "c28aa9c7.571d18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1077.248664855957,
+ "y": 780.7780282497406,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "62930298.0b2a1c",
+ "9d5d0700.ed8698",
+ "fb007c4b.5179"
+ ]
+ ]
+ },
+ {
+ "id": "9d5d0700.ed8698",
+ "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": 1656.2369384765625,
+ "y": 1030.6350362300873,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1232753.705208",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 672.0104598999023,
+ "y": 837.7777879238129,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "a735954b.9ab908"
+ ]
+ ]
+ },
+ {
+ "id": "a735954b.9ab908",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 853.2486190795898,
+ "y": 838.7779099941254,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "62930298.0b2a1c",
+ "21cf404.360a8c",
+ "fb007c4b.5179"
+ ]
+ ]
+ },
+ {
+ "id": "c95f430.de215c",
+ "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": 2323.820198059082,
+ "y": 1135.8849580287933,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de92e919.3dfbf8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 645.0104370117188,
+ "y": 1163.77783203125,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "88ae8f90.f87f8"
+ ]
+ ]
+ },
+ {
+ "id": "88ae8f90.f87f8",
+ "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": 827.0104331970215,
+ "y": 1162.7778415679932,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "2ccd4cf4.cd1224",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 460.1215057373047,
+ "y": 1246.4722211360931,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "487e294c.601868",
+ "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": 2192.740863800049,
+ "y": 480.53969740867615,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "d951934c.04645"
+ ]
+ ]
+ },
+ {
+ "id": "62930298.0b2a1c",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1470.205020904541,
+ "y": 448.8610894680023,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "4ffb7265.aead1c",
+ "e7073ffc.39cd9"
+ ]
+ ]
+ },
+ {
+ "id": "4ffb7265.aead1c",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1769.4548988342285,
+ "y": 447.1110875606537,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "81b94f7b.60cfe"
+ ]
+ ]
+ },
+ {
+ "id": "e7073ffc.39cd9",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1723.4549293518066,
+ "y": 480.11110854148865,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "b0120e6d.fd62b"
+ ]
+ ]
+ },
+ {
+ "id": "d951934c.04645",
+ "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": 2483.1694145202637,
+ "y": 479.789781332016,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c85e865f.6c4118"
+ ]
+ ]
+ },
+ {
+ "id": "c85e865f.6c4118",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2672.121768951416,
+ "y": 480.68251967430115,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "28d9a085.7b353"
+ ]
+ ]
+ },
+ {
+ "id": "28d9a085.7b353",
+ "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": 2905.653537750244,
+ "y": 479.4325273036957,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "5286bff0.28cfd",
+ "type": "comment",
+ "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+ "info": "",
+ "comments": "",
+ "x": 1649.5660438537598,
+ "y": 414.1111009120941,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "94a02e8f.672a9",
+ "type": "comment",
+ "name": "service-data will not be stored until we have a network-id",
+ "info": "",
+ "comments": "",
+ "x": 1188.6772003173828,
+ "y": 42.99999976158142,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "81b94f7b.60cfe",
+ "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": 1961.2324562072754,
+ "y": 445.0000855922699,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "b0120e6d.fd62b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1890.724895477295,
+ "y": 479.66568541526794,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "487e294c.601868",
+ "8b184c42.8ea"
+ ]
+ ]
+ },
+ {
+ "id": "8b184c42.8ea",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2119.792407989502,
+ "y": 530.022896528244,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "6f1188e.df71378",
+ "4941aa7.ba31254"
+ ]
+ ]
+ },
+ {
+ "id": "5f4d6f01.eacb6",
+ "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": 2472.6493911743164,
+ "y": 525.7371385097504,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "6f1188e.df71378",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2291.2209434509277,
+ "y": 528.59428191185,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "5f4d6f01.eacb6"
+ ]
+ ]
+ },
+ {
+ "id": "d3301b58.914a58",
+ "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": 1541.0385665893555,
+ "y": 942.3363893032074,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "df23fde1.eee29",
+ "e3ffbfd1.5bf58"
+ ]
+ ]
+ },
+ {
+ "id": "df23fde1.eee29",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1906.0385462443028,
+ "y": 942.3363740444183,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c9165975.2c8ce8"
+ ]
+ ]
+ },
+ {
+ "id": "e3ffbfd1.5bf58",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1856.0385932922363,
+ "y": 982.3364045619965,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "e72a7431.e545a8"
+ ]
+ ]
+ },
+ {
+ "id": "e72a7431.e545a8",
+ "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": 2026.0385932922363,
+ "y": 982.3364045619965,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "21cf404.360a8c",
+ "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": 1530.6415786743164,
+ "y": 1137.4891602993011,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "7d4ba4c2.0667bc",
+ "4d4bd64c.75d9f8",
+ "3e2015ec.34c4aa"
+ ]
+ ]
+ },
+ {
+ "id": "7d4ba4c2.0667bc",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1890.6415481567383,
+ "y": 1137.4891908168793,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c95f430.de215c"
+ ]
+ ]
+ },
+ {
+ "id": "4d4bd64c.75d9f8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1846.391471862793,
+ "y": 1208.9892537593842,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "7523d96d.5d1058"
+ ]
+ ]
+ },
+ {
+ "id": "7523d96d.5d1058",
+ "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": 2037.7248916625977,
+ "y": 1207.6558825969696,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "3e2015ec.34c4aa",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1893.8717727661133,
+ "y": 1175.3363587856293,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c95f430.de215c"
+ ]
+ ]
+ },
+ {
+ "id": "7130c8aa.c3e608",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 683.0104789733887,
+ "y": 488.77777075767517,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "8681ccd2.61776"
+ ]
+ ]
+ },
+ {
+ "id": "8681ccd2.61776",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1055.2604179382324,
+ "y": 485.7777621746063,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "62930298.0b2a1c",
+ "755b61e1.5599c"
+ ]
+ ]
+ },
+ {
+ "id": "8551ad66.6b965",
+ "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": 1824.0106010437012,
+ "y": 183.77776312828064,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2a344c1.b2b118",
+ "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": 1119.9786567687988,
+ "y": 121.72915434837341,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "3cdc8b88.b67114",
+ "9df378e0.5934d8",
+ "6224bc8a.6b7094",
+ "bdfd9d9f.89385"
+ ]
+ ]
+ },
+ {
+ "id": "3cdc8b88.b67114",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1505.978702545166,
+ "y": 141.7291362285614,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "903012af.85f85"
+ ]
+ ]
+ },
+ {
+ "id": "9df378e0.5934d8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.9786987304688,
+ "y": 183.72916769981384,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "8551ad66.6b965"
+ ]
+ ]
+ },
+ {
+ "id": "903012af.85f85",
+ "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": 1780.9789237976074,
+ "y": 137.72918486595154,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "bdfd9d9f.89385",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1504.010440826416,
+ "y": 106.77775168418884,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "903012af.85f85"
+ ]
+ ]
+ },
+ {
+ "id": "6224bc8a.6b7094",
+ "type": "outcome",
+ "name": "outcome Created",
+ "xml": "<outcome value='Created'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1484.0104789733887,
+ "y": 71.77775359153748,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "903012af.85f85"
+ ]
+ ]
+ },
+ {
+ "id": "755b61e1.5599c",
+ "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": 1633.2568130493164,
+ "y": 874.2738797664642,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c908bff.a5def4",
+ "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": 469.5113830566406,
+ "y": 1152.5287148952484,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "7e1abfb0.77caa",
+ "type": "set",
+ "name": "set networkId",
+ "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
+ "comments": "",
+ "x": 463.7970161437988,
+ "y": 1115.3858230113983,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "57827229.6b2abc",
+ "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": 511.7970771789551,
+ "y": 1197.9571883678436,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "fb007c4b.5179",
+ "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": 1545.4490547180176,
+ "y": 706.2787663936615,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "9d79b615.01e948",
+ "249b5309.c2bf1c"
+ ]
+ ]
+ },
+ {
+ "id": "9d79b615.01e948",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.1989364624023,
+ "y": 744.4454333782196,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "6a373b7d.6814a4"
+ ]
+ ]
+ },
+ {
+ "id": "249b5309.c2bf1c",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1829.8658332824707,
+ "y": 711.4453074932098,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "a9c385b1.781fe8"
+ ]
+ ]
+ },
+ {
+ "id": "a9c385b1.781fe8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='' value='' />\n",
+ "comments": "",
+ "x": 1990.199062347412,
+ "y": 708.4453647136688,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "c0c595e2.aa8d28",
+ "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": 2325.2746772766113,
+ "y": 737.7111823558807,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "f9db9f35.7e7",
+ "581dba4.d6ec244"
+ ]
+ ]
+ },
+ {
+ "id": "f9db9f35.7e7",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2684.524368286133,
+ "y": 694.7111852169037,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "5de331e2.b21f2"
+ ]
+ ]
+ },
+ {
+ "id": "581dba4.d6ec244",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2664.524368286133,
+ "y": 729.7111852169037,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c0ff470a.8d1c68"
+ ]
+ ]
+ },
+ {
+ "id": "6a373b7d.6814a4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1966.3101921081543,
+ "y": 744.8898379802704,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c0c595e2.aa8d28"
+ ]
+ ]
+ },
+ {
+ "id": "7d8245f1.d453ec",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4088.5181846618652,
+ "y": 672.921788930893,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "1e1e6239.fb4e8e"
+ ]
+ ]
+ },
+ {
+ "id": "fbc8dfca.d5c4e",
+ "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": 4531.050151824951,
+ "y": 672.6718137264252,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "1e1e6239.fb4e8e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4237.136623382568,
+ "y": 672.7789742946625,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "fbc8dfca.d5c4e"
+ ]
+ ]
+ },
+ {
+ "id": "c50d7ac.b94b688",
+ "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": 3271.386589050293,
+ "y": 733.0287616252899,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "6bc50ed2.e98f"
+ ]
+ ]
+ },
+ {
+ "id": "6bc50ed2.e98f",
+ "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": 3716.815185546875,
+ "y": 732.7789304256439,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "7d8245f1.d453ec"
+ ]
+ ]
+ },
+ {
+ "id": "c0ff470a.8d1c68",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2883.3704681396484,
+ "y": 730.9046866893768,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c50d7ac.b94b688"
+ ]
+ ]
+ },
+ {
+ "id": "5de331e2.b21f2",
+ "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": 2876.074020385742,
+ "y": 694.2787520885468,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "4941aa7.ba31254",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2290.7565956115723,
+ "y": 559.5238645076752,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c2ba8bb7.5d1488"
+ ]
+ ]
+ },
+ {
+ "id": "c2ba8bb7.5d1488",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
+ "comments": "",
+ "x": 2447.7565956115723,
+ "y": 560.5238645076752,
+ "z": "2db908be.484d28",
+ "wires": []
+ },
+ {
+ "id": "28e87a49.f59c96",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 872.1215934753418,
+ "y": 346.2326762676239,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "32d531df.85499e",
+ "4bb6e988.fe7c58",
+ "e792c2b8.ea131",
+ "960249a0.73e4e8"
+ ]
+ ]
+ },
+ {
+ "id": "32d531df.85499e",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.4548149108887,
+ "y": 291.23249220848083,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "b83bfcdc.13d1a"
+ ]
+ ]
+ },
+ {
+ "id": "b83bfcdc.13d1a",
+ "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": 1578.4549140930176,
+ "y": 292.89932227134705,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4bb6e988.fe7c58",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1068.454833984375,
+ "y": 384.89923071861267,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "389876cb.1e467a"
+ ]
+ ]
+ },
+ {
+ "id": "8e1c520d.d2576",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 876.6771430969238,
+ "y": 587.6770570278168,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "5eb403c4.8c424c",
+ "124ca478.59aa4c",
+ "49021010.79466",
+ "2ff099ca.196ee6"
+ ]
+ ]
+ },
+ {
+ "id": "5eb403c4.8c424c",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1166.455020904541,
+ "y": 531.8991944789886,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "152c7bc7.994c24"
+ ]
+ ]
+ },
+ {
+ "id": "124ca478.59aa4c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.8999862670898,
+ "y": 679.5907685756683,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c28aa9c7.571d18"
+ ]
+ ]
+ },
+ {
+ "id": "152c7bc7.994c24",
+ "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": 1626.8121376037598,
+ "y": 533.1825215816498,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1591e42d.e2cabc",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 662.3439102172852,
+ "y": 927.010596036911,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "a09e2b38.714a58"
+ ]
+ ]
+ },
+ {
+ "id": "a09e2b38.714a58",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.6577301025391,
+ "y": 926.7882688045502,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "123388e8.cc22d7",
+ "e823c269.0d884",
+ "fe173c3b.37ab5"
+ ]
+ ]
+ },
+ {
+ "id": "d1b59f6c.66aa3",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 660.3439140319824,
+ "y": 1004.0105998516083,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "f91ae971.a2f4f8"
+ ]
+ ]
+ },
+ {
+ "id": "f91ae971.a2f4f8",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.6321716308594,
+ "y": 1005.0714004039764,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "81ef432e.c5cd2",
+ "dac05fa.465e7a",
+ "ad7b9fb5.8def5"
+ ]
+ ]
+ },
+ {
+ "id": "4debc446.71044c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1606.4551811218262,
+ "y": 1361.8993880748749,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "a33b166a.24fd28"
+ ]
+ ]
+ },
+ {
+ "id": "21f7416d.44262e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1578.8996543884277,
+ "y": 1560.4549124240875,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c3e850c.08aaab"
+ ]
+ ]
+ },
+ {
+ "id": "a33b166a.24fd28",
+ "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": 1971.1216773986816,
+ "y": 1361.3440101146698,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3e850c.08aaab",
+ "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": 1943.8995780944824,
+ "y": 1559.4548408985138,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "123388e8.cc22d7",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1424.65771484375,
+ "y": 1363.6770017147064,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "4debc446.71044c"
+ ]
+ ]
+ },
+ {
+ "id": "e823c269.0d884",
+ "type": "outcome",
+ "name": "CreateSOTNConnectivityInstance",
+ "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1504.3244438171387,
+ "y": 1264.4549030223861,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "f75de23d.a281"
+ ]
+ ]
+ },
+ {
+ "id": "f75de23d.a281",
+ "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": 1983.2132606506348,
+ "y": 1266.6770852962509,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dac05fa.465e7a",
+ "type": "outcome",
+ "name": "DeleteSOTNConnectivityInstance",
+ "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1501.7435417175293,
+ "y": 1457.6269524097443,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "37fda84e.b42608"
+ ]
+ ]
+ },
+ {
+ "id": "37fda84e.b42608",
+ "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": 1968.6323585510254,
+ "y": 1459.849134683609,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81ef432e.c5cd2",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.0767822265625,
+ "y": 1564.848998785019,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "21f7416d.44262e"
+ ]
+ ]
+ },
+ {
+ "id": "e792c2b8.ea131",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1155.4548530578613,
+ "y": 246.01040053367615,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "284dd097.c8e25"
+ ]
+ ]
+ },
+ {
+ "id": "284dd097.c8e25",
+ "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": 1580.6770095825195,
+ "y": 242.24494303856045,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "49021010.79466",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1146.5555610656738,
+ "y": 574.9999940395355,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "8f0d395a.fe6d58"
+ ]
+ ]
+ },
+ {
+ "id": "8f0d395a.fe6d58",
+ "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": 1621.5557823181152,
+ "y": 573.6668121814728,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "960249a0.73e4e8",
+ "type": "outcome",
+ "name": "ActivateSDWANConnectivityInstance",
+ "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1152.0000228881836,
+ "y": 341.00001883506775,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "8e724d0c.12ad"
+ ]
+ ]
+ },
+ {
+ "id": "8e724d0c.12ad",
+ "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": 1595.0002136230469,
+ "y": 338.6668474674225,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ff099ca.196ee6",
+ "type": "outcome",
+ "name": "DeactivateSDWANConnectivityInstance",
+ "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1164,
+ "y": 627.9999997615814,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "5313db5b.ba3784"
+ ]
+ ]
+ },
+ {
+ "id": "5313db5b.ba3784",
+ "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": 1607.0001907348633,
+ "y": 625.6668283939362,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe173c3b.37ab5",
+ "type": "outcome",
+ "name": "CreateSDWANConnectivityInstance",
+ "xml": "<outcome value='CreateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510,
+ "y": 1312.9999997615814,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "55f558b0.f98bd8"
+ ]
+ ]
+ },
+ {
+ "id": "55f558b0.f98bd8",
+ "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": 1953.0001907348633,
+ "y": 1310.6668283939362,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad7b9fb5.8def5",
+ "type": "outcome",
+ "name": "DeleteSDWANConnectivityInstance",
+ "xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503,
+ "y": 1507.9999997615814,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "483a39e2.dfbcc8"
+ ]
+ ]
+ },
+ {
+ "id": "483a39e2.dfbcc8",
+ "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": 1969.888816833496,
+ "y": 1510.2221820354462,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a527742.291048",
+ "type": "other",
+ "name": "reoptimize",
+ "xml": "<outcome value='reoptimize'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653,
+ "y": 1074,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "8989e10f.fcf5f"
+ ]
+ ]
+ },
+ {
+ "id": "8989e10f.fcf5f",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 842,
+ "y": 1076,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "c0517ae5.fea898"
+ ]
+ ]
+ },
+ {
+ "id": "c0517ae5.fea898",
+ "type": "outcome",
+ "name": "ReoptimizeSOTNInstance",
+ "xml": "<outcome value='ReoptimizeSOTNInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1472,
+ "y": 1641,
+ "z": "2db908be.484d28",
+ "wires": [
+ [
+ "70bb459.77727bc"
+ ]
+ ]
+ },
+ {
+ "id": "70bb459.77727bc",
+ "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": 1913,
+ "y": 1636,
+ "z": "2db908be.484d28",
+ "wires": [
+ []
+ ]
+ }
]