[ { "id":"d67dc318.ce892", "type":"dgstart", "name":"DGSTART", "outputs":1, "x":140, "y":115, "z":"87a856d9.9ec508", "wires":[ [ "539ddd05.d9acd4" ] ] }, { "id":"539ddd05.d9acd4", "type":"service-logic", "name":"GENERIC-RESOURCE-API ${project.version}", "module":"GENERIC-RESOURCE-API", "version":"${project.version}", "comments":"", "xml":"", "outputs":1, "x":236.23807907104492, "y":175.95239067077637, "z":"87a856d9.9ec508", "wires":[ [ "d3e85090.c0279" ] ] }, { "id":"d3e85090.c0279", "type":"method", "name":"brg-topology-operation-activate", "xml":"\n", "comments":"", "outputs":1, "x":282.15485763549805, "y":211.19044589996338, "z":"87a856d9.9ec508", "wires":[ [ "a3b5f23e.0b3f1" ] ] }, { "id":"a3b5f23e.0b3f1", "type":"block", "name":"block : atomic", "xml":"", "atomic":"true", "comments":"", "outputs":1, "x":190.47619247436523, "y":354.5237879753113, "z":"87a856d9.9ec508", "wires":[ [ "611e8741.074898", "61b73363.ffb3cc", "a6766796.306768", "5de77c32.eecb94", "3a0be6a.ca51a1a", "a9547492.9c6f28", "e64c58e2.5bad38", "f373e2ec.09689", "eaaae4f9.51d728", "abb42d37.333e9", "b2c6bab8.1fd358", "718e3f93.cd459", "f965b29a.1efa5", "16a55bb0.8c20f4", "aa97b18b.1226d", "ca99974a.a9c178", "d3a78d9e.83f7f", "cdf3b3de.27f5e", "33ab2b01.6cab74", "4de82e6d.f68d1", "39a8ddb.60b2222", "b7b31c06.60266", "a21afe27.1472c" ] ] }, { "id":"61b73363.ffb3cc", "type":"returnSuccess", "name":"return success", "xml":"\n\n\n\n", "comments":"", "x":447.0001220703125, "y":1739.2145948410034, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"611e8741.074898", "type":"set", "name":"set output to api handler", "xml":"\n\n\n\n \n", "comments":"", "x":475.75403594970703, "y":1703.3371410369873, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"abb42d37.333e9", "type":"set", "name":"set allotted-resource-oper-status", "xml":"\n\n\n\n\n\n", "comments":"", "x":496.7542190551758, "y":735.0514001846313, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"5de77c32.eecb94", "type":"set", "name":"set tmp.ar.self-link", "xml":"\n\n\n", "comments":"", "x":452.73806381225586, "y":328.33332538604736, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"a6766796.306768", "type":"set", "name":"set tmp.ar.allotted-resource-id,etc", "xml":"\n\n\n\n\n\n", "comments":"", "x":499.9973258972168, "y":294.59259128570557, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"3a0be6a.ca51a1a", "type":"execute", "name":"execute Properties", "xml":"\n \n \n", "comments":"", "outputs":1, "x":458.9934196472168, "y":364.23152446746826, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"e64c58e2.5bad38", "type":"execute", "name":"execute RestApiCallNode - Get AR by id", "xml":"\n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":521.5187530517578, "y":525.4594917297363, "z":"87a856d9.9ec508", "wires":[ [ "2fee3ef4.4e3752", "82115602.4aadf8" ] ] }, { "id":"a9547492.9c6f28", "type":"execute", "name":"generate allotted-resource url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":487.0648536682129, "y":424.0172290802002, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"2fee3ef4.4e3752", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":778.8148918151855, "y":524.2672522068024, "z":"87a856d9.9ec508", "wires":[ [ "55b821dc.c9096" ] ] }, { "id":"f373e2ec.09689", "type":"execute", "name":"execute RestApiCallNode - PUT AR by id", "xml":"\n \n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":529.5293121337891, "y":878.4341316223145, "z":"87a856d9.9ec508", "wires":[ [ "ed22c964.b49a28", "76a7310d.9d0cc", "503c908d.2e343" ] ] }, { "id":"ed22c964.b49a28", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":799.837329864502, "y":931.432332418859, "z":"87a856d9.9ec508", "wires":[ [ "b1122f4f.ea076" ] ] }, { "id":"76a7310d.9d0cc", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":790.8373794555664, "y":899.9323581680655, "z":"87a856d9.9ec508", "wires":[ [ "b1122f4f.ea076" ] ] }, { "id":"503c908d.2e343", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":794.5874176025391, "y":870.2894630432129, "z":"87a856d9.9ec508", "wires":[ [ "fd568606.5069e8" ] ] }, { "id":"b1122f4f.ea076", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":960.5874176025391, "y":900.6823820099235, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"55b821dc.c9096", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":959.8148460388184, "y":524.7672016620636, "z":"87a856d9.9ec508", "wires":[ [ "2d8e02e3.cf0fae", "c6e86370.775dc" ] ] }, { "id":"2d8e02e3.cf0fae", "type":"switchNode", "name":"switch brg length", "xml":"\n", "comments":"", "outputs":1, "x":1205.6720924377441, "y":559.052964925766, "z":"87a856d9.9ec508", "wires":[ [ "fd01ce34.5cc7e" ] ] }, { "id":"fd01ce34.5cc7e", "type":"other", "name":"outcome 1", "xml":"\n", "comments":"", "outputs":1, "x":1396.6720962524414, "y":559.0529625415802, "z":"87a856d9.9ec508", "wires":[ [ "cd19d423.804d98" ] ] }, { "id":"cdc77865.0b0c78", "type":"set", "name":"set brg-ar from get", "xml":"\n\n", "comments":"", "x":1796.5292320251465, "y":559.6243867874146, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"cd19d423.804d98", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1567.5290794372559, "y":559.6244316101074, "z":"87a856d9.9ec508", "wires":[ [ "cdc77865.0b0c78", "a7b33ed0.43bdb", "67f4311d.5bfe6" ] ] }, { "id":"a7b33ed0.43bdb", "type":"set", "name":"set oper-status", "xml":"\n\n\n\n\n", "comments":"", "x":1794.5294761657715, "y":627.0529508590698, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"3e38b8c9.4b9918", "type":"comment", "name":"GET brg-allotted-resource from mdsal", "info":"", "comments":"", "x":546.8148155212402, "y":488.7671926021576, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"67f4311d.5bfe6", "type":"switchNode", "name":"switch order-status", "xml":"\n", "comments":"", "outputs":1, "x":1804.52925491333, "y":592.6243848800659, "z":"87a856d9.9ec508", "wires":[ [ "95019c7b.0ff8c", "35eeaddc.1e3b72" ] ] }, { "id":"95019c7b.0ff8c", "type":"outcome", "name":"outcome Created", "xml":"\n", "comments":"", "outputs":1, "x":2016.1292114257812, "y":553.6243848800659, "z":"87a856d9.9ec508", "wires":[ [ "d7fd4783.cc90d8" ] ] }, { "id":"35eeaddc.1e3b72", "type":"outcome", "name":"outcome Other", "xml":"\n", "comments":"", "outputs":1, "x":2041.8435859680176, "y":589.052975654602, "z":"87a856d9.9ec508", "wires":[ [ "d7fd4783.cc90d8" ] ] }, { "id":"44d6b29d.d0815c", "type":"comment", "name":"Set allotted-resource-identifiers", "info":"", "comments":"", "x":502.33863830566406, "y":579.3386459350586, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"c6e86370.775dc", "type":"set", "name":"save backup copy of mdsal-ar for rollback", "xml":"\n\n", "comments":"", "x":1285.3864250183105, "y":524.7672936916351, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"d0fcda95.b5ded8", "type":"comment", "name":"Create urls for restapi", "info":"", "comments":"", "x":457.9576606750488, "y":393.6243562698364, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"fd568606.5069e8", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":936.2433853149414, "y":866.481632232666, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"65762b87.da2b54", "type":"comment", "name":"TO DO: vnf/put parent", "info":"", "comments":"", "x":460.2433776855469, "y":767.1481952667236, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"eaaae4f9.51d728", "type":"execute", "name":"execute getTime", "xml":"\n \n\n", "comments":"", "outputs":1, "x":444.24338150024414, "y":696.4815549850464, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"82115602.4aadf8", "type":"other", "name":"other", "xml":"\n", "comments":"", "outputs":1, "x":778.5766868591309, "y":560.4814250469208, "z":"87a856d9.9ec508", "wires":[ [ "9a00f006.cbb78" ] ] }, { "id":"9a00f006.cbb78", "type":"block", "name":"block: atomic", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":958.5766372680664, "y":561.1479756832123, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"b2c6bab8.1fd358", "type":"set", "name":"set id", "xml":"\n\n\n\n\n\n\n\n\n", "comments":"", "x":427.24342346191406, "y":616.1481666564941, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"d7fd4783.cc90d8", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":2230.5997276306152, "y":555.0000190734863, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"718e3f93.cd459", "type":"update", "name":"update AAI allotted-resource", "xml":"\n\t\n", "comments":"", "outputs":1, "x":487.85716247558594, "y":800.2380628585815, "z":"87a856d9.9ec508", "wires":[ [ "6bf804a4.c0a48c", "138a867a.df171a" ] ] }, { "id":"6bf804a4.c0a48c", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":743.6190567016602, "y":783.1905598640442, "z":"87a856d9.9ec508", "wires":[ [ "418532c6.6b556c" ] ] }, { "id":"418532c6.6b556c", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":910.142936706543, "y":794.8096308708191, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"138a867a.df171a", "type":"failure", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":750.7143440246582, "y":815.9525275230408, "z":"87a856d9.9ec508", "wires":[ [ "418532c6.6b556c" ] ] }, { "id":"f965b29a.1efa5", "type":"execute", "name":"execute RestApiCallNode - setup BRG to vgMux vxlan tunnel port", "xml":"\n \n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":606.6666564941406, "y":1121.6666297912598, "z":"87a856d9.9ec508", "wires":[ [ "df90cb56.a03868", "7baef153.70ea4", "5f9ed08a.45811" ] ] }, { "id":"df90cb56.a03868", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":908.64137840271, "y":1212.9981907829642, "z":"87a856d9.9ec508", "wires":[ [ "4be7e5a3.743f0c" ] ] }, { "id":"7baef153.70ea4", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":899.6414279937744, "y":1181.4982165321708, "z":"87a856d9.9ec508", "wires":[ [ "4be7e5a3.743f0c" ] ] }, { "id":"5f9ed08a.45811", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":903.3914661407471, "y":1151.8553214073181, "z":"87a856d9.9ec508", "wires":[ [ "be0bec1a.41ef9" ] ] }, { "id":"4be7e5a3.743f0c", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1069.391466140747, "y":1182.2482403740287, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"be0bec1a.41ef9", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1045.0474338531494, "y":1148.0474905967712, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"16a55bb0.8c20f4", "type":"execute", "name":"execute RestApiCallNode - setup BRG vxlan bridge domain", "xml":"\n \n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":588.3334197998047, "y":1268.3334243297577, "z":"87a856d9.9ec508", "wires":[ [ "4f278bf0.7edd54", "6114a132.9f3ff", "14cdadf1.ca4582" ] ] }, { "id":"4f278bf0.7edd54", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":898.6414394378662, "y":1412.9982127174735, "z":"87a856d9.9ec508", "wires":[ [ "a55fd1dd.4e4de" ] ] }, { "id":"6114a132.9f3ff", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":889.6414890289307, "y":1381.49823846668, "z":"87a856d9.9ec508", "wires":[ [ "a55fd1dd.4e4de" ] ] }, { "id":"14cdadf1.ca4582", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":893.3915271759033, "y":1351.8553433418274, "z":"87a856d9.9ec508", "wires":[ [ "ad02893c.a5fb98" ] ] }, { "id":"a55fd1dd.4e4de", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1059.3915271759033, "y":1382.248262308538, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"ad02893c.a5fb98", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1035.0474948883057, "y":1348.0475125312805, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"d3a78d9e.83f7f", "type":"set", "name":"set BRG to vgMUX VXLAN Tunnel Port Props", "xml":"\n\n\n\n", "comments":"", "x":542.7778015136719, "y":986.6668891906738, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"ca99974a.a9c178", "type":"execute", "name":"generate full brg-vpp-honeycomb url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":514.4444427490234, "y":1041.6666679382324, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"aa97b18b.1226d", "type":"execute", "name":"generate honeycomb-url to vBRG", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":504.4444122314453, "y":933.3332271575928, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"cdf3b3de.27f5e", "type":"set", "name":"set BRG Bridge Domain Props", "xml":"\n\n", "comments":"", "x":497.7777557373047, "y":1193.3332996368408, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"b7b31c06.60266", "type":"execute", "name":"execute RestApiCallNode - setup vgMux to BRG vxlan tunnel port", "xml":"\n \n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":605.1625823974609, "y":1510.2343139648438, "z":"87a856d9.9ec508", "wires":[ [ "aba59524.bc77c8", "e1789de0.06c8d", "f925fc50.89e98" ] ] }, { "id":"aba59524.bc77c8", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":977.1372489929199, "y":1564.8991645798087, "z":"87a856d9.9ec508", "wires":[ [ "59180579.1119ac" ] ] }, { "id":"e1789de0.06c8d", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":968.1372985839844, "y":1533.3991903290153, "z":"87a856d9.9ec508", "wires":[ [ "59180579.1119ac" ] ] }, { "id":"f925fc50.89e98", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":971.887336730957, "y":1503.7562952041626, "z":"87a856d9.9ec508", "wires":[ [ "997a6286.bc8a6" ] ] }, { "id":"59180579.1119ac", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1137.887336730957, "y":1534.1492141708732, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"997a6286.bc8a6", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1113.5433044433594, "y":1499.9484643936157, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"4de82e6d.f68d1", "type":"set", "name":"set vgMUX to BRG VXLAN Tunnel Port Props", "xml":"\n\n\n\n", "comments":"", "x":546.273681640625, "y":1391.9011373519897, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"39a8ddb.60b2222", "type":"execute", "name":"generate full vgMUX-vpp-honeycomb url", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":529.6070098876953, "y":1450.2342700958252, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"33ab2b01.6cab74", "type":"execute", "name":"generate honeycomb-url to vgMUX", "xml":"\n \n \n \n \n", "comments":"", "outputs":1, "x":516.2736663818359, "y":1336.900857925415, "z":"87a856d9.9ec508", "wires":[ [ ] ] }, { "id":"a21afe27.1472c", "type":"execute", "name":"execute RestApiCallNode - setup vgMUX to BRG vxlan tunnel xconnect", "xml":"\n \n \n \n \n \n \n \n\n", "comments":"", "outputs":1, "x":623.3333129882812, "y":1609.9998779296875, "z":"87a856d9.9ec508", "wires":[ [ "9f350be0.c73188", "b487c24.98b254", "b0b52d79.1d3db" ] ] }, { "id":"9f350be0.c73188", "type":"not-found", "name":"not-found", "xml":"\n", "comments":"", "outputs":1, "x":974.3080177307129, "y":1690.6647199615836, "z":"87a856d9.9ec508", "wires":[ [ "6d663e66.14fad" ] ] }, { "id":"b487c24.98b254", "type":"failure", "name":"failure", "xml":"\n", "comments":"", "outputs":1, "x":965.3080673217773, "y":1659.1647457107902, "z":"87a856d9.9ec508", "wires":[ [ "6d663e66.14fad" ] ] }, { "id":"b0b52d79.1d3db", "type":"success", "name":"success", "xml":"\n", "comments":"", "outputs":1, "x":969.05810546875, "y":1629.5218505859375, "z":"87a856d9.9ec508", "wires":[ [ "c9430c21.30428" ] ] }, { "id":"6d663e66.14fad", "type":"returnFailure", "name":"return failure", "xml":"\n\t\n\t\n \n", "comments":"", "x":1135.05810546875, "y":1659.914769552648, "z":"87a856d9.9ec508", "wires":[ ] }, { "id":"c9430c21.30428", "type":"block", "name":"block", "xml":"\n", "atomic":"false", "comments":"", "outputs":1, "x":1110.7140731811523, "y":1625.7140197753906, "z":"87a856d9.9ec508", "wires":[ [ ] ] } ]