[ { "id": "c57da515.f74988", "type": "comment", "name": "sdwan-vnf-topology-operation-device-activate", "info": "", "comments": "", "x": 571.344856262207, "y": 61, "z": "48050f50.e2132", "wires": [] }, { "id": "e16a751b.7b48a8", "type": "service-logic", "name": "GENERIC-RESOURCE-API 1.2.1-SNAPSHOT", "module": "GENERIC-RESOURCE-API", "version": "1.2.1-SNAPSHOT", "comments": "", "xml": "", "outputs": 1, "x": 251.2857666015625, "y": 132.0002670288086, "z": "48050f50.e2132", "wires": [ [ "e3b9d3fc.f582d" ] ] }, { "id": "22a66427.5103ec", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 172.00006103515625, "y": 69.76215744018555, "z": "48050f50.e2132", "wires": [ [ "e16a751b.7b48a8" ] ] }, { "id": "5e9c748a.d0c93c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 246.66673278808594, "y": 411.42884254455566, "z": "48050f50.e2132", "wires": [ [ "164a289d.b889e7", "c60faf33.f797b", "138d258a.ddadba", "2a9fc936.08f4c6", "b4b11b51.f47008", "88ab4e5f.36358", "15d0a117.420b6f", "34088ab3.22cba6", "96fd10aa.3117f", "3c7b9f2b.d2464", "4d7e6631.03a558", "58df9113.78ab9", "971b776.085e288", "64ab23e7.432f0c" ] ] }, { "id": "c60faf33.f797b", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 646.3334732055664, "y": 1056.0956745147705, "z": "48050f50.e2132", "wires": [] }, { "id": "164a289d.b889e7", "type": "set", "name": "set vnf-level-oper-status to Active", "xml": "\n\n\n\n", "comments": "", "x": 727.813533782959, "y": 863.4328231811523, "z": "48050f50.e2132", "wires": [] }, { "id": "b4b11b51.f47008", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n", "comments": "", "x": 705.6667251586914, "y": 919.4289989471436, "z": "48050f50.e2132", "wires": [] }, { "id": "49141d65.bdcea4", "type": "comment", "name": "make sure this VNF doesn't exist already", "info": "", "comments": "", "x": 1443.8572311401367, "y": 634.9527101516724, "z": "48050f50.e2132", "wires": [] }, { "id": "3c7b9f2b.d2464", "type": "save", "name": "save deviceInstance configuration in AAI", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 730.0002212524414, "y": 969.3179988861084, "z": "48050f50.e2132", "wires": [ [] ] }, { "id": "e3b9d3fc.f582d", "type": "method", "name": "method sdwan-vnf-topology-operation-device-activate", "xml": "\n", "comments": "", "outputs": 1, "x": 263.00006103515625, "y": 226.3484992980957, "z": "48050f50.e2132", "wires": [ [ "5e9c748a.d0c93c" ] ] }, { "id": "138d258a.ddadba", "type": "set", "name": "set vnfId and vnf-object-path", "xml": "\n\n", "comments": "", "x": 709.0001754760742, "y": 812.348635673523, "z": "48050f50.e2132", "wires": [] }, { "id": "64ab23e7.432f0c", "type": "execute", "name": "execute RestApiCallNode Create Devcie Instance", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 784.4446868896484, "y": 639.1265163421631, "z": "48050f50.e2132", "wires": [ [ "fe651cbe.71dae", "4a034411.478adc" ] ] }, { "id": "971b776.085e288", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 738.4446105957031, "y": 509.1263904571533, "z": "48050f50.e2132", "wires": [ [ "f5a9152f.d977a8", "12711b8c.b16b14" ] ] }, { "id": "f5a9152f.d977a8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 970.4446105957031, "y": 489.1263904571533, "z": "48050f50.e2132", "wires": [ [ "3cccbb3c.73ecb4" ] ] }, { "id": "12711b8c.b16b14", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 962.6946105957031, "y": 530.7692737579346, "z": "48050f50.e2132", "wires": [ [ "3e406e18.5253e2" ] ] }, { "id": "3cccbb3c.73ecb4", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1107.4446105957031, "y": 489.1263904571533, "z": "48050f50.e2132", "wires": [] }, { "id": "3e406e18.5253e2", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1088.7781066894531, "y": 531.0153064727783, "z": "48050f50.e2132", "wires": [ [] ] }, { "id": "647f2905.b3b168", "type": "comment", "name": "Do Nothing", "info": "", "comments": "", "x": 1350.333652496338, "y": 331.9041233062744, "z": "48050f50.e2132", "wires": [] }, { "id": "a8bad102.6b5e9", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1211.1111526489258, "y": 609.0153045654297, "z": "48050f50.e2132", "wires": [ [] ] }, { "id": "e9b5eb58.3f04d8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1212.5557327270508, "y": 659.570837020874, "z": "48050f50.e2132", "wires": [] }, { "id": "4a034411.478adc", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1059.555576324463, "y": 662.5707912445068, "z": "48050f50.e2132", "wires": [ [ "e9b5eb58.3f04d8" ] ] }, { "id": "fe651cbe.71dae", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1059.0000915527344, "y": 606.2375030517578, "z": "48050f50.e2132", "wires": [ [ "a8bad102.6b5e9" ] ] }, { "id": "88ab4e5f.36358", "type": "set", "name": "set deviceId to service data", "xml": "\n\n\n\n\n", "comments": "", "x": 715.0003280639648, "y": 764.3488826751709, "z": "48050f50.e2132", "wires": [] }, { "id": "7e5552be.6be08c", "type": "comment", "name": "URL needs to confirm.", "info": "", "comments": "", "x": 763.0001525878906, "y": 581.3486194610596, "z": "48050f50.e2132", "wires": [] }, { "id": "62f12a96.37bf64", "type": "comment", "name": "AAI resource need to update", "info": "", "comments": "", "x": 1041.0001754760742, "y": 923.348635673523, "z": "48050f50.e2132", "wires": [] }, { "id": "58df9113.78ab9", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 733.0002746582031, "y": 413.34861183166504, "z": "48050f50.e2132", "wires": [ [ "a6d8f866.73e908", "7fc0e78d.a01498", "1501ba2b.428996" ] ] }, { "id": "a6d8f866.73e908", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 974.0003318786621, "y": 338.3485860824585, "z": "48050f50.e2132", "wires": [ [ "133ac586.e3a64a" ] ] }, { "id": "133ac586.e3a64a", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1223.5003852844238, "y": 294.348575592041, "z": "48050f50.e2132", "wires": [] }, { "id": "7fc0e78d.a01498", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 965.4911689758301, "y": 386.92263412475586, "z": "48050f50.e2132", "wires": [ [ "6099fe20.b764e" ] ] }, { "id": "6099fe20.b764e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 957.8241767883301, "y": 428.2559471130371, "z": "48050f50.e2132", "wires": [ [ "49a6b499.06dbac" ] ] }, { "id": "49a6b499.06dbac", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n\n\n", "comments": "", "outputs": 1, "x": 704.0003967285156, "y": 1016.0955476760864, "z": "48050f50.e2132", "wires": [ [] ] }, { "id": "2a9fc936.08f4c6", "type": "record", "name": "record", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 678.0000762939453, "y": 291.0151786804199, "z": "48050f50.e2132", "wires": [ [] ] }, { "id": "15d0a117.420b6f", "type": "for", "name": "for vidx..service-data.vnfs.vnf_length[]", "xml": "\n", "comments": "", "outputs": 1, "x": 766.031364440918, "y": 177.0312786102295, "z": "48050f50.e2132", "wires": [ [ "1b896cda.b979e3" ] ] }, { "id": "1b896cda.b979e3", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1014.3809585571289, "y": 177.57134628295898, "z": "48050f50.e2132", "wires": [ [ "a706d238.291a" ] ] }, { "id": "a706d238.291a", "type": "switchNode", "name": "switch vnfid found", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1168.4605560302734, "y": 177.28142833709717, "z": "48050f50.e2132", "wires": [ [ "5082e995.a70f58" ] ] }, { "id": "ea1b1425.d6abb8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1462.0580673217773, "y": 178.5817413330078, "z": "48050f50.e2132", "wires": [ [ "65194b17.7753d4", "65c6f7a.c67d608", "47f60422.f643ac" ] ] }, { "id": "5082e995.a70f58", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1323.4125480651855, "y": 178.1741075515747, "z": "48050f50.e2132", "wires": [ [ "ea1b1425.d6abb8" ] ] }, { "id": "65c6f7a.c67d608", "type": "set", "name": "set vnf-request-input.", "xml": "\n\n\n", "comments": "", "x": 1703.3909225463867, "y": 134.58180141448975, "z": "48050f50.e2132", "wires": [] }, { "id": "65194b17.7753d4", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "\n\n\n", "comments": "", "x": 1730.9446334838867, "y": 87.92416572570801, "z": "48050f50.e2132", "wires": [] }, { "id": "47f60422.f643ac", "type": "call", "name": "call sdwan-get-device-param", "xml": "\n", "comments": "", "outputs": 1, "x": 1708.0313720703125, "y": 197.03127193450928, "z": "48050f50.e2132", "wires": [ [] ] }, { "id": "34088ab3.22cba6", "type": "switchNode", "name": "switch tmp.vidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 697.03125, "y": 238.03125, "z": "48050f50.e2132", "wires": [ [ "f352fc21.fd854" ] ] }, { "id": "f352fc21.fd854", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 844.4598922729492, "y": 237.60266017913818, "z": "48050f50.e2132", "wires": [ [ "d74e2e0c.835e1" ] ] }, { "id": "d74e2e0c.835e1", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 993.8886184692383, "y": 238.74557781219482, "z": "48050f50.e2132", "wires": [] }, { "id": "96fd10aa.3117f", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 692.03125, "y": 334.03125, "z": "48050f50.e2132", "wires": [ [] ] } ]