[\r
{\r
- "id": "e69423a5.584ae",\r
+ "id": "40773877.e7f878",\r
"type": "execute",\r
"name": "execute Properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 849.5312957763672,\r
- "y": 366.07812881469727,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 823,\r
+ "y": 371.07812309265137,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "a2e25c17.8e9c",\r
+ "id": "8daa10ea.b957b",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 130,\r
- "y": 54.0000057220459,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 103.46870422363281,\r
+ "y": 59,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "3fa8aef8.7e3df2"\r
+ "61fe2f58.e4c3e"\r
]\r
]\r
},\r
{\r
- "id": "3fa8aef8.7e3df2",\r
+ "id": "61fe2f58.e4c3e",\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": 261.2856903076172,\r
- "y": 103.23811435699463,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 234.75439453125,\r
+ "y": 108.23810863494873,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "2162b779.2eb3a8"\r
+ "a074f76.b34de08"\r
]\r
]\r
},\r
{\r
- "id": "2162b779.2eb3a8",\r
+ "id": "a074f76.b34de08",\r
"type": "method",\r
"name": "method sdwan-vf-operation-wanport-deactivate",\r
"xml": "<method rpc='sdwan-vf-operation-wanport-deactivate' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 264.4286193847656,\r
- "y": 188.00003814697266,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 237.89732360839844,\r
+ "y": 193.00003242492676,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "832591c7.4ef99"\r
+ "467c4bfc.2f5b64"\r
]\r
]\r
},\r
{\r
- "id": "7df3c0c6.f5b88",\r
+ "id": "1de0c391.b5a28c",\r
"type": "for",\r
"name": "for each vnf",\r
"xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 834.53125,\r
- "y": 203.07812213897705,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 807.9999542236328,\r
+ "y": 208.07811641693115,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "112ac69c.661419"\r
+ "5ecb025.1081afc"\r
]\r
]\r
},\r
{\r
- "id": "112ac69c.661419",\r
+ "id": "5ecb025.1081afc",\r
"type": "switchNode",\r
"name": "switch this vnf-id == input vnf-id",\r
"xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1086.5313415527344,\r
- "y": 201.7447853088379,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1060.0000457763672,\r
+ "y": 206.744779586792,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "9fb48502.518d68"\r
+ "997362c3.0cc6a"\r
]\r
]\r
},\r
{\r
- "id": "e66ecc6.7152f3",\r
+ "id": "fdccb3cb.83cc4",\r
"type": "set",\r
"name": "set vnf-index",\r
"xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",\r
"comments": "",\r
- "x": 1458.1978302001953,\r
- "y": 203.74478816986084,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1431.6665344238281,\r
+ "y": 208.74478244781494,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "9fb48502.518d68",\r
+ "id": "997362c3.0cc6a",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1304.864658355713,\r
- "y": 203.74476718902588,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1278.3333625793457,\r
+ "y": 208.74476146697998,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "e66ecc6.7152f3"\r
+ "fdccb3cb.83cc4"\r
]\r
]\r
},\r
{\r
- "id": "ff28f3d.3169d1",\r
+ "id": "5cb64270.b68bbc",\r
"type": "switchNode",\r
"name": "switch vnf_length",\r
"xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 848.9518432617188,\r
- "y": 158.5819911956787,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 822.4205474853516,\r
+ "y": 163.5819854736328,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "a6a2da6e.228e08"\r
+ "2713a7c6.86b758"\r
]\r
]\r
},\r
{\r
- "id": "a6a2da6e.228e08",\r
+ "id": "2713a7c6.86b758",\r
"type": "other",\r
"name": "NULL",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1035.618522644043,\r
- "y": 157.9152889251709,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1009.0872268676758,\r
+ "y": 162.915283203125,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "c0d198d3.426068"\r
+ "a37833b2.185f8"\r
]\r
]\r
},\r
{\r
- "id": "c0d198d3.426068",\r
+ "id": "a37833b2.185f8",\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=\"404\" />\n <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n",\r
"comments": "",\r
- "x": 1217.2851486206055,\r
- "y": 157.9152889251709,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1190.7538528442383,\r
+ "y": 162.915283203125,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "61f42e0f.accb4",\r
+ "id": "8159840a.e34b38",\r
"type": "for",\r
"name": "for each existing vf-index",\r
"xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1487.5312576293945,\r
- "y": 373.0781125728972,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1460.9999618530273,\r
+ "y": 378.0781068508513,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "ce0facb9.acf8f"\r
+ "2d5467cf.141cf8"\r
]\r
]\r
},\r
{\r
- "id": "d0cbbcf7.18e0c",\r
+ "id": "92550d61.5702c",\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": 1906.8170928955078,\r
- "y": 375.6496305465698,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1880.2857971191406,\r
+ "y": 380.6496248245239,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "ada2f692.ece248"\r
+ "e5b5e260.275be"\r
]\r
]\r
},\r
{\r
- "id": "bd278e04.68d68",\r
+ "id": "6e4eaafb.1605b4",\r
"type": "set",\r
"name": "set vf-module-length",\r
"xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",\r
"comments": "",\r
- "x": 1474.102882385254,\r
- "y": 336.8559989929199,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1447.5715866088867,\r
+ "y": 341.855993270874,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "4efb1646.df29b8",\r
+ "id": "fb40ae0e.bbae5",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1278.4042778015137,\r
- "y": 350.2368840877898,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1251.8729820251465,\r
+ "y": 355.2368783657439,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "61f42e0f.accb4",\r
- "bd278e04.68d68",\r
- "49047f5d.3dde6"\r
+ "8159840a.e34b38",\r
+ "6e4eaafb.1605b4",\r
+ "3aa9d72d.eaee98"\r
]\r
]\r
},\r
{\r
- "id": "1c241e5.3b7e6e2",\r
+ "id": "338d154d.d328ea",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1134.047233581543,\r
- "y": 350.3003720943816,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1107.5159378051758,\r
+ "y": 355.3003663723357,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "4efb1646.df29b8"\r
+ "fb40ae0e.bbae5"\r
]\r
]\r
},\r
{\r
- "id": "8e428583.69a8e8",\r
+ "id": "7e611b6d.db2764",\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": 898.047215461731,\r
- "y": 277.3003845214844,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 871.5159196853638,\r
+ "y": 282.3003787994385,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "1c241e5.3b7e6e2",\r
- "45b16795.1e16b8",\r
- "5c72c52f.a612dc"\r
+ "338d154d.d328ea",\r
+ "7a0a695.917c098",\r
+ "8d2d99ea.4b0448"\r
]\r
]\r
},\r
{\r
- "id": "45b16795.1e16b8",\r
+ "id": "7a0a695.917c098",\r
"type": "outcome",\r
"name": "0",\r
"xml": "<outcome value='0'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1139.5312519073486,\r
- "y": 249.0781135559082,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1112.9999561309814,\r
+ "y": 254.0781078338623,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "b89d0343.04bd1"\r
+ "589e99a4.cf28d8"\r
]\r
]\r
},\r
{\r
- "id": "5c72c52f.a612dc",\r
+ "id": "8d2d99ea.4b0448",\r
"type": "other",\r
"name": "Null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1141.5624408721924,\r
- "y": 286.10942459106445,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1115.0311450958252,\r
+ "y": 291.10941886901855,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "b89d0343.04bd1"\r
+ "589e99a4.cf28d8"\r
]\r
]\r
},\r
{\r
- "id": "b89d0343.04bd1",\r
+ "id": "589e99a4.cf28d8",\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=\"vf-module-operation-input.vf-module-request-input.vf-id not found in service-data\" />\n",\r
"comments": "",\r
- "x": 1299.3399562835693,\r
- "y": 266.9983730316162,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1272.8086605072021,\r
+ "y": 271.9983673095703,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "ada2f692.ece248",\r
+ "id": "e5b5e260.275be",\r
"type": "outcomeTrue",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2110.53133392334,\r
- "y": 374.0781369502656,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 2084.0000381469727,\r
+ "y": 379.0781312282197,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "8cb3d733.8b9cc8"\r
+ "9a9a684f.c7ffd8"\r
]\r
]\r
},\r
{\r
- "id": "8cb3d733.8b9cc8",\r
+ "id": "9a9a684f.c7ffd8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1872.8745422363281,\r
- "y": 476.16428661346436,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1846.343246459961,\r
+ "y": 481.16428089141846,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "e9572390.a2ce1",\r
- "7be5423c.87235c",\r
- "39502de7.a9fc62"\r
+ "14405ad7.cb9e35",\r
+ "de34e0a1.fef5c",\r
+ "c4a0e771.25eac8"\r
]\r
]\r
},\r
{\r
- "id": "e9572390.a2ce1",\r
+ "id": "14405ad7.cb9e35",\r
"type": "set",\r
"name": "set tmp.vidx and ctx.vnf-data",\r
"xml": "<set>\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",\r
"comments": "",\r
- "x": 2114.7612342834473,\r
- "y": 446.50670051574707,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 2088.22993850708,\r
+ "y": 451.5066947937012,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "7be5423c.87235c",\r
+ "id": "de34e0a1.fef5c",\r
"type": "set",\r
"name": "set vf-module-request-input.",\r
"xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",\r
"comments": "",\r
- "x": 2118.207492828369,\r
- "y": 491.1643395423889,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 2091.676197052002,\r
+ "y": 496.164333820343,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "ce0facb9.acf8f",\r
+ "id": "2d5467cf.141cf8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 1695.0313034057617,\r
- "y": 373.07812118530273,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1668.5000076293945,\r
+ "y": 378.07811546325684,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "d0cbbcf7.18e0c"\r
+ "92550d61.5702c"\r
]\r
]\r
},\r
{\r
- "id": "2948d13a.1b821e",\r
+ "id": "816f2ae4.9e3938",\r
"type": "comment",\r
"name": "Get devices",\r
"info": "",\r
"comments": "",\r
- "x": 848.0315361022949,\r
- "y": 494.0781602859497,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 821.5002403259277,\r
+ "y": 499.0781545639038,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "49047f5d.3dde6",\r
+ "id": "3aa9d72d.eaee98",\r
"type": "set",\r
"name": "set prop.site.deviceId_length",\r
"xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",\r
"comments": "",\r
- "x": 1500.53125,\r
- "y": 301.07812213897705,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1473.9999542236328,\r
+ "y": 306.07811641693115,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "832591c7.4ef99",\r
+ "id": "467c4bfc.2f5b64",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 405.52733993530273,\r
- "y": 405.0742197036743,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 378.99604415893555,\r
+ "y": 410.0742139816284,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "ff28f3d.3169d1",\r
- "7df3c0c6.f5b88",\r
- "8e428583.69a8e8",\r
- "e69423a5.584ae",\r
- "ce0e4f49.1217b",\r
- "16f0a729.f1f5a9",\r
- "d2d93614.7c8ad8",\r
- "2604b323.ea5f4c",\r
- "9139c857.0718b8",\r
- "c9d5923c.c3e6a",\r
- "4a67f6d4.3597f8",\r
- "7c127312.19825c",\r
- "1954d3bb.e0ec6c"\r
+ "5cb64270.b68bbc",\r
+ "1de0c391.b5a28c",\r
+ "7e611b6d.db2764",\r
+ "40773877.e7f878",\r
+ "b86dde81.b26fa",\r
+ "b01ccc1a.02731",\r
+ "9c618528.84c5b8",\r
+ "fc70c70a.583ef8",\r
+ "86a3ea09.776bc8",\r
+ "1e0c85ac.387e1a",\r
+ "6b522fc9.bd25d",\r
+ "c257767a.933bb8",\r
+ "c5d5b1d3.8c084"\r
]\r
]\r
},\r
{\r
- "id": "39502de7.a9fc62",\r
+ "id": "c4a0e771.25eac8",\r
"type": "call",\r
"name": "call sdwan-get-wan-param",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2109.5039443969727,\r
- "y": 538.0039381980896,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 2082.9726486206055,\r
+ "y": 543.0039324760437,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9139c857.0718b8",\r
+ "id": "86a3ea09.776bc8",\r
"type": "get-resource",\r
"name": "get-resource esr-thirdparty-sdnc",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWANController AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 893.2539443969727,\r
- "y": 444.75391960144043,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 866.7226486206055,\r
+ "y": 449.75391387939453,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "679a2fa0.7fa24",\r
- "db810e5a.69a4a",\r
- "b796d6f.b8abb28"\r
+ "cb360512.9f1c88",\r
+ "f1779f79.d3359",\r
+ "78cd1685.a056c8"\r
]\r
]\r
},\r
{\r
- "id": "679a2fa0.7fa24",\r
+ "id": "cb360512.9f1c88",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1125.2540283203125,\r
- "y": 408.753942489624,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1098.7227325439453,\r
+ "y": 413.7539367675781,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "e1a99634.deb268"\r
+ "f23d61e0.62498"\r
]\r
]\r
},\r
{\r
- "id": "db810e5a.69a4a",\r
+ "id": "f1779f79.d3359",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1127.7449111938477,\r
- "y": 444.3279790878296,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1101.2136154174805,\r
+ "y": 449.3279733657837,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "363ab1e2.2b5cce"\r
+ "399ac4f6.7a8eac"\r
]\r
]\r
},\r
{\r
- "id": "b796d6f.b8abb28",\r
+ "id": "78cd1685.a056c8",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1123.0779190063477,\r
- "y": 480.661337852478,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1096.5466232299805,\r
+ "y": 485.66133213043213,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "cdf3743a.490b68"\r
+ "3b8de765.32c6c8"\r
]\r
]\r
},\r
{\r
- "id": "cdf3743a.490b68",\r
+ "id": "3b8de765.32c6c8",\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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
"comments": "",\r
- "x": 1276.8504104614258,\r
- "y": 478.1004247665405,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1250.3191146850586,\r
+ "y": 483.10041904449463,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "363ab1e2.2b5cce",\r
+ "id": "399ac4f6.7a8eac",\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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
"comments": "",\r
- "x": 1273.316307067871,\r
- "y": 442.6136665344238,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1246.785011291504,\r
+ "y": 447.61366081237793,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "e1a99634.deb268",\r
+ "id": "f23d61e0.62498",\r
"type": "set",\r
"name": "set controller data",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",\r
"comments": "",\r
- "x": 1280.7541427612305,\r
- "y": 407.75383472442627,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1254.2228469848633,\r
+ "y": 412.75382900238037,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "c9d5923c.c3e6a",\r
+ "id": "1e0c85ac.387e1a",\r
"type": "execute",\r
"name": "execute RestApiCallNode Get token",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 907.7640762329102,\r
- "y": 532.4309215545654,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 881.232780456543,\r
+ "y": 537.4309158325195,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "80be9352.04481",\r
- "fdeb2c27.d10b4"\r
+ "77011d7.7b96ee4",\r
+ "12088398.76a01c"\r
]\r
]\r
},\r
{\r
- "id": "80be9352.04481",\r
+ "id": "77011d7.7b96ee4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1142.76420211792,\r
- "y": 518.4309101104736,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1116.2329063415527,\r
+ "y": 523.4309043884277,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "303f14f3.7822fc"\r
+ "44026cbb.b9e684"\r
]\r
]\r
},\r
{\r
- "id": "303f14f3.7822fc",\r
+ "id": "44026cbb.b9e684",\r
"type": "set",\r
"name": "set token-id",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
"comments": "",\r
- "x": 1284.7642097473145,\r
- "y": 517.430911064148,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1258.2329139709473,\r
+ "y": 522.430905342102,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "de3334dd.87a328",\r
+ "id": "9dced7bd.db4818",\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=\"Error executing get token rest api\" />\n",\r
"comments": "",\r
- "x": 1290.7642097473145,\r
- "y": 554.823899269104,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1264.2329139709473,\r
+ "y": 559.8238935470581,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "fdeb2c27.d10b4",\r
+ "id": "12088398.76a01c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1142.01420211792,\r
- "y": 554.0738172531128,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1115.4829063415527,\r
+ "y": 559.0738115310669,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "de3334dd.87a328"\r
+ "9dced7bd.db4818"\r
]\r
]\r
},\r
{\r
- "id": "4a67f6d4.3597f8",\r
+ "id": "6b522fc9.bd25d",\r
"type": "call",\r
"name": "call sdwan-get-tenant-auth",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 884.7638244628906,\r
- "y": 585.7639970779419,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 858.2325286865234,\r
+ "y": 590.763991355896,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "2604b323.ea5f4c",\r
+ "id": "fc70c70a.583ef8",\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": 849.8993644714355,\r
- "y": 1030.5663061141968,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 823.3680686950684,\r
+ "y": 1035.5663003921509,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "4c7ada40.e6d834",\r
+ "id": "4a80b28.10a884c",\r
"type": "update",\r
"name": "update SDWAN wan port instance configuration in AAI",\r
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='wan-port-config' \n key='wan-port-config.wan-port-config-id = $vf-module-topology-operation-input.vnf-information.vnf-id' >\n<parameter name=\"wan-port-config-id\" value=\"`$vf-module-topology-operation-input.vnf-information.vnf-id`\" />\n<parameter name='operational-status' value='PendingDelete' />\n<parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vf-module-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 969.2184829711914,\r
- "y": 990.3698863983154,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 942.6871871948242,\r
+ "y": 995.3698806762695,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "ce0e4f49.1217b",\r
+ "id": "b86dde81.b26fa",\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[$tmp.vidx].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[$tmp.vidx].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[$tmp.vidx].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[$tmp.vidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",\r
"comments": "",\r
- "x": 903.59619140625,\r
- "y": 864.7630681991577,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 877.0648956298828,\r
+ "y": 869.7630624771118,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "16f0a729.f1f5a9",\r
+ "id": "b01ccc1a.02731",\r
"type": "set",\r
"name": "set vf-module-id and vf-module-object-path",\r
"xml": "<set>\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 + $vf-module-topology-operation-input.vf-module-information.vf-module-id\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": 937.8993911743164,\r
- "y": 908.5661773681641,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 911.3680953979492,\r
+ "y": 913.5661716461182,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "d2d93614.7c8ad8",\r
+ "id": "9c618528.84c5b8",\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[$tmp.vidx].vf-module-data.vf-module-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].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[$tmp.vidx].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": 904.8993911743164,\r
- "y": 944.5661773681641,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 878.3680953979492,\r
+ "y": 949.5661716461182,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "1954d3bb.e0ec6c",\r
+ "id": "c5d5b1d3.8c084",\r
"type": "execute",\r
"name": "execute RestApiCallNode device port delete",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device-port-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/ports/action/batch-delete'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 952.03125,\r
- "y": 770.078145980835,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 925.4999542236328,\r
+ "y": 775.0781402587891,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "5763133a.85c38c",\r
- "e2a71559.3f3e88"\r
+ "e2365777.226868",\r
+ "8c72c557.95eda8"\r
]\r
]\r
},\r
{\r
- "id": "5763133a.85c38c",\r
+ "id": "e2365777.226868",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1198.031234741211,\r
- "y": 808.0782346725464,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1171.4999389648438,\r
+ "y": 813.0782289505005,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "c730322d.384d7"\r
+ "d7624ae6.474bb8"\r
]\r
]\r
},\r
{\r
- "id": "e2a71559.3f3e88",\r
+ "id": "8c72c557.95eda8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1194.0313148498535,\r
- "y": 762.0781497955322,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1167.5000190734863,\r
+ "y": 767.0781440734863,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "33e8f10d.25726e"\r
+ "d7624ae6.474bb8"\r
]\r
]\r
},\r
{\r
- "id": "33e8f10d.25726e",\r
+ "id": "281f8a8d.8e3fc6",\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=\"Error executing Create vpn rest api\" />\n",\r
"comments": "",\r
- "x": 1335.031406402588,\r
- "y": 762.0781507492065,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1308.5001106262207,\r
+ "y": 767.0781450271606,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "c730322d.384d7",\r
+ "id": "d7624ae6.474bb8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1342.0311012268066,\r
- "y": 806.0781536102295,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1315.4998054504395,\r
+ "y": 811.0781478881836,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "7c127312.19825c",\r
+ "id": "c257767a.933bb8",\r
"type": "execute",\r
"name": "execute RestApiCallNode wan port delete",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports/action/batch-delete'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 947.0314178466797,\r
- "y": 664.0781440734863,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 920.5001220703125,\r
+ "y": 669.0781383514404,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "e0828ab7.60a978",\r
- "3d0c4f43.fce4d"\r
+ "ec710bf2.9c0a78",\r
+ "f07017bc.bc8a18"\r
]\r
]\r
},\r
{\r
- "id": "e0828ab7.60a978",\r
+ "id": "ec710bf2.9c0a78",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1235.0315132141113,\r
- "y": 696.0781135559082,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1208.5002174377441,\r
+ "y": 701.0781078338623,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "aca8b9c6.d1fb58"\r
+ "7193fdca.aa45a4"\r
]\r
]\r
},\r
{\r
- "id": "3d0c4f43.fce4d",\r
+ "id": "f07017bc.bc8a18",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1239.031593322754,\r
- "y": 632.0781917572021,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1212.5002975463867,\r
+ "y": 637.0781860351562,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[\r
- "729b835e.b7b53c"\r
+ "7193fdca.aa45a4"\r
]\r
]\r
},\r
{\r
- "id": "729b835e.b7b53c",\r
+ "id": "64ee4cf2.79ceb4",\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=\"Error executing Create vpn rest api\" />\n",\r
"comments": "",\r
- "x": 1384.0317649841309,\r
- "y": 634.0781917572021,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1357.5004692077637,\r
+ "y": 639.0781860351562,\r
+ "z": "b8fed42e.2d2888",\r
"wires": []\r
},\r
{\r
- "id": "aca8b9c6.d1fb58",\r
+ "id": "7193fdca.aa45a4",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1391.0313568115234,\r
- "y": 694.0781135559082,\r
- "z": "4fee9402.f5c9bc",\r
+ "x": 1364.5000610351562,\r
+ "y": 699.0781078338623,\r
+ "z": "b8fed42e.2d2888",\r
"wires": [\r
[]\r
]\r