[ { "id":"19d07461.d6c8dc", "type":"dgstart", "name":"DGSTART", "outputs":1, "x":295, "y":230, "z":"e9217625.0cac48", "wires":[ [ "b51a5c82.11d2c" ] ] }, { "id":"b51a5c82.11d2c", "type":"service-logic", "name":"GENERIC-RESOURCE-API ${project.version}", "module":"GENERIC-RESOURCE-API", "version":"${project.version}", "comments":"", "xml":"", "outputs":1, "x":391.2380790710449, "y":290.95239067077637, "z":"e9217625.0cac48", "wires":[ [ "cbce84a6.ea6878" ] ] }, { "id":"cbce84a6.ea6878", "type":"method", "name":"brg-topology-operation-deactivate", "xml":"\n", "comments":"", "outputs":1, "x":437.15485763549805, "y":326.1904458999634, "z":"e9217625.0cac48", "wires":[ [ "d87b2e8f.9e2a" ] ] }, { "id":"d87b2e8f.9e2a", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "comments":"", "outputs":1, "x":307.1428680419922, "y":1181.1903924942017, "z":"e9217625.0cac48", "wires":[ [ "7ae0972.e4f1268", "26fbe137.e4574e", "aaf75937.121618", "b30da41f.59e8b8", "eb6cb316.78bb2", "f3f334a7.8ab7b8", "b0c0958f.205828", "9feaac31.accea", "8072d7bb.d79ca8", "a4c2b092.b5846", "9bf033cd.906e8", "2df95cec.fa5264", "22dee26e.7d616e", "61e540d8.506e5", "4ae758c7.df5428", "8327d1cf.254a7", "9ae0d8e5.63af48", "8261fdb3.cd771", "1191ada7.aeacf2", "2ab5bcc1.a3bc14", "2271a9db.dcd166", "b4b8750b.6fbcb8", "f73b7075.c24df", "1a8316bd.e83579", "2bcd212a.e454ce", "e1525574.ab65b8", "ad5e9d69.70e36", "8bd7c7a7.dbe958" ] ] }, { "id":"26fbe137.e4574e", "type":"returnSuccess", "name":"return success", "xml":"\n\n\n\n", "comments":"", "x":604.0001449584961, "y":2012.5478963851929, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"7ae0972.e4f1268", "type":"set", "name":"set output to api handler", "xml":"\n\n\n\n \n", "comments":"", "x":632.7540588378906, "y":1976.6704425811768, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"a4c2b092.b5846", "type":"set", "name":"set allotted-resource-oper-status", "xml":"\n\n\n\n\n\n", "comments":"", "x":651.7542419433594, "y":850.0514221191406, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"b30da41f.59e8b8", "type":"set", "name":"set tmp.ar.self-link", "xml":"\n\n\n", "comments":"", "x":607.7380638122559, "y":443.33332538604736, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"aaf75937.121618", "type":"set", "name":"set tmp.ar.allotted-resource-id,etc", "xml":"\n\n\n\n\n\n", "comments":"", "x":654.9973258972168, "y":409.59259128570557, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"eb6cb316.78bb2", "type":"execute", "name":"execute Properties", "xml":"\n \n \n", "comments":"", "outputs":1, "x":613.9934196472168, "y":479.23152446746826, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"b0c0958f.205828", "type":"execute", "name":"execute RestApiCallNode - Get AR by id", "xml":"\n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":676.5187530517578, "y":640.4594917297363, "z":"e9217625.0cac48", "wires":[ [ "3d7103cd.4568dc", "b351e6c5.43b968" ] ] }, { "id":"f3f334a7.8ab7b8", "type":"execute", "name":"generate allotted-resource url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":642.0648536682129, "y":539.0172290802002, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"3d7103cd.4568dc", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":933.8148918151855, "y":639.2672522068024, "z":"e9217625.0cac48", "wires":[ [ "d40621a.b89f9e" ] ] }, { "id":"9feaac31.accea", "type":"execute", "name":"execute RestApiCallNode - PUT AR by id", "xml":"\n \n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":684.5293121337891, "y":993.4341316223145, "z":"e9217625.0cac48", "wires":[ [ "dbc1a30c.d1d4b", "d6035553.162138", "27b4f86b.b5c548" ] ] }, { "id":"dbc1a30c.d1d4b", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":954.837329864502, "y":1046.432332418859, "z":"e9217625.0cac48", "wires":[ [ "29141af9.f07796" ] ] }, { "id":"d6035553.162138", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":945.8373794555664, "y":1014.9323581680655, "z":"e9217625.0cac48", "wires":[ [ "29141af9.f07796" ] ] }, { "id":"27b4f86b.b5c548", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":949.5874176025391, "y":985.2894630432129, "z":"e9217625.0cac48", "wires":[ [ "d196b6e8.482b88" ] ] }, { "id":"29141af9.f07796", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1115.587417602539, "y":1015.6823820099235, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"d40621a.b89f9e", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1114.8148460388184, "y":639.7672016620636, "z":"e9217625.0cac48", "wires":[ [ "8b0ae8d2.ae99c8", "7e3f871e.ecf428" ] ] }, { "id":"8b0ae8d2.ae99c8", "type":"switchNode", "name":"switch brg length", "xml":"\n", "comments":"", "outputs":1, "x":1360.6720924377441, "y":674.052964925766, "z":"e9217625.0cac48", "wires":[ [ "3519e6a7.d8988a" ] ] }, { "id":"3519e6a7.d8988a", "type":"other", "name":"outcome 1", "xml":"\n", "comments":"", "outputs":1, "x":1551.6720962524414, "y":674.0529625415802, "z":"e9217625.0cac48", "wires":[ [ "7664af61.543e6" ] ] }, { "id":"1e13655e.0cb03b", "type":"set", "name":"set brg-ar from get", "xml":"\n\n", "comments":"", "x":1951.5292320251465, "y":674.6243867874146, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"7664af61.543e6", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1722.5290794372559, "y":674.6244316101074, "z":"e9217625.0cac48", "wires":[ [ "1e13655e.0cb03b", "110fdea6.c07091", "8aa660c8.2e3bc" ] ] }, { "id":"110fdea6.c07091", "type":"set", "name":"set oper-status", "xml":"\n\n\n\n\n", "comments":"", "x":1949.5294761657715, "y":742.0529508590698, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"370dee36.76c892", "type":"comment", "name":"GET brg-allotted-resource from mdsal", "info":"", "comments":"", "x":701.8148155212402, "y":603.7671926021576, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"8aa660c8.2e3bc", "type":"switchNode", "name":"switch order-status", "xml":"\n", "comments":"", "outputs":1, "x":1959.52925491333, "y":707.6243848800659, "z":"e9217625.0cac48", "wires":[ [ "82998854.7cca78", "e508d9e1.961e08" ] ] }, { "id":"82998854.7cca78", "type":"outcome", "name":"outcome Created", "xml":"\n", "comments":"", "outputs":1, "x":2171.1292114257812, "y":668.6243848800659, "z":"e9217625.0cac48", "wires":[ [ "50f62ac1.c59a04" ] ] }, { "id":"e508d9e1.961e08", "type":"outcome", "name":"outcome Other", "xml":"\n", "comments":"", "outputs":1, "x":2196.8435859680176, "y":704.052975654602, "z":"e9217625.0cac48", "wires":[ [ "50f62ac1.c59a04" ] ] }, { "id":"fb0878b6.3dd068", "type":"comment", "name":"Set allotted-resource-identifiers", "info":"", "comments":"", "x":657.3386383056641, "y":694.3386459350586, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"7e3f871e.ecf428", "type":"set", "name":"save backup copy of mdsal-ar for rollback", "xml":"\n\n", "comments":"", "x":1440.3864250183105, "y":639.7672936916351, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"bee5e191.1671a", "type":"comment", "name":"Create urls for restapi", "info":"", "comments":"", "x":612.9576606750488, "y":508.6243562698364, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"d196b6e8.482b88", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1091.2433853149414, "y":981.481632232666, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"6b4e5a43.fa5094", "type":"comment", "name":"TO DO: vnf/put parent", "info":"", "comments":"", "x":619.5290908813477, "y":886.9101696014404, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"8072d7bb.d79ca8", "type":"execute", "name":"execute getTime", "xml":"\n \n\n", "comments":"", "outputs":1, "x":600.9100952148438, "y":808.1482043266296, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"b351e6c5.43b968", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":933.5766868591309, "y":675.4814250469208, "z":"e9217625.0cac48", "wires":[ [ "a6e56111.1a042" ] ] }, { "id":"a6e56111.1a042", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1113.5766372680664, "y":676.1479756832123, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"9bf033cd.906e8", "type":"set", "name":"set id", "xml":"\n\n\n\n\n\n\n\n\n", "comments":"", "x":572.2434272766113, "y":732.8148908615112, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"50f62ac1.c59a04", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":2385.5997276306152, "y":670.0000190734863, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"2df95cec.fa5264", "type":"update", "name":"update AAI allotted-resource", "xml":"\n\t\n", "comments":"", "outputs":1, "x":641.4286422729492, "y":928.5714282989502, "z":"e9217625.0cac48", "wires":[ [ "735fa50a.5aedac", "f4f3106d.3709a" ] ] }, { "id":"735fa50a.5aedac", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":902.1904830932617, "y":911.5239224433899, "z":"e9217625.0cac48", "wires":[ [ "acbfb4ad.063528" ] ] }, { "id":"acbfb4ad.063528", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1068.7143630981445, "y":923.1429934501648, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"f4f3106d.3709a", "type":"failure", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":909.2857704162598, "y":944.2858901023865, "z":"e9217625.0cac48", "wires":[ [ "acbfb4ad.063528" ] ] }, { "id":"8327d1cf.254a7", "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":757.0000038146973, "y":1469.37672996521, "z":"e9217625.0cac48", "wires":[ [ "6e32aa45.5f8194", "a77ca19a.6e5a6", "ad3f19e9.8b3568" ] ] }, { "id":"6e32aa45.5f8194", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":1178.9748191833496, "y":1506.7083686813712, "z":"e9217625.0cac48", "wires":[ [ "bf98dc87.5b3c4" ] ] }, { "id":"a77ca19a.6e5a6", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":1169.974868774414, "y":1475.2083944305778, "z":"e9217625.0cac48", "wires":[ [ "bf98dc87.5b3c4" ] ] }, { "id":"ad3f19e9.8b3568", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":1173.7249069213867, "y":1445.565499305725, "z":"e9217625.0cac48", "wires":[ [ "6e42584e.b2d738" ] ] }, { "id":"bf98dc87.5b3c4", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1339.7249069213867, "y":1475.9584182724357, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"6e42584e.b2d738", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1315.380874633789, "y":1441.7576684951782, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"61e540d8.506e5", "type":"set", "name":"set BRG to vgMUX VXLAN Tunnel Name", "xml":"\n", "comments":"", "x":681.7779541015625, "y":1368.3770236968994, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"4ae758c7.df5428", "type":"execute", "name":"generate full brg-vpp-honeycomb url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":664.7778167724609, "y":1413.376732826233, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"22dee26e.7d616e", "type":"execute", "name":"generate honeycomb-url to vBRG", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":658.7778930664062, "y":1325.0431432724, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"9ae0d8e5.63af48", "type":"get-resource", "name":"get-resource IPADDR from dmaap DHCP_MAP ", "xml":"\n", "comments":"", "outputs":1, "x":700.9999847412109, "y":1075.8332653045654, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"8261fdb3.cd771", "type":"set", "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip", "xml":"\n\n", "comments":"", "x":787.142822265625, "y":1123.416519165039, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"1191ada7.aeacf2", "type":"set", "name":"set tmp.ar.consuming-service-instance-id to find vgmux-lan-ip", "xml":"\n\n", "comments":"", "x":748.1427612304688, "y":1171.416347503662, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"2ab5bcc1.a3bc14", "type":"set", "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip", "xml":"\n\n", "comments":"", "x":791.4760894775391, "y":1268.0829801559448, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"56899e0f.9f0a9", "type":"comment", "name":"Setup VXLAN Tunnel - vBRG to vgMUX", "info":"", "comments":"", "x":350.30946350097656, "y":1076.4166297912598, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"2271a9db.dcd166", "type":"call", "name":"call GENERIC-RESOURCE-API:get-tunnelxconn-ar", "xml":"\n", "comments":"", "outputs":1, "x":716.6666107177734, "y":1216.6665077209473, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"ad5e9d69.70e36", "type":"execute", "name":"execute RestApiCallNode - setup vG to vgMux vxlan tunnel port", "xml":"\n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":750.7049789428711, "y":1825.0618782043457, "z":"e9217625.0cac48", "wires":[ [ "b97f57b9.da4a38", "edd6cfd6.0c5c6", "a1875f2b.49a61" ] ] }, { "id":"b97f57b9.da4a38", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":1084.6797676086426, "y":1884.393490217626, "z":"e9217625.0cac48", "wires":[ [ "8f0443c6.63f49" ] ] }, { "id":"edd6cfd6.0c5c6", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":1075.679817199707, "y":1852.8935159668326, "z":"e9217625.0cac48", "wires":[ [ "8f0443c6.63f49" ] ] }, { "id":"a1875f2b.49a61", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":1079.4298553466797, "y":1823.25062084198, "z":"e9217625.0cac48", "wires":[ [ "ee0fe1f7.5d9d6" ] ] }, { "id":"8f0443c6.63f49", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1245.4298553466797, "y":1853.6435398086905, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"ee0fe1f7.5d9d6", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1221.085823059082, "y":1819.442790031433, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"2bcd212a.e454ce", "type":"set", "name":"set vG to vgMUX VXLAN Tunnel Name", "xml":"\n\n", "comments":"", "x":672.1494979858398, "y":1721.7288551330566, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"e1525574.ab65b8", "type":"execute", "name":"generate full vg-vpp-honeycomb url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":660.1494674682617, "y":1780.0618467330933, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"1a8316bd.e83579", "type":"execute", "name":"generate honeycomb-url to vG", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":647.1495361328125, "y":1668.7282466888428, "z":"e9217625.0cac48", "wires":[ [ ] ] }, { "id":"eaa53259.f5fbf", "type":"comment", "name":"Get vg-mgmt-ip", "info":"brg tunnelxconnn consuming-service-instance-id\nfound in services as service-instance-id", "comments":"", "x":347.8716354370117, "y":1616.8953161239624, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"9bd5631.49aaba", "type":"for", "name":"for tmp.servicedata.services", "xml":"\n\n\n", "comments":"", "outputs":1, "x":1491.5382080078125, "y":1607.2283487319946, "z":"e9217625.0cac48", "wires":[ [ "5387ccd0.736d34" ] ] }, { "id":"f73b7075.c24df", "type":"get-resource", "name":"get-resource generic-resource-api:services ", "xml":"\n", "comments":"", "outputs":1, "x":684.8716583251953, "y":1619.89475440979, "z":"e9217625.0cac48", "wires":[ [ "da8a3a08.847948", "c7e2b4a3.bcd4c8", "4e104241.ba90cc" ] ] }, { "id":"5387ccd0.736d34", "type":"switchNode", "name":"switch parent-service-instance-id matches", "xml":"\n\n\n", "comments":"", "outputs":1, "x":1596.2050170898438, "y":1714.5616245269775, "z":"e9217625.0cac48", "wires":[ [ "27b2238f.48bacc" ] ] }, { "id":"27b2238f.48bacc", "type":"success", "name":"true", "xml":"\n", "comments":"", "outputs":1, "x":1851.8715934753418, "y":1665.561752319336, "z":"e9217625.0cac48", "wires":[ [ "d6b8cc2c.e7ed2" ] ] }, { "id":"da8a3a08.847948", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":1176.5382614135742, "y":1623.8948411941528, "z":"e9217625.0cac48", "wires":[ [ "9bd5631.49aaba" ] ] }, { "id":"4e104241.ba90cc", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":1154.8716201782227, "y":1690.5615339279175, "z":"e9217625.0cac48", "wires":[ [ "95609128.36e19" ] ] }, { "id":"c7e2b4a3.bcd4c8", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":1145.871669769287, "y":1659.061559677124, "z":"e9217625.0cac48", "wires":[ [ "95609128.36e19" ] ] }, { "id":"95609128.36e19", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1315.6217079162598, "y":1659.811583518982, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"d6b8cc2c.e7ed2", "type":"for", "name":"for service vnfs", "xml":"\n\n\n", "comments":"", "outputs":1, "x":1885.5381240844727, "y":1566.8949918746948, "z":"e9217625.0cac48", "wires":[ [ "dc75c31d.21ba2" ] ] }, { "id":"d6733026.3d178", "type":"switchNode", "name":"switch parent-service-instance-id matches", "xml":"\n\n\n", "comments":"", "outputs":1, "x":2445.5381088256836, "y":1590.561650276184, "z":"e9217625.0cac48", "wires":[ [ "43171d7f.7e6834" ] ] }, { "id":"43171d7f.7e6834", "type":"success", "name":"true", "xml":"\n", "comments":"", "outputs":1, "x":2695.5381927490234, "y":1592.2283849716187, "z":"e9217625.0cac48", "wires":[ [ "3f1e667b.61b1aa" ] ] }, { "id":"dc75c31d.21ba2", "type":"for", "name":"for service vnf vf-modules", "xml":"\n\n\n", "comments":"", "outputs":1, "x":2110.5382385253906, "y":1593.8949279785156, "z":"e9217625.0cac48", "wires":[ [ "d918ac81.8d655" ] ] }, { "id":"d918ac81.8d655", "type":"for", "name":"for service vnfs vf-modules parameters", "xml":"\n\n\n", "comments":"", "outputs":1, "x":2200.538215637207, "y":1678.8948965072632, "z":"e9217625.0cac48", "wires":[ [ "d6733026.3d178" ] ] }, { "id":"3f1e667b.61b1aa", "type":"set", "name":"set vg-mgmt-ip", "xml":"\n\n", "comments":"", "x":2877.2047424316406, "y":1588.894944190979, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"8bd7c7a7.dbe958", "type":"set", "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-ip", "xml":"\n\n", "comments":"", "x":762.8334503173828, "y":1518.3331851959229, "z":"e9217625.0cac48", "wires":[ ] }, { "id":"b4b8750b.6fbcb8", "type":"set", "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip", "xml":"\n\n", "comments":"", "x":798.8333930969238, "y":1572.666563987732, "z":"e9217625.0cac48", "wires":[ ] } ]