From: Marcus G K Williams Date: Sun, 5 Nov 2017 22:25:39 +0000 (-0800) Subject: Fix tunxconn-assign DG X-Git-Tag: v1.2.1~40^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdnc%2Foam.git;a=commitdiff_plain;h=6e477d51178b9e88485353a31da7977bd67d9de4 Fix tunxconn-assign DG This change fixes assignment of IPs mismatches in tunnelxconn assign DG when assigning vgmux-bearer-ip and vgmux-lan-ip Issue-Id: SDNC-164 Change-Id: I89723c3908dde3a5b25a7309f9609287aa3de2c7 Signed-off-by: Marcus G K Williams Former-commit-id: b6a5de0603c1f51021dc54f9e8da457526fe7f82 --- diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.json index cfdbab5a..a5427e32 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.json @@ -1 +1,1537 @@ -[{"id":"e5a03d9a.1edde","type":"dgstart","name":"DGSTART","outputs":1,"x":168,"y":90,"z":"4627aafc.0cf754","wires":[["1a45e32c.7eec9d"]]},{"id":"1a45e32c.7eec9d","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":264.2380790710449,"y":150.95239067077637,"z":"4627aafc.0cf754","wires":[["8c562652.9938c"]]},{"id":"8c562652.9938c","type":"method","name":"tunnelxconn-topology-operation-assign","xml":"\n","comments":"","outputs":1,"x":315.15485763549805,"y":186.19044589996338,"z":"4627aafc.0cf754","wires":[["127b33d3.348d44"]]},{"id":"127b33d3.348d44","type":"block","name":"block : atomic","xml":"","atomic":"true","comments":"","outputs":1,"x":218.47619247436523,"y":329.5237879753113,"z":"4627aafc.0cf754","wires":[["ed41c58b.0de058","40c517df.179a68","31364232.805fa6","9e41c4b2.1cbae8","f542b0.6e96f55"]]},{"id":"af6119f3.dfb79","type":"returnSuccess","name":"return success","xml":"\n\n\n\n","comments":"","x":1061.6666564941406,"y":2256.5477046966553,"z":"4627aafc.0cf754","wires":[]},{"id":"358d6fd4.61c","type":"set","name":"set output to api handler","xml":"\n\n\n\n \n","comments":"","x":1098.7540550231934,"y":2135.432439804077,"z":"4627aafc.0cf754","wires":[]},{"id":"a3bcd19.c7f583","type":"set","name":"set allotted-resource-oper-status","xml":"\n\n\n\n\n\n","comments":"","x":1170.468376159668,"y":1552.6228160858154,"z":"4627aafc.0cf754","wires":[]},{"id":"40c517df.179a68","type":"set","name":"set tmp.ar.self-link","xml":"\n\n\n","comments":"","x":664.738037109375,"y":197.33331298828125,"z":"4627aafc.0cf754","wires":[]},{"id":"ed41c58b.0de058","type":"set","name":"set tmp.ar.allotted-resource-id,etc","xml":"\n\n\n\n\n","comments":"","x":712.997314453125,"y":153.59259033203125,"z":"4627aafc.0cf754","wires":[]},{"id":"bb3b1063.64e5e","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":851.8148803710938,"y":369.26727294921875,"z":"4627aafc.0cf754","wires":[["18d55063.8f2ed8"]]},{"id":"b4db148.3666b68","type":"execute","name":"execute RestApiCallNode - PUT AR by id","xml":"\n \n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":1191.8626251220703,"y":1777.1008231639862,"z":"4627aafc.0cf754","wires":[["849359cb.597c6","492cd67b.f3ce88","180f6e96.404e19"]]},{"id":"849359cb.597c6","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1460.5040016174316,"y":1828.4322349056602,"z":"4627aafc.0cf754","wires":[["ba0327fc.aba8b8"]]},{"id":"492cd67b.f3ce88","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1451.504051208496,"y":1796.9322606548667,"z":"4627aafc.0cf754","wires":[["ba0327fc.aba8b8"]]},{"id":"180f6e96.404e19","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":1455.2540893554688,"y":1767.289365530014,"z":"4627aafc.0cf754","wires":[["d14af406.4287f"]]},{"id":"ba0327fc.aba8b8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1621.2540893554688,"y":1797.6822844967246,"z":"4627aafc.0cf754","wires":[]},{"id":"5be54f87.d14c2","type":"set","name":"set oper-status","xml":"\n\n\n\n\n","comments":"","x":1201.5294189453125,"y":470.05291748046875,"z":"4627aafc.0cf754","wires":[]},{"id":"a2ba5660.2c2fb8","type":"comment","name":"Save consumed-allotted-resources to mdsal","info":"","comments":"","x":1228.2435302734375,"y":1292.7196044921875,"z":"4627aafc.0cf754","wires":[]},{"id":"8b6a893a.d008b8","type":"comment","name":"GET tunnelxconn-allotted-resource from mdsal","info":"","comments":"","x":574.8148193359375,"y":339.7672119140625,"z":"4627aafc.0cf754","wires":[]},{"id":"18d55063.8f2ed8","type":"returnFailure","name":"return failure - tunnelxconn already exists","xml":"\n\t\n\t\n \n","comments":"","x":1161.129150390625,"y":364.6243896484375,"z":"4627aafc.0cf754","wires":[]},{"id":"f11c5b51.4f3278","type":"set","name":"set tx-ar-identifiers","xml":"\n\n\n\n\n\n","comments":"","x":1211.38623046875,"y":563.6243896484375,"z":"4627aafc.0cf754","wires":[]},{"id":"a0f58fcb.d9b998","type":"comment","name":"Set allotted-resource-identifiers","info":"","comments":"","x":1238.338623046875,"y":522.338623046875,"z":"4627aafc.0cf754","wires":[]},{"id":"47fd678a.738f08","type":"set","name":"set identifiers in overall structure","xml":"\n\n\n\n","comments":"","x":1228.38623046875,"y":871.910400390625,"z":"4627aafc.0cf754","wires":[]},{"id":"3081a28c.9b5c36","type":"set","name":"set ecomp model information from input","xml":"\n\n\n\n","comments":"","x":1256.957763671875,"y":606.9100952148438,"z":"4627aafc.0cf754","wires":[]},{"id":"c627ed39.e1aaf8","type":"switchNode","name":"switch model-invariant-uuid is null","xml":"\n","comments":"","outputs":1,"x":1237.8148193359375,"y":646.195809841156,"z":"4627aafc.0cf754","wires":[["37aaff9b.6ef948"]]},{"id":"37aaff9b.6ef948","type":"outcome","name":"outcome null","xml":"\n","comments":"","outputs":1,"x":1464.9576988220215,"y":647.6243271827698,"z":"4627aafc.0cf754","wires":[["d4ace565.3a0d58"]]},{"id":"d4ace565.3a0d58","type":"set","name":"set model-invariant-uuid","xml":"\n\n\n\n","comments":"","x":1666.38627243042,"y":647.0528798103333,"z":"4627aafc.0cf754","wires":[]},{"id":"11faa499.f9d22b","type":"switchNode","name":"switch model-uuid is null","xml":"\n","comments":"","outputs":1,"x":1209.2434158325195,"y":680.4815106391907,"z":"4627aafc.0cf754","wires":[["d5fa1186.86df"]]},{"id":"d5fa1186.86df","type":"outcome","name":"outcome null","xml":"\n","comments":"","outputs":1,"x":1410.6719818115234,"y":681.0529322624207,"z":"4627aafc.0cf754","wires":[["10be4dfe.844d32"]]},{"id":"10be4dfe.844d32","type":"set","name":"set model-uuid","xml":"\n\n\n\n","comments":"","x":1603.529140472412,"y":681.0528540611267,"z":"4627aafc.0cf754","wires":[]},{"id":"77e8e0e0.62c46","type":"switchNode","name":"switch model-version is null","xml":"\n","comments":"","outputs":1,"x":1217.8148193359375,"y":722.338623046875,"z":"4627aafc.0cf754","wires":[["2d586a06.2b22fe"]]},{"id":"2d586a06.2b22fe","type":"outcome","name":"outcome null","xml":"\n","comments":"","outputs":1,"x":1467.8148002624512,"y":713.3386225700378,"z":"4627aafc.0cf754","wires":[["8505026a.4f24f8"]]},{"id":"8505026a.4f24f8","type":"set","name":"set model-version","xml":"\n\n\n\n","comments":"","x":1660.6719589233398,"y":713.3385443687439,"z":"4627aafc.0cf754","wires":[]},{"id":"520caffa.1e3b98","type":"switchNode","name":"switch ar-model.ecomp-generated-naming","xml":"\n","comments":"","outputs":1,"x":1281.38623046875,"y":815.7672729492188,"z":"4627aafc.0cf754","wires":[["77882b56.1c8fc4","554f7f59.f93b78"]]},{"id":"77882b56.1c8fc4","type":"other","name":"outcome Y","xml":"\n","comments":"","outputs":1,"x":1567.3862915039062,"y":815.1958618164062,"z":"4627aafc.0cf754","wires":[["6920c7dc.a2a58"]]},{"id":"6920c7dc.a2a58","type":"block","name":"block : atomic","xml":"\n","atomic":"true","comments":"","outputs":1,"x":1721.1363525390625,"y":817.69580078125,"z":"4627aafc.0cf754","wires":[["d8057468.473a48"]]},{"id":"554f7f59.f93b78","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":1586.608642578125,"y":904.1958618164062,"z":"4627aafc.0cf754","wires":[["ac09c984.93c9a8"]]},{"id":"ac09c984.93c9a8","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n\n","comments":"","x":1769.608642578125,"y":909.1958618164062,"z":"4627aafc.0cf754","wires":[]},{"id":"d8057468.473a48","type":"switchNode","name":"switch ar-model.ecomp-generated-naming","xml":"\n","comments":"","outputs":1,"x":1857.38623046875,"y":866.767333984375,"z":"4627aafc.0cf754","wires":[["ea4f625c.daf458","dd389be2.410d38"]]},{"id":"ea4f625c.daf458","type":"other","name":"outcome oam_network_policy","xml":"\n","comments":"","outputs":1,"x":2232.244140625,"y":870.3453369140625,"z":"4627aafc.0cf754","wires":[["6fa0da80.617c04"]]},{"id":"dd389be2.410d38","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":2146.671875,"y":947.1958618164062,"z":"4627aafc.0cf754","wires":[["6fa0da80.617c04"]]},{"id":"d20fc560.51ea78","type":"set","name":"set ar_name","xml":"\n\n","comments":"","x":2538.100830078125,"y":905.7672729492188,"z":"4627aafc.0cf754","wires":[]},{"id":"e41782e3.e0f368","type":"execute","name":"execute SliStringUtils - replace TenantOAMNetworkRole","xml":"\n \n \n \n \n\n","comments":"","outputs":1,"x":2682.2437858581543,"y":949.6244196891785,"z":"4627aafc.0cf754","wires":[[]]},{"id":"e75f6e33.825248","type":"execute","name":"execute SliStringUtils - replace LandingNetworkRole","xml":"\n \n \n \n \n\n","comments":"","outputs":1,"x":2669.243896484375,"y":989.7672729492188,"z":"4627aafc.0cf754","wires":[[]]},{"id":"6fa0da80.617c04","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2346.5292015075684,"y":945.3387522697449,"z":"4627aafc.0cf754","wires":[["d20fc560.51ea78","e41782e3.e0f368","e75f6e33.825248","8c24a151.c736c"]]},{"id":"8c24a151.c736c","type":"set","name":"set identifiers.allotted-resource-name","xml":"\n\n","comments":"","x":2627.1005859375,"y":1040.052978515625,"z":"4627aafc.0cf754","wires":[]},{"id":"e36ad273.011c6","type":"set","name":"set assignments in overall structure","xml":"\n\n\n\n","comments":"","x":1213.8624267578125,"y":1238.6246337890625,"z":"4627aafc.0cf754","wires":[]},{"id":"ef696041.5b90d8","type":"set","name":"Handle tx-ar-assignments","xml":"\n\n\n\n\n\n","comments":"","x":1181.529052734375,"y":1158.052978515625,"z":"4627aafc.0cf754","wires":[]},{"id":"81c7c31a.0b9c08","type":"for","name":"for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]","xml":"\n","comments":"","outputs":1,"x":2254.8155822753906,"y":1350.0411586761475,"z":"4627aafc.0cf754","wires":[["a8fdd019.115188"]]},{"id":"b4784ddb.aece58","type":"switchNode","name":"switch service-data.consumed-allotted-resources_length","xml":"\n","comments":"","outputs":1,"x":1260.8148193359375,"y":1343.505126953125,"z":"4627aafc.0cf754","wires":[["45dcd74.e909ba8","69f40501.d12704"]]},{"id":"45dcd74.e909ba8","type":"other","name":"outcome Null","xml":"\n","comments":"","outputs":1,"x":1661.207763671875,"y":1322.1124267578125,"z":"4627aafc.0cf754","wires":[["a82537c1.99c678"]]},{"id":"69f40501.d12704","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":1653.957763671875,"y":1403.1124267578125,"z":"4627aafc.0cf754","wires":[["ec015624.23587"]]},{"id":"a8fdd019.115188","type":"switchNode","name":"switch allotted-resource-id","xml":"\n\n","comments":"","outputs":1,"x":2689.4106826782227,"y":1351.85085105896,"z":"4627aafc.0cf754","wires":[["9616a8f.73197d8"]]},{"id":"9616a8f.73197d8","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":2896.220375061035,"y":1355.064962387085,"z":"4627aafc.0cf754","wires":[["2403ce35.8da102"]]},{"id":"ec015624.23587","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":1820.8349609375,"y":1397.488525390625,"z":"4627aafc.0cf754","wires":[["81c7c31a.0b9c08","e31fed63.529bb8"]]},{"id":"2403ce35.8da102","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":3064.4817276000977,"y":1359.9222631454468,"z":"4627aafc.0cf754","wires":[["ed794a09.288b9"]]},{"id":"a82537c1.99c678","type":"set","name":"set cidx","xml":"\n\n\n\n\n","comments":"","x":1846.0648193359375,"y":1325.32666015625,"z":"4627aafc.0cf754","wires":[]},{"id":"ed794a09.288b9","type":"set","name":"set tmp.cidx and ctx.consumed-ar","xml":"\n\n\n","comments":"","x":3310.3391876220703,"y":1354.4937419891357,"z":"4627aafc.0cf754","wires":[]},{"id":"24131551.a54552","type":"set","name":"set consumed allotted resources","xml":"\n\n\n\n\n\n","comments":"","x":1196.6720123291016,"y":1402.826681137085,"z":"4627aafc.0cf754","wires":[]},{"id":"d14af406.4287f","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":1596.910057067871,"y":1763.4815347194672,"z":"4627aafc.0cf754","wires":[[]]},{"id":"468bfff8.9cedd","type":"comment","name":"Add SZ AR to mdsal","info":"","comments":"","x":1123.148193359375,"y":1713.1956787109375,"z":"4627aafc.0cf754","wires":[]},{"id":"790cd2d4.165b2c","type":"execute","name":"execute getTime","xml":"\n \n\n","comments":"","outputs":1,"x":1137.4814224243164,"y":1476.671986579895,"z":"4627aafc.0cf754","wires":[[]]},{"id":"c56eedac.e7ffe8","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":857.57666015625,"y":420.4814453125,"z":"4627aafc.0cf754","wires":[["342ab637.9d2c12"]]},{"id":"4de43800.b85998","type":"block","name":"block: atomic","xml":"\n","atomic":"false","comments":"","outputs":1,"x":805.57666015625,"y":916.2908325195312,"z":"4627aafc.0cf754","wires":[["24131551.a54552","790cd2d4.165b2c","a3bcd19.c7f583","b4db148.3666b68","358d6fd4.61c","af6119f3.dfb79","f425ba40.7115f8","5be54f87.d14c2","f11c5b51.4f3278","3081a28c.9b5c36","c627ed39.e1aaf8","11faa499.f9d22b","77e8e0e0.62c46","520caffa.1e3b98","47fd678a.738f08","cebf3b05.8ecc9","75aa99cd.2bc41","9dbd9cc2.7689e","ef696041.5b90d8","e36ad273.011c6","b4784ddb.aece58","cd0dd524.fb0c78","1433ef16.581949","b1ce4e03.bf221","2d580163.5c930e"]]},{"id":"f425ba40.7115f8","type":"set","name":"set id","xml":"\n\n\n\n\n\n\n\n\n","comments":"","x":1176.2434387207031,"y":426.433837890625,"z":"4627aafc.0cf754","wires":[]},{"id":"2d580163.5c930e","type":"update","name":"update AAI allotted-resource","xml":"\n\t\n\t\n\t\n\t\n\t\n","comments":"","outputs":1,"x":1164.052978515625,"y":1628.5767822265625,"z":"4627aafc.0cf754","wires":[["abe0caa5.373ae8","b2e9c1e.d54a94"]]},{"id":"abe0caa5.373ae8","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1413.814842224121,"y":1627.5292553901672,"z":"4627aafc.0cf754","wires":[["43ff6c37.a7022c"]]},{"id":"43ff6c37.a7022c","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1580.338722229004,"y":1639.1483263969421,"z":"4627aafc.0cf754","wires":[]},{"id":"b2e9c1e.d54a94","type":"failure","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1420.9101295471191,"y":1660.2912230491638,"z":"4627aafc.0cf754","wires":[["43ff6c37.a7022c"]]},{"id":"e31fed63.529bb8","type":"switchNode","name":"switch tmp.found-cidx","xml":"\n","comments":"","outputs":1,"x":2069.743423461914,"y":1596.2315921783447,"z":"4627aafc.0cf754","wires":[["e9a982b1.ef58e"]]},{"id":"e9a982b1.ef58e","type":"outcomeTrue","name":"false","xml":"\n","comments":"","outputs":1,"x":2259.743377685547,"y":1596.2315292358398,"z":"4627aafc.0cf754","wires":[["157da3f3.93a6e4"]]},{"id":"157da3f3.93a6e4","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":2425.743377685547,"y":1596.2315292358398,"z":"4627aafc.0cf754","wires":[["ca0674a1.25423"]]},{"id":"ca0674a1.25423","type":"set","name":"set tmp.cidx ","xml":"\n\n","comments":"","x":2671.600706100464,"y":1596.8030033111572,"z":"4627aafc.0cf754","wires":[]},{"id":"b3603aa4.6cf16","type":"break","name":"break","xml":"\n","comments":"","x":3229.243408203125,"y":1399.731689453125,"z":"4627aafc.0cf754","wires":[]},{"id":"3f3ebeb1.b63712","type":"execute","name":"execute RestApiCallNode - Update parent provided service AR","xml":"\n \n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":1947.9521980285645,"y":1763.1904199123383,"z":"4627aafc.0cf754","wires":[["2c401ba8.1dd6a4","ba3898d2.1f6628","2e69c41e.18f424"]]},{"id":"33f3cbe9.733ea4","type":"comment","name":"Rollback parent","info":"","comments":"","x":1791.9521255493164,"y":1732.8570504188538,"z":"4627aafc.0cf754","wires":[]},{"id":"2c401ba8.1dd6a4","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":2319.2602462768555,"y":1823.8553862571716,"z":"4627aafc.0cf754","wires":[["5c77461f.eab298"]]},{"id":"ba3898d2.1f6628","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":2310.26029586792,"y":1792.3554120063782,"z":"4627aafc.0cf754","wires":[["5c77461f.eab298"]]},{"id":"2e69c41e.18f424","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":2314.0103340148926,"y":1762.7125168815255,"z":"4627aafc.0cf754","wires":[["5c77461f.eab298"]]},{"id":"5c77461f.eab298","type":"block","name":"block","xml":"\n","atomic":"false","comments":"","outputs":1,"x":2455.666301727295,"y":1758.9046860709786,"z":"4627aafc.0cf754","wires":[[]]},{"id":"33d27b3b.1ed984","type":"comment","name":"Generate naming","info":"","comments":"","x":1212.3862762451172,"y":773.7672252655029,"z":"4627aafc.0cf754","wires":[]},{"id":"31364232.805fa6","type":"execute","name":"execute Properties","xml":"\n \n \n","comments":"","outputs":1,"x":657,"y":242,"z":"4627aafc.0cf754","wires":[[]]},{"id":"342ab637.9d2c12","type":"get-resource","name":"get-resource parent service instance","xml":"\n","comments":"","outputs":1,"x":670,"y":523,"z":"4627aafc.0cf754","wires":[["231a36e0.5b5c92","fa70aaf0.7e7e58"]]},{"id":"fa70aaf0.7e7e58","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":933,"y":517,"z":"4627aafc.0cf754","wires":[["4de43800.b85998"]]},{"id":"231a36e0.5b5c92","type":"other","name":"other","xml":"\n","comments":"","outputs":1,"x":746,"y":618,"z":"4627aafc.0cf754","wires":[["ef5be56d.68e6b8"]]},{"id":"ef5be56d.68e6b8","type":"returnFailure","name":"return failure - parent service instance not found","xml":"\n\t\n\t\n \n","comments":"","x":673,"y":679,"z":"4627aafc.0cf754","wires":[]},{"id":"59cf2993.ef07d","type":"for","name":"for parent vnf parameters","xml":"\n","comments":"","outputs":1,"x":1723,"y":963,"z":"4627aafc.0cf754","wires":[["9a20a584.dd26e"]]},{"id":"9a20a584.dd26e","type":"switchNode","name":"switch parameter name","xml":"\n","comments":"","outputs":1,"x":1845,"y":1055,"z":"4627aafc.0cf754","wires":[["45008daf.13f0f4","89c3773d.20de38"]]},{"id":"45008daf.13f0f4","type":"other","name":"vgmux_private_ip_0","xml":"\n","comments":"","outputs":1,"x":2071,"y":1059,"z":"4627aafc.0cf754","wires":[["add12901.13946"]]},{"id":"add12901.13946","type":"set","name":"set tmp.vgmux-bearer-ip","xml":"\n\n\n","comments":"","x":2314,"y":1060,"z":"4627aafc.0cf754","wires":[]},{"id":"89c3773d.20de38","type":"other","name":"vgmux_private_ip_2","xml":"\n","comments":"","outputs":1,"x":2073,"y":1119,"z":"4627aafc.0cf754","wires":[["f5b75cdc.b16da8"]]},{"id":"f5b75cdc.b16da8","type":"set","name":"set tmp.vgmux-lan-ip","xml":"\n\n\n","comments":"","x":2316,"y":1120,"z":"4627aafc.0cf754","wires":[]},{"id":"cebf3b05.8ecc9","type":"set","name":"set default assignments","xml":"\n\n\n","comments":"","x":1203,"y":917,"z":"4627aafc.0cf754","wires":[]},{"id":"9e41c4b2.1cbae8","type":"execute","name":"generate allotted-resource url","xml":"\n \n \n \n \n","comments":"","outputs":1,"x":653,"y":285,"z":"4627aafc.0cf754","wires":[[]]},{"id":"9dbd9cc2.7689e","type":"call","name":"call GENERIC-RESOURCE-API:manage-vni-assignment","xml":"\n","comments":"","outputs":1,"x":1290,"y":1062,"z":"4627aafc.0cf754","wires":[[]]},{"id":"75aa99cd.2bc41","type":"set","name":"set actions = reserve, pools = VNI, VGW","xml":"\n\n\n\n","comments":"","x":1226,"y":1008,"z":"4627aafc.0cf754","wires":[]},{"id":"f542b0.6e96f55","type":"execute","name":"execute RestApiCallNode - Get AR by id","xml":"\n \n \n \n \n \n \n\n","comments":"","outputs":1,"x":577,"y":420,"z":"4627aafc.0cf754","wires":[["bb3b1063.64e5e","c56eedac.e7ffe8"]]},{"id":"cd0dd524.fb0c78","type":"switchNode","name":"Does parent service instance have vnf parameters?","xml":"\n","comments":"","outputs":1,"x":1270,"y":958,"z":"4627aafc.0cf754","wires":[["9a6edde3.28567"]]},{"id":"9a6edde3.28567","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":1532,"y":960,"z":"4627aafc.0cf754","wires":[["59cf2993.ef07d"]]},{"id":"1433ef16.581949","type":"call","name":"call GENERIC-RESOURCE-API:manage-ipaddr-assignment","xml":"\n","comments":"","outputs":1,"x":1286,"y":1109,"z":"4627aafc.0cf754","wires":[[]]},{"id":"b1ce4e03.bf221","type":"set","name":"Handle tx parameters","xml":"\n\n\n\n\n\n\n\n\n\n\n","comments":"","x":1178,"y":1198,"z":"4627aafc.0cf754","wires":[]}] \ No newline at end of file +[ + { + "id":"f7a51f5.fe86ce", + "type":"dgstart", + "name":"DGSTART", + "outputs":1, + "x":415, + "y":350, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "ba9c043e.e07f58" + ] + ] + }, + { + "id":"ba9c043e.e07f58", + "type":"service-logic", + "name":"GENERIC-RESOURCE-API ${project.version}", + "module":"GENERIC-RESOURCE-API", + "version":"${project.version}", + "comments":"", + "xml":"", + "outputs":1, + "x":511.2380790710449, + "y":410.95239067077637, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "249d942d.c245dc" + ] + ] + }, + { + "id":"249d942d.c245dc", + "type":"method", + "name":"tunnelxconn-topology-operation-assign", + "xml":"\n", + "comments":"", + "outputs":1, + "x":562.154857635498, + "y":446.1904458999634, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "6d5b29f7.7a4718" + ] + ] + }, + { + "id":"6d5b29f7.7a4718", + "type":"block", + "name":"block : atomic", + "xml":"", + "atomic":"true", + "comments":"", + "outputs":1, + "x":465.47619247436523, + "y":589.5237879753113, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "3003211a.e085be", + "e75e77ea.b57f18", + "f5d1d70b.ddc6f8", + "338371c3.03166e", + "bec51e2f.be8cc" + ] + ] + }, + { + "id":"d0d44753.44ba98", + "type":"returnSuccess", + "name":"return success", + "xml":"\n\n\n\n", + "comments":"", + "x":1308.6666564941406, + "y":2516.5477046966553, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"8469024b.7a82b", + "type":"set", + "name":"set output to api handler", + "xml":"\n\n\n\n \n", + "comments":"", + "x":1345.7540550231934, + "y":2395.432439804077, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"2132e3dd.5539fc", + "type":"set", + "name":"set allotted-resource-oper-status", + "xml":"\n\n\n\n\n\n", + "comments":"", + "x":1417.468376159668, + "y":1812.6228160858154, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"e75e77ea.b57f18", + "type":"set", + "name":"set tmp.ar.self-link", + "xml":"\n\n\n", + "comments":"", + "x":911.738037109375, + "y":457.33331298828125, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"3003211a.e085be", + "type":"set", + "name":"set tmp.ar.allotted-resource-id,etc", + "xml":"\n\n\n\n\n", + "comments":"", + "x":959.997314453125, + "y":413.59259033203125, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"eb1ff0c9.ef38e", + "type":"success", + "name":"success", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1098.8148803710938, + "y":629.2672729492188, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "c02bbcdf.bc013" + ] + ] + }, + { + "id":"4e2ca4b9.af9d2c", + "type":"execute", + "name":"execute RestApiCallNode - PUT AR by id", + "xml":"\n \n \n \n \n \n \n \n\n", + "comments":"", + "outputs":1, + "x":1438.8626251220703, + "y":2037.1008231639862, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "aff222bc.8e6d2", + "d2e716e0.ea3f78", + "52261953.a9dda8" + ] + ] + }, + { + "id":"aff222bc.8e6d2", + "type":"not-found", + "name":"not-found", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1707.5040016174316, + "y":2088.43223490566, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "39f6948c.62523c" + ] + ] + }, + { + "id":"d2e716e0.ea3f78", + "type":"failure", + "name":"failure", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1698.504051208496, + "y":2056.9322606548667, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "39f6948c.62523c" + ] + ] + }, + { + "id":"52261953.a9dda8", + "type":"success", + "name":"success", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1702.2540893554688, + "y":2027.289365530014, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "dcd5ec61.1101" + ] + ] + }, + { + "id":"39f6948c.62523c", + "type":"returnFailure", + "name":"return failure", + "xml":"\n\t\n\t\n \n", + "comments":"", + "x":1868.2540893554688, + "y":2057.6822844967246, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"c1360476.7b6098", + "type":"set", + "name":"set oper-status", + "xml":"\n\n\n\n\n", + "comments":"", + "x":1448.5294189453125, + "y":730.0529174804688, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"f35d4335.54c9c", + "type":"comment", + "name":"Save consumed-allotted-resources to mdsal", + "info":"", + "comments":"", + "x":1475.2435302734375, + "y":1552.7196044921875, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"655635e7.0e3eec", + "type":"comment", + "name":"GET tunnelxconn-allotted-resource from mdsal", + "info":"", + "comments":"", + "x":821.8148193359375, + "y":599.7672119140625, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"c02bbcdf.bc013", + "type":"returnFailure", + "name":"return failure - tunnelxconn already exists", + "xml":"\n\t\n\t\n \n", + "comments":"", + "x":1408.129150390625, + "y":624.6243896484375, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"573f6a07.f17fd4", + "type":"set", + "name":"set tx-ar-identifiers", + "xml":"\n\n\n\n\n\n", + "comments":"", + "x":1458.38623046875, + "y":823.6243896484375, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"d7829a8.d904768", + "type":"comment", + "name":"Set allotted-resource-identifiers", + "info":"", + "comments":"", + "x":1485.338623046875, + "y":782.338623046875, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"42c79ea2.81985", + "type":"set", + "name":"set identifiers in overall structure", + "xml":"\n\n\n\n", + "comments":"", + "x":1475.38623046875, + "y":1131.910400390625, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"d8d243c1.7bb7e", + "type":"set", + "name":"set ecomp model information from input", + "xml":"\n\n\n\n", + "comments":"", + "x":1503.957763671875, + "y":866.9100952148438, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"388bbf45.722ad", + "type":"switchNode", + "name":"switch model-invariant-uuid is null", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1484.8148193359375, + "y":906.195809841156, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "61c62608.d61778" + ] + ] + }, + { + "id":"61c62608.d61778", + "type":"outcome", + "name":"outcome null", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1711.9576988220215, + "y":907.6243271827698, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "39e6f667.b8ce5a" + ] + ] + }, + { + "id":"39e6f667.b8ce5a", + "type":"set", + "name":"set model-invariant-uuid", + "xml":"\n\n\n\n", + "comments":"", + "x":1913.38627243042, + "y":907.0528798103333, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"e8848901.4775c8", + "type":"switchNode", + "name":"switch model-uuid is null", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1456.2434158325195, + "y":940.4815106391907, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "d9785a66.79e3a8" + ] + ] + }, + { + "id":"d9785a66.79e3a8", + "type":"outcome", + "name":"outcome null", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1657.6719818115234, + "y":941.0529322624207, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "1427b5c2.d5936a" + ] + ] + }, + { + "id":"1427b5c2.d5936a", + "type":"set", + "name":"set model-uuid", + "xml":"\n\n\n\n", + "comments":"", + "x":1850.529140472412, + "y":941.0528540611267, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"109fba97.f782b5", + "type":"switchNode", + "name":"switch model-version is null", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1464.8148193359375, + "y":982.338623046875, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "3f70eb82.810ee4" + ] + ] + }, + { + "id":"3f70eb82.810ee4", + "type":"outcome", + "name":"outcome null", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1714.8148002624512, + "y":973.3386225700378, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "dc565eb7.6c9dc" + ] + ] + }, + { + "id":"dc565eb7.6c9dc", + "type":"set", + "name":"set model-version", + "xml":"\n\n\n\n", + "comments":"", + "x":1907.6719589233398, + "y":973.3385443687439, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"1d9a0b0d.a6f8f5", + "type":"switchNode", + "name":"switch ar-model.ecomp-generated-naming", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1528.38623046875, + "y":1075.7672729492188, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "5928be3a.62e24", + "297d3bf7.200674" + ] + ] + }, + { + "id":"5928be3a.62e24", + "type":"other", + "name":"outcome Y", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1814.3862915039062, + "y":1075.1958618164062, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "7b105e84.481c9" + ] + ] + }, + { + "id":"7b105e84.481c9", + "type":"block", + "name":"block : atomic", + "xml":"\n", + "atomic":"true", + "comments":"", + "outputs":1, + "x":1968.1363525390625, + "y":1077.69580078125, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "92b98902.431af8" + ] + ] + }, + { + "id":"297d3bf7.200674", + "type":"other", + "name":"other", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1833.608642578125, + "y":1164.1958618164062, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "3e840127.e2aa3e" + ] + ] + }, + { + "id":"3e840127.e2aa3e", + "type":"returnFailure", + "name":"return failure", + "xml":"\n\t\n\t\n \n\n", + "comments":"", + "x":2016.608642578125, + "y":1169.1958618164062, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"92b98902.431af8", + "type":"switchNode", + "name":"switch ar-model.ecomp-generated-naming", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2104.38623046875, + "y":1126.767333984375, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "26eb7249.47e7fe", + "f1043fa9.14b2e" + ] + ] + }, + { + "id":"26eb7249.47e7fe", + "type":"other", + "name":"outcome oam_network_policy", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2479.244140625, + "y":1130.3453369140625, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "e7502764.f34288" + ] + ] + }, + { + "id":"f1043fa9.14b2e", + "type":"other", + "name":"other", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2393.671875, + "y":1207.1958618164062, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "e7502764.f34288" + ] + ] + }, + { + "id":"1d6e2e9f.9f6281", + "type":"set", + "name":"set ar_name", + "xml":"\n\n", + "comments":"", + "x":2785.100830078125, + "y":1165.7672729492188, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"d37d22cd.5e612", + "type":"execute", + "name":"execute SliStringUtils - replace TenantOAMNetworkRole", + "xml":"\n \n \n \n \n\n", + "comments":"", + "outputs":1, + "x":2929.2437858581543, + "y":1209.6244196891785, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"ef7b09c8.6b36b8", + "type":"execute", + "name":"execute SliStringUtils - replace LandingNetworkRole", + "xml":"\n \n \n \n \n\n", + "comments":"", + "outputs":1, + "x":2916.243896484375, + "y":1249.7672729492188, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"e7502764.f34288", + "type":"block", + "name":"block: atomic", + "xml":"\n", + "atomic":"false", + "comments":"", + "outputs":1, + "x":2593.5292015075684, + "y":1205.3387522697449, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "1d6e2e9f.9f6281", + "d37d22cd.5e612", + "ef7b09c8.6b36b8", + "49ad4058.d0089" + ] + ] + }, + { + "id":"49ad4058.d0089", + "type":"set", + "name":"set identifiers.allotted-resource-name", + "xml":"\n\n", + "comments":"", + "x":2874.1005859375, + "y":1300.052978515625, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"d092a98.3446758", + "type":"set", + "name":"set assignments in overall structure", + "xml":"\n\n\n\n", + "comments":"", + "x":1460.8624267578125, + "y":1498.6246337890625, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"add28223.49736", + "type":"set", + "name":"Handle tx-ar-assignments", + "xml":"\n\n\n\n\n\n", + "comments":"", + "x":1428.529052734375, + "y":1418.052978515625, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"6d7c9c61.51b0b4", + "type":"for", + "name":"for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2501.8155822753906, + "y":1610.0411586761475, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "70f7bb5e.ea0274" + ] + ] + }, + { + "id":"c057b9c3.dc3768", + "type":"switchNode", + "name":"switch service-data.consumed-allotted-resources_length", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1507.8148193359375, + "y":1603.505126953125, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "62b02de0.0af454", + "26557b09.94a7f4" + ] + ] + }, + { + "id":"62b02de0.0af454", + "type":"other", + "name":"outcome Null", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1908.207763671875, + "y":1582.1124267578125, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "b0181993.439998" + ] + ] + }, + { + "id":"26557b09.94a7f4", + "type":"other", + "name":"other", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1900.957763671875, + "y":1663.1124267578125, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "670fdc23.c2e944" + ] + ] + }, + { + "id":"70f7bb5e.ea0274", + "type":"switchNode", + "name":"switch allotted-resource-id", + "xml":"\n\n", + "comments":"", + "outputs":1, + "x":2936.4106826782227, + "y":1611.85085105896, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "a8f61abf.fcd308" + ] + ] + }, + { + "id":"a8f61abf.fcd308", + "type":"outcomeTrue", + "name":"true", + "xml":"\n", + "comments":"", + "outputs":1, + "x":3143.220375061035, + "y":1615.064962387085, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "df6d8539.73d218" + ] + ] + }, + { + "id":"670fdc23.c2e944", + "type":"block", + "name":"block : atomic", + "xml":"", + "atomic":"true", + "outputs":1, + "x":2067.8349609375, + "y":1657.488525390625, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "6d7c9c61.51b0b4", + "a831b9c8.902e48" + ] + ] + }, + { + "id":"df6d8539.73d218", + "type":"block", + "name":"block : atomic", + "xml":"", + "atomic":"true", + "outputs":1, + "x":3311.4817276000977, + "y":1619.9222631454468, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "cf90980d.2f50b8" + ] + ] + }, + { + "id":"b0181993.439998", + "type":"set", + "name":"set cidx", + "xml":"\n\n\n\n\n", + "comments":"", + "x":2093.0648193359375, + "y":1585.32666015625, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"cf90980d.2f50b8", + "type":"set", + "name":"set tmp.cidx and ctx.consumed-ar", + "xml":"\n\n\n", + "comments":"", + "x":3557.3391876220703, + "y":1614.4937419891357, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"9e1a3f00.67db8", + "type":"set", + "name":"set consumed allotted resources", + "xml":"\n\n\n\n\n\n", + "comments":"", + "x":1443.6720123291016, + "y":1662.826681137085, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"dcd5ec61.1101", + "type":"block", + "name":"block", + "xml":"\n", + "atomic":"false", + "comments":"", + "outputs":1, + "x":1843.910057067871, + "y":2023.4815347194672, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"1b2081c9.a5da5e", + "type":"comment", + "name":"Add SZ AR to mdsal", + "info":"", + "comments":"", + "x":1370.148193359375, + "y":1973.1956787109375, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"7aaed588.63511c", + "type":"execute", + "name":"execute getTime", + "xml":"\n \n\n", + "comments":"", + "outputs":1, + "x":1384.4814224243164, + "y":1736.671986579895, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"99804d99.5a352", + "type":"other", + "name":"other", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1104.57666015625, + "y":680.4814453125, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "e8c6a2dd.e4b3e" + ] + ] + }, + { + "id":"aae390e8.74c6e", + "type":"block", + "name":"block: atomic", + "xml":"\n", + "atomic":"false", + "comments":"", + "outputs":1, + "x":1052.57666015625, + "y":1176.2908325195312, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "9e1a3f00.67db8", + "7aaed588.63511c", + "2132e3dd.5539fc", + "4e2ca4b9.af9d2c", + "8469024b.7a82b", + "d0d44753.44ba98", + "d7a47b9d.32cb28", + "c1360476.7b6098", + "573f6a07.f17fd4", + "d8d243c1.7bb7e", + "388bbf45.722ad", + "e8848901.4775c8", + "109fba97.f782b5", + "1d9a0b0d.a6f8f5", + "42c79ea2.81985", + "59dac422.4bc30c", + "d857982b.5cce48", + "40af5f1c.9055f", + "add28223.49736", + "d092a98.3446758", + "c057b9c3.dc3768", + "30b6665f.e4a89a", + "de53cfb9.dddbd", + "abea3cf1.3111d", + "f623a457.d69fb8" + ] + ] + }, + { + "id":"d7a47b9d.32cb28", + "type":"set", + "name":"set id", + "xml":"\n\n\n\n\n\n\n\n\n", + "comments":"", + "x":1423.2434387207031, + "y":686.433837890625, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"f623a457.d69fb8", + "type":"update", + "name":"update AAI allotted-resource", + "xml":"\n\t\n\t\n\t\n\t\n\t\n", + "comments":"", + "outputs":1, + "x":1411.052978515625, + "y":1888.5767822265625, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "34d1f7b2.8b87a8", + "b3d34689.7dc1b8" + ] + ] + }, + { + "id":"34d1f7b2.8b87a8", + "type":"failure", + "name":"failure", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1660.814842224121, + "y":1887.5292553901672, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "a85cc318.f284a" + ] + ] + }, + { + "id":"a85cc318.f284a", + "type":"returnFailure", + "name":"return failure", + "xml":"\n\t\n\t\n \n", + "comments":"", + "x":1827.338722229004, + "y":1899.1483263969421, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"b3d34689.7dc1b8", + "type":"failure", + "name":"not-found", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1667.9101295471191, + "y":1920.2912230491638, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "a85cc318.f284a" + ] + ] + }, + { + "id":"a831b9c8.902e48", + "type":"switchNode", + "name":"switch tmp.found-cidx", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2316.743423461914, + "y":1856.2315921783447, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "7ea3dd53.4333f4" + ] + ] + }, + { + "id":"7ea3dd53.4333f4", + "type":"outcomeTrue", + "name":"false", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2506.743377685547, + "y":1856.2315292358398, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "b69b3a44.e782b8" + ] + ] + }, + { + "id":"b69b3a44.e782b8", + "type":"block", + "name":"block : atomic", + "xml":"", + "atomic":"true", + "outputs":1, + "x":2672.743377685547, + "y":1856.2315292358398, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "b4e6550a.303748" + ] + ] + }, + { + "id":"b4e6550a.303748", + "type":"set", + "name":"set tmp.cidx ", + "xml":"\n\n", + "comments":"", + "x":2918.600706100464, + "y":1856.8030033111572, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"995e10ab.ef2f6", + "type":"break", + "name":"break", + "xml":"\n", + "comments":"", + "x":3476.243408203125, + "y":1659.731689453125, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"ad2c1042.ffcf4", + "type":"execute", + "name":"execute RestApiCallNode - Update parent provided service AR", + "xml":"\n \n \n \n \n \n \n \n\n", + "comments":"", + "outputs":1, + "x":2194.9521980285645, + "y":2023.1904199123383, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "473b0bea.e2adf4", + "7b199046.8906d", + "416141e2.fa511" + ] + ] + }, + { + "id":"f9d8c7c9.5d1db8", + "type":"comment", + "name":"Rollback parent", + "info":"", + "comments":"", + "x":2038.9521255493164, + "y":1992.8570504188538, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"473b0bea.e2adf4", + "type":"not-found", + "name":"not-found", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2566.2602462768555, + "y":2083.8553862571716, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "4115590f.ef7568" + ] + ] + }, + { + "id":"7b199046.8906d", + "type":"failure", + "name":"failure", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2557.26029586792, + "y":2052.355412006378, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "4115590f.ef7568" + ] + ] + }, + { + "id":"416141e2.fa511", + "type":"success", + "name":"success", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2561.0103340148926, + "y":2022.7125168815255, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "4115590f.ef7568" + ] + ] + }, + { + "id":"4115590f.ef7568", + "type":"block", + "name":"block", + "xml":"\n", + "atomic":"false", + "comments":"", + "outputs":1, + "x":2702.666301727295, + "y":2018.9046860709786, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"bf37a377.dd8a4", + "type":"comment", + "name":"Generate naming", + "info":"", + "comments":"", + "x":1459.3862762451172, + "y":1033.767225265503, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"f5d1d70b.ddc6f8", + "type":"execute", + "name":"execute Properties", + "xml":"\n \n \n", + "comments":"", + "outputs":1, + "x":904, + "y":502, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"e8c6a2dd.e4b3e", + "type":"get-resource", + "name":"get-resource parent service instance", + "xml":"\n", + "comments":"", + "outputs":1, + "x":917, + "y":783, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "8991d34b.f48af", + "dbef2e21.0da74" + ] + ] + }, + { + "id":"dbef2e21.0da74", + "type":"success", + "name":"success", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1180, + "y":777, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "aae390e8.74c6e" + ] + ] + }, + { + "id":"8991d34b.f48af", + "type":"other", + "name":"other", + "xml":"\n", + "comments":"", + "outputs":1, + "x":993, + "y":878, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "d4ea2429.a9c908" + ] + ] + }, + { + "id":"d4ea2429.a9c908", + "type":"returnFailure", + "name":"return failure - parent service instance not found", + "xml":"\n\t\n\t\n \n", + "comments":"", + "x":920, + "y":939, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"be6a5ce7.0ed", + "type":"for", + "name":"for parent vnf parameters", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1970, + "y":1223, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "95805190.debbe" + ] + ] + }, + { + "id":"95805190.debbe", + "type":"switchNode", + "name":"switch parameter name", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2092, + "y":1315, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "508d4d24.3b9154", + "1ac32417.a325dc" + ] + ] + }, + { + "id":"508d4d24.3b9154", + "type":"other", + "name":"vgmux_private_ip_0", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2318, + "y":1319, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "861fd9c6.6015f8" + ] + ] + }, + { + "id":"755943b8.1a105c", + "type":"set", + "name":"set tmp.vgmux-bearer-ip", + "xml":"\n\n\n", + "comments":"", + "x":2550.9999771118164, + "y":1380.0000400543213, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"1ac32417.a325dc", + "type":"other", + "name":"vgmux_private_ip_2", + "xml":"\n", + "comments":"", + "outputs":1, + "x":2320, + "y":1379, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "755943b8.1a105c" + ] + ] + }, + { + "id":"861fd9c6.6015f8", + "type":"set", + "name":"set tmp.vgmux-lan-ip", + "xml":"\n\n\n", + "comments":"", + "x":2540.9999771118164, + "y":1322.0000381469727, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"59dac422.4bc30c", + "type":"set", + "name":"set default assignments", + "xml":"\n\n\n", + "comments":"", + "x":1450, + "y":1177, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"338371c3.03166e", + "type":"execute", + "name":"generate allotted-resource url", + "xml":"\n \n \n \n \n", + "comments":"", + "outputs":1, + "x":900, + "y":545, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"40af5f1c.9055f", + "type":"call", + "name":"call GENERIC-RESOURCE-API:manage-vni-assignment", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1537, + "y":1322, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"d857982b.5cce48", + "type":"set", + "name":"set actions = reserve, pools = VNI, VGW", + "xml":"\n\n\n\n", + "comments":"", + "x":1473, + "y":1268, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + }, + { + "id":"bec51e2f.be8cc", + "type":"execute", + "name":"execute RestApiCallNode - Get AR by id", + "xml":"\n \n \n \n \n \n \n\n", + "comments":"", + "outputs":1, + "x":824, + "y":680, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "eb1ff0c9.ef38e", + "99804d99.5a352" + ] + ] + }, + { + "id":"30b6665f.e4a89a", + "type":"switchNode", + "name":"Does parent service instance have vnf parameters?", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1517, + "y":1218, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "a8ab7150.c4542" + ] + ] + }, + { + "id":"a8ab7150.c4542", + "type":"outcomeTrue", + "name":"true", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1779, + "y":1220, + "z":"6d778d5b.c45f64", + "wires":[ + [ + "be6a5ce7.0ed" + ] + ] + }, + { + "id":"de53cfb9.dddbd", + "type":"call", + "name":"call GENERIC-RESOURCE-API:manage-ipaddr-assignment", + "xml":"\n", + "comments":"", + "outputs":1, + "x":1533, + "y":1369, + "z":"6d778d5b.c45f64", + "wires":[ + [ + + ] + ] + }, + { + "id":"abea3cf1.3111d", + "type":"set", + "name":"Handle tx parameters", + "xml":"\n\n\n\n\n\n\n\n\n\n\n", + "comments":"", + "x":1425, + "y":1458, + "z":"6d778d5b.c45f64", + "wires":[ + + ] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.xml index c4b49c35..3eae828d 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_tunnelxconn-topology-operation-assign.xml @@ -1,271 +1,332 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + pfx='pfx' local-only='false' force='false'> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file