[ { "id":"b1368b6a.79f1a8", "type":"dgstart", "name":"DGSTART", "outputs":1, "x":190, "y":152, "z":"cfbd0a6c.d9ad88", "wires":[ [ "12b1f941.e5c857" ] ] }, { "id":"12b1f941.e5c857", "type":"service-logic", "name":"GENERIC-RESOURCE-API ${project.version}", "module":"GENERIC-RESOURCE-API", "version":"${project.version}", "comments":"", "xml":"", "outputs":1, "x":286.2380790710449, "y":212.95239067077637, "z":"cfbd0a6c.d9ad88", "wires":[ [ "ead35ce1.7590c" ] ] }, { "id":"ead35ce1.7590c", "type":"method", "name":"brg-topology-operation-deactivate", "xml":"\n", "comments":"", "outputs":1, "x":332.15485763549805, "y":248.19044589996338, "z":"cfbd0a6c.d9ad88", "wires":[ [ "43ac6a92.ae5614" ] ] }, { "id":"43ac6a92.ae5614", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "comments":"", "outputs":1, "x":240.47619247436523, "y":391.5237879753113, "z":"cfbd0a6c.d9ad88", "wires":[ [ "5240106e.51f63", "4041ad49.6fc0d4", "8ab3e562.da6e08", "93b0d070.cd7e4", "1ece8431.af7f1c", "ed70c5f.ebd7238", "200bf55c.cf936a", "1b6f2d6b.b6acc3", "2a34aedb.e483f2", "b55b0b52.943508", "5aa308ce.dba788", "626eb0d9.80b5f", "5cd8e25b.be574c", "7f3389ec.e8f508", "eafe9188.1bdec", "cfdbb6d9.39b868" ] ] }, { "id":"4041ad49.6fc0d4", "type":"returnSuccess", "name":"return success", "xml":"\n\n\n\n", "comments":"", "x":499.00007247924805, "y":1351.2144346237183, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"5240106e.51f63", "type":"set", "name":"set output to api handler", "xml":"\n\n\n\n \n", "comments":"", "x":527.7539863586426, "y":1315.3369808197021, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"b55b0b52.943508", "type":"set", "name":"set allotted-resource-oper-status", "xml":"\n\n\n\n\n\n", "comments":"", "x":546.7542419433594, "y":772.0514221191406, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"93b0d070.cd7e4", "type":"set", "name":"set tmp.ar.self-link", "xml":"\n\n\n", "comments":"", "x":502.73806381225586, "y":365.33332538604736, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"8ab3e562.da6e08", "type":"set", "name":"set tmp.ar.allotted-resource-id,etc", "xml":"\n\n\n\n\n\n", "comments":"", "x":549.9973258972168, "y":331.59259128570557, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"1ece8431.af7f1c", "type":"execute", "name":"execute Properties", "xml":"\n \n \n", "comments":"", "outputs":1, "x":508.9934196472168, "y":401.23152446746826, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"200bf55c.cf936a", "type":"execute", "name":"execute RestApiCallNode - Get AR by id", "xml":"\n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":571.5187530517578, "y":562.4594917297363, "z":"cfbd0a6c.d9ad88", "wires":[ [ "f39b8deb.2497f", "d49f2a4f.e657d8" ] ] }, { "id":"ed70c5f.ebd7238", "type":"execute", "name":"generate allotted-resource url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":537.0648536682129, "y":461.0172290802002, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"f39b8deb.2497f", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":828.8148918151855, "y":561.2672522068024, "z":"cfbd0a6c.d9ad88", "wires":[ [ "ce9ddc22.dec85" ] ] }, { "id":"1b6f2d6b.b6acc3", "type":"execute", "name":"execute RestApiCallNode - PUT AR by id", "xml":"\n \n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":579.5293121337891, "y":915.4341316223145, "z":"cfbd0a6c.d9ad88", "wires":[ [ "db318a86.7bd678", "474202ef.7e725c", "926f3792.9db948" ] ] }, { "id":"db318a86.7bd678", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":849.837329864502, "y":968.432332418859, "z":"cfbd0a6c.d9ad88", "wires":[ [ "5154d5ef.e6843c" ] ] }, { "id":"474202ef.7e725c", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":840.8373794555664, "y":936.9323581680655, "z":"cfbd0a6c.d9ad88", "wires":[ [ "5154d5ef.e6843c" ] ] }, { "id":"926f3792.9db948", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":844.5874176025391, "y":907.2894630432129, "z":"cfbd0a6c.d9ad88", "wires":[ [ "8791e6de.a42b98" ] ] }, { "id":"5154d5ef.e6843c", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1010.5874176025391, "y":937.6823820099235, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"ce9ddc22.dec85", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1009.8148460388184, "y":561.7672016620636, "z":"cfbd0a6c.d9ad88", "wires":[ [ "ff1004f9.28ea78", "19849de2.3d4d92" ] ] }, { "id":"ff1004f9.28ea78", "type":"switchNode", "name":"switch brg length", "xml":"\n", "comments":"", "outputs":1, "x":1255.6720924377441, "y":596.052964925766, "z":"cfbd0a6c.d9ad88", "wires":[ [ "458ac54.5835d3c" ] ] }, { "id":"458ac54.5835d3c", "type":"other", "name":"outcome 1", "xml":"\n", "comments":"", "outputs":1, "x":1446.6720962524414, "y":596.0529625415802, "z":"cfbd0a6c.d9ad88", "wires":[ [ "136fba4.57e3046" ] ] }, { "id":"1ea71bb3.19d8e4", "type":"set", "name":"set brg-ar from get", "xml":"\n\n", "comments":"", "x":1846.5292320251465, "y":596.6243867874146, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"136fba4.57e3046", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1617.5290794372559, "y":596.6244316101074, "z":"cfbd0a6c.d9ad88", "wires":[ [ "1ea71bb3.19d8e4", "15299399.5fe66c", "7d67802a.2315b" ] ] }, { "id":"15299399.5fe66c", "type":"set", "name":"set oper-status", "xml":"\n\n\n\n\n", "comments":"", "x":1844.5294761657715, "y":664.0529508590698, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"6ea9033a.90574c", "type":"comment", "name":"GET brg-allotted-resource from mdsal", "info":"", "comments":"", "x":596.8148155212402, "y":525.7671926021576, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"7d67802a.2315b", "type":"switchNode", "name":"switch order-status", "xml":"\n", "comments":"", "outputs":1, "x":1854.52925491333, "y":629.6243848800659, "z":"cfbd0a6c.d9ad88", "wires":[ [ "fc9ac41f.bda4b8", "9800dbd8.9df6f8" ] ] }, { "id":"fc9ac41f.bda4b8", "type":"outcome", "name":"outcome Created", "xml":"\n", "comments":"", "outputs":1, "x":2066.1292114257812, "y":590.6243848800659, "z":"cfbd0a6c.d9ad88", "wires":[ [ "4ecdc306.3d668c" ] ] }, { "id":"9800dbd8.9df6f8", "type":"outcome", "name":"outcome Other", "xml":"\n", "comments":"", "outputs":1, "x":2091.8435859680176, "y":626.052975654602, "z":"cfbd0a6c.d9ad88", "wires":[ [ "4ecdc306.3d668c" ] ] }, { "id":"a5baa812.7889a8", "type":"comment", "name":"Set allotted-resource-identifiers", "info":"", "comments":"", "x":552.3386383056641, "y":616.3386459350586, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"19849de2.3d4d92", "type":"set", "name":"save backup copy of mdsal-ar for rollback", "xml":"\n\n", "comments":"", "x":1335.3864250183105, "y":561.7672936916351, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"2e3d5c7a.18d844", "type":"comment", "name":"Create urls for restapi", "info":"", "comments":"", "x":507.9576606750488, "y":430.6243562698364, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"8791e6de.a42b98", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":986.2433853149414, "y":903.481632232666, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"2006c488.4b571c", "type":"comment", "name":"TO DO: vnf/put parent", "info":"", "comments":"", "x":514.5290908813477, "y":808.9101696014404, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"2a34aedb.e483f2", "type":"execute", "name":"execute getTime", "xml":"\n \n\n", "comments":"", "outputs":1, "x":494.24338150024414, "y":733.4815549850464, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"d49f2a4f.e657d8", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":828.5766868591309, "y":597.4814250469208, "z":"cfbd0a6c.d9ad88", "wires":[ [ "86c72346.242ce" ] ] }, { "id":"86c72346.242ce", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1008.5766372680664, "y":598.1479756832123, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"5aa308ce.dba788", "type":"set", "name":"set id", "xml":"\n\n\n\n\n\n\n\n\n", "comments":"", "x":477.24342346191406, "y":653.1481666564941, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"4ecdc306.3d668c", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":2280.5997276306152, "y":592.0000190734863, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"626eb0d9.80b5f", "type":"update", "name":"update AAI allotted-resource", "xml":"\n\t\n", "comments":"", "outputs":1, "x":541.4285736083984, "y":850.571418762207, "z":"cfbd0a6c.d9ad88", "wires":[ [ "55679e7c.9aaca", "9789b3b6.f6b9b" ] ] }, { "id":"55679e7c.9aaca", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":797.1904830932617, "y":833.5239224433899, "z":"cfbd0a6c.d9ad88", "wires":[ [ "d1259b.54422a68" ] ] }, { "id":"d1259b.54422a68", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":963.7143630981445, "y":845.1429934501648, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"9789b3b6.f6b9b", "type":"failure", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":804.2857704162598, "y":866.2858901023865, "z":"cfbd0a6c.d9ad88", "wires":[ [ "d1259b.54422a68" ] ] }, { "id":"cfdbb6d9.39b868", "type":"execute", "name":"execute RestApiCallNode - delete BRG to vgMux vxlan tunnel port", "xml":"\n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":651.999885559082, "y":1190.9600343704224, "z":"cfbd0a6c.d9ad88", "wires":[ [ "60fe5d9f.60f184", "12fb290a.532107", "8c68b450.cb4ca8" ] ] }, { "id":"60fe5d9f.60f184", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":1073.9747009277344, "y":1228.2916730865836, "z":"cfbd0a6c.d9ad88", "wires":[ [ "3f807288.3735ae" ] ] }, { "id":"12fb290a.532107", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":1064.9747505187988, "y":1196.7916988357902, "z":"cfbd0a6c.d9ad88", "wires":[ [ "3f807288.3735ae" ] ] }, { "id":"8c68b450.cb4ca8", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":1068.7247886657715, "y":1167.1488037109375, "z":"cfbd0a6c.d9ad88", "wires":[ [ "c8426dda.6a34f" ] ] }, { "id":"3f807288.3735ae", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1234.7247886657715, "y":1197.541722677648, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"c8426dda.6a34f", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1210.3807563781738, "y":1163.3409729003906, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"7f3389ec.e8f508", "type":"set", "name":"set BRG to vgMUX VXLAN Tunnel Port Props", "xml":"\n\n\n\n", "comments":"", "x":590.1111335754395, "y":1089.9602737426758, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"eafe9188.1bdec", "type":"execute", "name":"generate full brg-vpp-honeycomb url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":559.7776985168457, "y":1134.9600372314453, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"5cd8e25b.be574c", "type":"execute", "name":"generate honeycomb-url to vBRG", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":553.777774810791, "y":1046.6264476776123, "z":"cfbd0a6c.d9ad88", "wires":[ [ ] ] }, { "id":"696d020f.3bfa3c", "type":"comment", "name":"TO DO: assign brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip", "info":"need to quary mdsal-ar and get information assigned in tunnelxconn DG?", "comments":"", "x":715.3333206176758, "y":1003.79332447052, "z":"cfbd0a6c.d9ad88", "wires":[ ] }, { "id":"e67f5695.27f668", "type":"comment", "name":"<--- TO DO: vgmux-bearer-ip is part of brg-requiest-input but need vgmux-lan-ip", "info":"", "comments":"", "x":1038.0000305175781, "y":1088.0000324249268, "z":"cfbd0a6c.d9ad88", "wires":[ ] } ]