[ { "id": "50195fc6.898bb", "type": "comment", "name": "sdwan-vnf-topology-operation-device-activate", "info": "", "comments": "", "x": 550.00390625, "y": 71.00390625, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "85d78052.fe7cc", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 229.94481658935547, "y": 142.0041732788086, "z": "c21457e5.a6cbc8", "wires": [ [ "323cadd3.27c0d2" ] ] }, { "id": "aaa38f17.f307a", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 150.65911102294922, "y": 79.76606369018555, "z": "c21457e5.a6cbc8", "wires": [ [ "85d78052.fe7cc" ] ] }, { "id": "220347f8.1484e8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 225.3257827758789, "y": 421.43274879455566, "z": "c21457e5.a6cbc8", "wires": [ [ "e6b80f71.25bd4", "41d21371.3482cc", "ede17b3a.f75148", "d7029e79.59672", "6ae18188.f2044", "f628964.b562168", "120defaf.28edc", "46c583fa.d0b40c", "139f4e2.66d6eb2", "a27fb783.ef2f48", "bcf0047f.528cc8", "981acfda.e23ab", "86570f1a.fe5e8", "fba2af80.f96de" ] ] }, { "id": "41d21371.3482cc", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 624.9925231933594, "y": 1066.0995807647705, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "e6b80f71.25bd4", "type": "set", "name": "set vnf-level-oper-status to Active", "xml": "\n\n\n\n", "comments": "", "x": 706.472583770752, "y": 873.4367294311523, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "6ae18188.f2044", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n", "comments": "", "x": 684.3257751464844, "y": 929.4329051971436, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "4cad5392.24fc9c", "type": "comment", "name": "make sure this VNF doesn't exist already", "info": "", "comments": "", "x": 1422.5162811279297, "y": 644.9566164016724, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "a27fb783.ef2f48", "type": "save", "name": "save deviceInstance configuration in AAI", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 708.6592712402344, "y": 979.3219051361084, "z": "c21457e5.a6cbc8", "wires": [ [] ] }, { "id": "323cadd3.27c0d2", "type": "method", "name": "method sdwan-vnf-topology-operation-device-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 241.65911102294922, "y": 236.3524055480957, "z": "c21457e5.a6cbc8", "wires": [ [ "220347f8.1484e8" ] ] }, { "id": "ede17b3a.f75148", "type": "set", "name": "set vnfId and vnf-object-path", "xml": "\n\n", "comments": "", "x": 687.6592254638672, "y": 822.352541923523, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "fba2af80.f96de", "type": "execute", "name": "execute RestApiCallNode Create Devcie Instance", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 763.1037368774414, "y": 649.1304225921631, "z": "c21457e5.a6cbc8", "wires": [ [ "1a1378b0.178537", "d8dd7f14.0ab02" ] ] }, { "id": "86570f1a.fe5e8", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 717.1036605834961, "y": 519.1302967071533, "z": "c21457e5.a6cbc8", "wires": [ [ "946c47ae.42bcf8", "ddd15567.8fafd8" ] ] }, { "id": "946c47ae.42bcf8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 949.1036605834961, "y": 499.1302967071533, "z": "c21457e5.a6cbc8", "wires": [ [ "8008bf96.00803" ] ] }, { "id": "ddd15567.8fafd8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 941.3536605834961, "y": 540.7731800079346, "z": "c21457e5.a6cbc8", "wires": [ [ "87a9f03d.7da59" ] ] }, { "id": "8008bf96.00803", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1086.103660583496, "y": 499.1302967071533, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "87a9f03d.7da59", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1067.437156677246, "y": 541.0192127227783, "z": "c21457e5.a6cbc8", "wires": [ [] ] }, { "id": "e45b42b8.e6dbb", "type": "comment", "name": "Do Nothing", "info": "", "comments": "", "x": 1328.9927024841309, "y": 341.9080295562744, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "928cde96.7898d", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1189.7702026367188, "y": 619.0192108154297, "z": "c21457e5.a6cbc8", "wires": [ [] ] }, { "id": "d1dae5c1.63a508", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1191.2147827148438, "y": 669.574743270874, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "d8dd7f14.0ab02", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1038.2146263122559, "y": 672.5746974945068, "z": "c21457e5.a6cbc8", "wires": [ [ "d1dae5c1.63a508" ] ] }, { "id": "1a1378b0.178537", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1037.6591415405273, "y": 616.2414093017578, "z": "c21457e5.a6cbc8", "wires": [ [ "928cde96.7898d" ] ] }, { "id": "f628964.b562168", "type": "set", "name": "set deviceId to service data", "xml": "\n\n\n\n", "comments": "", "x": 693.6593780517578, "y": 774.3527889251709, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "7d88138b.724c0c", "type": "comment", "name": "AAI resource need to update", "info": "", "comments": "", "x": 1019.6592254638672, "y": 933.352541923523, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "981acfda.e23ab", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 711.6593246459961, "y": 423.35251808166504, "z": "c21457e5.a6cbc8", "wires": [ [ "d90f92f1.56733", "58ca0b39.c48274", "871628e8.c20ff8" ] ] }, { "id": "d90f92f1.56733", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 952.6593818664551, "y": 348.3524923324585, "z": "c21457e5.a6cbc8", "wires": [ [ "9c017cb1.5ef39" ] ] }, { "id": "9c017cb1.5ef39", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1129.159423828125, "y": 339.35248136520386, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "58ca0b39.c48274", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 944.150218963623, "y": 396.92654037475586, "z": "c21457e5.a6cbc8", "wires": [ [ "48a5b30d.99482c" ] ] }, { "id": "48a5b30d.99482c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 936.483226776123, "y": 438.2598533630371, "z": "c21457e5.a6cbc8", "wires": [ [ "59c1c9f6.0040b8" ] ] }, { "id": "59c1c9f6.0040b8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n\n\n", "comments": "", "outputs": 1, "x": 682.6594467163086, "y": 1026.0994539260864, "z": "c21457e5.a6cbc8", "wires": [ [] ] }, { "id": "d7029e79.59672", "type": "record", "name": "record", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 656.6591262817383, "y": 301.0190849304199, "z": "c21457e5.a6cbc8", "wires": [ [] ] }, { "id": "120defaf.28edc", "type": "for", "name": "for vidx..service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 744.6904144287109, "y": 187.0351848602295, "z": "c21457e5.a6cbc8", "wires": [ [ "2fb6d9ed.49aab6" ] ] }, { "id": "2fb6d9ed.49aab6", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 993.0400085449219, "y": 187.57525253295898, "z": "c21457e5.a6cbc8", "wires": [ [ "974bf0fe.dc4fc" ] ] }, { "id": "974bf0fe.dc4fc", "type": "switchNode", "name": "switch vnfid found", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1147.1196060180664, "y": 187.28533458709717, "z": "c21457e5.a6cbc8", "wires": [ [ "82b55f94.090c5" ] ] }, { "id": "e03d76d9.cc3a98", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1440.7171173095703, "y": 188.5856475830078, "z": "c21457e5.a6cbc8", "wires": [ [ "dd0e8d25.544ad", "d5fff7a1.3b1048", "1fe66a57.7e4926" ] ] }, { "id": "82b55f94.090c5", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1302.0715980529785, "y": 188.1780138015747, "z": "c21457e5.a6cbc8", "wires": [ [ "e03d76d9.cc3a98" ] ] }, { "id": "d5fff7a1.3b1048", "type": "set", "name": "set vnf-request-input.", "xml": "\n\n\n", "comments": "", "x": 1682.0499725341797, "y": 144.58570766448975, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "dd0e8d25.544ad", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "\n\n\n", "comments": "", "x": 1709.6036834716797, "y": 97.92807197570801, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "1fe66a57.7e4926", "type": "call", "name": "call sdwan-get-device-param", "xml": "\n", "comments": "", "outputs": 1, "x": 1686.6904220581055, "y": 207.03517818450928, "z": "c21457e5.a6cbc8", "wires": [ [] ] }, { "id": "46c583fa.d0b40c", "type": "switchNode", "name": "switch tmp.vidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 675.690299987793, "y": 248.03515625, "z": "c21457e5.a6cbc8", "wires": [ [ "47e07fa8.46bc3" ] ] }, { "id": "47e07fa8.46bc3", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 823.1189422607422, "y": 247.60656642913818, "z": "c21457e5.a6cbc8", "wires": [ [ "b8303d6e.293f7" ] ] }, { "id": "b8303d6e.293f7", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 972.5476684570312, "y": 248.74948406219482, "z": "c21457e5.a6cbc8", "wires": [] }, { "id": "139f4e2.66d6eb2", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 670.690299987793, "y": 344.03515625, "z": "c21457e5.a6cbc8", "wires": [ [] ] } ]