-[
- {
- "id": "d276ec27.0866",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 136.1214714050293,
- "y": 82.77775192260742,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "66987af3.af1924"
- ]
- ]
- },
- {
- "id": "66987af3.af1924",
- "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": 218.07383346557617,
- "y": 123.01586437225342,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "f1b0134c.c5b0a"
- ]
- ]
- },
- {
- "id": "f1b0134c.c5b0a",
- "type": "method",
- "name": "network-topology-operation",
- "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 197.55010604858398,
- "y": 173.77775764465332,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "c003577e.c54298"
- ]
- ]
- },
- {
- "id": "7056cdf4.c4bad4",
- "type": "comment",
- "name": " NETWORK-TOPOLOGY-OPERATION ",
- "info": "",
- "comments": "",
- "x": 530.4663276672363,
- "y": 30.36409568786621,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "c003577e.c54298",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 250.12150192260742,
- "y": 246.22123527526855,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "652c71cd.5bf74",
- "dda0c26b.24c19",
- "f618f19d.3c0f3",
- "df1e6363.a8583"
- ]
- ]
- },
- {
- "id": "652c71cd.5bf74",
- "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": 454.2048759460449,
- "y": 1272.3138885498047,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "dda0c26b.24c19",
- "type": "switchNode",
- "name": "switch svc-action",
- "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 476.8357353210449,
- "y": 476.6349296569824,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "a977edb.79e281",
- "8c392a7f.92a2a8",
- "3ca5b98a.51cfb6",
- "3092b4a7.3417bc",
- "c46511e9.7ee6f",
- "c11431a0.2a357",
- "4adddee6.536c1",
- "a471ef3a.82ee1"
- ]
- ]
- },
- {
- "id": "a977edb.79e281",
- "type": "other",
- "name": "assign",
- "xml": "<outcome value='assign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 691.3119735717773,
- "y": 248.9206085205078,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "2d6049f7.1b6df6"
- ]
- ]
- },
- {
- "id": "2d6049f7.1b6df6",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 863.5501441955566,
- "y": 246.92073726654053,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "9557e9f.7417f18"
- ]
- ]
- },
- {
- "id": "f618f19d.3c0f3",
- "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": 587.1214599609375,
- "y": 186.77775883674622,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "8c392a7f.92a2a8",
- "type": "other",
- "name": "activate",
- "xml": "<outcome value='activate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 694.1215133666992,
- "y": 338.7777462005615,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "6976ed5b.280d44"
- ]
- ]
- },
- {
- "id": "a8c8cbe2.91bf68",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1070.359764099121,
- "y": 415.77792835235596,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "90460675.cf5568",
- "ec32e473.a43f78",
- "e36653ec.961d4"
- ]
- ]
- },
- {
- "id": "994ac0b1.0c869",
- "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": 2335.1813583374023,
- "y": 865.3849945068359,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "3ca5b98a.51cfb6",
- "type": "other",
- "name": "deactivate",
- "xml": "<outcome value='deactivate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 688.1215057373047,
- "y": 570.7777442932129,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "48d75ce9.275f44"
- ]
- ]
- },
- {
- "id": "6b404d95.49ee94",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1084.3596878051758,
- "y": 703.7780342102051,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "90460675.cf5568",
- "2838a9bc.3fa006",
- "e36653ec.961d4"
- ]
- ]
- },
- {
- "id": "2838a9bc.3fa006",
- "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": 1663.3479614257812,
- "y": 953.6350421905518,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "3092b4a7.3417bc",
- "type": "other",
- "name": "unassign",
- "xml": "<outcome value='unassign'>\n",
- "comments": "",
- "outputs": 1,
- "x": 679.1214828491211,
- "y": 760.7777938842773,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "2cde702d.cb5cf"
- ]
- ]
- },
- {
- "id": "2cde702d.cb5cf",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 860.3596420288086,
- "y": 761.7779159545898,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "90460675.cf5568",
- "cba3cf9d.18a25",
- "e36653ec.961d4"
- ]
- ]
- },
- {
- "id": "f781dfc6.aa561",
- "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": 2330.931221008301,
- "y": 1058.8849639892578,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "c46511e9.7ee6f",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 663.1214828491211,
- "y": 1015.7777905464172,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "31c67734.03c588"
- ]
- ]
- },
- {
- "id": "31c67734.03c588",
- "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.1214790344238,
- "y": 1014.7778000831604,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "df1e6363.a8583",
- "type": "set",
- "name": "Set final indicator to Y",
- "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
- "comments": "",
- "x": 473.23257064819336,
- "y": 1231.4722270965576,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "d669adab.d2ab4",
- "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": 2205.8519287109375,
- "y": 465.5397033691406,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "b88a3bc.7eab6c8"
- ]
- ]
- },
- {
- "id": "90460675.cf5568",
- "type": "switchNode",
- "name": "switch service-data.networks.network_length",
- "xml": "<switch test='`$service-data.networks.network_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1483.3160858154297,
- "y": 433.8610954284668,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "b10bb014.abf41",
- "d3656963.b69488"
- ]
- ]
- },
- {
- "id": "b10bb014.abf41",
- "type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 1782.5659637451172,
- "y": 432.11109352111816,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "128445f6.2b925a"
- ]
- ]
- },
- {
- "id": "d3656963.b69488",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1736.5659942626953,
- "y": 465.1111145019531,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "69ca6be2.c47e44"
- ]
- ]
- },
- {
- "id": "b88a3bc.7eab6c8",
- "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": 2496.2804794311523,
- "y": 464.78978729248047,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "2fa14bee.cef564"
- ]
- ]
- },
- {
- "id": "2fa14bee.cef564",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2685.2328338623047,
- "y": 465.6825256347656,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "6f9efa6c.844604"
- ]
- ]
- },
- {
- "id": "6f9efa6c.844604",
- "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": 2918.764602661133,
- "y": 464.43253326416016,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "12e0a69e.bd3e39",
- "type": "comment",
- "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
- "info": "",
- "comments": "",
- "x": 1662.6771087646484,
- "y": 399.1111068725586,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "1eb25cf9.844f63",
- "type": "comment",
- "name": "service-data will not be stored until we have a network-id",
- "info": "",
- "comments": "",
- "x": 1201.7882652282715,
- "y": 28.0000057220459,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "128445f6.2b925a",
- "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": 1974.343521118164,
- "y": 430.0000915527344,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "69ca6be2.c47e44",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1903.8359603881836,
- "y": 464.6656913757324,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "d669adab.d2ab4",
- "afac9ad.985bc68"
- ]
- ]
- },
- {
- "id": "afac9ad.985bc68",
- "type": "switchNode",
- "name": "switch tmp.nidx ",
- "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2132.9034729003906,
- "y": 515.0229024887085,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "c23bd54c.511518",
- "81ca2a3e.0d6c18"
- ]
- ]
- },
- {
- "id": "12f6b523.cb143b",
- "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": 2485.760456085205,
- "y": 510.73714447021484,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "c23bd54c.511518",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 2304.3320083618164,
- "y": 513.5942878723145,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "12f6b523.cb143b"
- ]
- ]
- },
- {
- "id": "ec32e473.a43f78",
- "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": 1548.1495895385742,
- "y": 865.3363952636719,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "462bf0db.4f771",
- "a326444a.4d9638"
- ]
- ]
- },
- {
- "id": "462bf0db.4f771",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1913.1495691935215,
- "y": 865.3363800048828,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "994ac0b1.0c869"
- ]
- ]
- },
- {
- "id": "a326444a.4d9638",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1863.149616241455,
- "y": 905.3364105224609,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "406691ae.b1b3d"
- ]
- ]
- },
- {
- "id": "406691ae.b1b3d",
- "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": 2033.149616241455,
- "y": 905.3364105224609,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "cba3cf9d.18a25",
- "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": 1537.7526016235352,
- "y": 1060.4891662597656,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "f04c0e43.ba592",
- "94dee4e8.caed68",
- "2a14e849.1c8f28"
- ]
- ]
- },
- {
- "id": "f04c0e43.ba592",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1897.752571105957,
- "y": 1060.4891967773438,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "f781dfc6.aa561"
- ]
- ]
- },
- {
- "id": "94dee4e8.caed68",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1853.5024948120117,
- "y": 1131.9892597198486,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "5a43e0d8.b0755"
- ]
- ]
- },
- {
- "id": "5a43e0d8.b0755",
- "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": 2044.8359146118164,
- "y": 1130.655888557434,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "2a14e849.1c8f28",
- "type": "outcome",
- "name": "outcome PendingDelete",
- "xml": "<outcome value='PendingDelete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1900.982795715332,
- "y": 1098.3363647460938,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "f781dfc6.aa561"
- ]
- ]
- },
- {
- "id": "c11431a0.2a357",
- "type": "other",
- "name": "changeassign",
- "xml": "<outcome value='changeassign'>",
- "comments": "",
- "outputs": 1,
- "x": 696.1215438842773,
- "y": 473.77777671813965,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "2cd7c2c4.b0ed0e"
- ]
- ]
- },
- {
- "id": "2cd7c2c4.b0ed0e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1068.371482849121,
- "y": 470.7777681350708,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "90460675.cf5568",
- "f390e91b.d09948"
- ]
- ]
- },
- {
- "id": "8700a609.f92848",
- "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": 1837.1216659545898,
- "y": 168.77776908874512,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "9557e9f.7417f18",
- "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": 1133.0897216796875,
- "y": 106.72916030883789,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "3a93c4b5.f2ff8c",
- "2f3e0c06.82ec24",
- "eef104f8.713bf8",
- "760fa471.65ceac"
- ]
- ]
- },
- {
- "id": "3a93c4b5.f2ff8c",
- "type": "outcome",
- "name": "outcome PendingCreate",
- "xml": "<outcome value='PendingCreate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1519.0897674560547,
- "y": 126.72914218902588,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "e929e5de.80f968"
- ]
- ]
- },
- {
- "id": "2f3e0c06.82ec24",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1467.0897636413574,
- "y": 168.72917366027832,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "8700a609.f92848"
- ]
- ]
- },
- {
- "id": "e929e5de.80f968",
- "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": 1794.089988708496,
- "y": 122.72919082641602,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "760fa471.65ceac",
- "type": "outcome",
- "name": "outcome PendingDelete",
- "xml": "<outcome value='PendingDelete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1517.1215057373047,
- "y": 91.77775764465332,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "e929e5de.80f968"
- ]
- ]
- },
- {
- "id": "eef104f8.713bf8",
- "type": "outcome",
- "name": "outcome Created",
- "xml": "<outcome value='Created'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1497.1215438842773,
- "y": 56.77775955200195,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "e929e5de.80f968"
- ]
- ]
- },
- {
- "id": "f390e91b.d09948",
- "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": 1640.3678359985352,
- "y": 797.2738857269287,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "f47e682e.86e828",
- "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": 482.6224479675293,
- "y": 1137.528720855713,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "93c706b1.771668",
- "type": "set",
- "name": "set networkId",
- "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
- "comments": "",
- "x": 476.9080810546875,
- "y": 1100.3858289718628,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "8bebbe1e.84829",
- "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": 524.9081420898438,
- "y": 1182.957194328308,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "e36653ec.961d4",
- "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": 1552.5600776672363,
- "y": 629.278772354126,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "381493.7b57fb6e",
- "860fc721.1f1a18"
- ]
- ]
- },
- {
- "id": "381493.7b57fb6e",
- "type": "other",
- "name": "Other",
- "xml": "<outcome value='Other'>",
- "comments": "",
- "outputs": 1,
- "x": 1839.309959411621,
- "y": 667.4454393386841,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "9fbd3013.47415"
- ]
- ]
- },
- {
- "id": "860fc721.1f1a18",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1836.9768562316895,
- "y": 634.4453134536743,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "5af426b3.790798"
- ]
- ]
- },
- {
- "id": "5af426b3.790798",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name='' value='' />\n",
- "comments": "",
- "x": 1997.3100852966309,
- "y": 631.4453706741333,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "68215b65.4e0fa4",
- "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": 2332.38570022583,
- "y": 660.7111883163452,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "b700bba7.772938",
- "5a541c24.7df2a4"
- ]
- ]
- },
- {
- "id": "b700bba7.772938",
- "type": "other",
- "name": "outcome Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 2691.6353912353516,
- "y": 617.7111911773682,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "e79853a5.ac004"
- ]
- ]
- },
- {
- "id": "5a541c24.7df2a4",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2671.6353912353516,
- "y": 652.7111911773682,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "440fa626.979958"
- ]
- ]
- },
- {
- "id": "9fbd3013.47415",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1973.421215057373,
- "y": 667.8898439407349,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "68215b65.4e0fa4"
- ]
- ]
- },
- {
- "id": "b5479d1a.5649e",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4101.629249572754,
- "y": 657.9217948913574,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "21010343.a1a7bc"
- ]
- ]
- },
- {
- "id": "71841938.f374b8",
- "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": 4544.16121673584,
- "y": 657.6718196868896,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "21010343.a1a7bc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 4250.247688293457,
- "y": 657.778980255127,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "71841938.f374b8"
- ]
- ]
- },
- {
- "id": "4c5fe551.3b81dc",
- "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": 3278.4976119995117,
- "y": 656.0287675857544,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "b936ff96.5eec"
- ]
- ]
- },
- {
- "id": "b936ff96.5eec",
- "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": 3723.9262084960938,
- "y": 655.7789363861084,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "b5479d1a.5649e"
- ]
- ]
- },
- {
- "id": "440fa626.979958",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 2890.481491088867,
- "y": 653.9046926498413,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "4c5fe551.3b81dc"
- ]
- ]
- },
- {
- "id": "e79853a5.ac004",
- "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": 2883.185043334961,
- "y": 617.2787580490112,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "81ca2a3e.0d6c18",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2303.867660522461,
- "y": 544.5238704681396,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "f6668543.543498"
- ]
- ]
- },
- {
- "id": "f6668543.543498",
- "type": "set",
- "name": "set nidx",
- "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
- "comments": "",
- "x": 2460.867660522461,
- "y": 545.5238704681396,
- "z": "769245e0.4dbeec",
- "wires": [
-
- ]
- },
- {
- "id": "6976ed5b.280d44",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 885.2326583862305,
- "y": 331.2326822280884,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "91a1d59.5506628",
- "b38072e2.360e7",
- "9675034c.650f5"
- ]
- ]
- },
- {
- "id": "91a1d59.5506628",
- "type": "outcome",
- "name": "ActivateDCINetworkInstance",
- "xml": "<outcome value='ActivateDCINetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1145.5658798217773,
- "y": 276.2324981689453,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "cc61e75c.f46fa8"
- ]
- ]
- },
- {
- "id": "cc61e75c.f46fa8",
- "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": 1591.5659790039062,
- "y": 277.8993282318115,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "b38072e2.360e7",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1077.5658988952637,
- "y": 317.8992328643799,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "a8c8cbe2.91bf68"
- ]
- ]
- },
- {
- "id": "48d75ce9.275f44",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 889.7882080078125,
- "y": 572.6770629882812,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "1aa76512.222f4b",
- "e4fa13e2.b067",
- "180a8601.c0536a"
- ]
- ]
- },
- {
- "id": "1aa76512.222f4b",
- "type": "outcome",
- "name": "DeactivateSOTNConnectivityInstance",
- "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1179.5660858154297,
- "y": 516.8992004394531,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "e5cc673d.dff018"
- ]
- ]
- },
- {
- "id": "e4fa13e2.b067",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1082.0110092163086,
- "y": 602.5907745361328,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "6b404d95.49ee94"
- ]
- ]
- },
- {
- "id": "e5cc673d.dff018",
- "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": 1639.9232025146484,
- "y": 518.1825275421143,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "4adddee6.536c1",
- "type": "other",
- "name": "create",
- "xml": "<outcome value='create'>\n",
- "comments": "",
- "outputs": 1,
- "x": 669.4549331665039,
- "y": 850.0106019973755,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "77afb22f.0154cc"
- ]
- ]
- },
- {
- "id": "77afb22f.0154cc",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 869.7687530517578,
- "y": 849.7882747650146,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "47caedb.c84d914",
- "4cac5319.13eecc"
- ]
- ]
- },
- {
- "id": "a471ef3a.82ee1",
- "type": "other",
- "name": "delete",
- "xml": "<outcome value='delete'>\n",
- "comments": "",
- "outputs": 1,
- "x": 667.4549369812012,
- "y": 927.0106058120728,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "841198d0.4df568"
- ]
- ]
- },
- {
- "id": "841198d0.4df568",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 869.7431945800781,
- "y": 928.0714063644409,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "f9d80d07.57de1",
- "30bbe85.c379118"
- ]
- ]
- },
- {
- "id": "17f9f788.8ff328",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1625.5661582946777,
- "y": 1248.8993555465713,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "8b5d3c47.c2f2b"
- ]
- ]
- },
- {
- "id": "d4f55e73.2e1c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1599.0106163024902,
- "y": 1403.4548937240615,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "35ceb905.d5d9a6"
- ]
- ]
- },
- {
- "id": "8b5d3c47.c2f2b",
- "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": 1990.2326545715332,
- "y": 1248.3439775863662,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "35ceb905.d5d9a6",
- "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": 1964.010540008545,
- "y": 1402.4548221984878,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "47caedb.c84d914",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1443.7686920166016,
- "y": 1250.6769691864029,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "17f9f788.8ff328"
- ]
- ]
- },
- {
- "id": "4cac5319.13eecc",
- "type": "outcome",
- "name": "CreateSOTNConnectivityInstance",
- "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1511.4354667663574,
- "y": 1187.4549089828506,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "10d3a091.69adcf"
- ]
- ]
- },
- {
- "id": "10d3a091.69adcf",
- "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": 1990.3242835998535,
- "y": 1189.6770912567154,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "30bbe85.c379118",
- "type": "outcome",
- "name": "DeleteSOTNConnectivityInstance",
- "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1520.8545188903809,
- "y": 1344.6269198814407,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "735a9502.6e869c"
- ]
- ]
- },
- {
- "id": "735a9502.6e869c",
- "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": 1987.743335723877,
- "y": 1346.8491021553054,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "f9d80d07.57de1",
- "type": "outcome",
- "name": "other",
- "xml": "<outcome value='other'>",
- "comments": "",
- "outputs": 1,
- "x": 1441.187744140625,
- "y": 1407.848980084993,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "d4f55e73.2e1c"
- ]
- ]
- },
- {
- "id": "9675034c.650f5",
- "type": "outcome",
- "name": "ActivateSOTNConnectivityInstance",
- "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1168.56591796875,
- "y": 231.01040649414062,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "de8bdb94.3cf588"
- ]
- ]
- },
- {
- "id": "de8bdb94.3cf588",
- "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": 1593.7880744934082,
- "y": 227.24494899902493,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- },
- {
- "id": "180a8601.c0536a",
- "type": "outcome",
- "name": "DeActivateDCINetworkInstance",
- "xml": "<outcome value='DeActivateDCINetworkInstance'>",
- "comments": "",
- "outputs": 1,
- "x": 1159.6666259765625,
- "y": 560,
- "z": "769245e0.4dbeec",
- "wires": [
- [
- "d9e73bb1.305be8"
- ]
- ]
- },
- {
- "id": "d9e73bb1.305be8",
- "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": 1634.666847229004,
- "y": 558.6668181419373,
- "z": "769245e0.4dbeec",
- "wires": [
- [
-
- ]
- ]
- }
-]
+[{
+ "id": "cda9cb25.008878",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 116.00390625,
+ "y": 127.00390625,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["62bd4bd7.3ee3c4"]
+ ]
+}, {
+ "id": "62bd4bd7.3ee3c4",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 197.95626831054688,
+ "y": 167.242018699646,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["92bec9ff.3ca028"]
+ ]
+}, {
+ "id": "92bec9ff.3ca028",
+ "type": "method",
+ "name": "network-topology-operation",
+ "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 177.4325408935547,
+ "y": 218.0039119720459,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["787d9954.38bba8"]
+ ]
+}, {
+ "id": "648b626a.56b11c",
+ "type": "comment",
+ "name": " NETWORK-TOPOLOGY-OPERATION ",
+ "info": "",
+ "comments": "",
+ "x": 510.34876251220703,
+ "y": 74.59025001525879,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "787d9954.38bba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 230.00393676757812,
+ "y": 290.44738960266113,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["fa0c17ce.6e7bc8", "fadbb13.7d2dd5", "dc48dc75.75815", "7270aff7.976ff"]
+ ]
+}, {
+ "id": "fa0c17ce.6e7bc8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 434.0873107910156,
+ "y": 1316.5400428771973,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "fadbb13.7d2dd5",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 456.7181701660156,
+ "y": 520.861083984375,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c05cc8a9.a87538", "8c9c980d.ccc4f8", "8bf526ae.923e18", "7de8f4ae.cff8ac", "26afc371.40355c", "bb05b811.ebde68", "1a44c3fe.115f5c", "315bf1cb.32141e"]
+ ]
+}, {
+ "id": "c05cc8a9.a87538",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 671.194408416748,
+ "y": 293.1467628479004,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["5bf1acae.be9164"]
+ ]
+}, {
+ "id": "5bf1acae.be9164",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 843.4325790405273,
+ "y": 291.1468915939331,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e342989e.94fd28"]
+ ]
+}, {
+ "id": "dc48dc75.75815",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-network-input",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 567.0038948059082,
+ "y": 231.0039131641388,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "8c9c980d.ccc4f8",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 674.0039482116699,
+ "y": 383.0039005279541,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e028738c.44a5e"]
+ ]
+}, {
+ "id": "647e7eaa.31279",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1129.2422637939453,
+ "y": 468.00415229797363,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "ba635494.f7cda8", "5f3efec5.a1f4d"]
+ ]
+}, {
+ "id": "b8d794c5.efea38",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2321.063835144043,
+ "y": 971.6111488342285,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "8bf526ae.923e18",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 668.0039405822754,
+ "y": 615.0038986206055,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cf3c1895.618e38"]
+ ]
+}, {
+ "id": "55cb30ff.95ca3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1105.2422409057617,
+ "y": 855.0042123794556,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "7bec74e2.e8459c", "5f3efec5.a1f4d"]
+ ]
+}, {
+ "id": "7bec74e2.e8459c",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1649.2304382324219,
+ "y": 1059.8611965179443,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "7de8f4ae.cff8ac",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.0039596557617,
+ "y": 867.0039482116699,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cc00dd86.d7918"]
+ ]
+}, {
+ "id": "cc00dd86.d7918",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 846.2421188354492,
+ "y": 868.0040702819824,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "8d92f87.3b71108", "5f3efec5.a1f4d"]
+ ]
+}, {
+ "id": "7ba153c5.8b3f2c",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2316.8136978149414,
+ "y": 1165.1111183166504,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "26afc371.40355c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 649.0039596557617,
+ "y": 1122.0039448738098,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["14623740.584dd9"]
+ ]
+}, {
+ "id": "14623740.584dd9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"sdnc-request-header.svc-action is a required input\" />\n",
+ "comments": "",
+ "x": 831.0039558410645,
+ "y": 1121.003954410553,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "7270aff7.976ff",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 453.11500549316406,
+ "y": 1275.6983814239502,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "c06efb45.ffaa78",
+ "type": "for",
+ "name": "for nidx..service-data.networks.network[]",
+ "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2185.734363555908,
+ "y": 509.7658576965332,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c1a437ff.1b7718"]
+ ]
+}, {
+ "id": "794617b.1131ce8",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463.1985206604004,
+ "y": 478.0872497558594,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["26994831.0e1298", "ecf2ea88.0ee378"]
+ ]
+}, {
+ "id": "26994831.0e1298",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1762.448398590088,
+ "y": 476.33724784851074,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["55f21fbf.094db"]
+ ]
+}, {
+ "id": "ecf2ea88.0ee378",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1716.448429107666,
+ "y": 509.3372688293457,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b06a60a0.ec18c"]
+ ]
+}, {
+ "id": "c1a437ff.1b7718",
+ "type": "switchNode",
+ "name": "switch networkid found",
+ "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2476.162914276123,
+ "y": 509.01594161987305,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["dc253be8.d2cc08"]
+ ]
+}, {
+ "id": "dc253be8.d2cc08",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2665.1152687072754,
+ "y": 509.9086799621582,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["db34e276.b7ef7"]
+ ]
+}, {
+ "id": "db34e276.b7ef7",
+ "type": "set",
+ "name": "set tmp.nidx and network-data",
+ "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
+ "comments": "",
+ "x": 2898.6470375061035,
+ "y": 508.65868759155273,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "810ee0f6.12029",
+ "type": "comment",
+ "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+ "info": "",
+ "comments": "",
+ "x": 1613.559814453125,
+ "y": 443.33726978302,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "faca6d42.ad164",
+ "type": "comment",
+ "name": "service-data will not be stored until we have a network-id",
+ "info": "",
+ "comments": "",
+ "x": 1181.6707000732422,
+ "y": 72.22616004943848,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "55f21fbf.094db",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 1954.2259559631348,
+ "y": 474.22624588012695,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "b06a60a0.ec18c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1883.7183952331543,
+ "y": 508.891845703125,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c06efb45.ffaa78", "56e75e01.1337c"]
+ ]
+}, {
+ "id": "56e75e01.1337c",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.7859077453613,
+ "y": 559.2490568161011,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["c0593450.c30c98", "2cfecf83.4d66"]
+ ]
+}, {
+ "id": "38dfaef5.ab0d82",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 2465.642890930176,
+ "y": 554.9632987976074,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "c0593450.c30c98",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2284.214443206787,
+ "y": 557.820442199707,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["38dfaef5.ab0d82"]
+ ]
+}, {
+ "id": "ba635494.f7cda8",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1534.0320663452148,
+ "y": 971.5625495910645,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["f777a5ff.1ff918", "65fed18b.d3691"]
+ ]
+}, {
+ "id": "f777a5ff.1ff918",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1899.0320460001622,
+ "y": 971.5625343322754,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b8d794c5.efea38"]
+ ]
+}, {
+ "id": "65fed18b.d3691",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1849.0320930480957,
+ "y": 1011.5625648498535,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["ad2b7f81.8f2fa"]
+ ]
+}, {
+ "id": "ad2b7f81.8f2fa",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 2019.0320930480957,
+ "y": 1011.5625648498535,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "8d92f87.3b71108",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1523.6350784301758,
+ "y": 1166.7153205871582,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["2bf6a461.e029dc", "1dc42825.9e33e8", "3c21ea48.9e0a06"]
+ ]
+}, {
+ "id": "2bf6a461.e029dc",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1883.6350479125977,
+ "y": 1166.7153511047363,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["7ba153c5.8b3f2c"]
+ ]
+}, {
+ "id": "1dc42825.9e33e8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1839.3849716186523,
+ "y": 1238.2154140472412,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["77f1e70c.bfe408"]
+ ]
+}, {
+ "id": "77f1e70c.bfe408",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 2030.718391418457,
+ "y": 1236.8820428848267,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "3c21ea48.9e0a06",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1886.8652725219727,
+ "y": 1204.5625190734863,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["7ba153c5.8b3f2c"]
+ ]
+}, {
+ "id": "bb05b811.ebde68",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 676.003978729248,
+ "y": 518.0039310455322,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["8f942ed8.86388"]
+ ]
+}, {
+ "id": "8f942ed8.86388",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1048.2539176940918,
+ "y": 515.0039224624634,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["794617b.1131ce8", "66843091.29a36"]
+ ]
+}, {
+ "id": "42b0a6db.432d98",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-assign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1817.0041007995605,
+ "y": 213.0039234161377,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "e342989e.94fd28",
+ "type": "switchNode",
+ "name": "switch network-level-oper-status",
+ "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1112.9721565246582,
+ "y": 150.95531463623047,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["40bb733e.dd6f7c", "b0f9b859.068648", "593782df.da509c", "387e750f.af463a"]
+ ]
+}, {
+ "id": "40bb733e.dd6f7c",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1498.9722023010254,
+ "y": 170.95529651641846,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["511a23b5.730e6c"]
+ ]
+}, {
+ "id": "b0f9b859.068648",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1446.9721984863281,
+ "y": 212.9553279876709,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["42b0a6db.432d98"]
+ ]
+}, {
+ "id": "511a23b5.730e6c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for assign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
+ "comments": "",
+ "x": 1773.9724235534668,
+ "y": 166.9553451538086,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "387e750f.af463a",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.0039405822754,
+ "y": 136.0039119720459,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["511a23b5.730e6c"]
+ ]
+}, {
+ "id": "593782df.da509c",
+ "type": "outcome",
+ "name": "outcome Created",
+ "xml": "<outcome value='Created'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1477.003978729248,
+ "y": 101.00391387939453,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["511a23b5.730e6c"]
+ ]
+}, {
+ "id": "66843091.29a36",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-changeassign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-changeassign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1626.2503128051758,
+ "y": 903.5000400543213,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "5f3efec5.a1f4d",
+ "type": "switchNode",
+ "name": "switch network-information.network-instance-group-id",
+ "xml": "<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1538.442554473877,
+ "y": 735.5049266815186,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["284c8b6d.7f3634", "7a92615c.c2127"]
+ ]
+}, {
+ "id": "284c8b6d.7f3634",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825.1924362182617,
+ "y": 773.6715936660767,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a50032f5.72a83"]
+ ]
+}, {
+ "id": "7a92615c.c2127",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1822.85933303833,
+ "y": 740.6714677810669,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b4f37512.d70bb8"]
+ ]
+}, {
+ "id": "b4f37512.d70bb8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1983.1925621032715,
+ "y": 737.6715250015259,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "fe324586.0b55a8",
+ "type": "switchNode",
+ "name": "service-data.network-instance-groups.network-instance-group_length",
+ "xml": "<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2318.2681770324707,
+ "y": 766.9373426437378,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e21d92d1.3db16", "3beb03c.3e8d3fc"]
+ ]
+}, {
+ "id": "e21d92d1.3db16",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2677.517868041992,
+ "y": 723.9373455047607,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b8fb72eb.e727c"]
+ ]
+}, {
+ "id": "3beb03c.3e8d3fc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2657.517868041992,
+ "y": 758.9373455047607,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["48f28981.9aa598"]
+ ]
+}, {
+ "id": "a50032f5.72a83",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1959.3036918640137,
+ "y": 774.1159982681274,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["fe324586.0b55a8"]
+ ]
+}, {
+ "id": "7d5793c9.a9443c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4081.5116844177246,
+ "y": 702.14794921875,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a95997cc.c83c08"]
+ ]
+}, {
+ "id": "15a71d4.a9638e3",
+ "type": "set",
+ "name": "set tmp.ngidx and ctx.network-instance-group-data",
+ "xml": "<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n",
+ "comments": "",
+ "x": 4524.043651580811,
+ "y": 701.8979740142822,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "a95997cc.c83c08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4230.130123138428,
+ "y": 702.0051345825195,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["15a71d4.a9638e3"]
+ ]
+}, {
+ "id": "a82beca.188501",
+ "type": "for",
+ "name": "for ngidx..service-data.network-instance-groups.network-instance-group[]",
+ "xml": "<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3264.3800888061523,
+ "y": 762.254921913147,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["14adc4b7.e22c9b"]
+ ]
+}, {
+ "id": "14adc4b7.e22c9b",
+ "type": "switchNode",
+ "name": "switch network-instance-group-id found",
+ "xml": "<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3709.8086853027344,
+ "y": 762.005090713501,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["7d5793c9.a9443c"]
+ ]
+}, {
+ "id": "48f28981.9aa598",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2876.363967895508,
+ "y": 760.1308469772339,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a82beca.188501"]
+ ]
+}, {
+ "id": "b8fb72eb.e727c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-instance-group-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 2869.0675201416016,
+ "y": 723.5049123764038,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "2cfecf83.4d66",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2283.7500953674316,
+ "y": 588.7500247955322,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["46a8714e.72c73"]
+ ]
+}, {
+ "id": "46a8714e.72c73",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
+ "comments": "",
+ "x": 2440.7500953674316,
+ "y": 589.7500247955322,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "e028738c.44a5e",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.1150932312012,
+ "y": 375.45883655548096,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["4b5ff3a1.79dd3c", "7a80b9c3.a5dcb8", "c5dccdb2.4a1d2", "6dd58869.b5c168"]
+ ]
+}, {
+ "id": "4b5ff3a1.79dd3c",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161.4483184814453,
+ "y": 320.4586658477783,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["67b5a7fb.45ef88"]
+ ]
+}, {
+ "id": "67b5a7fb.45ef88",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1676.4483947753906,
+ "y": 320.12549781799316,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "7a80b9c3.a5dcb8",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.4484367370605,
+ "y": 425.12542152404785,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["bf8db20a.91bed"]
+ ]
+}, {
+ "id": "cf3c1895.618e38",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 869.6706428527832,
+ "y": 616.9032173156738,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cbdbb0cc.f0331", "5badbdc.f46d244", "7e6d0610.2563c8", "13b9136d.b8ff1d"]
+ ]
+}, {
+ "id": "cbdbb0cc.f0331",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159.4485206604004,
+ "y": 561.1253547668457,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["49a424cb.12dbec"]
+ ]
+}, {
+ "id": "5badbdc.f46d244",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.8936080932617,
+ "y": 707.8169631958008,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e396e5dc.9253f8"]
+ ]
+}, {
+ "id": "49a424cb.12dbec",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1650.8057861328125,
+ "y": 559.408727645874,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "1a44c3fe.115f5c",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 655.3374099731445,
+ "y": 956.2367563247681,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["45693d0f.b52f34"]
+ ]
+}, {
+ "id": "45693d0f.b52f34",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.6512298583984,
+ "y": 956.0144290924072,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["779b6195.9f707", "620d8e1f.fb138", "3ab6b5e.164cc4a"]
+ ]
+}, {
+ "id": "315bf1cb.32141e",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653.3374137878418,
+ "y": 1033.2367601394653,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["93e17ab4.f42768"]
+ ]
+}, {
+ "id": "93e17ab4.f42768",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.6256713867188,
+ "y": 1034.2975606918335,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["bead6e63.0cea2", "2c6e7786.59c9d8", "dd8b829c.98de2"]
+ ]
+}, {
+ "id": "f074082c.642148",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1587.4487915039062,
+ "y": 1447.1256427764893,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["e2f268db.e09cb8"]
+ ]
+}, {
+ "id": "273eee3d.625232",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1553.8930892944336,
+ "y": 1742.681453704834,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["26e1cb1f.5ee944"]
+ ]
+}, {
+ "id": "e2f268db.e09cb8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1953.115234375,
+ "y": 1443.5702953338623,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "26e1cb1f.5ee944",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:network-topology-operation-delete",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1918.8930130004883,
+ "y": 1741.6813821792603,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "779b6195.9f707",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1417.6512145996094,
+ "y": 1392.9031620025635,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["2bb8422a.2e625e"]
+ ]
+}, {
+ "id": "620d8e1f.fb138",
+ "type": "outcome",
+ "name": "CreateSOTNConnectivityInstance",
+ "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.317943572998,
+ "y": 1293.6810633102432,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cd4e7eb6.ff6ff"]
+ ]
+}, {
+ "id": "cd4e7eb6.ff6ff",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1976.2067604064941,
+ "y": 1295.903245584108,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "2c6e7786.59c9d8",
+ "type": "outcome",
+ "name": "DeleteSOTNConnectivityInstance",
+ "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1490.7371063232422,
+ "y": 1550.85329246521,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["19f1388e.0fadf7"]
+ ]
+}, {
+ "id": "19f1388e.0fadf7",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-delete",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-delete' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1957.6259231567383,
+ "y": 1553.0754747390747,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "bead6e63.0cea2",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.0702438354492,
+ "y": 1662.0754313468933,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["1fe426ab.fd1089"]
+ ]
+}, {
+ "id": "c5dccdb2.4a1d2",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.4484100341797,
+ "y": 271.23657417297363,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["2dd1b08b.8bc5e"]
+ ]
+}, {
+ "id": "2dd1b08b.8bc5e",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1635.6706237792969,
+ "y": 272.4711055755615,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "7e6d0610.2563c8",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1139.5490608215332,
+ "y": 604.2261543273926,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["39e58430.1a297c"]
+ ]
+}, {
+ "id": "39e58430.1a297c",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1679.5494384765625,
+ "y": 607.8929653167725,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "6dd58869.b5c168",
+ "type": "outcome",
+ "name": "ActivateSDWANConnectivityInstance",
+ "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1182.9935455322266,
+ "y": 371.2261791229248,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["9662796.a381e88"]
+ ]
+}, {
+ "id": "9662796.a381e88",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1702.9937438964844,
+ "y": 365.89303398132324,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "13b9136d.b8ff1d",
+ "type": "outcome",
+ "name": "DeactivateSDWANConnectivityInstance",
+ "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.9934997558594,
+ "y": 657.2261600494385,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["407f818a.a3f1e"]
+ ]
+}, {
+ "id": "407f818a.a3f1e",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1670.9937744140625,
+ "y": 654.893012046814,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "3ab6b5e.164cc4a",
+ "type": "outcome",
+ "name": "CreateSDWANConnectivityInstance",
+ "xml": "<outcome value='CreateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.9934997558594,
+ "y": 1342.2261600494385,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["26a8274b.85d1f8"]
+ ]
+}, {
+ "id": "26a8274b.85d1f8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1945.9936904907227,
+ "y": 1339.8929886817932,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "dd8b829c.98de2",
+ "type": "outcome",
+ "name": "DeleteSDWANConnectivityInstance",
+ "xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1491.993564605713,
+ "y": 1601.2263398170471,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a36aa3d0.1a854"]
+ ]
+}, {
+ "id": "a36aa3d0.1a854",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-delete",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-delete' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1958.882381439209,
+ "y": 1603.4485220909119,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "bf8db20a.91bed",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1188.8993453979492,
+ "y": 410.2326798439026,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["a4b8222c.37fd2", "f38dc6c7.31f8f8"]
+ ]
+}, {
+ "id": "a4b8222c.37fd2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1394.899398803711,
+ "y": 405.34375190734863,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["cfa31.bc3ac5cf8"]
+ ]
+}, {
+ "id": "cfa31.bc3ac5cf8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1779.8994979858398,
+ "y": 407.34376525878906,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "f38dc6c7.31f8f8",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 967.1215209960938,
+ "y": 472.2326354980469,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["647e7eaa.31279"]
+ ]
+}, {
+ "id": "e396e5dc.9253f8",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1204.6771087646484,
+ "y": 698.4548931121826,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["16dbb839.f33278", "5d50fb2f.744eb4"]
+ ]
+}, {
+ "id": "16dbb839.f33278",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1405.6772651672363,
+ "y": 697.5659255981445,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["db483123.c7a64"]
+ ]
+}, {
+ "id": "db483123.c7a64",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1771.677230834961,
+ "y": 694.5659408569336,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "5d50fb2f.744eb4",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1051.677158355713,
+ "y": 761.3437719345093,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["55cb30ff.95ca3"]
+ ]
+}, {
+ "id": "2bb8422a.2e625e",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1602.899398803711,
+ "y": 1398.899284362793,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["f0fc160f.719fc8", "19b66d7a.3c5d03"]
+ ]
+}, {
+ "id": "19b66d7a.3c5d03",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.8993377685547,
+ "y": 1445.7882862091064,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["f074082c.642148"]
+ ]
+}, {
+ "id": "f0fc160f.719fc8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1808.899471282959,
+ "y": 1391.010341644287,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["b831c9c0.001f08"]
+ ]
+}, {
+ "id": "b831c9c0.001f08",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-create",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2167.899398803711,
+ "y": 1392.0103950500488,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "1fe426ab.fd1089",
+ "type": "execute",
+ "name": "contains wan-connection",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1615.56591796875,
+ "y": 1670.232666015625,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["ff1ea989.df69b8", "d8afda97.54c288"]
+ ]
+}, {
+ "id": "d8afda97.54c288",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1400.565933227539,
+ "y": 1746.1215896606445,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["273eee3d.625232"]
+ ]
+}, {
+ "id": "ff1ea989.df69b8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.566074371338,
+ "y": 1669.343698501587,
+ "z": "6262cf90.82826",
+ "wires": [
+ ["bae544d2.711e28"]
+ ]
+}, {
+ "id": "bae544d2.711e28",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2182.5660400390625,
+ "y": 1666.343713760376,
+ "z": "6262cf90.82826",
+ "wires": [
+ []
+ ]
+}, {
+ "id": "8343f26d.19336",
+ "type": "set",
+ "name": "set network-level-oper-status",
+ "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n",
+ "comments": "",
+ "x": 504.79057693481445,
+ "y": 1227.1833486557007,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "fc4f404.28de9c",
+ "type": "set",
+ "name": "set object-path",
+ "xml": "<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/network-topology/'` \" />\n \n",
+ "comments": "",
+ "x": 462.5048828125,
+ "y": 1181.7548751831055,
+ "z": "6262cf90.82826",
+ "wires": []
+}, {
+ "id": "b8117e21.6ea85",
+ "type": "set",
+ "name": "set networkId",
+ "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
+ "comments": "",
+ "x": 456.7905158996582,
+ "y": 1144.6119832992554,
+ "z": "6262cf90.82826",
+ "wires": []
+}]
\ No newline at end of file