[
- {
- "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": "1e27a7c7.a2c0e8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 136.54763793945312,
+ "y": 74.77775239944458,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f9f6328.32a5bd"
+ ]
+ ]
+ },
+ {
+ "id": "f9f6328.32a5bd",
+ "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": 115.01585865020752,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "9142b902.63a7b8"
+ ]
+ ]
+ },
+ {
+ "id": "9142b902.63a7b8",
+ "type": "method",
+ "name": "network-topology-operation",
+ "xml": "<method rpc='network-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 156.9762725830078,
+ "y": 165.77775192260742,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "7da65c0d.1905f4"
+ ]
+ ]
+ },
+ {
+ "id": "eaaf8ee8.f9877",
+ "type": "comment",
+ "name": " NETWORK-TOPOLOGY-OPERATION ",
+ "info": "",
+ "comments": "",
+ "x": 489.89249420166016,
+ "y": 22.364089965820312,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "7da65c0d.1905f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 209.54766845703125,
+ "y": 238.22122955322266,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c46d40a7.05467",
+ "a800b823.efeff8",
+ "1b7cacb4.3eb843",
+ "c653bf24.72f6f"
+ ]
+ ]
+ },
+ {
+ "id": "c46d40a7.05467",
+ "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": 413.63104248046875,
+ "y": 1264.3138828277588,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "a800b823.efeff8",
+ "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": 468.6349239349365,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "579ade78.9686f",
+ "90ee633e.22142",
+ "1c22494b.adce57",
+ "b2a49821.7d4d28",
+ "1b830aa8.7a2e35",
+ "e65a5795.2aa7e8",
+ "cddace48.d73d5",
+ "33ae8b87.cdb6f4",
+ "c9c439a4.644948",
+ "f1964d76.299a5"
+ ]
+ ]
+ },
+ {
+ "id": "579ade78.9686f",
+ "type": "other",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.7381401062012,
+ "y": 240.9206027984619,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "154b49d6.8d5566"
+ ]
+ ]
+ },
+ {
+ "id": "154b49d6.8d5566",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 822.9763107299805,
+ "y": 238.92073154449463,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "41bdfec0.46d4c"
+ ]
+ ]
+ },
+ {
+ "id": "1b7cacb4.3eb843",
+ "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": 546.5476264953613,
+ "y": 178.77775311470032,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90ee633e.22142",
+ "type": "other",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 653.547679901123,
+ "y": 330.7777404785156,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "b4a2c51c.9bf118"
+ ]
+ ]
+ },
+ {
+ "id": "660cc5db.d692ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1108.7859954833984,
+ "y": 415.77799224853516,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "861a03d4.b6c46",
+ "4d5d1a6.1ffe7e4"
+ ]
+ ]
+ },
+ {
+ "id": "df4a2853.72a188",
+ "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": 2300.607566833496,
+ "y": 919.38498878479,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c22494b.adce57",
+ "type": "other",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 647.5476722717285,
+ "y": 562.777738571167,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3ba10e57.029e32"
+ ]
+ ]
+ },
+ {
+ "id": "9519eead.4ec21",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1084.7859725952148,
+ "y": 802.7780523300171,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "372adf7c.eb4d6",
+ "4d5d1a6.1ffe7e4"
+ ]
+ ]
+ },
+ {
+ "id": "372adf7c.eb4d6",
+ "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": 1628.774169921875,
+ "y": 1007.6350364685059,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2a49821.7d4d28",
+ "type": "other",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 644.5476913452148,
+ "y": 814.7777881622314,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "6b94ffdc.ca5fd"
+ ]
+ ]
+ },
+ {
+ "id": "6b94ffdc.ca5fd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 825.7858505249023,
+ "y": 815.777910232544,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "ff44806e.c3ac7",
+ "4d5d1a6.1ffe7e4"
+ ]
+ ]
+ },
+ {
+ "id": "23dd09f6.b62806",
+ "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": 2296.3574295043945,
+ "y": 1112.884958267212,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b830aa8.7a2e35",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 589.5477180480957,
+ "y": 2568.777879714966,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "4fcc3aef.d47ee4"
+ ]
+ ]
+ },
+ {
+ "id": "4fcc3aef.d47ee4",
+ "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": 771.5477142333984,
+ "y": 2567.777889251709,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "c653bf24.72f6f",
+ "type": "set",
+ "name": "Set final indicator to Y",
+ "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 432.6587371826172,
+ "y": 1223.4722213745117,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "2a7f7b48.96f564",
+ "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": 2165.2780952453613,
+ "y": 457.5396976470947,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "fc661165.b5a09"
+ ]
+ ]
+ },
+ {
+ "id": "153b5df3.1aa3b2",
+ "type": "switchNode",
+ "name": "switch service-data.networks.network_length",
+ "xml": "<switch test='`$service-data.networks.network_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1442.7422523498535,
+ "y": 425.8610897064209,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c17a83fc.bbfb5",
+ "8fc5b6b7.783f98"
+ ]
+ ]
+ },
+ {
+ "id": "c17a83fc.bbfb5",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1741.992130279541,
+ "y": 424.11108779907227,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5486cd52.37da04"
+ ]
+ ]
+ },
+ {
+ "id": "8fc5b6b7.783f98",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1695.9921607971191,
+ "y": 457.1111087799072,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a18e3ac0.fbf2a8"
+ ]
+ ]
+ },
+ {
+ "id": "fc661165.b5a09",
+ "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": 2455.706645965576,
+ "y": 456.78978157043457,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "bed52f1.91ac3d"
+ ]
+ ]
+ },
+ {
+ "id": "bed52f1.91ac3d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2644.6590003967285,
+ "y": 457.6825199127197,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "779dc900.b644d8"
+ ]
+ ]
+ },
+ {
+ "id": "779dc900.b644d8",
+ "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": 2878.1907691955566,
+ "y": 456.43252754211426,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "6906d42b.83dd1c",
+ "type": "comment",
+ "name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
+ "info": "",
+ "comments": "",
+ "x": 1593.1035461425781,
+ "y": 391.11110973358154,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "95465718.254478",
+ "type": "comment",
+ "name": "service-data will not be stored until we have a network-id",
+ "info": "",
+ "comments": "",
+ "x": 1161.2144317626953,
+ "y": 20,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "5486cd52.37da04",
+ "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": 1933.769687652588,
+ "y": 422.0000858306885,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "a18e3ac0.fbf2a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1863.2621269226074,
+ "y": 456.6656856536865,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2a7f7b48.96f564",
+ "6c047532.adeb9c"
+ ]
+ ]
+ },
+ {
+ "id": "6c047532.adeb9c",
+ "type": "switchNode",
+ "name": "switch tmp.nidx ",
+ "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2092.3296394348145,
+ "y": 507.0228967666626,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c8b50e00.37e21",
+ "2459b978.6eeb96"
+ ]
+ ]
+ },
+ {
+ "id": "a4b154d2.d24a98",
+ "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": 2445.186622619629,
+ "y": 502.73713874816895,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "c8b50e00.37e21",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2263.7581748962402,
+ "y": 505.59428215026855,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a4b154d2.d24a98"
+ ]
+ ]
+ },
+ {
+ "id": "861a03d4.b6c46",
+ "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": 1513.575798034668,
+ "y": 919.336389541626,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "35d066f7.c8c83a",
+ "5db6e1dd.9c034"
+ ]
+ ]
+ },
+ {
+ "id": "35d066f7.c8c83a",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1878.5757776896153,
+ "y": 919.3363742828369,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "df4a2853.72a188"
+ ]
+ ]
+ },
+ {
+ "id": "5db6e1dd.9c034",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1828.5758247375488,
+ "y": 959.336404800415,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "95937dfc.560a6"
+ ]
+ ]
+ },
+ {
+ "id": "95937dfc.560a6",
+ "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": 1998.5758247375488,
+ "y": 959.336404800415,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "ff44806e.c3ac7",
+ "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": 1503.178810119629,
+ "y": 1114.4891605377197,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "6af81e00.f4b56",
+ "36399347.d4563c",
+ "63cca36.d07f25c"
+ ]
+ ]
+ },
+ {
+ "id": "6af81e00.f4b56",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1863.1787796020508,
+ "y": 1114.4891910552979,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "23dd09f6.b62806"
+ ]
+ ]
+ },
+ {
+ "id": "36399347.d4563c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1818.9287033081055,
+ "y": 1185.9892539978027,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2aee0aed.346576"
+ ]
+ ]
+ },
+ {
+ "id": "2aee0aed.346576",
+ "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": 2010.2621231079102,
+ "y": 1184.6558828353882,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "63cca36.d07f25c",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1866.4090042114258,
+ "y": 1152.3363590240479,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "23dd09f6.b62806"
+ ]
+ ]
+ },
+ {
+ "id": "e65a5795.2aa7e8",
+ "type": "other",
+ "name": "changeassign",
+ "xml": "<outcome value='changeassign'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 655.5477104187012,
+ "y": 465.77777099609375,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "651cd10b.8f5c7"
+ ]
+ ]
+ },
+ {
+ "id": "651cd10b.8f5c7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1027.797649383545,
+ "y": 462.7777624130249,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "153b5df3.1aa3b2",
+ "33a32095.1d0ca"
+ ]
+ ]
+ },
+ {
+ "id": "7b6569f0.cbf838",
+ "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": 1796.5478324890137,
+ "y": 160.77776336669922,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41bdfec0.46d4c",
+ "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": 1092.5158882141113,
+ "y": 98.72915458679199,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "6d381eb0.53f11",
+ "209a7a19.1e7e26",
+ "e5e4f036.48102",
+ "9c6fbbbd.33ee08"
+ ]
+ ]
+ },
+ {
+ "id": "6d381eb0.53f11",
+ "type": "outcome",
+ "name": "outcome PendingCreate",
+ "xml": "<outcome value='PendingCreate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1478.5159339904785,
+ "y": 118.72913646697998,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "629dce5f.1c7a9"
+ ]
+ ]
+ },
+ {
+ "id": "209a7a19.1e7e26",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.5159301757812,
+ "y": 160.72916793823242,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "7b6569f0.cbf838"
+ ]
+ ]
+ },
+ {
+ "id": "629dce5f.1c7a9",
+ "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": 1753.51615524292,
+ "y": 114.72918510437012,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "9c6fbbbd.33ee08",
+ "type": "outcome",
+ "name": "outcome PendingDelete",
+ "xml": "<outcome value='PendingDelete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.5476722717285,
+ "y": 83.77775192260742,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "629dce5f.1c7a9"
+ ]
+ ]
+ },
+ {
+ "id": "e5e4f036.48102",
+ "type": "outcome",
+ "name": "outcome Created",
+ "xml": "<outcome value='Created'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1456.5477104187012,
+ "y": 48.777753829956055,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "629dce5f.1c7a9"
+ ]
+ ]
+ },
+ {
+ "id": "33a32095.1d0ca",
+ "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": 1605.794044494629,
+ "y": 851.2738800048828,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d5d1a6.1ffe7e4",
+ "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": 1517.98628616333,
+ "y": 683.2787666320801,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "eb364fb8.96141",
+ "a1559a9d.cb90f8"
+ ]
+ ]
+ },
+ {
+ "id": "eb364fb8.96141",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1804.7361679077148,
+ "y": 721.4454336166382,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "ce978c0d.77ec9"
+ ]
+ ]
+ },
+ {
+ "id": "a1559a9d.cb90f8",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1802.4030647277832,
+ "y": 688.4453077316284,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "49ad5a08.53a714"
+ ]
+ ]
+ },
+ {
+ "id": "49ad5a08.53a714",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1962.7362937927246,
+ "y": 685.4453649520874,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "12e43bf5.2639c4",
+ "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": 2297.811908721924,
+ "y": 714.7111825942993,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2728faf9.9c4456",
+ "d59945c0.d5a2f8"
+ ]
+ ]
+ },
+ {
+ "id": "2728faf9.9c4456",
+ "type": "other",
+ "name": "outcome Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2657.0615997314453,
+ "y": 671.7111854553223,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "554c5dd5.7e8644"
+ ]
+ ]
+ },
+ {
+ "id": "d59945c0.d5a2f8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2637.0615997314453,
+ "y": 706.7111854553223,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "cadc09d7.9813e8"
+ ]
+ ]
+ },
+ {
+ "id": "ce978c0d.77ec9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1938.8474235534668,
+ "y": 721.889838218689,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "12e43bf5.2639c4"
+ ]
+ ]
+ },
+ {
+ "id": "72580ae5.e78014",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4061.0554161071777,
+ "y": 649.9217891693115,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5bc3963b.959598"
+ ]
+ ]
+ },
+ {
+ "id": "34e31311.24b3ec",
+ "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": 4503.587383270264,
+ "y": 649.6718139648438,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "5bc3963b.959598",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4209.673854827881,
+ "y": 649.778974533081,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "34e31311.24b3ec"
+ ]
+ ]
+ },
+ {
+ "id": "54948c78.13e924",
+ "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": 3243.9238204956055,
+ "y": 710.0287618637085,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "75f9e2f5.e8041c"
+ ]
+ ]
+ },
+ {
+ "id": "75f9e2f5.e8041c",
+ "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": 3689.3524169921875,
+ "y": 709.7789306640625,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "72580ae5.e78014"
+ ]
+ ]
+ },
+ {
+ "id": "cadc09d7.9813e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2855.907699584961,
+ "y": 707.9046869277954,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "54948c78.13e924"
+ ]
+ ]
+ },
+ {
+ "id": "554c5dd5.7e8644",
+ "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": 2848.6112518310547,
+ "y": 671.2787523269653,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "2459b978.6eeb96",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2263.2938270568848,
+ "y": 536.5238647460938,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "1ed328e0.6f16c7"
+ ]
+ ]
+ },
+ {
+ "id": "1ed328e0.6f16c7",
+ "type": "set",
+ "name": "set nidx",
+ "xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
+ "comments": "",
+ "x": 2420.2938270568848,
+ "y": 537.5238647460938,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "b4a2c51c.9bf118",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 844.6588249206543,
+ "y": 323.2326765060425,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "d150a8f6.70cf98",
+ "6fd60384.6df67c",
+ "bf7ed4ea.d9a8d8",
+ "861169d6.7df5d8"
+ ]
+ ]
+ },
+ {
+ "id": "d150a8f6.70cf98",
+ "type": "outcome",
+ "name": "ActivateDCINetworkInstance",
+ "xml": "<outcome value='ActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.9920501708984,
+ "y": 268.23250579833984,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "7f681a35.b52204"
+ ]
+ ]
+ },
+ {
+ "id": "7f681a35.b52204",
+ "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": 1655.9921264648438,
+ "y": 267.8993377685547,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fd60384.6df67c",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 977.9921684265137,
+ "y": 372.8992614746094,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "434dbd2e.fa1f54"
+ ]
+ ]
+ },
+ {
+ "id": "3ba10e57.029e32",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 849.2143745422363,
+ "y": 564.6770572662354,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a1c407eb.c47c08",
+ "91991218.67145",
+ "b71277b2.22fdf8",
+ "ebbb06dc.f2bfa8"
+ ]
+ ]
+ },
+ {
+ "id": "a1c407eb.c47c08",
+ "type": "outcome",
+ "name": "DeactivateSOTNConnectivityInstance",
+ "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.9922523498535,
+ "y": 508.8991947174072,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "78112491.20419c"
+ ]
+ ]
+ },
+ {
+ "id": "91991218.67145",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.4373397827148,
+ "y": 655.5908031463623,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "abc50963.ab6478"
+ ]
+ ]
+ },
+ {
+ "id": "78112491.20419c",
+ "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": 1630.3495178222656,
+ "y": 507.18256759643555,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cddace48.d73d5",
+ "type": "other",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 645.8812637329102,
+ "y": 1678.0111122131348,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3df48f11.4089a"
+ ]
+ ]
+ },
+ {
+ "id": "3df48f11.4089a",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 882.1951904296875,
+ "y": 1679.788782119751,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5c4c45b6.3e8bec",
+ "e597f8fd.b63538",
+ "89c5bd67.beb3d",
+ "b245425a.5411b",
+ "6fa2e05d.13256"
+ ]
+ ]
+ },
+ {
+ "id": "33ae8b87.cdb6f4",
+ "type": "other",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 616.8812217712402,
+ "y": 2161.0111112594604,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5367f2bb.287a1c"
+ ]
+ ]
+ },
+ {
+ "id": "5367f2bb.287a1c",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.1696014404297,
+ "y": 2164.071994781494,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3bf00019.dedb6",
+ "c6bf5c14.5523d",
+ "91ce26b2.4e44a8",
+ "aaa99683.0e1448",
+ "d0e5186c.eb1d88"
+ ]
+ ]
+ },
+ {
+ "id": "a8bc2791.422188",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2023.9927444458008,
+ "y": 1605.8997869491577,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "41977cb1.c3a6a4"
+ ]
+ ]
+ },
+ {
+ "id": "b1a9c895.331728",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1999.437068939209,
+ "y": 2117.4554653167725,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c716166e.8a9e68"
+ ]
+ ]
+ },
+ {
+ "id": "41977cb1.c3a6a4",
+ "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": 2448.6592559814453,
+ "y": 1605.3442859649658,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c716166e.8a9e68",
+ "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": 2412.4369163513184,
+ "y": 2118.455466270447,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5c4c45b6.3e8bec",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1369.195026397705,
+ "y": 1572.6771278381348,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "185d380.33372c8"
+ ]
+ ]
+ },
+ {
+ "id": "e597f8fd.b63538",
+ "type": "outcome",
+ "name": "CreateSOTNConnectivityInstance",
+ "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1472.8617095947266,
+ "y": 1433.45497955475,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "29253322.d4803c"
+ ]
+ ]
+ },
+ {
+ "id": "29253322.d4803c",
+ "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": 1951.7505264282227,
+ "y": 1435.6771618286148,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6bf5c14.5523d",
+ "type": "outcome",
+ "name": "DeleteSOTNConnectivityInstance",
+ "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1438.28076171875,
+ "y": 1931.627236366272,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f1c2223c.beb3c"
+ ]
+ ]
+ },
+ {
+ "id": "f1c2223c.beb3c",
+ "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": 1905.169578552246,
+ "y": 1933.8494186401367,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3bf00019.dedb6",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1330.6140060424805,
+ "y": 2079.8494815826416,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "37973a6d.201656"
+ ]
+ ]
+ },
+ {
+ "id": "bf7ed4ea.d9a8d8",
+ "type": "outcome",
+ "name": "ActivateSOTNConnectivityInstance",
+ "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1160.9921417236328,
+ "y": 219.01041412353516,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "d0819ca8.4d92c"
+ ]
+ ]
+ },
+ {
+ "id": "d0819ca8.4d92c",
+ "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": 1615.21435546875,
+ "y": 220.24494552612305,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b71277b2.22fdf8",
+ "type": "outcome",
+ "name": "DeActivateDCINetworkInstance",
+ "xml": "<outcome value='DeActivateDCINetworkInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.0927925109863,
+ "y": 551.9999942779541,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "da012b7b.4be5d8"
+ ]
+ ]
+ },
+ {
+ "id": "da012b7b.4be5d8",
+ "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": 1659.0931701660156,
+ "y": 555.666805267334,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "861169d6.7df5d8",
+ "type": "outcome",
+ "name": "ActivateSDWANConnectivityInstance",
+ "xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1162.5372772216797,
+ "y": 319.0000190734863,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3c510c0.a7335f4"
+ ]
+ ]
+ },
+ {
+ "id": "3c510c0.a7335f4",
+ "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": 1682.5374755859375,
+ "y": 313.66687393188477,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebbb06dc.f2bfa8",
+ "type": "outcome",
+ "name": "DeactivateSDWANConnectivityInstance",
+ "xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1136.5372314453125,
+ "y": 605,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "d1da9a73.781588"
+ ]
+ ]
+ },
+ {
+ "id": "d1da9a73.781588",
+ "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": 1650.5375061035156,
+ "y": 602.6668519973755,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89c5bd67.beb3d",
+ "type": "outcome",
+ "name": "CreateSDWANConnectivityInstance",
+ "xml": "<outcome value='CreateSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1478.537265777588,
+ "y": 1482.0000762939453,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "40fbf632.88fe18"
+ ]
+ ]
+ },
+ {
+ "id": "40fbf632.88fe18",
+ "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": 1921.5374565124512,
+ "y": 1479.6669049263,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91ce26b2.4e44a8",
+ "type": "outcome",
+ "name": "DeleteSDWANConnectivityInstance",
+ "xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1439.5372200012207,
+ "y": 1982.0002837181091,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "459d472a.0c60d8"
+ ]
+ ]
+ },
+ {
+ "id": "459d472a.0c60d8",
+ "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": 1906.4260368347168,
+ "y": 1984.2224659919739,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "434dbd2e.fa1f54",
+ "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": 1168.4430770874023,
+ "y": 358.0065197944641,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "5f6618b4.0e5d78",
+ "821088b.093c578"
+ ]
+ ]
+ },
+ {
+ "id": "5f6618b4.0e5d78",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1374.443130493164,
+ "y": 353.11759185791016,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "124f981d.b61768"
+ ]
+ ]
+ },
+ {
+ "id": "124f981d.b61768",
+ "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": 1759.443229675293,
+ "y": 355.1176052093506,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "821088b.093c578",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 946.6652526855469,
+ "y": 420.0064754486084,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "660cc5db.d692ac"
+ ]
+ ]
+ },
+ {
+ "id": "abc50963.ab6478",
+ "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": 1184.2208404541016,
+ "y": 646.2287330627441,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2465070f.de4968",
+ "c9d29535.2c2568"
+ ]
+ ]
+ },
+ {
+ "id": "2465070f.de4968",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1385.2209968566895,
+ "y": 645.339765548706,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "77cd47f1.624f38"
+ ]
+ ]
+ },
+ {
+ "id": "77cd47f1.624f38",
+ "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": 1751.220962524414,
+ "y": 642.3397808074951,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c9d29535.2c2568",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1031.220890045166,
+ "y": 709.1176118850708,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "9519eead.4ec21"
+ ]
+ ]
+ },
+ {
+ "id": "185d380.33372c8",
+ "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": 1583.4430770874023,
+ "y": 1571.6732215881348,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3b7bff63.4b1b4",
+ "8bbd2288.4844a"
+ ]
+ ]
+ },
+ {
+ "id": "8bbd2288.4844a",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.4430847167969,
+ "y": 1604.5622215270996,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a8bc2791.422188"
+ ]
+ ]
+ },
+ {
+ "id": "3b7bff63.4b1b4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1822.4432487487793,
+ "y": 1535.784550666809,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3ac71314.c8661c"
+ ]
+ ]
+ },
+ {
+ "id": "3ac71314.c8661c",
+ "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": 2229.443084716797,
+ "y": 1531.784387588501,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37973a6d.201656",
+ "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": 1547.109619140625,
+ "y": 2080.006546020508,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "cad9a24f.96c87",
+ "dafe3faf.8122a"
+ ]
+ ]
+ },
+ {
+ "id": "dafe3faf.8122a",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1765.109951019287,
+ "y": 2117.8958702087402,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "b1a9c895.331728"
+ ]
+ ]
+ },
+ {
+ "id": "cad9a24f.96c87",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1776.1097526550293,
+ "y": 2043.117735862732,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "421b10a5.36efb"
+ ]
+ ]
+ },
+ {
+ "id": "421b10a5.36efb",
+ "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": 2223.109664916992,
+ "y": 2044.1177101135254,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6f9e65c.cf2798",
+ "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": 484.3343086242676,
+ "y": 1174.9571886062622,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "1ee985f4.f7191a",
+ "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": 442.0486145019531,
+ "y": 1129.528715133667,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "53ab77b.4fd6f88",
+ "type": "set",
+ "name": "set networkId",
+ "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
+ "comments": "",
+ "x": 436.3342475891113,
+ "y": 1092.385823249817,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "c9c439a4.644948",
+ "type": "other",
+ "name": "reoptimize",
+ "xml": "<outcome value='reoptimize'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 613.5477676391602,
+ "y": 2399.0000400543213,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "c2ec08b5.baf898"
+ ]
+ ]
+ },
+ {
+ "id": "c2ec08b5.baf898",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 808.5477676391602,
+ "y": 2403.0000400543213,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "9516703a.f0424"
+ ]
+ ]
+ },
+ {
+ "id": "9516703a.f0424",
+ "type": "outcome",
+ "name": "ReoptimizeSOTNInstance",
+ "xml": "<outcome value='ReoptimizeSOTNInstance'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.54789352417,
+ "y": 2563.0000762939453,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "a5056bc.49bb798"
+ ]
+ ]
+ },
+ {
+ "id": "a5056bc.49bb798",
+ "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": 1982.5479011535645,
+ "y": 2559.0000762939453,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b245425a.5411b",
+ "type": "outcome",
+ "name": "CreateAccessConnectivityInstance",
+ "xml": "<outcome value='CreateAccessConnectivityInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1436.6775550842285,
+ "y": 1824.0107040405273,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3c846975.cd4d66"
+ ]
+ ]
+ },
+ {
+ "id": "59b0ffc3.f1bd",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-create-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-create-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3201.6779022216797,
+ "y": 1796.0109305381775,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aaa99683.0e1448",
+ "type": "outcome",
+ "name": "DeleteAccessConnectivityInstance",
+ "xml": "<outcome value='DeleteAccessConnectivityInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1402.5100364685059,
+ "y": 2269.0106382369995,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "96e7eafa.2dbc88"
+ ]
+ ]
+ },
+ {
+ "id": "eb4a3230.bafb7",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-delete-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-delete-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3301.5108337402344,
+ "y": 2189.011200904846,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fa2e05d.13256",
+ "type": "outcome",
+ "name": "CreateInternetProfileInstance",
+ "xml": "<outcome value='CreateInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1434.5104866027832,
+ "y": 1703.0105381011963,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "114697cf.26bbe8"
+ ]
+ ]
+ },
+ {
+ "id": "89198a1c.591aa8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-create-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-create-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3139.510673522949,
+ "y": 1666.010917186737,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0e5186c.eb1d88",
+ "type": "outcome",
+ "name": "DeleteInternetProfileInstance",
+ "xml": "<outcome value='DeleteInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1396.5101318359375,
+ "y": 2390.010486602783,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f9740169.a8e11"
+ ]
+ ]
+ },
+ {
+ "id": "8096a9b3.539768",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-delete-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3231.510498046875,
+ "y": 2339.010486602783,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f54feb4a.839528",
+ "type": "outcome",
+ "name": "ChangeInternetProfileInstance",
+ "xml": "<outcome value='ChangeInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1242.5105171203613,
+ "y": 1339.0106048583984,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "8d49145e.10dd78"
+ ]
+ ]
+ },
+ {
+ "id": "3cb12a93.93f446",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-change-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2928.5113372802734,
+ "y": 1267.0107669830322,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c846975.cd4d66",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1785.3337440490723,
+ "y": 1825.0007762908936,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2daf54e0.ce83cc"
+ ]
+ ]
+ },
+ {
+ "id": "2daf54e0.ce83cc",
+ "type": "switchNode",
+ "name": "switch:manufacturer",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2033.5001487731934,
+ "y": 1827.0006608963013,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "7f439058.f48ce"
+ ]
+ ]
+ },
+ {
+ "id": "7f439058.f48ce",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2221.5000343322754,
+ "y": 1829.000823020935,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "b35e15c3.b29238"
+ ]
+ ]
+ },
+ {
+ "id": "b35e15c3.b29238",
+ "type": "switchNode",
+ "name": "switch:manufacturer value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.500675201416,
+ "y": 1829.001148223877,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "62efdf5e.8189e",
+ "b2bc4ac6.6914e8",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "62efdf5e.8189e",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2707.3338508605957,
+ "y": 1797.000850200653,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "59b0ffc3.f1bd"
+ ]
+ ]
+ },
+ {
+ "id": "b2bc4ac6.6914e8",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2705.3338508605957,
+ "y": 1872.0008521080017,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "58b98712.7c3b88"
+ ]
+ ]
+ },
+ {
+ "id": "58b98712.7c3b88",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-create-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-create-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3198.0009765625,
+ "y": 1870.001187801361,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96e7eafa.2dbc88",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1815.3332290649414,
+ "y": 2267.000326156616,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "1fcee7a4.020b98"
+ ]
+ ]
+ },
+ {
+ "id": "1fcee7a4.020b98",
+ "type": "switchNode",
+ "name": "switch:manufacturer",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2062.4994201660156,
+ "y": 2265.000326156616,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "9c3c582a.8de768"
+ ]
+ ]
+ },
+ {
+ "id": "9c3c582a.8de768",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.499608039856,
+ "y": 2264.0002365112305,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "949f9c2f.46255"
+ ]
+ ]
+ },
+ {
+ "id": "949f9c2f.46255",
+ "type": "switchNode",
+ "name": "switch:manufacturer value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2453.4999351501465,
+ "y": 2262.0003995895386,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "39ae5c62.e189c4",
+ "4d832448.f75fec",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "39ae5c62.e189c4",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2829.333309173584,
+ "y": 2188.0002784729004,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "eb4a3230.bafb7"
+ ]
+ ]
+ },
+ {
+ "id": "4d832448.f75fec",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2827.333309173584,
+ "y": 2263.000280380249,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "de93b523.307248"
+ ]
+ ]
+ },
+ {
+ "id": "81f5fb4.8cd9808",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2850.3338165283203,
+ "y": 2027.0003852844238,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "247872c4.a3df6e"
+ ]
+ ]
+ },
+ {
+ "id": "247872c4.a3df6e",
+ "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-input-parameters.param[$idx].name+' is invalid manufacturer,please check!'`\" />",
+ "comments": "",
+ "x": 3051.666831970215,
+ "y": 2025.6670513153076,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "8d49145e.10dd78",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1566.666732788086,
+ "y": 1338.0002670288086,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "94d7db37.7a3d78"
+ ]
+ ]
+ },
+ {
+ "id": "94d7db37.7a3d78",
+ "type": "switchNode",
+ "name": "switch:manufacturer",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1813.833023071289,
+ "y": 1338.0002841949463,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "83ef8135.5e95e"
+ ]
+ ]
+ },
+ {
+ "id": "83ef8135.5e95e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2001.832908630371,
+ "y": 1340.00044631958,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "30948650.291b5a"
+ ]
+ ]
+ },
+ {
+ "id": "30948650.291b5a",
+ "type": "switchNode",
+ "name": "switch:manufacturer value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2212.8335494995117,
+ "y": 1340.000771522522,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "569be9cc.6ad218",
+ "1b3ee4fb.4831eb",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "569be9cc.6ad218",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2464.6667823791504,
+ "y": 1266.0004348754883,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3cb12a93.93f446"
+ ]
+ ]
+ },
+ {
+ "id": "1b3ee4fb.4831eb",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2462.6667823791504,
+ "y": 1341.000436782837,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f5c766f7.632b38"
+ ]
+ ]
+ },
+ {
+ "id": "f9740169.a8e11",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1785.6667175292969,
+ "y": 2395.0000705718994,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "da232470.f93ec8"
+ ]
+ ]
+ },
+ {
+ "id": "da232470.f93ec8",
+ "type": "switchNode",
+ "name": "switch:manufacturer",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2058.832878112793,
+ "y": 2397.000023841858,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "9033ab67.390c18"
+ ]
+ ]
+ },
+ {
+ "id": "9033ab67.390c18",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2246.832763671875,
+ "y": 2399.0001859664917,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "247f3edd.baaa82"
+ ]
+ ]
+ },
+ {
+ "id": "247f3edd.baaa82",
+ "type": "switchNode",
+ "name": "switch:manufacturer value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2457.8334045410156,
+ "y": 2399.0005111694336,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "bcef4611.8a23b8",
+ "4ab5aba5.008864",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "bcef4611.8a23b8",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2752.666748046875,
+ "y": 2338.000557899475,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "8096a9b3.539768"
+ ]
+ ]
+ },
+ {
+ "id": "4ab5aba5.008864",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2747.666748046875,
+ "y": 2396.0003967285156,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "bad37761.4aea08"
+ ]
+ ]
+ },
+ {
+ "id": "114697cf.26bbe8",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1783.6667747497559,
+ "y": 1704.0000638961792,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3c9fb8cf.9cb2f8"
+ ]
+ ]
+ },
+ {
+ "id": "3c9fb8cf.9cb2f8",
+ "type": "switchNode",
+ "name": "switch:manufacturer",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.833065032959,
+ "y": 1704.000081062317,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3500de32.7ecec2"
+ ]
+ ]
+ },
+ {
+ "id": "3500de32.7ecec2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2218.832950592041,
+ "y": 1706.0002431869507,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2f27817.d741d7e"
+ ]
+ ]
+ },
+ {
+ "id": "2f27817.d741d7e",
+ "type": "switchNode",
+ "name": "switch:manufacturer value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2429.8335914611816,
+ "y": 1706.0005683898926,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "747fb887.a58af8",
+ "e6c3e120.b571f",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "747fb887.a58af8",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2704.6667671203613,
+ "y": 1674.0002703666687,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "89198a1c.591aa8"
+ ]
+ ]
+ },
+ {
+ "id": "e6c3e120.b571f",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2702.6667671203613,
+ "y": 1749.0002722740173,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3ee98359.6c3dac"
+ ]
+ ]
+ },
+ {
+ "id": "3ee98359.6c3dac",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-create-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-create-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3141.6669311523438,
+ "y": 1739.000180721283,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bad37761.4aea08",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-delete-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-delete-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.666748046875,
+ "y": 2402.0000705718994,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5c766f7.632b38",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-change-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-change-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2923.6668548583984,
+ "y": 1338.0002670288086,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de93b523.307248",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-delete-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-delete-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3297.666748046875,
+ "y": 2262.000555038452,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1964d76.299a5",
+ "type": "other",
+ "name": "update",
+ "xml": "<outcome value='update'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 641.0000152587891,
+ "y": 1336.0000400543213,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "e4d29c5d.bd523"
+ ]
+ ]
+ },
+ {
+ "id": "e4d29c5d.bd523",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 873.0000152587891,
+ "y": 1337.00004196167,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f54feb4a.839528"
+ ]
+ ]
+ }
+]
\ No newline at end of file