[ { "id": "48a61ee8.0b719", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 173, "y": 135, "z": "4bbda34f.42b12c", "wires": [ [ "e311175c.73cf98" ] ] }, { "id": "e311175c.73cf98", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 309, "y": 248, "z": "4bbda34f.42b12c", "wires": [ [ "f0c04bab.58634" ] ] }, { "id": "f0c04bab.58634", "type": "method", "name": "cll-vnf-topology-operation-find-maximum-used-tpn", "xml": "\n", "comments": "", "outputs": 1, "x": 425.0001220703125, "y": 350, "z": "4bbda34f.42b12c", "wires": [ [ "7e34bfe8.37391" ] ] }, { "id": "7e34bfe8.37391", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 599.9688720703125, "y": 430.74163818359375, "z": "4bbda34f.42b12c", "wires": [ [ "c553bcbc.9ba518", "9e275680.4bddb" ] ] }, { "id": "c553bcbc.9ba518", "type": "save", "name": "get all-vpn-bindings from aai", "xml": "\n", "comments": "", "outputs": 1, "x": 826, "y": 431, "z": "4bbda34f.42b12c", "wires": [ [ "dac99129.1b70d8", "f2598ce0.05b6e8", "6bee9d7e.dbbb84" ] ] }, { "id": "dac99129.1b70d8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1048, "y": 429, "z": "4bbda34f.42b12c", "wires": [ [ "e7d398c3.c1aec" ] ] }, { "id": "f2598ce0.05b6e8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1058.490966796875, "y": 305.57403564453125, "z": "4bbda34f.42b12c", "wires": [ [] ] }, { "id": "6bee9d7e.dbbb84", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1056, "y": 349, "z": "4bbda34f.42b12c", "wires": [ [ "c0d94944.aeb218" ] ] }, { "id": "e7d398c3.c1aec", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1212, "y": 430, "z": "4bbda34f.42b12c", "wires": [ [ "f7213a60.a7bf88" ] ] }, { "id": "c0d94944.aeb218", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 1223, "y": 348, "z": "4bbda34f.42b12c", "wires": [] }, { "id": "f7213a60.a7bf88", "type": "for", "name": "for allvpnbidx in allvpnbindings", "xml": "\n", "comments": "", "outputs": 1, "x": 200, "y": 580, "z": "4bbda34f.42b12c", "wires": [ [ "d3ed1465.8f79e8" ] ] }, { "id": "d3ed1465.8f79e8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 463, "y": 580, "z": "4bbda34f.42b12c", "wires": [ [ "d00c4aae.149b2" ] ] }, { "id": "d00c4aae.149b2", "type": "switchNode", "name": "switch customer-vpn-id is greater than maxtpn", "xml": "= $maxtpn `\">\n\n", "comments": "", "outputs": 1, "x": 752, "y": 580, "z": "4bbda34f.42b12c", "wires": [ [ "e8157a5b.cfaa1", "f2a0edb3.6895e" ] ] }, { "id": "e8157a5b.cfaa1", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1034, "y": 560, "z": "4bbda34f.42b12c", "wires": [ [ "b8fa7ef9.c40c38" ] ] }, { "id": "f2a0edb3.6895e", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1034, "y": 609, "z": "4bbda34f.42b12c", "wires": [ [] ] }, { "id": "b8fa7ef9.c40c38", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1202, "y": 560, "z": "4bbda34f.42b12c", "wires": [ [ "66fd0662.02fed8", "8abe9ad2.6ab3e" ] ] }, { "id": "9e275680.4bddb", "type": "set", "name": "set initial maxtpn and newToBeUsedMaxtpn", "xml": "\n\n\n", "comments": "", "x": 851, "y": 244, "z": "4bbda34f.42b12c", "wires": [] }, { "id": "66fd0662.02fed8", "type": "set", "name": "set maxtpn", "xml": "\n\n", "comments": "", "x": 1377, "y": 560, "z": "4bbda34f.42b12c", "wires": [] }, { "id": "8abe9ad2.6ab3e", "type": "set", "name": "set newToBeUsedMaxtpn", "xml": "\n\n", "comments": "", "x": 1407, "y": 611, "z": "4bbda34f.42b12c", "wires": [] } ]