[ { "id": "61751fea.5e29c", "type": "save", "name": "get all-vpn-bindings from aai", "xml": "\n", "comments": "", "outputs": 1, "x": 309, "y": 328, "z": "b60623c5.e2d9e8", "wires": [ [ "9390d80.e27dda8", "a2edd3b5.431178", "d95bcddf.5304c8" ] ] }, { "id": "9390d80.e27dda8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 497, "y": 341, "z": "b60623c5.e2d9e8", "wires": [ [ "122deece.249539" ] ] }, { "id": "a2edd3b5.431178", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 504.4909362792969, "y": 383.57403564453125, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "d95bcddf.5304c8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 495, "y": 430, "z": "b60623c5.e2d9e8", "wires": [ [ "c3fd03f5.ced1a" ] ] }, { "id": "122deece.249539", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 670, "y": 339, "z": "b60623c5.e2d9e8", "wires": [ [ "26858e32.576aa2" ] ] }, { "id": "26858e32.576aa2", "type": "for", "name": "for vpnidx in all-vpn-bindings", "xml": "\n", "comments": "", "outputs": 1, "x": 899, "y": 340, "z": "b60623c5.e2d9e8", "wires": [ [ "b9b3eee1.451228" ] ] }, { "id": "b9b3eee1.451228", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1114, "y": 341, "z": "b60623c5.e2d9e8", "wires": [ [ "1ab82d5c.a19413" ] ] }, { "id": "7e7f1310.5e5bcc", "type": "switchNode", "name": "switch vpnuuid is for this slice", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1368, "y": 263, "z": "b60623c5.e2d9e8", "wires": [ [ "55ca13fd.72ee7c", "6e8bc799.ce2fa8" ] ] }, { "id": "55ca13fd.72ee7c", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1585, "y": 242, "z": "b60623c5.e2d9e8", "wires": [ [ "1ab82d5c.a19413" ] ] }, { "id": "6e8bc799.ce2fa8", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1585, "y": 291, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "1ab82d5c.a19413", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1769, "y": 328, "z": "b60623c5.e2d9e8", "wires": [ [ "554ac9a2.79f95", "2ade390a.34dac6", "c0e6872b.6bc578" ] ] }, { "id": "c3307b8c.0344e", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 128, "y": 69, "z": "b60623c5.e2d9e8", "wires": [ [ "7e5b3842.1b2ff" ] ] }, { "id": "7e5b3842.1b2ff", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 412.2856903076172, "y": 130.23810863494873, "z": "b60623c5.e2d9e8", "wires": [ [ "ff8ac0a6.a31ac8" ] ] }, { "id": "ff8ac0a6.a31ac8", "type": "method", "name": "method cll-vnf-topology-operation-cll-F1-Activate-w-Protection", "xml": "\n", "comments": "", "outputs": 1, "x": 418.42860412597656, "y": 215.00003051757812, "z": "b60623c5.e2d9e8", "wires": [ [ "610b4dde.c4293c" ] ] }, { "id": "610b4dde.c4293c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 728.238037109375, "y": 206.66668701171875, "z": "b60623c5.e2d9e8", "wires": [ [ "61751fea.5e29c", "fda13949.60eb78", "47d2cfff.4a0e4", "8845442c.1d5de8", "72564454.b964f4" ] ] }, { "id": "554ac9a2.79f95", "type": "set", "name": "set tmp.aai.vpn-binding", "xml": "\n\n", "comments": "", "x": 1986, "y": 266, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "e1c41eb3.6dc5b8", "type": "set", "name": "set attachment_param for OTN A", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 4155, "y": 152, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "7981558d.d1f29c", "type": "execute", "name": "execute RestApiCallNode Create OTN tunnel with token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 4236, "y": 467, "z": "b60623c5.e2d9e8", "wires": [ [ "4cd7b5eb.5f75fc", "8c7597f3.3a32c" ] ] }, { "id": "4cd7b5eb.5f75fc", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 4545.5, "y": 436, "z": "b60623c5.e2d9e8", "wires": [ [ "6a15735b.8f38bc" ] ] }, { "id": "8c7597f3.3a32c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4550.5, "y": 501, "z": "b60623c5.e2d9e8", "wires": [ [ "531c74ae.aa6424" ] ] }, { "id": "6a15735b.8f38bc", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 4721.5, "y": 436, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "531c74ae.aa6424", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 4717, "y": 501, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "43cf60a0.0fca68", "type": "set", "name": "set sotn_value", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 4100.5, "y": 721, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "1699b103.56f9ff", "type": "execute", "name": "execute RestApiCallNode Create ethernet Service without token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 4254.5, "y": 769, "z": "b60623c5.e2d9e8", "wires": [ [ "430829b5.022a48", "ab60153e.89b358" ] ] }, { "id": "430829b5.022a48", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 4600, "y": 750, "z": "b60623c5.e2d9e8", "wires": [ [ "af17e669.a567c" ] ] }, { "id": "ab60153e.89b358", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4604, "y": 790, "z": "b60623c5.e2d9e8", "wires": [ [ "879a181e.1e28f" ] ] }, { "id": "af17e669.a567c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 4758, "y": 750, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "879a181e.1e28f", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 4761.5, "y": 790, "z": "b60623c5.e2d9e8", "wires": [ [ "c2dfb11c.b0c48", "18154ac9.e63ffd" ] ] }, { "id": "c2dfb11c.b0c48", "type": "save", "name": "update vpn-binding A resource (aka. OTN domainA) in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 5092, "y": 755, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "4bfe8ff3.b5155", "type": "comment", "name": "TODO: FIXME", "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?", "comments": "", "x": 4956, "y": 714, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "18154ac9.e63ffd", "type": "save", "name": "update connectivity resource in AAI", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 5019, "y": 801, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "be8a4aef.c70ad", "type": "set", "name": "set pnf-name", "xml": "\n\n", "comments": "", "x": 4093, "y": 200, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "c13323e9.9191e8", "type": "get-resource", "name": "get-resource src pnf", "xml": "\n\n \n", "comments": "", "outputs": 1, "x": 4119, "y": 317, "z": "b60623c5.e2d9e8", "wires": [ [ "fa844cfe.7b9158", "40f7f2e0.45e324", "9ec0d41c.764348" ] ] }, { "id": "fa844cfe.7b9158", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4314.5001220703125, "y": 269, "z": "b60623c5.e2d9e8", "wires": [ [ "c5cba661.1feb9" ] ] }, { "id": "40f7f2e0.45e324", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 4306.5001220703125, "y": 324, "z": "b60623c5.e2d9e8", "wires": [ [ "fa86521c.e230b8" ] ] }, { "id": "c5cba661.1feb9", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4458.8824462890625, "y": 268.6556701660156, "z": "b60623c5.e2d9e8", "wires": [ [ "fff76825.ceb828" ] ] }, { "id": "12d83cc7.207cc3", "type": "outcome", "name": "esr-thirdparty-sdnc", "xml": "\n", "comments": "", "outputs": 1, "x": 5041, "y": 271, "z": "b60623c5.e2d9e8", "wires": [ [ "f3a906e6.516618" ] ] }, { "id": "fff76825.ceb828", "type": "for", "name": "for each relationship", "xml": "\n", "comments": "", "outputs": 1, "x": 4643, "y": 267, "z": "b60623c5.e2d9e8", "wires": [ [ "8f09ed7e.8205c8" ] ] }, { "id": "8f09ed7e.8205c8", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 4838, "y": 267, "z": "b60623c5.e2d9e8", "wires": [ [ "12d83cc7.207cc3" ] ] }, { "id": "9ec0d41c.764348", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 4311.5001220703125, "y": 381, "z": "b60623c5.e2d9e8", "wires": [ [ "4cb38d5a.2cd9fc" ] ] }, { "id": "4cb38d5a.2cd9fc", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n ", "comments": "", "outputs": 1, "x": 5426, "y": 284, "z": "b60623c5.e2d9e8", "wires": [ [ "11189fd0.36c55", "2f53389c.6ed7", "160dc233.835476" ] ] }, { "id": "f3a906e6.516618", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 5220, "y": 271, "z": "b60623c5.e2d9e8", "wires": [ [ "8e3bb227.50f04", "fd5c650b.7ed3f8" ] ] }, { "id": "8e3bb227.50f04", "type": "set", "name": "set esr-thirdparty-sdnc domainA id", "xml": "\n\n", "comments": "", "x": 5456, "y": 232, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "11189fd0.36c55", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 5636, "y": 275, "z": "b60623c5.e2d9e8", "wires": [ [ "aadf27e6.e781b8" ] ] }, { "id": "2f53389c.6ed7", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 5628, "y": 330, "z": "b60623c5.e2d9e8", "wires": [ [ "fd2ad840.4523f" ] ] }, { "id": "160dc233.835476", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 5633, "y": 387, "z": "b60623c5.e2d9e8", "wires": [ [ "2a94704d.0d4" ] ] }, { "id": "2a94704d.0d4", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 5995, "y": 269, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "33053457.2cf334", "type": "set", "name": "set attachment_param for OTN B", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3562, "y": 1609, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "4445f35f.408fdc", "type": "execute", "name": "execute RestApiCallNode Create OTN tunnel with token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3625, "y": 1938, "z": "b60623c5.e2d9e8", "wires": [ [ "862258db.691038", "af408a0a.92301" ] ] }, { "id": "862258db.691038", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 3920.5, "y": 1905, "z": "b60623c5.e2d9e8", "wires": [ [ "95d8110a.825b98" ] ] }, { "id": "af408a0a.92301", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3925.5, "y": 1970, "z": "b60623c5.e2d9e8", "wires": [ [ "ef7aa326.5032b8" ] ] }, { "id": "95d8110a.825b98", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 4088.5, "y": 1905, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "ef7aa326.5032b8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 4099, "y": 1970, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "f246db35.fbb0b8", "type": "set", "name": "set pnf-name", "xml": "\n\n", "comments": "", "x": 3501, "y": 1666, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "2f733fde.bfa8d8", "type": "get-resource", "name": "get-resource dst pnf", "xml": "\n\n \n", "comments": "", "outputs": 1, "x": 3521, "y": 1763, "z": "b60623c5.e2d9e8", "wires": [ [ "d82ed114.d26fe", "9b6a74e2.82fcf", "105e680c.d4fe88" ] ] }, { "id": "d82ed114.d26fe", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 3723.5001220703125, "y": 1716, "z": "b60623c5.e2d9e8", "wires": [ [ "3d1669ca.d8e9be" ] ] }, { "id": "9b6a74e2.82fcf", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 3715.5001220703125, "y": 1771, "z": "b60623c5.e2d9e8", "wires": [ [ "28df2cef.da0a5c" ] ] }, { "id": "3d1669ca.d8e9be", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 3867.8824462890625, "y": 1713.6556701660156, "z": "b60623c5.e2d9e8", "wires": [ [ "b0c477a0.14b6b8" ] ] }, { "id": "b0c477a0.14b6b8", "type": "for", "name": "for each relationship", "xml": "\n", "comments": "", "outputs": 1, "x": 4052, "y": 1728, "z": "b60623c5.e2d9e8", "wires": [ [ "e68df009.7524f" ] ] }, { "id": "105e680c.d4fe88", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 3720.5001220703125, "y": 1828, "z": "b60623c5.e2d9e8", "wires": [ [ "3376d063.6334f8" ] ] }, { "id": "3376d063.6334f8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 4450, "y": 1732, "z": "b60623c5.e2d9e8", "wires": [ [ "de4526ed.169098" ] ] }, { "id": "e68df009.7524f", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 4247, "y": 1728, "z": "b60623c5.e2d9e8", "wires": [ [ "86c78b55.020ad8" ] ] }, { "id": "bd56a946.09bfc8", "type": "execute", "name": "get esr-thirdparty-sdnc", "xml": "", "comments": "", "outputs": 1, "x": 4835, "y": 1731, "z": "b60623c5.e2d9e8", "wires": [ [ "e62cd9e9.79901", "3835956c.352dfa", "ef4cce16.af464" ] ] }, { "id": "de4526ed.169098", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 4627, "y": 1724, "z": "b60623c5.e2d9e8", "wires": [ [ "84662003.28e938", "bd56a946.09bfc8" ] ] }, { "id": "84662003.28e938", "type": "set", "name": "set esr-thirdparty-sdnc domainB id", "xml": "\n\n", "comments": "", "x": 4865, "y": 1679, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "2e3a7484.41bcbc", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 5404, "y": 1716, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "e62cd9e9.79901", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 5045, "y": 1722, "z": "b60623c5.e2d9e8", "wires": [ [ "bb7e5ab5.c4089" ] ] }, { "id": "3835956c.352dfa", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 5037, "y": 1777, "z": "b60623c5.e2d9e8", "wires": [ [ "acb63215.67cbc8" ] ] }, { "id": "ef4cce16.af464", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 5042, "y": 1834, "z": "b60623c5.e2d9e8", "wires": [ [ "2e3a7484.41bcbc" ] ] }, { "id": "1dc25027.0c33f8", "type": "switchNode", "name": "switch vpn-binding has dst-access-ltp", "xml": "\n", "comments": "", "outputs": 1, "x": 3076, "y": 680, "z": "b60623c5.e2d9e8", "wires": [ [ "22e86b98.d5cd94", "18519633.e9ee92" ] ] }, { "id": "22e86b98.d5cd94", "type": "outcome", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 3290, "y": 717, "z": "b60623c5.e2d9e8", "wires": [ [ "d8801466.520d4" ] ] }, { "id": "18519633.e9ee92", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 3292, "y": 655, "z": "b60623c5.e2d9e8", "wires": [ [ "6bc727fb.e5e2c8" ] ] }, { "id": "d8801466.520d4", "type": "switchNode", "name": "switch vpn-binding has src-access-ltp", "xml": "\n", "comments": "", "outputs": 1, "x": 2870, "y": 1960, "z": "b60623c5.e2d9e8", "wires": [ [ "57adf29e.03275c", "3c463d1c.a1e9ca" ] ] }, { "id": "57adf29e.03275c", "type": "outcome", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 3123, "y": 1994, "z": "b60623c5.e2d9e8", "wires": [ [ "163451dc.e800ce" ] ] }, { "id": "3c463d1c.a1e9ca", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 3123, "y": 1938, "z": "b60623c5.e2d9e8", "wires": [ [ "72b99bc1.9d63c4" ] ] }, { "id": "163451dc.e800ce", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 3274, "y": 1994, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "2a6d840b.d2c9ec", "type": "set", "name": "set vpn-bindingA and connectivityA", "xml": "\n\n\n", "comments": "", "x": 4150, "y": 92, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "24792ed6.12e172", "type": "set", "name": "set vpn-bindingB and connectivityB", "xml": "\n\n\n\n", "comments": "", "x": 3558, "y": 1551, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "fe0662dd.a80948", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 3841, "y": 349, "z": "b60623c5.e2d9e8", "wires": [ [ "2a6d840b.d2c9ec", "e1c41eb3.6dc5b8", "be8a4aef.c70ad", "c13323e9.9191e8", "7981558d.d1f29c", "1721d523.151643", "9094f518.043e98", "f54721e.ec69de" ] ] }, { "id": "72b99bc1.9d63c4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3274, "y": 1937, "z": "b60623c5.e2d9e8", "wires": [ [ "24792ed6.12e172", "33053457.2cf334", "f246db35.fbb0b8", "2f733fde.bfa8d8", "4445f35f.408fdc", "7c2a5c1b.45951c", "db1559a9.21dcb8", "64935ddb.b635b4" ] ] }, { "id": "1ddc6cc6.41baa3", "type": "set", "name": "set sotn_value", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 3512, "y": 2236, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "88e2026c.753db8", "type": "execute", "name": "execute RestApiCallNode Create ethernet Service without token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3666, "y": 2284, "z": "b60623c5.e2d9e8", "wires": [ [ "e41adb3.0072828", "6a4db145.9abb38" ] ] }, { "id": "e41adb3.0072828", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 4011.5, "y": 2265, "z": "b60623c5.e2d9e8", "wires": [ [ "b46428d7.0cf41" ] ] }, { "id": "6a4db145.9abb38", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4015.5, "y": 2305, "z": "b60623c5.e2d9e8", "wires": [ [ "1616e093.24d98f" ] ] }, { "id": "b46428d7.0cf41", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 4169.5, "y": 2265, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "1616e093.24d98f", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 4173, "y": 2305, "z": "b60623c5.e2d9e8", "wires": [ [ "f5ad5aa7.4c2ca", "f30a934b.4a146" ] ] }, { "id": "f5ad5aa7.4c2ca", "type": "save", "name": "update vpn-binding B resource (aka. OTN domainB) in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 4513, "y": 2304, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "14882444.425ec4", "type": "comment", "name": "TODO: FIXME", "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?", "comments": "", "x": 4371, "y": 2262, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "f30a934b.4a146", "type": "save", "name": "update connectivity resource in AAI", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 4442, "y": 2353, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "35b5f42.3d7048c", "type": "set", "name": "set attachment_param (gfp-n) for OTN", "xml": "\n\n", "comments": "", "x": 3067, "y": 620, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "672937f1.5c86c", "type": "comment", "name": "only dst ttp exists. No src", "info": "", "comments": "", "x": 3662, "y": 306, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "cf6d8000.914ec", "type": "comment", "name": "only src ttp exists. No dst", "info": "", "comments": "", "x": 3219, "y": 1884, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "6bc727fb.e5e2c8", "type": "switchNode", "name": "switch vpn-binding has src-access-ltp", "xml": "\n", "comments": "", "outputs": 1, "x": 3398, "y": 468, "z": "b60623c5.e2d9e8", "wires": [ [ "16d04d16.35cc13", "81d801a9.0be79" ] ] }, { "id": "81d801a9.0be79", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 3640, "y": 1057, "z": "b60623c5.e2d9e8", "wires": [ [ "87bd1b21.78447" ] ] }, { "id": "16d04d16.35cc13", "type": "outcome", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 3634, "y": 348, "z": "b60623c5.e2d9e8", "wires": [ [ "fe0662dd.a80948" ] ] }, { "id": "87bd1b21.78447", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 3798, "y": 1056, "z": "b60623c5.e2d9e8", "wires": [ [ "6a4fd43b.29d0a4", "bb732000.b077a", "14bb373f.07c761", "ee3130b2.515378", "25e58429.ad4ee4", "13fd978.b0ce7e9" ] ] }, { "id": "bb732000.b077a", "type": "set", "name": "set attachment_param for OTN G", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 4062, "y": 939, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "25e58429.ad4ee4", "type": "execute", "name": "execute RestApiCallNode Create OTN tunnel with token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 4143, "y": 1254, "z": "b60623c5.e2d9e8", "wires": [ [ "69f73464.0e3e8c", "5f37ff67.4bb2f" ] ] }, { "id": "69f73464.0e3e8c", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 4452.5, "y": 1223, "z": "b60623c5.e2d9e8", "wires": [ [ "43cec921.9d623" ] ] }, { "id": "5f37ff67.4bb2f", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4457.5, "y": 1288, "z": "b60623c5.e2d9e8", "wires": [ [ "a900d0fc.b4f8e" ] ] }, { "id": "43cec921.9d623", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 4628.5, "y": 1223, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "a900d0fc.b4f8e", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 4624, "y": 1288, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "14bb373f.07c761", "type": "set", "name": "set pnf-name", "xml": "\n\n", "comments": "", "x": 4000, "y": 987, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "ee3130b2.515378", "type": "get-resource", "name": "get-resource src pnf", "xml": "\n\n \n", "comments": "", "outputs": 1, "x": 4026, "y": 1104, "z": "b60623c5.e2d9e8", "wires": [ [ "7994d48a.ca38a4", "46376621.e31dd8", "662f2070.bc1d4" ] ] }, { "id": "7994d48a.ca38a4", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 4221.5001220703125, "y": 1056, "z": "b60623c5.e2d9e8", "wires": [ [ "28f98c5.d17c774" ] ] }, { "id": "46376621.e31dd8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 4213.5001220703125, "y": 1111, "z": "b60623c5.e2d9e8", "wires": [ [ "b6666e55.258c4" ] ] }, { "id": "28f98c5.d17c774", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 4365.8824462890625, "y": 1055.6556701660156, "z": "b60623c5.e2d9e8", "wires": [ [ "abee57b5.2a2df" ] ] }, { "id": "abee57b5.2a2df", "type": "for", "name": "for each relationship", "xml": "\n", "comments": "", "outputs": 1, "x": 4550, "y": 1054, "z": "b60623c5.e2d9e8", "wires": [ [ "4e7ce11e.d4486" ] ] }, { "id": "4e7ce11e.d4486", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 4745, "y": 1054, "z": "b60623c5.e2d9e8", "wires": [ [ "cd73aa8e.57927" ] ] }, { "id": "662f2070.bc1d4", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 4218.5001220703125, "y": 1168, "z": "b60623c5.e2d9e8", "wires": [ [ "65647ec7.0c6e5" ] ] }, { "id": "65647ec7.0c6e5", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n", "comments": "", "x": 4057, "y": 879, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "cd73aa8e.57927", "type": "outcome", "name": "esr-thirdparty-sdnc", "xml": "\n", "comments": "", "outputs": 1, "x": 4948, "y": 1058, "z": "b60623c5.e2d9e8", "wires": [ [ "d2b1d416.053a58" ] ] }, { "id": "66918eb9.ab92e8", "type": "execute", "name": "get esr-thirdparty-sdnc", "xml": "", "comments": "", "outputs": 1, "x": 5333, "y": 1071, "z": "b60623c5.e2d9e8", "wires": [ [ "f8b9a196.010a1", "fd17d420.f985", "40d42743.f42fd8" ] ] }, { "id": "d2b1d416.053a58", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 5127, "y": 1058, "z": "b60623c5.e2d9e8", "wires": [ [ "c71b3067.5066e8", "66918eb9.ab92e8" ] ] }, { "id": "c71b3067.5066e8", "type": "set", "name": "set esr-thirdparty-sdnc domainG id", "xml": "\n\n", "comments": "", "x": 5363, "y": 1019, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "f8b9a196.010a1", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 5543, "y": 1062, "z": "b60623c5.e2d9e8", "wires": [ [ "27038b3e.3bcfc4" ] ] }, { "id": "fd17d420.f985", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 5535, "y": 1117, "z": "b60623c5.e2d9e8", "wires": [ [ "967c6c86.0bbb78" ] ] }, { "id": "40d42743.f42fd8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 5540, "y": 1174, "z": "b60623c5.e2d9e8", "wires": [ [ "35455e8c.6afe9a" ] ] }, { "id": "35455e8c.6afe9a", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 5902, "y": 1056, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "ce5771d5.1db118", "type": "comment", "name": "both src and dst exist", "info": "", "comments": "", "x": 3676, "y": 997, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "2ade390a.34dac6", "type": "switchNode", "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)", "xml": "\n", "comments": "", "outputs": 1, "x": 2238, "y": 724, "z": "b60623c5.e2d9e8", "wires": [ [ "faa20144.28683", "a3241eaf.e05748" ] ] }, { "id": "a3241eaf.e05748", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 2645, "y": 742, "z": "b60623c5.e2d9e8", "wires": [ [ "73c18a9e.ba438c" ] ] }, { "id": "faa20144.28683", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2645, "y": 687, "z": "b60623c5.e2d9e8", "wires": [ [ "d5f3133.6f4a0f" ] ] }, { "id": "d5f3133.6f4a0f", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2801, "y": 685, "z": "b60623c5.e2d9e8", "wires": [ [ "35b5f42.3d7048c", "1dc25027.0c33f8" ] ] }, { "id": "73c18a9e.ba438c", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 2778, "y": 743, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "fda13949.60eb78", "type": "set", "name": "unset tmp.aai.all-vpn-bindings", "xml": "\n\n", "comments": "", "x": 955, "y": 159, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "38085312.8a965c", "type": "comment", "name": "CLL new", "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}", "comments": "", "x": 4072, "y": 577, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "1721d523.151643", "type": "set", "name": "set leaf-otn-tunnels-list array", "xml": "\n\n\n\n", "comments": "", "x": 4132, "y": 616, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "47d2cfff.4a0e4", "type": "set", "name": "unset leaf-otn-tunnels-list array", "xml": "\n\n\n\n", "comments": "", "x": 948, "y": 67, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "be7a05aa.4b83b", "type": "comment", "name": "CLL new", "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}", "comments": "", "x": 3484, "y": 2093, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "7c2a5c1b.45951c", "type": "set", "name": "set root-otn-tunnels-list array", "xml": "\n\n\n\n", "comments": "", "x": 3540, "y": 2142, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "f179b432.4e819", "type": "set", "name": "unset root-otn-tunnels-list array", "xml": "\n\n\n\n", "comments": "", "x": 948, "y": 106, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "8845442c.1d5de8", "type": "execute", "name": "execute properties", "xml": "\n \n ", "comments": "", "outputs": 1, "x": 979, "y": 207, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "72564454.b964f4", "type": "save", "name": "get service-instance from aai", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 189, "y": 682, "z": "b60623c5.e2d9e8", "wires": [ [ "130c8849.c68768", "9607da93.a7cfb8", "675a11bf.37e84" ] ] }, { "id": "130c8849.c68768", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 408, "y": 620, "z": "b60623c5.e2d9e8", "wires": [ [ "19b84d16.53d643" ] ] }, { "id": "9607da93.a7cfb8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 417.490966796875, "y": 662.5740356445312, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "675a11bf.37e84", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 406, "y": 709, "z": "b60623c5.e2d9e8", "wires": [ [ "13e02ffd.705ef8" ] ] }, { "id": "19b84d16.53d643", "type": "for", "name": "for each relationship", "xml": "\n", "comments": "", "outputs": 1, "x": 605, "y": 616, "z": "b60623c5.e2d9e8", "wires": [ [ "95aa58da.ce0078" ] ] }, { "id": "13e02ffd.705ef8", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 575, "y": 710, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "95aa58da.ce0078", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 828.33349609375, "y": 615.9999389648438, "z": "b60623c5.e2d9e8", "wires": [ [ "82937c17.5a3278" ] ] }, { "id": "82937c17.5a3278", "type": "outcome", "name": "connectivity", "xml": "\n", "comments": "", "outputs": 1, "x": 1029.0001335144043, "y": 617.000020980835, "z": "b60623c5.e2d9e8", "wires": [ [ "7d4de732.7e236" ] ] }, { "id": "7d4de732.7e236", "type": "save", "name": "get connectivity from aai", "xml": "\n", "comments": "", "outputs": 1, "x": 159, "y": 879, "z": "b60623c5.e2d9e8", "wires": [ [ "f6447d51.51534", "d2723085.ef21f", "14bf719a.197f76" ] ] }, { "id": "f6447d51.51534", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 367, "y": 843, "z": "b60623c5.e2d9e8", "wires": [ [ "93da3cfa.70c248" ] ] }, { "id": "d2723085.ef21f", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 367.490966796875, "y": 888.5740356445312, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "14bf719a.197f76", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 365, "y": 932, "z": "b60623c5.e2d9e8", "wires": [ [ "836041f9.6829f8" ] ] }, { "id": "836041f9.6829f8", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 534, "y": 933, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "a94aa53a.b107d8", "type": "for", "name": "for each relationship", "xml": "\n\n", "comments": "", "outputs": 1, "x": 506, "y": 1427, "z": "b60623c5.e2d9e8", "wires": [ [ "21c47827.df1568" ] ] }, { "id": "21c47827.df1568", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 709, "y": 1439, "z": "b60623c5.e2d9e8", "wires": [ [ "18be783b.f07278" ] ] }, { "id": "18be783b.f07278", "type": "outcome", "name": "UNI", "xml": "\n", "comments": "", "outputs": 1, "x": 875, "y": 1436, "z": "b60623c5.e2d9e8", "wires": [ [ "11fb7f76.b02469" ] ] }, { "id": "11fb7f76.b02469", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1036, "y": 1433, "z": "b60623c5.e2d9e8", "wires": [ [ "47d6d37a.9fb43c", "1c027792.461348", "ea05bf35.5069", "9d31ed5b.d2c91", "23eb7cf4.f6cfdc", "99b18acf.7ec528" ] ] }, { "id": "1c027792.461348", "type": "set", "name": "unset tmp.aai.uni", "xml": "\n\n", "comments": "", "x": 1242, "y": 1032.9999389648438, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "47d6d37a.9fb43c", "type": "save", "name": "get uni from aai", "xml": "\n", "comments": "", "outputs": 1, "x": 1239, "y": 1077.9999389648438, "z": "b60623c5.e2d9e8", "wires": [ [ "2a120b9c.2b340c", "41aafa7d.002584", "b80f04fd.7f4018" ] ] }, { "id": "41aafa7d.002584", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1434.490966796875, "y": 1051.5739135742188, "z": "b60623c5.e2d9e8", "wires": [ [ "b752ad58.1bdf1" ] ] }, { "id": "b80f04fd.7f4018", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1430, "y": 1095.9998779296875, "z": "b60623c5.e2d9e8", "wires": [ [ "81604b65.13211" ] ] }, { "id": "b752ad58.1bdf1", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n\n", "comments": "", "x": 1598, "y": 1095.9998779296875, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "1b5d0889.20238f", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1600, "y": 1142.9998779296875, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "2a120b9c.2b340c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1431, "y": 1142.9998779296875, "z": "b60623c5.e2d9e8", "wires": [ [ "1b5d0889.20238f" ] ] }, { "id": "450a13df.b4e0a4", "type": "comment", "name": "CLL new", "info": "construct two array structures like these:\n\n${otn-tunnels-name-list[${1}].otn-tunnel-name}\n\n----------------\n${ethernet-srv-end-points-list[${1}].ethernet-end-point-name}\n${ethernet-srv-end-points-list[${1}].index-number},\n${ethernet-srv-end-points-list[${1}].eth-node-id},\n${ethernet-srv-end-points-list[${1}].eth-node-tp-id},\n${ethernet-srv-end-points-list[${1}].leafOrRootAccess}\n${ethernet-srv-end-points-list[${1}].cvlan}\n${ethernet-srv-end-points-list[${1}].CIR}\n${ethernet-srv-end-points-list[${1}].EIR}", "comments": "", "x": 1213, "y": 1664, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "ea05bf35.5069", "type": "set", "name": "set ethernet-srv-end-points-list array", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 1304, "y": 1718, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "93a880c5.cd0b3", "type": "set", "name": "unset ethernet-srv-end-points-list", "xml": "\n\n\n", "comments": "", "x": 1980.5, "y": 1131, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "481f95ef.87ef1c", "type": "set", "name": "unset ethernet-srv-end-points-list", "xml": "\n\n\n", "comments": "", "x": 1985.5, "y": 1233, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "c1ad05eb.c84b48", "type": "for", "name": "for each relationship", "xml": "\n\n", "comments": "", "outputs": 1, "x": 469, "y": 1683, "z": "b60623c5.e2d9e8", "wires": [ [ "7f234491.70b134" ] ] }, { "id": "7f234491.70b134", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 701, "y": 1682, "z": "b60623c5.e2d9e8", "wires": [ [ "c6ba5a66.793238" ] ] }, { "id": "c6ba5a66.793238", "type": "outcome", "name": "vpn-binding", "xml": "\n", "comments": "", "outputs": 1, "x": 913, "y": 1683, "z": "b60623c5.e2d9e8", "wires": [ [ "6ed8d899.fdc1a" ] ] }, { "id": "6ed8d899.fdc1a", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 169, "y": 1839, "z": "b60623c5.e2d9e8", "wires": [ [ "d9421c0f.7a0898", "953702c4.2d79b" ] ] }, { "id": "953702c4.2d79b", "type": "set", "name": "unset tmp.aai.vpn-binding", "xml": "\n\n", "comments": "", "x": 404, "y": 1826, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "d9421c0f.7a0898", "type": "save", "name": "get vpn-binding from aai", "xml": "\n", "comments": "", "outputs": 1, "x": 394, "y": 1887, "z": "b60623c5.e2d9e8", "wires": [ [ "329ab1cc.22fb9e", "864547d3.a6077", "b2aa6219.f09508" ] ] }, { "id": "864547d3.a6077", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 607.490966796875, "y": 1871.5740356445312, "z": "b60623c5.e2d9e8", "wires": [ [ "6b83b223.ee9d94" ] ] }, { "id": "b2aa6219.f09508", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 603, "y": 1916, "z": "b60623c5.e2d9e8", "wires": [ [ "4ac70bf0.89675c" ] ] }, { "id": "329ab1cc.22fb9e", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 605, "y": 1976, "z": "b60623c5.e2d9e8", "wires": [ [ "f02a177d.26c7" ] ] }, { "id": "6b83b223.ee9d94", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n\n", "comments": "", "x": 771, "y": 1916, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "f02a177d.26c7", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 774, "y": 1975, "z": "b60623c5.e2d9e8", "wires": [ [ "fc6eb753.cc314", "6f8a0144.f9e8e8" ] ] }, { "id": "ace8d395.16f8f8", "type": "set", "name": "set sotn_value", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 173, "y": 2474, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "fa159141.96876", "type": "execute", "name": "execute RestApiCallNode Create ethernet Service without token", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 316, "y": 2534, "z": "b60623c5.e2d9e8", "wires": [ [ "192fb1d6.9d578e", "7d0ee5a8.eae4dc" ] ] }, { "id": "192fb1d6.9d578e", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 628.5, "y": 2511, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "7d0ee5a8.eae4dc", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 632.5, "y": 2551, "z": "b60623c5.e2d9e8", "wires": [ [ "31d10b34.3ac65c" ] ] }, { "id": "7a578c61.6716c4", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 808.5, "y": 2515, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "31d10b34.3ac65c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 824, "y": 2569, "z": "b60623c5.e2d9e8", "wires": [ [ "34d0fee.5345782" ] ] }, { "id": "e5aa9a1b.90043", "type": "save", "name": "update vpn-binding resource (aka. OTN ) in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1119.5, "y": 2538, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "dceb8020.64dda", "type": "comment", "name": "TODO: FIXME", "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?", "comments": "", "x": 2586.5, "y": 1889, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "34d0fee.5345782", "type": "save", "name": "update connectivity resource in AAI", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1081.5, "y": 2580, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "1840e683.b61c39", "type": "set", "name": "set leafOrRootAccess", "xml": "\n\n", "comments": "", "x": 1946.5, "y": 1169, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "ebd04ab8.6f009", "type": "set", "name": "set leafOrRootAccess", "xml": "\n\n", "comments": "", "x": 1947.5, "y": 1273, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "9094f518.043e98", "type": "save", "name": "update vpn-binding A resource (aka. OTN domainA) in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 4241, "y": 530, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "13fd978.b0ce7e9", "type": "save", "name": "update vpn-binding G resource (aka. OTN domainA) in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 4144, "y": 1349, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "db1559a9.21dcb8", "type": "save", "name": "update vpn-binding B resource (aka. OTN domainB) in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 3638, "y": 2021, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "93da3cfa.70c248", "type": "switchNode", "name": "switch connectivity is not already Activated (i.e. is either Created or Modified)", "xml": "\n", "comments": "", "outputs": 1, "x": 739, "y": 829, "z": "b60623c5.e2d9e8", "wires": [ [ "2c44355c.6d9982", "16b41754.18b639" ] ] }, { "id": "2c44355c.6d9982", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1102, "y": 852, "z": "b60623c5.e2d9e8", "wires": [ [ "58ecddbb.063a6c" ] ] }, { "id": "16b41754.18b639", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1102, "y": 801, "z": "b60623c5.e2d9e8", "wires": [ [ "255e639c.d2ebb4" ] ] }, { "id": "58ecddbb.063a6c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1258, "y": 850, "z": "b60623c5.e2d9e8", "wires": [ [ "9a61b358.c738d8" ] ] }, { "id": "255e639c.d2ebb4", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 1235, "y": 802, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "c0e6872b.6bc578", "type": "set", "name": "unset tmp.aai.vpn-binding", "xml": "\n\n", "comments": "", "x": 1995, "y": 200, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "64935ddb.b635b4", "type": "set", "name": "set root-otn-tunnels-list array", "xml": "\n\n", "comments": "", "x": 3537, "y": 2181, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "f54721e.ec69de", "type": "set", "name": "set leaf-otn-tunnels-list array", "xml": "\n\n", "comments": "", "x": 4127, "y": 654, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "9d31ed5b.d2c91", "type": "set", "name": "set ethernet-srv-end-points-list array", "xml": "\n\n", "comments": "", "x": 1301, "y": 1760, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "7af36070.5c1af", "type": "set", "name": "set filename", "xml": "\n", "comments": "", "x": 480, "y": 1494, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "2d8e3cc1.bb010c", "type": "execute", "name": "execute printContext", "xml": "\n \n", "comments": "", "outputs": 1, "x": 511, "y": 1534, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "fc6eb753.cc314", "type": "set", "name": "set otn-tunnels-name-list array", "xml": "\n\n\n\n", "comments": "", "x": 1059, "y": 1942, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "6f8a0144.f9e8e8", "type": "set", "name": "set otn-tunnels-name-list array", "xml": "\n\n", "comments": "", "x": 1062, "y": 1984, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "1e5bd700.d21b81", "type": "set", "name": "unset otn-tunnels-name-list array", "xml": "\n\n\n\n", "comments": "", "x": 505, "y": 1624, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "144b407f.200e78", "type": "set", "name": "set filename", "xml": "\n", "comments": "", "x": 260, "y": 2003, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "76785af4.e022ac", "type": "execute", "name": "execute printContext", "xml": "\n \n", "comments": "", "outputs": 1, "x": 268, "y": 2060, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "23eb7cf4.f6cfdc", "type": "execute", "name": "execute split tp-id to get pnf-name", "xml": "\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1279, "y": 1609, "z": "b60623c5.e2d9e8", "wires": [ [ "779a259e.64832c", "277a0a61.75069e" ] ] }, { "id": "277a0a61.75069e", "type": "failure", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1502, "y": 1564, "z": "b60623c5.e2d9e8", "wires": [ [ "21f0cc68.0dd77c" ] ] }, { "id": "779a259e.64832c", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1504, "y": 1628, "z": "b60623c5.e2d9e8", "wires": [ [ "db13af98.99768" ] ] }, { "id": "21f0cc68.0dd77c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1667, "y": 1561, "z": "b60623c5.e2d9e8", "wires": [ [ "ec997076.0ceb28" ] ] }, { "id": "db13af98.99768", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 1666, "y": 1624, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "ec997076.0ceb28", "type": "set", "name": "set tmp.uni-node-id-short", "xml": "\n\n", "comments": "", "x": 1887, "y": 1575, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "2341ba90.ed99d6", "type": "outcome", "name": "esr-thirdparty-sdnc", "xml": "\n", "comments": "", "outputs": 1, "x": 1432, "y": 2300, "z": "b60623c5.e2d9e8", "wires": [ [ "35e4a68.098365a" ] ] }, { "id": "701770f6.4dd0f8", "type": "execute", "name": "get esr-thirdparty-sdnc", "xml": "", "comments": "", "outputs": 1, "x": 1817, "y": 2313, "z": "b60623c5.e2d9e8", "wires": [ [ "d75e7467.a58a4", "74ab773b.95bd78", "df0b8ca4.cd7bb8" ] ] }, { "id": "35e4a68.098365a", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1611, "y": 2300, "z": "b60623c5.e2d9e8", "wires": [ [ "fa1aec8.0f5319", "701770f6.4dd0f8" ] ] }, { "id": "fa1aec8.0f5319", "type": "set", "name": "set esr-thirdparty-sdnc domainConn id", "xml": "\n\n", "comments": "", "x": 1847, "y": 2261, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "d75e7467.a58a4", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2027, "y": 2304, "z": "b60623c5.e2d9e8", "wires": [ [ "1ccfad18.1b3fa3" ] ] }, { "id": "74ab773b.95bd78", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 2019, "y": 2359, "z": "b60623c5.e2d9e8", "wires": [ [ "2692af0.8253f52" ] ] }, { "id": "df0b8ca4.cd7bb8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2024, "y": 2416, "z": "b60623c5.e2d9e8", "wires": [ [ "f048da7.b1469a8" ] ] }, { "id": "f048da7.b1469a8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 2386, "y": 2298, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "d3c52589.f54e9", "type": "get-resource", "name": "get-resource src pnf", "xml": "\n\n \n", "comments": "", "outputs": 1, "x": 510, "y": 2346, "z": "b60623c5.e2d9e8", "wires": [ [ "f189c3f1.d69a28", "4452e7a9.eaf9c8", "77af657c.107d34" ] ] }, { "id": "f189c3f1.d69a28", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 705.5001220703125, "y": 2298, "z": "b60623c5.e2d9e8", "wires": [ [ "47b3661c.a1e7d8" ] ] }, { "id": "4452e7a9.eaf9c8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 697.5001220703125, "y": 2353, "z": "b60623c5.e2d9e8", "wires": [ [ "34198ba3.49ea3c" ] ] }, { "id": "47b3661c.a1e7d8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 849.8824462890625, "y": 2297.6556701660156, "z": "b60623c5.e2d9e8", "wires": [ [ "cd5c4879.eeeaf" ] ] }, { "id": "cd5c4879.eeeaf", "type": "for", "name": "for each relationship", "xml": "\n", "comments": "", "outputs": 1, "x": 1034, "y": 2296, "z": "b60623c5.e2d9e8", "wires": [ [ "7bf74b1f.d5837c" ] ] }, { "id": "7bf74b1f.d5837c", "type": "switchNode", "name": "switch related-to", "xml": "\n", "comments": "", "outputs": 1, "x": 1229, "y": 2296, "z": "b60623c5.e2d9e8", "wires": [ [ "2341ba90.ed99d6" ] ] }, { "id": "77af657c.107d34", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 702.5001220703125, "y": 2410, "z": "b60623c5.e2d9e8", "wires": [ [ "6c7ae4ee.17c334" ] ] }, { "id": "6c7ae4ee.17c334", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\t\n\t\n \n", "comments": "", "x": 500, "y": 2258, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "c718737.8cca71", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 245, "y": 2389, "z": "b60623c5.e2d9e8", "wires": [ [ "303a4e11.243e7a", "d3c52589.f54e9" ] ] }, { "id": "72622933.417d18", "type": "comment", "name": "Temporary skipping this check - to support multiple instances in one slice", "info": "", "comments": "", "x": 1459.9666748046875, "y": 206.88333129882812, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "c3fd03f5.ced1a", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 662, "y": 429, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "c72dabdd.dd1b58", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 221.5, "y": 1398, "z": "b60623c5.e2d9e8", "wires": [ [ "a94aa53a.b107d8", "c1ad05eb.c84b48", "7af36070.5c1af", "2d8e3cc1.bb010c", "ace8d395.16f8f8", "fa159141.96876", "1e5bd700.d21b81", "144b407f.200e78", "76785af4.e022ac", "c718737.8cca71", "eca312ef.b3f488" ] ] }, { "id": "99b18acf.7ec528", "type": "switchNode", "name": "switch uni type", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1252, "y": 1236, "z": "b60623c5.e2d9e8", "wires": [ [ "bfa56f6a.14e168", "3c1ef869.c0abd8", "3b2dd259.d313d6", "42d627cc.4d9d98" ] ] }, { "id": "bfa56f6a.14e168", "type": "outcome", "name": "leaf", "xml": "\n", "comments": "", "outputs": 1, "x": 1417, "y": 1218, "z": "b60623c5.e2d9e8", "wires": [ [ "327e25a1.149b82" ] ] }, { "id": "3c1ef869.c0abd8", "type": "outcome", "name": "root", "xml": "\n", "comments": "", "outputs": 1, "x": 1420, "y": 1257, "z": "b60623c5.e2d9e8", "wires": [ [ "bb94632d.8744e" ] ] }, { "id": "42d627cc.4d9d98", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1414, "y": 1335, "z": "b60623c5.e2d9e8", "wires": [ [ "aa99ff1e.001ee" ] ] }, { "id": "3b2dd259.d313d6", "type": "outcome", "name": "secondary-root", "xml": "\n", "comments": "", "outputs": 1, "x": 1437, "y": 1298, "z": "b60623c5.e2d9e8", "wires": [ [ "3c1ff952.ce0566" ] ] }, { "id": "8b34828e.2e2fe8", "type": "set", "name": "unset ethernet-srv-end-points-list", "xml": "\n\n\n", "comments": "", "x": 1983, "y": 1331, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "7c827d8b.b5207c", "type": "set", "name": "set leafOrRootAccess", "xml": "\n\n", "comments": "", "x": 1945, "y": 1371, "z": "b60623c5.e2d9e8", "wires": [] }, { "id": "aa99ff1e.001ee", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 1582, "y": 1335, "z": "b60623c5.e2d9e8", "wires": [ [] ] }, { "id": "327e25a1.149b82", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 1578, "y": 1214, "z": "b60623c5.e2d9e8", "wires": [ [ "1840e683.b61c39" ] ] }, { "id": "bb94632d.8744e", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 1585, "y": 1259, "z": "b60623c5.e2d9e8", "wires": [ [ "ebd04ab8.6f009" ] ] }, { "id": "3c1ff952.ce0566", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 1584, "y": 1299, "z": "b60623c5.e2d9e8", "wires": [ [ "7c827d8b.b5207c" ] ] }, { "id": "9a61b358.c738d8", "type": "switchNode", "name": "switch conn type != mdsc", "xml": "\n\n", "comments": "", "outputs": 1, "x": 218.56666564941406, "y": 1158.933349609375, "z": "b60623c5.e2d9e8", "wires": [ [ "4c9cf74b.527528" ] ] }, { "id": "4c9cf74b.527528", "type": "outcome", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 400.566650390625, "y": 1159.933349609375, "z": "b60623c5.e2d9e8", "wires": [ [ "c72dabdd.dd1b58" ] ] }, { "id": "eca312ef.b3f488", "type": "set", "name": "unset ethernet-srv-end-points-list", "xml": "\n\n\n", "comments": "", "x": 536.566650390625, "y": 1336.9666748046875, "z": "b60623c5.e2d9e8", "wires": [] } ]