X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2FGENERIC-RESOURCE-API_contrail-route-topology-operation-create.json;h=db509591f0bb2f05b5fb8f5b3e0db8d50ee3b1fb;hb=refs%2Fheads%2Fmaster;hp=5de448850cf06bbce1926a117dd461b2304dc91c;hpb=0ead46e4dc3bf3fbf0cdf8a76cbf0c5d6e0b191b;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_contrail-route-topology-operation-create.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_contrail-route-topology-operation-create.json index 5de44885..db509591 100755 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_contrail-route-topology-operation-create.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_contrail-route-topology-operation-create.json @@ -1 +1,1644 @@ -[{"id":"977f53d.3ee9fb","type":"dgstart","name":"DGSTART","outputs":1,"x":107,"y":51,"z":"5f90649b.a6618c","wires":[["f60ed586.79f2e8"]]},{"id":"f60ed586.79f2e8","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":253.2380828857422,"y":125.95239353179932,"z":"5f90649b.a6618c","wires":[["7ed7da9d.6e2b64"]]},{"id":"7ed7da9d.6e2b64","type":"method","name":"contrail-route-topology-operation-create","xml":"\n","comments":"","outputs":1,"x":333.1548500061035,"y":195.1904420852661,"z":"5f90649b.a6618c","wires":[["56f7100c.36c0c"]]},{"id":"56f7100c.36c0c","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":241.4761848449707,"y":338.523784160614,"z":"5f90649b.a6618c","wires":[["9e479a64.54c188","e3448fe7.bd93a","8da0a386.68f65","9aff23ea.c5706","14b94fc4.c4f09","98b3a116.8663e","15a1d923.552617","d9a64061.5a09f","8dd7a6c4.f97498","4c8c7d6c.390284","2f8ea3d3.25d61c","df03f36f.1c4a","c6e8d07f.0b15c","21f56f54.bd659","c191a157.b6674","f0fa32bd.ad602","9525be20.92483","63945192.1184c","dcc82b6d.bd0448","3fc1cd7b.ce8842","7ce279cd.dfcc18","84f94150.403b","674f14d2.772d8c","fa1647e6.8bb8f8"]]},{"id":"e3448fe7.bd93a","type":"returnSuccess","name":"return success","xml":"\n\n\n\n","comments":"","x":439.7144775390625,"y":2006.7268590070307,"z":"5f90649b.a6618c","wires":[]},{"id":"9e479a64.54c188","type":"set","name":"set output to api handler","xml":"\n\n\n\n \n","comments":"","x":468.4683837890625,"y":1969.182652387768,"z":"5f90649b.a6618c","wires":[]},{"id":"4c8c7d6c.390284","type":"set","name":"set allotted-resource-oper-status","xml":"\n\n\n\n\n\n","comments":"","x":501.8017692565918,"y":1841.563532743603,"z":"5f90649b.a6618c","wires":[]},{"id":"9aff23ea.c5706","type":"set","name":"set tmp.ar.self-link","xml":"\n\n\n","comments":"","x":503.7380561828613,"y":312.3333215713501,"z":"5f90649b.a6618c","wires":[]},{"id":"8da0a386.68f65","type":"set","name":"set tmp.ar.allotted-resource-id,etc","xml":"\n\n\n\n\n\n","comments":"","x":550.9973297119141,"y":278.5925884246826,"z":"5f90649b.a6618c","wires":[]},{"id":"14b94fc4.c4f09","type":"execute","name":"execute Properties - pull properties file","xml":"\n \n \n","comments":"","outputs":1,"x":565.4219818115234,"y":348.23153495788574,"z":"5f90649b.a6618c","wires":[[]]},{"id":"15a1d923.552617","type":"execute","name":"execute RestApiCallNode - Get AR by id","xml":"\n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":583.8520965576172,"y":519.7928762435913,"z":"5f90649b.a6618c","wires":[["a2f6a7ce.665958","f3b38cd6.2e6e6"]]},{"id":"98b3a116.8663e","type":"execute","name":"generate allotted-resource url","xml":"\n \n \n \n \n","comments":"","outputs":1,"x":538.0648651123047,"y":404.01720237731934,"z":"5f90649b.a6618c","wires":[[]]},{"id":"a2f6a7ce.665958","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":825.8148498535156,"y":517.2673225402832,"z":"5f90649b.a6618c","wires":[["20f015d.23979ea"]]},{"id":"d9a64061.5a09f","type":"execute","name":"execute RestApiCallNode - PUT AR by id","xml":"\n \n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":519.0769958496094,"y":1926.0893211364746,"z":"5f90649b.a6618c","wires":[["c10dc6ee.696618","805abac4.a6c908","3cb9e4ff.c3e14c"]]},{"id":"c10dc6ee.696618","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":801.8849945068359,"y":1961.9445136152208,"z":"5f90649b.a6618c","wires":[["950a7649.40f1f8"]]},{"id":"805abac4.a6c908","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":792.8850440979004,"y":1930.4445393644273,"z":"5f90649b.a6618c","wires":[["950a7649.40f1f8"]]},{"id":"3cb9e4ff.c3e14c","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":796.635082244873,"y":1900.8016442395747,"z":"5f90649b.a6618c","wires":[["993aa5dc.bb4718"]]},{"id":"950a7649.40f1f8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":962.635082244873,"y":1931.1945632062852,"z":"5f90649b.a6618c","wires":[]},{"id":"20f015d.23979ea","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":994.8148536682129,"y":515.7672233581543,"z":"5f90649b.a6618c","wires":[["729d2c16.7a05d4"]]},{"id":"729d2c16.7a05d4","type":"switchNode","name":"switch cr length","xml":"\n","comments":"","outputs":1,"x":1205.6720962524414,"y":515.3863525390625,"z":"5f90649b.a6618c","wires":[["2012dd5e.936ac2","ea94432e.31d92"]]},{"id":"2012dd5e.936ac2","type":"other","name":"outcome 1","xml":"\n","comments":"","outputs":1,"x":1395.0054016113281,"y":515.3863105773926,"z":"5f90649b.a6618c","wires":[["976ad675.132198"]]},{"id":"f33b796d.cb9ac8","type":"set","name":"set ar from get","xml":"\n\n","comments":"","x":1868.1962203979492,"y":478.62452602386475,"z":"5f90649b.a6618c","wires":[]},{"id":"976ad675.132198","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1579.529291152954,"y":512.2911443710327,"z":"5f90649b.a6618c","wires":[["f33b796d.cb9ac8","20c37c8e.57cb74"]]},{"id":"26a328fb.e4fd48","type":"comment","name":"GET contrail-route-allotted-resource from mdsal","info":"","comments":"","x":593.8147926330566,"y":483.7672119140625,"z":"5f90649b.a6618c","wires":[]},{"id":"f0fa32bd.ad602","type":"set","name":"set ar-assignments.contrail-id","xml":"\n\n\n\n\n","comments":"","x":523.6721115112305,"y":1402.565318107605,"z":"5f90649b.a6618c","wires":[]},{"id":"20c37c8e.57cb74","type":"set","name":"save backup copy of mdsal-ar for rollback","xml":"\n\n","comments":"","x":1956.0532722473145,"y":445.4340181350708,"z":"5f90649b.a6618c","wires":[]},{"id":"aa784c84.13ef8","type":"comment","name":"Create urls for restapi","info":"","comments":"","x":508.9576530456543,"y":377.62435245513916,"z":"5f90649b.a6618c","wires":[]},{"id":"993aa5dc.bb4718","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":938.2910499572754,"y":1896.9938134290278,"z":"5f90649b.a6618c","wires":[[]]},{"id":"8dd7a6c4.f97498","type":"execute","name":"execute getTime","xml":"\n \n\n","comments":"","outputs":1,"x":450.95776748657227,"y":1874.6602372266352,"z":"5f90649b.a6618c","wires":[[]]},{"id":"19d401c8.5d312e","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n \n","comments":"","x":1545.3337326049805,"y":600.0000534057617,"z":"5f90649b.a6618c","wires":[]},{"id":"f3b38cd6.2e6e6","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":817.6666526794434,"y":552.3334074020386,"z":"5f90649b.a6618c","wires":[["2dce5d4a.489092"]]},{"id":"2dce5d4a.489092","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":997.6666030883789,"y":552.9999580383301,"z":"5f90649b.a6618c","wires":[["19d401c8.5d312e"]]},{"id":"2f8ea3d3.25d61c","type":"set","name":"set ar data","xml":"\n\n\n\n\n\n\n\n\n\n","comments":"","x":490.5238265991211,"y":557.8095149993896,"z":"5f90649b.a6618c","wires":[]},{"id":"ea94432e.31d92","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":1383.3333549499512,"y":552.6666707992554,"z":"5f90649b.a6618c","wires":[["19d401c8.5d312e"]]},{"id":"63945192.1184c","type":"set","name":"set cloud-region-id for input to contrail","xml":"\n\n","comments":"","x":547.3810729980469,"y":1208.9765033721924,"z":"5f90649b.a6618c","wires":[]},{"id":"ea06c71e.efa318","type":"comment","name":"Call contrail api here","info":"","comments":"","x":491.0477752685547,"y":1175.643006324768,"z":"5f90649b.a6618c","wires":[]},{"id":"228d2ac3.140ba6","type":"comment","name":"Rollback - rollback contrail/AAI","info":"","comments":"","x":1175.8573608398438,"y":1136.0477056503296,"z":"5f90649b.a6618c","wires":[]},{"id":"eb7db965.cffa68","type":"comment","name":"Create network policy in AAI","info":"","comments":"","x":497.76202392578125,"y":1611.2262735366821,"z":"5f90649b.a6618c","wires":[]},{"id":"21f56f54.bd659","type":"save","name":"save AnAI - network-policy","xml":"\n\n\n\n\n\n","comments":"","outputs":1,"x":513.1389083862305,"y":1648.2938385009766,"z":"5f90649b.a6618c","wires":[["52e636d7.8ebb58","ed317c2.86ca38"]]},{"id":"244a6c17.3e21d4","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":985.4844169616699,"y":1638.575451850891,"z":"5f90649b.a6618c","wires":[]},{"id":"52e636d7.8ebb58","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":756.9130249023438,"y":1637.5911893844604,"z":"5f90649b.a6618c","wires":[["244a6c17.3e21d4"]]},{"id":"ed317c2.86ca38","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":760.7225227355957,"y":1667.06760597229,"z":"5f90649b.a6618c","wires":[["244a6c17.3e21d4"]]},{"id":"801bff7e.fbad5","type":"comment","name":"MDSal adaptor only saves consuming service so parent service and AR are done by Rest api calls","info":"","comments":"","x":613.6666259765625,"y":49.33332824707031,"z":"5f90649b.a6618c","wires":[]},{"id":"c191a157.b6674","type":"execute","name":"execute Contrail API create network policy","xml":"\n\n\n\n\n\n \n\n\n\n\n\n\n\n","comments":"","outputs":1,"x":552.0000915527344,"y":1291.8338508605957,"z":"5f90649b.a6618c","wires":[["7a90fc8f.31cf84","1476872f.65dcf9"]]},{"id":"7a90fc8f.31cf84","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":833.380973815918,"y":1259.976146850735,"z":"5f90649b.a6618c","wires":[["e7e4be16.a7a45"]]},{"id":"1476872f.65dcf9","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":831.4762954711914,"y":1292.976086616516,"z":"5f90649b.a6618c","wires":[["44b885c3.5934bc"]]},{"id":"df03f36f.1c4a","type":"switchNode","name":"switch source-network.network-id","xml":"\n\n","comments":"","outputs":1,"x":554.0000457763672,"y":764.0001230239868,"z":"5f90649b.a6618c","wires":[["69c55b4f.8054f4","6060b3b1.b4008c"]]},{"id":"69c55b4f.8054f4","type":"other","name":"Other","xml":"","comments":"","outputs":1,"x":910.0002632141113,"y":762.6665024757385,"z":"5f90649b.a6618c","wires":[["74dfd12.49de63"]]},{"id":"6060b3b1.b4008c","type":"other","name":"NULL","xml":"","comments":"","outputs":1,"x":905.6670799255371,"y":725.6663026809692,"z":"5f90649b.a6618c","wires":[["1ff80c0f.023764"]]},{"id":"7a681aef.92f704","type":"for","name":"for nidx..service-data.networks.network[]","xml":"\n","comments":"","outputs":1,"x":2045.4450378417969,"y":802.4442802667618,"z":"5f90649b.a6618c","wires":[["ddb4759b.c74ba8"]]},{"id":"58522d88.a159a4","type":"switchNode","name":"switch service-data.networks.network_length","xml":"\n","comments":"","outputs":1,"x":1301.825698852539,"y":762.6823296546936,"z":"5f90649b.a6618c","wires":[["a0f9f28f.3a11d","62f8d43d.6ff0ac"]]},{"id":"a0f9f28f.3a11d","type":"other","name":"outcome Null","xml":"\n","comments":"","outputs":1,"x":1590.825698852539,"y":764.6823906898499,"z":"5f90649b.a6618c","wires":[["6eb4b765.2bcfe8"]]},{"id":"62f8d43d.6ff0ac","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":1570.825698852539,"y":799.6823906898499,"z":"5f90649b.a6618c","wires":[["e7594b36.af86f8"]]},{"id":"e7594b36.af86f8","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":1775.4290008544922,"y":803.5702644586563,"z":"5f90649b.a6618c","wires":[["7a681aef.92f704"]]},{"id":"74dfd12.49de63","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1044.1115188598633,"y":763.1109070777893,"z":"5f90649b.a6618c","wires":[["58522d88.a159a4"]]},{"id":"1ff80c0f.023764","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1059.8005447387695,"y":726.3332052230835,"z":"5f90649b.a6618c","wires":[]},{"id":"6eb4b765.2bcfe8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1783.9337768554688,"y":764.9998508691788,"z":"5f90649b.a6618c","wires":[]},{"id":"7cbfe81d.55cd18","type":"comment","name":"Find tenant id/cloud region from source network","info":"","comments":"","x":591.4003677368164,"y":730.6664390563965,"z":"5f90649b.a6618c","wires":[]},{"id":"ddb4759b.c74ba8","type":"switchNode","name":"switch networkid found","xml":"\n\n","comments":"","outputs":1,"x":2337.9998474121094,"y":799.3334070444107,"z":"5f90649b.a6618c","wires":[["f4eec0e2.b336a","e74ffe1b.ee527"]]},{"id":"831dcdf8.8c4d9","type":"set","name":"set tmp vals","xml":"\n\n\n\n\n","comments":"","x":2877.666519165039,"y":789.3333841562271,"z":"5f90649b.a6618c","wires":[]},{"id":"1f3c5039.cf476","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2687.732961654663,"y":802.3333956003189,"z":"5f90649b.a6618c","wires":[["831dcdf8.8c4d9","3e513116.e80b7e"]]},{"id":"f4eec0e2.b336a","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":2532.2663383483887,"y":802.3332582712173,"z":"5f90649b.a6618c","wires":[["1f3c5039.cf476"]]},{"id":"e74ffe1b.ee527","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":2533.065948486328,"y":840.3332611322403,"z":"5f90649b.a6618c","wires":[["cce762b8.5727a"]]},{"id":"cce762b8.5727a","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":2711.066104888916,"y":840.3333269357681,"z":"5f90649b.a6618c","wires":[]},{"id":"3e513116.e80b7e","type":"get-resource","name":"get-resource tenant","xml":"\n\n","comments":"","outputs":1,"x":2900.1330642700195,"y":825.3330799341202,"z":"5f90649b.a6618c","wires":[["dfe3bd23.975b8","7f907bb.cc18a84","324872c7.f43eee"]]},{"id":"dfe3bd23.975b8","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":3120.994453430176,"y":817.9441944360733,"z":"5f90649b.a6618c","wires":[["ddb43474.5e2fc8"]]},{"id":"7f907bb.cc18a84","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":3116.327480316162,"y":851.2775083780289,"z":"5f90649b.a6618c","wires":[["ddb43474.5e2fc8"]]},{"id":"ddb43474.5e2fc8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n\n","comments":"","x":3290.503402709961,"y":839.3330675363541,"z":"5f90649b.a6618c","wires":[]},{"id":"324872c7.f43eee","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":3116.503486633301,"y":786.370158791542,"z":"5f90649b.a6618c","wires":[["19595da5.86cf22"]]},{"id":"19595da5.86cf22","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":3296.503486633301,"y":784.370158791542,"z":"5f90649b.a6618c","wires":[["9bf595b1.bf70f8"]]},{"id":"9bf595b1.bf70f8","type":"set","name":"set tenant name","xml":"\n\n\n\n","comments":"","x":3483.4665908813477,"y":781.9999004602432,"z":"5f90649b.a6618c","wires":[]},{"id":"c6e8d07f.0b15c","type":"update","name":"update AAI allotted-resource","xml":"\n\t\n","comments":"","outputs":1,"x":500.4287109375,"y":1747.6073377132416,"z":"5f90649b.a6618c","wires":[["4c9be32.4622c1c","58211de1.fa28b4"]]},{"id":"4c9be32.4622c1c","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":756.1906051635742,"y":1724.8455572128296,"z":"5f90649b.a6618c","wires":[["3ee10ac5.6c52d6"]]},{"id":"58211de1.fa28b4","type":"failure","name":"not-found","xml":"\n","comments":"","outputs":1,"x":761.5000343322754,"y":1760.4169750213623,"z":"5f90649b.a6618c","wires":[["3ee10ac5.6c52d6"]]},{"id":"3ee10ac5.6c52d6","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":971.2858200073242,"y":1726.4646015167236,"z":"5f90649b.a6618c","wires":[]},{"id":"a5f87574.e494f8","type":"comment","name":"Update AAI AR","info":"","comments":"","x":456.62871170043945,"y":1716.7500885389745,"z":"5f90649b.a6618c","wires":[]},{"id":"44b885c3.5934bc","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":991.381103515625,"y":1292.309534072876,"z":"5f90649b.a6618c","wires":[]},{"id":"9525be20.92483","type":"record","name":"record","xml":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","comments":"","outputs":1,"x":440.09527587890625,"y":1261.595251083374,"z":"5f90649b.a6618c","wires":[[]]},{"id":"c2b56ee4.19d0f","type":"not-found","name":"not found","xml":"\n","comments":"","outputs":1,"x":836.2857666015625,"y":841.9288463592529,"z":"5f90649b.a6618c","wires":[["a3daa790.c8f578"]]},{"id":"84f94150.403b","type":"get-resource","name":"get AnAI - l3-network by network-id","xml":"\n","comments":"","outputs":1,"x":564.9126892089844,"y":849.4611072540283,"z":"5f90649b.a6618c","wires":[["d00661cb.d83c8","c2b56ee4.19d0f","bf39102b.a9daa"]]},{"id":"d00661cb.d83c8","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":829.0078735351562,"y":876.4134502410889,"z":"5f90649b.a6618c","wires":[["a3daa790.c8f578"]]},{"id":"a3daa790.c8f578","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":981.1188354492188,"y":872.6356792449951,"z":"5f90649b.a6618c","wires":[]},{"id":"bf39102b.a9daa","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":834.2858276367188,"y":907.9288463592529,"z":"5f90649b.a6618c","wires":[["35e7e6d8.9c02fa"]]},{"id":"35e7e6d8.9c02fa","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":986.952392578125,"y":906.2621746063232,"z":"5f90649b.a6618c","wires":[[]]},{"id":"b5a6ae1.293715","type":"comment","name":"GET source network from AAI","info":"","comments":"","x":537.7143249511719,"y":817.6430835723877,"z":"5f90649b.a6618c","wires":[]},{"id":"4c2c7cf4.617bb4","type":"not-found","name":"not found","xml":"\n","comments":"","outputs":1,"x":840.5714721679688,"y":949.0716209411621,"z":"5f90649b.a6618c","wires":[["9036f2cc.f4b7d"]]},{"id":"674f14d2.772d8c","type":"get-resource","name":"get AnAI - l3-network by network-id","xml":"\n","comments":"","outputs":1,"x":569.1983947753906,"y":956.6038818359375,"z":"5f90649b.a6618c","wires":[["946c94f2.2a45a8","4c2c7cf4.617bb4","e5db03f9.2fafe"]]},{"id":"946c94f2.2a45a8","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":833.2935791015625,"y":983.556224822998,"z":"5f90649b.a6618c","wires":[["9036f2cc.f4b7d"]]},{"id":"9036f2cc.f4b7d","type":"returnFailure","name":"return failure","xml":"\n\t\n\t","comments":"","x":985.404541015625,"y":979.7784538269043,"z":"5f90649b.a6618c","wires":[]},{"id":"e5db03f9.2fafe","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":833.571533203125,"y":1020.0715923309326,"z":"5f90649b.a6618c","wires":[["854d69a8.a38398"]]},{"id":"854d69a8.a38398","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":986.2380981445312,"y":1018.4049205780029,"z":"5f90649b.a6618c","wires":[[]]},{"id":"3714bcdd.1c2684","type":"comment","name":"GET dest network from AAI","info":"","comments":"","x":542.0000305175781,"y":924.7858581542969,"z":"5f90649b.a6618c","wires":[]},{"id":"14b73b46.6d9fb5","type":"set","name":"set temp contrail fqdn for input to contrail","xml":"\n\n","comments":"","x":575.0000648498535,"y":1106.928747177124,"z":"5f90649b.a6618c","wires":[]},{"id":"e7e4be16.a7a45","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":985.5714569091797,"y":1260.6428718566895,"z":"5f90649b.a6618c","wires":[[]]},{"id":"dcc82b6d.bd0448","type":"set","name":"set ar-assignments","xml":"\n\n\n\n\n","comments":"","x":516.2857627868652,"y":588.5714883804321,"z":"5f90649b.a6618c","wires":[]},{"id":"3fc1cd7b.ce8842","type":"set","name":"set ar-assignments","xml":"\n\n\n\n\n","comments":"","x":463.42869567871094,"y":1807.607406616211,"z":"5f90649b.a6618c","wires":[]},{"id":"7ce279cd.dfcc18","type":"switchNode","name":"switch contrailResp.resp-code","xml":"\n\n","comments":"","outputs":1,"x":518.607177734375,"y":1357.2500972747803,"z":"5f90649b.a6618c","wires":[["d4c93b29.23d048","dcc6b0f9.993d7"]]},{"id":"d4c93b29.23d048","type":"outcome","name":"outcome 0","xml":"\n","comments":"","outputs":1,"x":795.7501801252365,"y":1357.2502279281616,"z":"5f90649b.a6618c","wires":[["43219c8b.d04894"]]},{"id":"dcc6b0f9.993d7","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":775.7500915527344,"y":1384.7501316070557,"z":"5f90649b.a6618c","wires":[["62b65f6a.fbc85"]]},{"id":"62b65f6a.fbc85","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":948.2501907348633,"y":1387.2502298355103,"z":"5f90649b.a6618c","wires":[]},{"id":"43219c8b.d04894","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":940.7500915527344,"y":1357.250129699707,"z":"5f90649b.a6618c","wires":[[]]},{"id":"b1b62e5b.66cdc","type":"comment","name":"Dummy values for dev/dev","info":"","comments":"","x":522.0000114440918,"y":1070.0002274513245,"z":"5f90649b.a6618c","wires":[]},{"id":"fa1647e6.8bb8f8","type":"call","name":"call policy-manager-create-policy","xml":"\n","comments":"","outputs":1,"x":537.1427841186523,"y":1491.4284505844116,"z":"5f90649b.a6618c","wires":[["4134066.d0e53f8","cfa986c.9649d78"]]},{"id":"4134066.d0e53f8","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":772.7221450805664,"y":1488.7704181671143,"z":"5f90649b.a6618c","wires":[["6336a3da.11edec"]]},{"id":"cfa986c.9649d78","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":778.714412689209,"y":1529.5714936256409,"z":"5f90649b.a6618c","wires":[["f41f6acc.efb3a8"]]},{"id":"f41f6acc.efb3a8","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":931.3809776306152,"y":1527.9048218727112,"z":"5f90649b.a6618c","wires":[[]]},{"id":"2d6f6d8d.fcc1b2","type":"execute","name":"execute Contrail API delete network policy","xml":"\n\n\n\n\n\n \n\n\n\n\n\n\n\n","comments":"","outputs":1,"x":1225.7143249511719,"y":1487.1428270339966,"z":"5f90649b.a6618c","wires":[["cd2ace54.7c12e","4fd4dcde.514ad4"]]},{"id":"cd2ace54.7c12e","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":1502.809471130371,"y":1456.7137071229517,"z":"5f90649b.a6618c","wires":[["c111c6b8.837068"]]},{"id":"4fd4dcde.514ad4","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1500.9047927856445,"y":1489.713646888733,"z":"5f90649b.a6618c","wires":[["704a5361.3555ec"]]},{"id":"704a5361.3555ec","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1660.8096008300781,"y":1487.0470943450928,"z":"5f90649b.a6618c","wires":[]},{"id":"c111c6b8.837068","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1654.9999542236328,"y":1457.3804321289062,"z":"5f90649b.a6618c","wires":[[]]},{"id":"6336a3da.11edec","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":931.4285888671875,"y":1482.857177734375,"z":"5f90649b.a6618c","wires":[["2d6f6d8d.fcc1b2","15d27925.63edf7"]]},{"id":"15d27925.63edf7","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1129.9999771118164,"y":1527.142939567566,"z":"5f90649b.a6618c","wires":[]}] +[ + { + "id": "f03bdbde.4579d8", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 175.00390625, + "y": 104.6666704416275, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "b789d37d.82a2e" + ] + ] + }, + { + "id": "b789d37d.82a2e", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 321.2419891357422, + "y": 179.61906397342682, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "245879c2.1bf726" + ] + ] + }, + { + "id": "245879c2.1bf726", + "type": "method", + "name": "contrail-route-topology-operation-create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 401.1587562561035, + "y": 248.85711252689362, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "cb6febc8.40d7a8" + ] + ] + }, + { + "id": "cb6febc8.40d7a8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 309.4800910949707, + "y": 392.1904546022415, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "78592f6d.e5c98", + "e3ebac4.ab7145", + "b31530da.30339", + "ef64ef71.c48f1", + "41df4f0b.30a5f", + "af3b175.bb7ece8", + "478f720.e98ad9", + "bc7f0404.80df38", + "bc587a66.feda28", + "a844f172.05d78", + "2c4387c0.bbe4d8", + "bd1d7050.2c7d2", + "78389040.50c04", + "3b7c3ee7.892e02", + "9c87964d.1eedd8", + "cb3789bb.42da88", + "96e58f96.3e0dc", + "bd7a20ba.9bf84", + "7d144ee0.ee98f", + "65bdabe8.142354", + "483287bc.c27a28", + "29d6c655.17265a", + "808bf1b8.60d31", + "cf49ae05.2f29" + ] + ] + }, + { + "id": "e3ebac4.ab7145", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 507.7183837890625, + "y": 2060.3935294486582, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "78592f6d.e5c98", + "type": "set", + "name": "set output to api handler", + "xml": "\n\n\n\n \n", + "comments": "", + "x": 536.4722900390625, + "y": 2022.8493228293955, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "a844f172.05d78", + "type": "set", + "name": "set allotted-resource-oper-status", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 569.8056755065918, + "y": 1895.2302031852305, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "ef64ef71.c48f1", + "type": "set", + "name": "set tmp.ar.self-link", + "xml": "\n\n\n", + "comments": "", + "x": 571.7419624328613, + "y": 365.9999920129776, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "b31530da.30339", + "type": "set", + "name": "set tmp.ar.allotted-resource-id,etc", + "xml": "\n\n\n\n\n\n", + "comments": "", + "x": 619.0012359619141, + "y": 332.2592588663101, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "41df4f0b.30a5f", + "type": "execute", + "name": "execute Properties - pull properties file", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 633.4258880615234, + "y": 401.89820539951324, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "478f720.e98ad9", + "type": "execute", + "name": "execute RestApiCallNode - Get AR by id", + "xml": "\n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 651.8560028076172, + "y": 573.4595466852188, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "aebb7490.69e928", + "cfd4b50e.a5e6b8" + ] + ] + }, + { + "id": "af3b175.bb7ece8", + "type": "execute", + "name": "generate allotted-resource url", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 606.0687713623047, + "y": 457.68387281894684, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "aebb7490.69e928", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 893.8187561035156, + "y": 570.9339929819107, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "a22ae59.4cc7418" + ] + ] + }, + { + "id": "bc7f0404.80df38", + "type": "execute", + "name": "execute RestApiCallNode - PUT AR by id", + "xml": "\n \n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 587.0809020996094, + "y": 1979.755991578102, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "1f0721b.9b811de", + "e79eeaaa.e7dcb8", + "1d4083e3.1dc26c" + ] + ] + }, + { + "id": "1f0721b.9b811de", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 869.8889007568359, + "y": 2015.6111840568483, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "d062f84e.64a6c8" + ] + ] + }, + { + "id": "e79eeaaa.e7dcb8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 860.8889503479004, + "y": 1984.1112098060548, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "d062f84e.64a6c8" + ] + ] + }, + { + "id": "1d4083e3.1dc26c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 864.638988494873, + "y": 1954.4683146812022, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "5be66386.866e6c" + ] + ] + }, + { + "id": "d062f84e.64a6c8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1030.638988494873, + "y": 1984.8612336479127, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "a22ae59.4cc7418", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1062.818759918213, + "y": 569.4338937997818, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "3b15ea01.810756" + ] + ] + }, + { + "id": "3b15ea01.810756", + "type": "switchNode", + "name": "switch cr length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1273.6760025024414, + "y": 569.05302298069, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "9e98b320.e152c", + "8b7088ef.449658" + ] + ] + }, + { + "id": "9e98b320.e152c", + "type": "other", + "name": "outcome 1", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1463.0093078613281, + "y": 569.0529810190201, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "a5eacd9b.7855d" + ] + ] + }, + { + "id": "ad98339.532aad", + "type": "set", + "name": "set ar from get", + "xml": "\n\n", + "comments": "", + "x": 1886.2001152038574, + "y": 600.6245447397232, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "a5eacd9b.7855d", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1647.533197402954, + "y": 565.9578148126602, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "ad98339.532aad", + "3870bad1.110186" + ] + ] + }, + { + "id": "2d62b33d.718e0c", + "type": "comment", + "name": "GET contrail-route-allotted-resource from mdsal", + "info": "", + "comments": "", + "x": 661.8186988830566, + "y": 537.43388235569, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "cb3789bb.42da88", + "type": "set", + "name": "set ar-assignments.contrail-id", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 591.6760177612305, + "y": 1456.2319885492325, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "3870bad1.110186", + "type": "set", + "name": "save backup copy of mdsal-ar for rollback", + "xml": "\n\n", + "comments": "", + "x": 1974.0571670532227, + "y": 567.4340368509293, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "d436744f.3d37d8", + "type": "comment", + "name": "Create urls for restapi", + "info": "", + "comments": "", + "x": 576.9615592956543, + "y": 431.29102289676666, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "5be66386.866e6c", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1006.2949562072754, + "y": 1950.6604838706553, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "bc587a66.feda28", + "type": "execute", + "name": "execute getTime", + "xml": "\n \n\n", + "comments": "", + "outputs": 1, + "x": 518.9616737365723, + "y": 1928.3269076682627, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "ca916db.f325d9", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n \n", + "comments": "", + "x": 1613.3376388549805, + "y": 653.6667238473892, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "cfd4b50e.a5e6b8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 885.6705589294434, + "y": 606.0000778436661, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "18936b2c.da7865" + ] + ] + }, + { + "id": "18936b2c.da7865", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1065.670509338379, + "y": 606.6666284799576, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "ca916db.f325d9" + ] + ] + }, + { + "id": "2c4387c0.bbe4d8", + "type": "set", + "name": "set ar data", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 558.5277328491211, + "y": 611.4761854410172, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "8b7088ef.449658", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1451.3372611999512, + "y": 606.3333412408829, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "ca916db.f325d9" + ] + ] + }, + { + "id": "bd7a20ba.9bf84", + "type": "set", + "name": "set cloud-region-id for input to contrail", + "xml": "\n\n", + "comments": "", + "x": 615.3849792480469, + "y": 1262.6431738138199, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "ca1182bc.7b6ef", + "type": "comment", + "name": "Call contrail api here", + "info": "", + "comments": "", + "x": 559.0516815185547, + "y": 1229.3096767663956, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "76519ed6.4be52", + "type": "comment", + "name": "Rollback - rollback contrail/AAI", + "info": "", + "comments": "", + "x": 1243.8612670898438, + "y": 1189.714376091957, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "396c22cf.fd071e", + "type": "comment", + "name": "Create network policy in AAI", + "info": "", + "comments": "", + "x": 565.7659301757812, + "y": 1664.8929439783096, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "3b7c3ee7.892e02", + "type": "save", + "name": "save AnAI - network-policy", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 581.1428146362305, + "y": 1701.960508942604, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "178286.09ba5d7b", + "916ae281.f5ee2" + ] + ] + }, + { + "id": "6b68050d.217ccc", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1053.48832321167, + "y": 1692.2421222925186, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "178286.09ba5d7b", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 824.9169311523438, + "y": 1691.257859826088, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "6b68050d.217ccc" + ] + ] + }, + { + "id": "916ae281.f5ee2", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 828.7264289855957, + "y": 1720.7342764139175, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "6b68050d.217ccc" + ] + ] + }, + { + "id": "13fbc501.526acb", + "type": "comment", + "name": "MDSal adaptor only saves consuming service so parent service and AR are done by Rest api calls", + "info": "", + "comments": "", + "x": 681.6705322265625, + "y": 102.99999868869781, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "9c87964d.1eedd8", + "type": "execute", + "name": "execute Contrail API create network policy", + "xml": "\n\n\n\n\n\n \n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 620.0039978027344, + "y": 1345.5005213022232, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "2fb2335a.cbd49c", + "a5da0427.0c5768" + ] + ] + }, + { + "id": "2fb2335a.cbd49c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 901.384880065918, + "y": 1313.6428172923625, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "1c40ddfb.ac3da2" + ] + ] + }, + { + "id": "a5da0427.0c5768", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 899.4802017211914, + "y": 1346.6427570581436, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "a4c8be00.baf52" + ] + ] + }, + { + "id": "bd1d7050.2c7d2", + "type": "switchNode", + "name": "switch source-network.network-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 622.0039520263672, + "y": 817.6667934656143, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "16cf3207.6919ae", + "4972ee2e.1e371" + ] + ] + }, + { + "id": "16cf3207.6919ae", + "type": "other", + "name": "Other", + "xml": "", + "comments": "", + "outputs": 1, + "x": 978.0041694641113, + "y": 816.333172917366, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "4d7f64a6.3f3e3c" + ] + ] + }, + { + "id": "4972ee2e.1e371", + "type": "other", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 973.6709861755371, + "y": 779.3329731225967, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "f8faa309.794be" + ] + ] + }, + { + "id": "7af5889b.368718", + "type": "for", + "name": "for nidx..service-data.networks.network[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2113.448944091797, + "y": 856.1109507083893, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "a1094de3.d998d" + ] + ] + }, + { + "id": "e0a0a8a2.ee5b68", + "type": "switchNode", + "name": "switch service-data.networks.network_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1369.829605102539, + "y": 816.3490000963211, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "25b29885.305408", + "d2c788cf.79feb8" + ] + ] + }, + { + "id": "25b29885.305408", + "type": "other", + "name": "outcome Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1658.829605102539, + "y": 818.3490611314774, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "25abf517.021e9a" + ] + ] + }, + { + "id": "d2c788cf.79feb8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1638.829605102539, + "y": 853.3490611314774, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "d2c2c0a9.d8b2c" + ] + ] + }, + { + "id": "d2c2c0a9.d8b2c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1843.4329071044922, + "y": 857.2369349002838, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "7af5889b.368718" + ] + ] + }, + { + "id": "4d7f64a6.3f3e3c", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1112.1154251098633, + "y": 816.7775775194168, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "e0a0a8a2.ee5b68" + ] + ] + }, + { + "id": "f8faa309.794be", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1127.8044509887695, + "y": 779.999875664711, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "25abf517.021e9a", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1851.9376831054688, + "y": 818.6665213108063, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "d6797d24.acfca", + "type": "comment", + "name": "Find tenant id/cloud region from source network", + "info": "", + "comments": "", + "x": 659.4042739868164, + "y": 784.333109498024, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "a1094de3.d998d", + "type": "switchNode", + "name": "switch networkid found", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2406.0037536621094, + "y": 853.0000774860382, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "2fc2f6cc.52811a", + "bd8b1543.d5feb8" + ] + ] + }, + { + "id": "cf465404.bca108", + "type": "set", + "name": "set tmp vals", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 2945.670425415039, + "y": 843.0000545978546, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "18df3dec.3762c2", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2755.736867904663, + "y": 856.0000660419464, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "cf465404.bca108", + "a77873a9.58a3d" + ] + ] + }, + { + "id": "2fc2f6cc.52811a", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2600.2702445983887, + "y": 855.9999287128448, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "18df3dec.3762c2" + ] + ] + }, + { + "id": "bd8b1543.d5feb8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2601.069854736328, + "y": 893.9999315738678, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "12777d15.58b793" + ] + ] + }, + { + "id": "12777d15.58b793", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2779.070011138916, + "y": 893.9999973773956, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "a77873a9.58a3d", + "type": "get-resource", + "name": "get-resource tenant", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2968.1369705200195, + "y": 878.9997503757477, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "d053a66e.8a2958", + "f2ee2fa9.2bf8d", + "d188bc90.da64f" + ] + ] + }, + { + "id": "d053a66e.8a2958", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3188.998359680176, + "y": 871.6108648777008, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "fb3363cd.b2365" + ] + ] + }, + { + "id": "f2ee2fa9.2bf8d", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3184.331386566162, + "y": 904.9441788196564, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "fb3363cd.b2365" + ] + ] + }, + { + "id": "fb3363cd.b2365", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n", + "comments": "", + "x": 3358.507308959961, + "y": 892.9997379779816, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "d188bc90.da64f", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3184.507392883301, + "y": 840.0368292331696, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "a5dbc0a1.7ca4b" + ] + ] + }, + { + "id": "a5dbc0a1.7ca4b", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 3364.507392883301, + "y": 838.0368292331696, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "3eca1514.f49d8a" + ] + ] + }, + { + "id": "3eca1514.f49d8a", + "type": "set", + "name": "set tenant name", + "xml": "\n\n\n\n", + "comments": "", + "x": 3551.4704971313477, + "y": 835.6665709018707, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "78389040.50c04", + "type": "update", + "name": "update AAI allotted-resource", + "xml": "\n\t\n", + "comments": "", + "outputs": 1, + "x": 568.4326171875, + "y": 1801.274008154869, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "ee05ecac.f85f4", + "76238400.885e4c" + ] + ] + }, + { + "id": "ee05ecac.f85f4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 824.1945114135742, + "y": 1778.512227654457, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "9a72cd34.8de84" + ] + ] + }, + { + "id": "76238400.885e4c", + "type": "failure", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 829.5039405822754, + "y": 1814.0836454629898, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "9a72cd34.8de84" + ] + ] + }, + { + "id": "9a72cd34.8de84", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1039.2897262573242, + "y": 1780.1312719583511, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "3ebda3d1.60c63c", + "type": "comment", + "name": "Update AAI AR", + "info": "", + "comments": "", + "x": 524.6326179504395, + "y": 1770.416758980602, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "a4c8be00.baf52", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1059.385009765625, + "y": 1345.9762045145035, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "96e58f96.3e0dc", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 508.09918212890625, + "y": 1315.2619215250015, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "f4f87407.7b7138", + "type": "not-found", + "name": "not found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 904.2896728515625, + "y": 895.5955168008804, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "81772977.20deb8" + ] + ] + }, + { + "id": "29d6c655.17265a", + "type": "get-resource", + "name": "get AnAI - l3-network by network-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 632.9165954589844, + "y": 903.1277776956558, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "678eae69.b9714", + "f4f87407.7b7138", + "5e43af76.092db" + ] + ] + }, + { + "id": "678eae69.b9714", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 897.0117797851562, + "y": 930.0801206827164, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "81772977.20deb8" + ] + ] + }, + { + "id": "81772977.20deb8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 1049.1227416992188, + "y": 926.3023496866226, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "5e43af76.092db", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 902.2897338867188, + "y": 961.5955168008804, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "aa41ec1c.71542" + ] + ] + }, + { + "id": "aa41ec1c.71542", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1054.956298828125, + "y": 959.9288450479507, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "ffbc6d1d.bd87f", + "type": "comment", + "name": "GET source network from AAI", + "info": "", + "comments": "", + "x": 605.7182312011719, + "y": 871.3097540140152, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "a32f696b.7ff868", + "type": "not-found", + "name": "not found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 908.5753784179688, + "y": 1002.7382913827896, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "8a6cd51f.44caa8" + ] + ] + }, + { + "id": "808bf1b8.60d31", + "type": "get-resource", + "name": "get AnAI - l3-network by network-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 637.2023162841797, + "y": 1013.6038881540298, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "9ad6ea77.f2aad8", + "a32f696b.7ff868", + "4dcfd8c5.d1f5f8" + ] + ] + }, + { + "id": "9ad6ea77.f2aad8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 901.2974853515625, + "y": 1037.2228952646255, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "8a6cd51f.44caa8" + ] + ] + }, + { + "id": "8a6cd51f.44caa8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t", + "comments": "", + "x": 1053.408447265625, + "y": 1033.4451242685318, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "4dcfd8c5.d1f5f8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 901.575439453125, + "y": 1073.7382627725601, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "532eb226.00307c" + ] + ] + }, + { + "id": "532eb226.00307c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1054.2420043945312, + "y": 1072.0715910196304, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "f7c80e16.0bab8", + "type": "comment", + "name": "GET dest network from AAI", + "info": "", + "comments": "", + "x": 610.0039367675781, + "y": 978.4525285959244, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "2a90d119.3eaf9e", + "type": "set", + "name": "set temp contrail fqdn for input to contrail", + "xml": "\n\n", + "comments": "", + "x": 643.0039710998535, + "y": 1160.5954176187515, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "1c40ddfb.ac3da2", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1053.5753631591797, + "y": 1314.309542298317, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "7d144ee0.ee98f", + "type": "set", + "name": "set ar-assignments", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 584.2896690368652, + "y": 642.2381588220596, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "65bdabe8.142354", + "type": "set", + "name": "set ar-assignments", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 531.4326019287109, + "y": 1861.2740770578384, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "483287bc.c27a28", + "type": "switchNode", + "name": "switch contrailResp.resp-code", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 586.611083984375, + "y": 1410.9167677164078, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "5959bd36.12d064", + "f8777e5b.220e7" + ] + ] + }, + { + "id": "5959bd36.12d064", + "type": "outcome", + "name": "outcome 0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 863.7540863752365, + "y": 1410.9168983697891, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "ba0eee80.bc27f" + ] + ] + }, + { + "id": "f8777e5b.220e7", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 843.7539978027344, + "y": 1438.4168020486832, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "f5b88fb1.136b5" + ] + ] + }, + { + "id": "f5b88fb1.136b5", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1016.2540969848633, + "y": 1440.9169002771378, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "ba0eee80.bc27f", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1008.7539978027344, + "y": 1410.9168001413345, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "6e33a9b5.9b7438", + "type": "comment", + "name": "Dummy values for dev/dev", + "info": "", + "comments": "", + "x": 590.0039176940918, + "y": 1123.666897892952, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "cf49ae05.2f29", + "type": "call", + "name": "call policy-manager-create-policy", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 605.1466903686523, + "y": 1545.0951210260391, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "eefb278d.613d48", + "526e4a66.638b34" + ] + ] + }, + { + "id": "eefb278d.613d48", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 840.7260513305664, + "y": 1542.4370886087418, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "f9ba847c.ff2c28" + ] + ] + }, + { + "id": "526e4a66.638b34", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 846.718318939209, + "y": 1583.2381640672684, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "7657e814.bd32b8" + ] + ] + }, + { + "id": "7657e814.bd32b8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 999.3848838806152, + "y": 1581.5714923143387, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "bc667334.be1b7", + "type": "execute", + "name": "execute Contrail API delete network policy", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1293.7182312011719, + "y": 1540.809497475624, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "f2a919a7.bd34a8", + "7bf7079a.433c68" + ] + ] + }, + { + "id": "f2a919a7.bd34a8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1570.813377380371, + "y": 1510.3803775645792, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "f667916c.8d17b" + ] + ] + }, + { + "id": "7bf7079a.433c68", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1568.9086990356445, + "y": 1543.3803173303604, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "bae7bbac.394ad8" + ] + ] + }, + { + "id": "bae7bbac.394ad8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1728.8135070800781, + "y": 1540.7137647867203, + "z": "fbc4119e.39c3b", + "wires": [] + }, + { + "id": "f667916c.8d17b", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1723.0038604736328, + "y": 1511.0471025705338, + "z": "fbc4119e.39c3b", + "wires": [ + [] + ] + }, + { + "id": "f9ba847c.ff2c28", + "type": "block", + "name": "block: atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 999.4324951171875, + "y": 1536.5238481760025, + "z": "fbc4119e.39c3b", + "wires": [ + [ + "bc667334.be1b7", + "1ae7d1e2.6be47e" + ] + ] + }, + { + "id": "1ae7d1e2.6be47e", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1198.0038833618164, + "y": 1580.8096100091934, + "z": "fbc4119e.39c3b", + "wires": [] + } +] \ No newline at end of file