[\r
{\r
- "id": "86705660.0abdc8",\r
+ "id": "f25c52a5.c1512",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 476.00390625,\r
- "y": 401.9999997615814,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 431.0104064941406,\r
+ "y": 360.00000047683716,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "33a55b62.a48504",\r
- "c9956259.20d27",\r
- "92e109fc.d487c8",\r
- "fa6a2af9.45d408",\r
- "96b8a138.b9de9",\r
- "1072d79c.c97df8",\r
- "7fb4c42e.fff1cc",\r
- "8252c529.c8dc08",\r
- "d1676675.1b3088",\r
- "80911d80.565f6",\r
- "f1c0f2fa.5d8e8",\r
- "69439d08.c30934",\r
- "a6352f7.5aa86d"\r
+ "b0ec8338.580f5",\r
+ "f7ddfb47.5b2f08",\r
+ "b17c2a0a.9c7048",\r
+ "b301b0b4.47969",\r
+ "75b3686.06a8798",\r
+ "eda7bf6a.a6768",\r
+ "1c914e3e.bd19d2",\r
+ "e8fbb993.4260a8",\r
+ "ce57fa36.d86878",\r
+ "67b336e3.64c8a8",\r
+ "393d128d.77829e",\r
+ "3dff4920.e6f876",\r
+ "1788c292.f60a9d"\r
]\r
]\r
},\r
{\r
- "id": "4414eba1.be7024",\r
+ "id": "fd150a68.54b208",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"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}'>",\r
"outputs": 1,\r
- "x": 318.00392150878906,\r
- "y": 185.99999117851257,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 273.0104217529297,\r
+ "y": 143.9999918937683,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "665e6349.0f20bc"\r
+ "58419eae.b9425"\r
]\r
]\r
},\r
{\r
- "id": "665e6349.0f20bc",\r
+ "id": "58419eae.b9425",\r
"type": "method",\r
"name": "sdwan-vf-operation-vpn-create",\r
"xml": "<method rpc='sdwan-vf-operation-vpn-create' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 317.00392150878906,\r
- "y": 285.9999911785126,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 272.0104217529297,\r
+ "y": 243.9999918937683,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "86705660.0abdc8"\r
+ "f25c52a5.c1512"\r
]\r
]\r
},\r
{\r
- "id": "c5e65dcf.93a1d",\r
+ "id": "c35c953.b5e8868",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 147.50392150878906,\r
- "y": 96.9999988079071,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 102.51042175292969,\r
+ "y": 54.99999952316284,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "4414eba1.be7024"\r
+ "fd150a68.54b208"\r
]\r
]\r
},\r
{\r
- "id": "c9956259.20d27",\r
+ "id": "f7ddfb47.5b2f08",\r
"type": "for",\r
"name": "for loop idx - VF input parameters",\r
"xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 851.2541379928589,\r
- "y": 410.66667890548706,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 806.2606382369995,\r
+ "y": 368.6666796207428,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "5f7e52d8.71003c"\r
+ "fcacce0e.8c56d"\r
]\r
]\r
},\r
{\r
- "id": "5f7e52d8.71003c",\r
+ "id": "fcacce0e.8c56d",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1066.0324811935425,\r
- "y": 408.2222628593445,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1021.0389814376831,\r
+ "y": 366.2222635746002,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "b5888647.1272c8",\r
- "f88a8224.ffbd4"\r
+ "e9bb9dc5.ab9e7",\r
+ "437b18ad.950888"\r
]\r
]\r
},\r
{\r
- "id": "b5888647.1272c8",\r
+ "id": "e9bb9dc5.ab9e7",\r
"type": "execute",\r
"name": "execute split parameterName",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1262.2886838912964,\r
- "y": 385.97040128707886,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1217.295184135437,\r
+ "y": 343.9704020023346,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "f88a8224.ffbd4",\r
+ "id": "437b18ad.950888",\r
"type": "set",\r
"name": "set parameterName",\r
"xml": "<set>\n<parameter name=\"`vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",\r
"comments": "",\r
- "x": 1231.7331113815308,\r
- "y": 422.97051763534546,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1186.7396116256714,\r
+ "y": 380.9705183506012,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "84649b93.490df8",\r
+ "id": "7d6fd9af.e0a388",\r
"type": "comment",\r
"name": "Take the parameter names by removing prefix",\r
"info": "",\r
"comments": "",\r
- "x": 1235.254340171814,\r
- "y": 345.33334732055664,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1190.2608404159546,\r
+ "y": 303.3333480358124,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "33a55b62.a48504",\r
+ "id": "b0ec8338.580f5",\r
"type": "switchNode",\r
"name": "switch vf-modules.vf-module_length",\r
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 833.0039367675781,\r
- "y": 264.0000157356262,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 788.0104370117188,\r
+ "y": 222.00001645088196,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "5e528a3d.403a94",\r
- "e1430919.889a48"\r
+ "e3d991cc.0551d",\r
+ "fab03553.0f6bc8"\r
]\r
]\r
},\r
{\r
- "id": "5e528a3d.403a94",\r
+ "id": "e3d991cc.0551d",\r
"type": "other",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1064.0039472579956,\r
- "y": 240.00001287460327,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1019.0104475021362,\r
+ "y": 198.000013589859,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "d1fe70de.0d5a2"\r
+ "cd9f31aa.1f944"\r
]\r
]\r
},\r
{\r
- "id": "e1430919.889a48",\r
+ "id": "fab03553.0f6bc8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1064.0039472579956,\r
- "y": 280.00001287460327,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1019.0104475021362,\r
+ "y": 238.000013589859,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "550ac6cc.1a43f8"\r
+ "9fa4f951.782718"\r
]\r
]\r
},\r
{\r
- "id": "d1fe70de.0d5a2",\r
+ "id": "cd9f31aa.1f944",\r
"type": "set",\r
"name": "set vf-index",\r
"xml": "<set>\n<parameter name='vf-index' value='0' />\n",\r
"comments": "",\r
- "x": 1206.5039472579956,\r
- "y": 240.00001287460327,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1161.5104475021362,\r
+ "y": 198.000013589859,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "550ac6cc.1a43f8",\r
+ "id": "9fa4f951.782718",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1208.3609914779663,\r
- "y": 279.9365248680115,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1163.367491722107,\r
+ "y": 237.9365255832672,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "2b30e41b.b2df2c",\r
- "735539ef.d045e8"\r
+ "f792bd90.84c2f",\r
+ "a00871e4.c717d"\r
]\r
]\r
},\r
{\r
- "id": "735539ef.d045e8",\r
+ "id": "a00871e4.c717d",\r
"type": "set",\r
"name": "set vf-index",\r
"xml": "<set>\n<parameter name='vf-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
"comments": "",\r
- "x": 1361.0594663619995,\r
- "y": 249.5556235606782,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1316.0659666061401,\r
+ "y": 207.55562427593395,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "2b30e41b.b2df2c",\r
+ "id": "f792bd90.84c2f",\r
"type": "for",\r
"name": "for each existing vf-index",\r
"xml": "<for index='idx' start='0' end='`$vf-index`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1417.4879713058472,\r
- "y": 302.7777533531189,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1372.4944715499878,\r
+ "y": 260.77775406837463,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "e7001097.30f29"\r
+ "2a945efe.523112"\r
]\r
]\r
},\r
{\r
- "id": "87bb5bc0.359988",\r
+ "id": "a3b8abe8.a0e028",\r
"type": "comment",\r
"name": "make sure this network doesn't exist already",\r
"info": "",\r
"comments": "",\r
- "x": 1641.1387014389038,\r
- "y": 261.03181076049805,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1596.1452016830444,\r
+ "y": 219.03181147575378,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "e7001097.30f29",\r
+ "id": "2a945efe.523112",\r
"type": "switchNode",\r
"name": "switch vf-module-id found",\r
"xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1692.7736921310425,\r
- "y": 302.34925603866577,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1647.780192375183,\r
+ "y": 260.3492567539215,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "c77c794f.c68788"\r
+ "f09636f3.8478b8"\r
]\r
]\r
},\r
{\r
- "id": "c77c794f.c68788",\r
+ "id": "f09636f3.8478b8",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1593.5038900375366,\r
- "y": 360.9206871986389,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1548.5103902816772,\r
+ "y": 318.92068791389465,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "1ae23876.21a108"\r
+ "a87baae5.4ae3f8"\r
]\r
]\r
},\r
{\r
- "id": "1ae23876.21a108",\r
+ "id": "a87baae5.4ae3f8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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=\"service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id already found in service-data\" />\n",\r
"comments": "",\r
- "x": 1741.2539930343628,\r
- "y": 360.7778792674653,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1696.2604932785034,\r
+ "y": 318.77787998272106,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "1072d79c.c97df8",\r
+ "id": "eda7bf6a.a6768",\r
"type": "set",\r
"name": "copy input data to service data",\r
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-id' value='`$prop.vpn-vf-index`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vnf-information.' value='`$vf-module-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-topology.' value='`$tmp.vf-module-topology.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />\n\n\n",\r
"comments": "",\r
- "x": 846.8571271896362,\r
- "y": 713.4962668418884,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 801.8636274337769,\r
+ "y": 671.4962675571442,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "96b8a138.b9de9",\r
+ "id": "75b3686.06a8798",\r
"type": "execute",\r
"name": "execute generate-vf-module-index",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-vf-index\"/>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 858.1906995773315,\r
- "y": 666.1629691123962,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 813.1971998214722,\r
+ "y": 624.162969827652,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "fa6a2af9.45d408",\r
+ "id": "b301b0b4.47969",\r
"type": "set",\r
"name": "set new vf-module_length",\r
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index + 1`' />",\r
"comments": "",\r
- "x": 830.1907606124878,\r
- "y": 617.1629691123962,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 785.1972608566284,\r
+ "y": 575.162969827652,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "92e109fc.d487c8",\r
+ "id": "b17c2a0a.9c7048",\r
"type": "set",\r
"name": "set vf-module-request-input.",\r
"xml": "<set>\n<parameter name='vf-module-request-input.' value='`$vf-module-topology-operation-input.vf-module-request-input.`' />\n",\r
"comments": "",\r
- "x": 830.1902875900269,\r
- "y": 563.1542572975159,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 785.1967878341675,\r
+ "y": 521.1542580127716,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "7fb4c42e.fff1cc",\r
+ "id": "1c914e3e.bd19d2",\r
"type": "set",\r
"name": "set vf-module-level-oper-status",\r
"xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-rpc-action' value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-index].vf-module-data.vf-module-level-oper-status.last-action' value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />",\r
"comments": "",\r
- "x": 840.5041151046753,\r
- "y": 811.000087916851,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 795.5106153488159,\r
+ "y": 769.0000886321068,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "69439d08.c30934",\r
+ "id": "3dff4920.e6f876",\r
"type": "save",\r
"name": "save sdwan vpn resource in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n key='sdwan-vpn.sdwan-vpn-id = $prop.vpn-vf-index' >\n<parameter name='sdwan-vpn-id' value='`$prop.vpn-vf-index`' />\n<parameter name='sdwan-vpn-name' value='`$prop.name`' />\n<parameter name='topology' value='`$prop.topology`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vf-module-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $service-data.vnfs.vnf[$vnf-index].vnf-id + '/vnf-data/vf-modules/vf-module/' + $prop.vpn-vf-index + '/vf-module-data/'` \" />\n",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n key='sdwan-vpn.sdwan-vpn-id = $prop.vpn-vf-index' >\n<parameter name='sdwan-vpn-id' value='`$prop.vpn-vf-index`' />\n<parameter name='sdwan-vpn-name' value='`$prop.name`' />\n<parameter name='topology' value='`$prop.topology`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vf-module-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $service-data.vnfs.vnf[$vnf-index].vnf-id + '/vnf-data/vf-modules/vf-module/' + $prop.vpn-vf-index + '/vf-module-data/'` \" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 847.0039758682251,\r
- "y": 856.5000357627869,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 802.0104761123657,\r
+ "y": 814.5000364780426,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "8252c529.c8dc08",\r
+ "id": "e8fbb993.4260a8",\r
"type": "returnSuccess",\r
"name": "return success",\r
"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",\r
"comments": "",\r
- "x": 794.7264490127563,\r
- "y": 949.6739263534546,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 749.732949256897,\r
+ "y": 907.6739270687103,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "d1676675.1b3088",\r
+ "id": "ce57fa36.d86878",\r
"type": "for",\r
"name": "for loop i - Network input parameters",\r
"xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 858.2578535079956,\r
- "y": 499.5039267539978,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 813.2643537521362,\r
+ "y": 457.50392746925354,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "63318660.a4e798"\r
+ "e6621181.b6207"\r
]\r
]\r
},\r
{\r
- "id": "63318660.a4e798",\r
+ "id": "e6621181.b6207",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1145.480731010437,\r
- "y": 499.7262406349182,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1100.4872312545776,\r
+ "y": 457.72624135017395,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "1e3ec759.b2be29",\r
- "bfacfb85.875b78"\r
+ "cf9839cf.8bf478",\r
+ "7fad1cad.2e9334"\r
]\r
]\r
},\r
{\r
- "id": "1e3ec759.b2be29",\r
+ "id": "cf9839cf.8bf478",\r
"type": "switchNode",\r
"name": "switch name",\r
"xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'name'`\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1333.7025747299194,\r
- "y": 482.05954480171204,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1288.70907497406,\r
+ "y": 440.0595455169678,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "4c3c07dc.109bb8"\r
+ "2663612d.85d52e"\r
]\r
]\r
},\r
{\r
- "id": "bfacfb85.875b78",\r
+ "id": "7fad1cad.2e9334",\r
"type": "switchNode",\r
"name": "switch topology",\r
"xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'topology'`\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1344.5422353744507,\r
- "y": 522.0595428943634,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1299.5487356185913,\r
+ "y": 480.05954360961914,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "8910bf6.fa8bd4"\r
+ "1951da82.25c5f5"\r
]\r
]\r
},\r
{\r
- "id": "4c3c07dc.109bb8",\r
+ "id": "2663612d.85d52e",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1520.7025747299194,\r
- "y": 478.05954480171204,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1475.70907497406,\r
+ "y": 436.0595455169678,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "330c74f0.0fa8ac"\r
+ "e034463.55bd5b8"\r
]\r
]\r
},\r
{\r
- "id": "8910bf6.fa8bd4",\r
+ "id": "1951da82.25c5f5",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1514.5422353744507,\r
- "y": 518.0595428943634,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1469.5487356185913,\r
+ "y": 476.05954360961914,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[\r
- "c760e70.ca63518"\r
+ "18d6441f.f0cc5c"\r
]\r
]\r
},\r
{\r
- "id": "330c74f0.0fa8ac",\r
+ "id": "e034463.55bd5b8",\r
"type": "set",\r
"name": "set name",\r
"xml": "<set>\n<parameter name='prop.name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n\n",\r
"comments": "",\r
- "x": 1670.7027044296265,\r
- "y": 476.6595513820648,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1625.709204673767,\r
+ "y": 434.65955209732056,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "c760e70.ca63518",\r
+ "id": "18d6441f.f0cc5c",\r
"type": "set",\r
"name": "set topology",\r
"xml": "<set>\n<parameter name='prop.topology' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",\r
"comments": "",\r
- "x": 1701.8756761550903,\r
- "y": 516.5206997394562,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 1656.882176399231,\r
+ "y": 474.5207004547119,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "80911d80.565f6",\r
+ "id": "67b336e3.64c8a8",\r
"type": "call",\r
"name": "call GENERIC-RESOURCE-API:validate-sdwan-vf-vpn-input-parameters",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-vf-vpn-input-parameters' mode='sync' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 954.5077972412109,\r
- "y": 190.0039086341858,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 909.5142974853516,\r
+ "y": 148.00390934944153,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "f1c0f2fa.5d8e8",\r
+ "id": "393d128d.77829e",\r
"type": "set",\r
"name": "set vf-module-object-path",\r
"xml": "<set>\n<parameter name='vf-module-id' value='`$prop.vpn-vf-index`' />\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $prop.vpn-vf-index\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
"comments": "",\r
- "x": 832.5039930343628,\r
- "y": 762.0313073992729,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 787.5104932785034,\r
+ "y": 720.0313081145287,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": []\r
},\r
{\r
- "id": "a6352f7.5aa86d",\r
+ "id": "1788c292.f60a9d",\r
"type": "save",\r
"name": "save service relationship in AAI",\r
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list' \n key='generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"sdwan-vpn\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/sdwan-vpns/sdwan-vpn/' + $prop.vpn-vf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"sdwan-vpn.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vpn-vf-index`\" />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 847.004054069519,\r
- "y": 904.0001769065857,\r
- "z": "12e5b519.7c42cb",\r
+ "x": 802.0105543136597,\r
+ "y": 862.0001776218414,\r
+ "z": "3b61dfe7.30ac3",\r
"wires": [\r
[]\r
]\r