X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Ftrans_slicing%2FGENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.json;h=d6eb6865d13ca31bdb201c7065a786f0f5366f7b;hb=542ed62312f705e70d36219df890cd69d947148c;hp=669eca8d1dbc3f74298f6991f6e563b3cff66b21;hpb=67331673496db788f450b8a3acfc8f268ded354f;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.json index 669eca8d..d6eb6865 100644 --- a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.json +++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-activate.json @@ -1,20 +1,20 @@ [ { - "id": "c95751e3.8ae788", + "id": "eb07fd3d.499fe", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 133, - "y": 58, - "z": "978d88fe.49f858", + "x": 142, + "y": 92, + "z": "f351885d.7dcd3", "wires": [ [ - "a120d0c2.d16848" + "39c5ac20.45e1d4" ] ] }, { - "id": "a120d0c2.d16848", + "id": "39c5ac20.45e1d4", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,1663 +22,2326 @@ "comments": "", "xml": "", "outputs": 1, - "x": 264.2856903076172, - "y": 107.23810863494873, - "z": "978d88fe.49f858", + "x": 273.2856903076172, + "y": 141.23810863494873, + "z": "f351885d.7dcd3", "wires": [ [ - "e3f08946.3b4f3" + "2ea16900.365168" ] ] }, { - "id": "e3f08946.3b4f3", + "id": "2ea16900.365168", "type": "method", "name": "method tsli-vnf-topology-operation-trans-slice-activate", "xml": "\n", "comments": "", "outputs": 1, - "x": 267.4286193847656, - "y": 192.00003242492676, - "z": "978d88fe.49f858", + "x": 276.4286193847656, + "y": 226.00003242492676, + "z": "f351885d.7dcd3", "wires": [ [ - "da15bb94.f35d78" + "65a4788.f116c88" ] ] }, { - "id": "da15bb94.f35d78", + "id": "65a4788.f116c88", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 417.238037109375, - "y": 321.6666564941406, - "z": "978d88fe.49f858", + "x": 426.238037109375, + "y": 355.6666564941406, + "z": "f351885d.7dcd3", "wires": [ [ - "a0613c64.0d3d18", - "bec74808.bd7fc8", - "6e589ca9.47c63c", - "a8ba9960.6cb65", - "d40da373.f15598", - "358d1f62.e4f2c8", - "a739ea85.93c65", - "19a0d774.67fb01" + "57f656d8.02c09", + "6ee54bdc.2fdd5c", + "4cf7ab90.c1f3ec" ] ] }, { - "id": "a0613c64.0d3d18", - "type": "set", - "name": "set vnf-level-oper-status to Active", - "xml": "\n\n\n", + "id": "57f656d8.02c09", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", "comments": "", - "x": 760.3849563598633, - "y": 558.6705458434299, - "z": "978d88fe.49f858", + "x": 694.5716552734375, + "y": 742.59716796875, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "bec74808.bd7fc8", - "type": "returnSuccess", - "name": "return success", - "xml": "\n\n\n\n", + "id": "d36cebd.8be9418", + "type": "comment", + "name": "new for TransportSlicing", + "info": "", "comments": "", - "x": 687.5716552734375, - "y": 1430.59716796875, - "z": "978d88fe.49f858", + "x": 726, + "y": 417, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "6e589ca9.47c63c", - "type": "set", - "name": "set vnf-index and vnf-object-path", - "xml": "\n\n", + "id": "6ee54bdc.2fdd5c", + "type": "save", + "name": "get service-instance from aai", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 746, + "y": 513, + "z": "f351885d.7dcd3", + "wires": [ + [ + "4321e029.b0b21", + "df857197.b37508", + "caa9bf62.bc7768" + ] + ] + }, + { + "id": "4321e029.b0b21", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 965, + "y": 451, + "z": "f351885d.7dcd3", + "wires": [ + [ + "1399e348.49a41d" + ] + ] + }, + { + "id": "df857197.b37508", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 974.490966796875, + "y": 493.57403564453125, + "z": "f351885d.7dcd3", + "wires": [ + [ + "9c66f3b5.ba5a" + ] + ] + }, + { + "id": "caa9bf62.bc7768", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 963, + "y": 540, + "z": "f351885d.7dcd3", + "wires": [ + [ + "83f89a00.0c0e7" + ] + ] + }, + { + "id": "9c66f3b5.ba5a", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n\n", "comments": "", - "x": 766.5716018676758, - "y": 506.5968001158908, - "z": "978d88fe.49f858", + "x": 1132, + "y": 541, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "a8ba9960.6cb65", + "id": "1399e348.49a41d", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1162, + "y": 447, + "z": "f351885d.7dcd3", + "wires": [ + [ + "8c655e36.efa51" + ] + ] + }, + { + "id": "8c655e36.efa51", "type": "switchNode", - "name": "switch service-data.vnfs.vnf_length", - "xml": "\n", + "name": "switch related-to", + "xml": "\n", "comments": "", "outputs": 1, - "x": 775, - "y": 261, - "z": "978d88fe.49f858", + "x": 1385.33349609375, + "y": 446.99993896484375, + "z": "f351885d.7dcd3", "wires": [ [ - "752da5f3.b4cc4c", - "b945aefb.e762f", - "8cef6bde.bc7818" + "dae7ff66.9b9c6" ] ] }, { - "id": "8cef6bde.bc7818", + "id": "dae7ff66.9b9c6", "type": "outcome", - "name": "0", - "xml": "\n", + "name": "connectivity", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1586.0001335144043, + "y": 448.00002098083496, + "z": "f351885d.7dcd3", + "wires": [ + [ + "5afc15bc.b14b2c" + ] + ] + }, + { + "id": "73d91f0d.979448", + "type": "set", + "name": "set attachment_param for OTN A", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 4405, + "y": 164, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "53d5aef.e4ebbd", + "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": 4486, + "y": 479, + "z": "f351885d.7dcd3", + "wires": [ + [ + "ecc00da.2c7107", + "8ec5d396.327df" + ] + ] + }, + { + "id": "ecc00da.2c7107", + "type": "failure", + "name": "failure", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1167.968994140625, - "y": 226.96875, - "z": "978d88fe.49f858", + "x": 4795.5, + "y": 448, + "z": "f351885d.7dcd3", "wires": [ [ - "5417fb2d.edce0c" + "30cb0de4.d526fa" ] ] }, { - "id": "5417fb2d.edce0c", + "id": "8ec5d396.327df", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4800.5, + "y": 513, + "z": "f351885d.7dcd3", + "wires": [ + [ + "d98d92f9.c81fa" + ] + ] + }, + { + "id": "30cb0de4.d526fa", "type": "returnFailure", "name": "return failure", - "xml": "\n\t\n\t\n \n", + "xml": "\n\t\n\t\n \n", "comments": "", - "x": 1322.7778816223145, - "y": 245.889018535614, - "z": "978d88fe.49f858", + "x": 4971.5, + "y": 448, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "752da5f3.b4cc4c", - "type": "other", - "name": "Null", - "xml": "\n", + "id": "d98d92f9.c81fa", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4967, + "y": 513, + "z": "f351885d.7dcd3", + "wires": [ + [] + ] + }, + { + "id": "b72def38.869578", + "type": "set", + "name": "set sotn_value", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 4352.5, + "y": 667, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "61d206ce.c84cc", + "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": 1161.0001335144043, - "y": 266.00007152557373, - "z": "978d88fe.49f858", + "x": 4506.5, + "y": 715, + "z": "f351885d.7dcd3", "wires": [ [ - "5417fb2d.edce0c" + "4c218232.9ff344", + "70cfc429.d9d73c" ] ] }, { - "id": "b945aefb.e762f", - "type": "other", - "name": "other", - "xml": "\n", + "id": "4c218232.9ff344", + "type": "failure", + "name": "failure", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1154.0005416870117, - "y": 299.000075340271, - "z": "978d88fe.49f858", + "x": 4852, + "y": 696, + "z": "f351885d.7dcd3", "wires": [ [ - "39deabe9.dfa46c" + "508ab9bd.6f59b" ] ] }, { - "id": "39deabe9.dfa46c", + "id": "70cfc429.d9d73c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4856, + "y": 736, + "z": "f351885d.7dcd3", + "wires": [ + [ + "4484b215.bd52a4" + ] + ] + }, + { + "id": "508ab9bd.6f59b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 5010, + "y": 696, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "4484b215.bd52a4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", + "comments": "", "outputs": 1, - "x": 1301.2700843811035, - "y": 299.5547204017639, - "z": "978d88fe.49f858", + "x": 5013.5, + "y": 736, + "z": "f351885d.7dcd3", "wires": [ [ - "ffe0cb12.24663" + "d5eb1314.bae0c8", + "10b6b358.4dd2d5" ] ] }, { - "id": "ffe0cb12.24663", - "type": "for", - "name": "for vidx..service-data.vnfs.vnf_length[]", - "xml": "\n", + "id": "1158b528.feaadb", + "type": "comment", + "name": "TODO: FIXME:", + "info": "put proper values based on connectivity resource retrieved from AAI", + "comments": "", + "x": 4350, + "y": 623, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "d5eb1314.bae0c8", + "type": "save", + "name": "update vpn-binding A resource (aka. OTN domainA) in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 5344, + "y": 701, + "z": "f351885d.7dcd3", + "wires": [ + [] + ] + }, + { + "id": "4e452bee.48e2ac", + "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": 5208, + "y": 660, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "10b6b358.4dd2d5", + "type": "save", + "name": "update connectivity resource in AAI", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 5271, + "y": 747, + "z": "f351885d.7dcd3", + "wires": [ + [] + ] + }, + { + "id": "cdb19fe7.3fcc18", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", + "comments": "", + "x": 4343, + "y": 212, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "83225463.070fc", + "type": "get-resource", + "name": "get-resource src pnf", + "xml": "\n\n \n", + "comments": "", + "outputs": 1, + "x": 4369, + "y": 329, + "z": "f351885d.7dcd3", + "wires": [ + [ + "c77a135e.0cf11", + "733c4b21.b0276c", + "dfbdc2b7.10d7d" + ] + ] + }, + { + "id": "c77a135e.0cf11", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4564.5001220703125, + "y": 281, + "z": "f351885d.7dcd3", + "wires": [ + [ + "fc1575d4.07ce9" + ] + ] + }, + { + "id": "733c4b21.b0276c", + "type": "not-found", + "name": "not-found", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1547.2862014770508, - "y": 306.42864084243774, - "z": "978d88fe.49f858", + "x": 4556.5001220703125, + "y": 336, + "z": "f351885d.7dcd3", "wires": [ [ - "d581e614.41ca28" + "2d634f91.a839c8" ] ] }, { - "id": "d581e614.41ca28", + "id": "fc1575d4.07ce9", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1766.6358337402344, - "y": 305.96872091293335, - "z": "978d88fe.49f858", + "x": 4708.8824462890625, + "y": 280.6556701660156, + "z": "f351885d.7dcd3", + "wires": [ + [ + "26c3005d.c41c58" + ] + ] + }, + { + "id": "fb614f2c.314568", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5291, + "y": 283, + "z": "f351885d.7dcd3", "wires": [ [ - "6cb341ea.d215b" + "5511aade.71874c" ] ] }, { - "id": "6cb341ea.d215b", + "id": "26c3005d.c41c58", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4893, + "y": 279, + "z": "f351885d.7dcd3", + "wires": [ + [ + "d1afc9f2.3db068" + ] + ] + }, + { + "id": "d1afc9f2.3db068", "type": "switchNode", - "name": "switch vnfid found", - "xml": "\n\n", + "name": "switch related-to", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1920.715431213379, - "y": 305.67880296707153, - "z": "978d88fe.49f858", + "x": 5088, + "y": 279, + "z": "f351885d.7dcd3", "wires": [ [ - "7e8f8e16.82297" + "fb614f2c.314568" ] ] }, { - "id": "7e8f8e16.82297", - "type": "outcomeTrue", - "name": "true", - "xml": "\n", + "id": "dfbdc2b7.10d7d", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4561.5001220703125, + "y": 393, + "z": "f351885d.7dcd3", + "wires": [ + [ + "1874b649.d37aaa" + ] + ] + }, + { + "id": "1874b649.d37aaa", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n ", + "comments": "", + "outputs": 1, + "x": 5676, + "y": 296, + "z": "f351885d.7dcd3", + "wires": [ + [ + "43de30da.db75e8", + "e5ad5cbe.572928", + "12e2c219.e2a25e" + ] + ] + }, + { + "id": "5511aade.71874c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 5470, + "y": 283, + "z": "f351885d.7dcd3", + "wires": [ + [ + "29681795.e63f18", + "37df0014.a385b" + ] + ] + }, + { + "id": "29681795.e63f18", + "type": "set", + "name": "set esr-thirdparty-sdnc domainA id", + "xml": "\n\n", + "comments": "", + "x": 5706, + "y": 244, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "43de30da.db75e8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5886, + "y": 287, + "z": "f351885d.7dcd3", + "wires": [ + [ + "9fb5e37f.eaa9f" + ] + ] + }, + { + "id": "e5ad5cbe.572928", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5878, + "y": 342, + "z": "f351885d.7dcd3", + "wires": [ + [ + "24f5f29e.218576" + ] + ] + }, + { + "id": "12e2c219.e2a25e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5883, + "y": 399, + "z": "f351885d.7dcd3", + "wires": [ + [ + "cd568772.16e428" + ] + ] + }, + { + "id": "cd568772.16e428", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n\n", + "name": "set controller domainA data", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 2341.199951171875, - "y": 310.32159423828125, - "z": "978d88fe.49f858", + "x": 6245, + "y": 281, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "d40da373.f15598", - "type": "save", - "name": "update AnAI - vnf-instance.orchestration-status", - "xml": "\n\n", + "id": "4cf7ab90.c1f3ec", + "type": "execute", + "name": "execute properties", + "xml": "\n \n ", "comments": "", "outputs": 1, - "x": 785.9999618530273, - "y": 625.0103714736179, - "z": "978d88fe.49f858", + "x": 712, + "y": 461, + "z": "f351885d.7dcd3", "wires": [ [] ] }, { - "id": "358d1f62.e4f2c8", + "id": "fec1365a.907b4", "type": "set", - "name": "copy input data to service data", - "xml": "\n\n\n", + "name": "set attachment_param for OTN B", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 765.0000762939453, - "y": 456.01033284980804, - "z": "978d88fe.49f858", + "x": 3812, + "y": 1621, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "a739ea85.93c65", - "type": "switchNode", - "name": "switch vnf-level-oper-status", - "xml": "\n", + "id": "eb21cc8f.003df8", + "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": 751.7499389648438, - "y": 361.00390270072967, - "z": "978d88fe.49f858", + "x": 3875, + "y": 1950, + "z": "f351885d.7dcd3", "wires": [ [ - "c40ac9fb.21106", - "625ef5e9.0fa304" + "fc655ff.669232", + "dfbdc395.b4aa" ] ] }, { - "id": "c40ac9fb.21106", - "type": "outcome", - "name": "outcome Created", - "xml": "\n", + "id": "fc655ff.669232", + "type": "failure", + "name": "failure", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1131.5833320617676, - "y": 366.1149909766391, - "z": "978d88fe.49f858", + "x": 4170.5, + "y": 1917, + "z": "f351885d.7dcd3", "wires": [ [ - "50da061e.3d2a4" + "d2ad58a1.dbb57" ] ] }, { - "id": "625ef5e9.0fa304", - "type": "other", - "name": "other", - "xml": "\n", + "id": "dfbdc395.b4aa", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1109.583351135254, - "y": 416.1150024207309, - "z": "978d88fe.49f858", + "x": 4175.5, + "y": 1982, + "z": "f351885d.7dcd3", "wires": [ [ - "9d9a6d0b.f63a18" + "43fba27a.3e8bd4" ] ] }, { - "id": "9d9a6d0b.f63a18", + "id": "d2ad58a1.dbb57", "type": "returnFailure", "name": "return failure", - "xml": "\n\t\n\t\n ", + "xml": "\n\t\n\t\n \n", "comments": "", - "x": 1269.0831184387207, - "y": 419.1150014670566, - "z": "978d88fe.49f858", + "x": 4338.5, + "y": 1917, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "50da061e.3d2a4", + "id": "43fba27a.3e8bd4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", + "comments": "", "outputs": 1, - "x": 1341.889705657959, - "y": 377.44016626197845, - "z": "978d88fe.49f858", + "x": 4349, + "y": 1982, + "z": "f351885d.7dcd3", "wires": [ [] ] }, { - "id": "7a49c1a1.74cca", - "type": "comment", - "name": "new for TransportSlicing", - "info": "", + "id": "a7e92939.08a52", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", "comments": "", - "x": 726, - "y": 699, - "z": "978d88fe.49f858", + "x": 3751, + "y": 1678, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "19a0d774.67fb01", - "type": "save", - "name": "get service-instance from aai", - "xml": "", + "id": "25024bed.781cdc", + "type": "get-resource", + "name": "get-resource dst pnf", + "xml": "\n\n \n", "comments": "", "outputs": 1, - "x": 737, - "y": 749, - "z": "978d88fe.49f858", + "x": 3771, + "y": 1775, + "z": "f351885d.7dcd3", "wires": [ [ - "ef923a7d.6928a8", - "981c314b.31ecb8", - "65818037.104038" + "17a289eb.8378c6", + "4e86abed.341d6c", + "9944c222.7ecb4" ] ] }, { - "id": "ef923a7d.6928a8", + "id": "17a289eb.8378c6", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 953, - "y": 714, - "z": "978d88fe.49f858", + "x": 3973.5001220703125, + "y": 1728, + "z": "f351885d.7dcd3", "wires": [ [ - "c4da4ce2.e86fd" + "2250bf3f.3fcd88" ] ] }, { - "id": "981c314b.31ecb8", + "id": "4e86abed.341d6c", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 962.490966796875, - "y": 756.5740356445312, - "z": "978d88fe.49f858", + "x": 3965.5001220703125, + "y": 1783, + "z": "f351885d.7dcd3", "wires": [ [ - "2c51a746.8529b8" + "7fe7998e.7db16" ] ] }, { - "id": "65818037.104038", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "2250bf3f.3fcd88", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4117.8824462890625, + "y": 1725.6556701660156, + "z": "f351885d.7dcd3", + "wires": [ + [ + "19367b54.5d4395" + ] + ] + }, + { + "id": "19367b54.5d4395", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4302, + "y": 1740, + "z": "f351885d.7dcd3", + "wires": [ + [ + "e137d17b.53afd" + ] + ] + }, + { + "id": "9944c222.7ecb4", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", "outputs": 1, - "x": 951, - "y": 803, - "z": "978d88fe.49f858", + "x": 3970.5001220703125, + "y": 1840, + "z": "f351885d.7dcd3", "wires": [ [ - "11f3085c.6c3b58" + "c7e8bb41.e69fc8" ] ] }, { - "id": "2c51a746.8529b8", + "id": "c7e8bb41.e69fc8", "type": "returnFailure", "name": "return failure", - "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n", + "xml": "\n\t\n\t\n \n", + "id": "18a3ba34.8443fe", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1150, - "y": 710, - "z": "978d88fe.49f858", + "x": 4700, + "y": 1744, + "z": "f351885d.7dcd3", "wires": [ [ - "eb26c03f.cde3a" + "cca686b1.a86b48" ] ] }, { - "id": "eb26c03f.cde3a", + "id": "e137d17b.53afd", "type": "switchNode", "name": "switch related-to", - "xml": "\n", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1373.33349609375, - "y": 709.9999389648438, - "z": "978d88fe.49f858", + "x": 4497, + "y": 1740, + "z": "f351885d.7dcd3", "wires": [ [ - "b65d7d38.16fc68" + "18a3ba34.8443fe" ] ] }, { - "id": "b65d7d38.16fc68", - "type": "outcome", - "name": "connectivity", - "xml": "\n", + "id": "ec259c93.12e46", + "type": "execute", + "name": "get esr-thirdparty-sdnc", + "xml": "", "comments": "", "outputs": 1, - "x": 1574.0001335144043, - "y": 711.000020980835, - "z": "978d88fe.49f858", + "x": 5085, + "y": 1743, + "z": "f351885d.7dcd3", "wires": [ [ - "fda5561b.cca698" + "cf9d2f3.18e805", + "1901d45c.9387cc", + "86a361e1.5f9008" ] ] }, { - "id": "edc6ee23.1891a", - "type": "save", - "name": "get connectivityA from aai", - "xml": "\n", + "id": "cca686b1.a86b48", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 4877, + "y": 1736, + "z": "f351885d.7dcd3", + "wires": [ + [ + "2d219530.71913a", + "ec259c93.12e46" + ] + ] + }, + { + "id": "2d219530.71913a", + "type": "set", + "name": "set esr-thirdparty-sdnc domainB id", + "xml": "\n\n", + "comments": "", + "x": 5115, + "y": 1691, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "bb17bcb1.afece8", + "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": 5654, + "y": 1728, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "cf9d2f3.18e805", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1762, - "y": 709, - "z": "978d88fe.49f858", + "x": 5295, + "y": 1734, + "z": "f351885d.7dcd3", "wires": [ [ - "44bd1b.3cc782e4", - "f85fb605.a76398" + "c367d2df.137348" ] ] }, { - "id": "44bd1b.3cc782e4", - "type": "outcomeTrue", - "name": "true", - "xml": "\n", + "id": "1901d45c.9387cc", + "type": "not-found", + "name": "not-found", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1985, - "y": 599, - "z": "978d88fe.49f858", + "x": 5287, + "y": 1789, + "z": "f351885d.7dcd3", "wires": [ [ - "edc6ee23.1891a" + "e71302c9.0e3fc8" ] ] }, { - "id": "f85fb605.a76398", - "type": "outcomeFalse", - "name": "false", - "xml": "\n", + "id": "86a361e1.5f9008", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1971, - "y": 1156, - "z": "978d88fe.49f858", + "x": 5292, + "y": 1846, + "z": "f351885d.7dcd3", "wires": [ [ - "7b60b790.bc4c4" + "bb17bcb1.afece8" ] ] }, { - "id": "7b60b790.bc4c4", + "id": "5afc15bc.b14b2c", "type": "save", - "name": "get connectivityB from aai", - "xml": "\n", + "name": "get connectivity from aai", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2167, - "y": 1156, - "z": "978d88fe.49f858", + "x": 1824, + "y": 450, + "z": "f351885d.7dcd3", "wires": [ [ - "8b96b70e.2f635", - "20f5c9d8.832b4e", - "f513c25.b78554" + "c4ea2f12.0682f8", + "89ba984f.fbff08", + "4c31ddac.b140a4" ] ] }, { - "id": "81d6e319.abfd8", + "id": "c4ea2f12.0682f8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 2385, - "y": 559, - "z": "978d88fe.49f858", + "x": 2032, + "y": 414, + "z": "f351885d.7dcd3", "wires": [ [ - "98b1c0b9.f7f4b" + "207f18a3.1780c8" ] ] }, { - "id": "313c36d7.969d3a", + "id": "89ba984f.fbff08", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 2385.490966796875, - "y": 604.5740356445312, - "z": "978d88fe.49f858", + "x": 2032.490966796875, + "y": 459.57403564453125, + "z": "f351885d.7dcd3", "wires": [ [ - "d4d990d4.f7b0a8" + "db0bb70b.5af75" ] ] }, { - "id": "3d5cf6f2.953e9a", + "id": "4c31ddac.b140a4", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 2383, - "y": 648, - "z": "978d88fe.49f858", - "wires": [ - [ - "97be5e5a.798428" - ] - ] - }, - { - "id": "98b1c0b9.f7f4b", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 2557.66650390625, - "y": 558, - "z": "978d88fe.49f858", + "x": 2030, + "y": 503, + "z": "f351885d.7dcd3", "wires": [ [ - "2d415746.a7be9", - "96d25665.97a75", - "2f11d14a.7d5856", - "d0c66bee.225358" + "34efc961.392a36" ] ] }, { - "id": "d4d990d4.f7b0a8", + "id": "db0bb70b.5af75", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n\n", "comments": "", - "x": 2552, - "y": 649, - "z": "978d88fe.49f858", + "x": 2199, + "y": 504, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "8b96b70e.2f635", + "id": "da2f8124.076ab8", + "type": "save", + "name": "get vpn-binding from aai", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2505, + "y": 503, + "z": "f351885d.7dcd3", + "wires": [ + [ + "28f88824.b7c4b8", + "d6ad8583.7ca128", + "c9e967f5.e899f8" + ] + ] + }, + { + "id": "f459c148.932bf8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 2885, + "y": 591, + "z": "f351885d.7dcd3", + "wires": [ + [ + "1c6e3351.8ccb0d" + ] + ] + }, + { + "id": "28f88824.b7c4b8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 2387, - "y": 1127, - "z": "978d88fe.49f858", + "x": 2716, + "y": 592, + "z": "f351885d.7dcd3", "wires": [ [ - "aff8819.10cbe8" + "f459c148.932bf8" ] ] }, { - "id": "20f5c9d8.832b4e", + "id": "d6ad8583.7ca128", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 2388.490966796875, - "y": 1172.5740356445312, - "z": "978d88fe.49f858", + "x": 2718.490966796875, + "y": 487.57403564453125, + "z": "f351885d.7dcd3", "wires": [ [ - "cb55df0.f8980a" + "ef5820a6.09d9d" ] ] }, { - "id": "f513c25.b78554", + "id": "c9e967f5.e899f8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 2385, - "y": 1218, - "z": "978d88fe.49f858", - "wires": [ - [ - "fd8e37a.cf27348" - ] - ] - }, - { - "id": "aff8819.10cbe8", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 2559.66650390625, - "y": 1128, - "z": "978d88fe.49f858", + "x": 2714, + "y": 532, + "z": "f351885d.7dcd3", "wires": [ [ - "490cf25b.6f8bbc", - "7192c89b.9fa8a", - "83e10369.9e2a48", - "8632824a.a7d1a" + "bd9d5fad.2d262" ] ] }, { - "id": "cb55df0.f8980a", + "id": "bd9d5fad.2d262", "type": "returnFailure", "name": "return failure", - "xml": "\n\t\n\t\n \n\n\n", "comments": "", - "x": 2550.0623779296875, - "y": 1174.8597717285156, - "z": "978d88fe.49f858", + "x": 2882, + "y": 532, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "fd8e37a.cf27348", + "id": "ef5820a6.09d9d", "type": "returnFailure", "name": "return failure", - "xml": "\n\n\n", + "xml": "\n\t\n\t\n \n\n", "comments": "", "outputs": 1, - "x": 2782, - "y": 556, - "z": "978d88fe.49f858", + "x": 2233, + "y": 409, + "z": "f351885d.7dcd3", "wires": [ [ - "2054e000.51325", - "24cb3e35.5919ba", - "49ca8d9.cac6774" + "208bed02.1187fa" ] ] }, { - "id": "490cf25b.6f8bbc", - "type": "save", - "name": "get vpn-binding-B from aai", - "xml": "\n", + "id": "208bed02.1187fa", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2438, + "y": 409, + "z": "f351885d.7dcd3", + "wires": [ + [ + "f005e0a8.cc7dc8" + ] + ] + }, + { + "id": "f005e0a8.cc7dc8", + "type": "outcome", + "name": "vpn-binding", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2786, - "y": 1126, - "z": "978d88fe.49f858", + "x": 2604, + "y": 409, + "z": "f351885d.7dcd3", "wires": [ [ - "9697ed36.e16ad8", - "1b825f20.68c389", - "214845f.325e5ba" + "51d187ad.ad3078" ] ] }, { - "id": "8505e692.6e58e8", + "id": "51d187ad.ad3078", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 3166, - "y": 556, - "z": "978d88fe.49f858", + "x": 2767, + "y": 409, + "z": "f351885d.7dcd3", "wires": [ [ - "1e245d3c.a778db", - "f09e2868.9a86c8" + "da2f8124.076ab8", + "1e447cc1.915cb3" ] ] }, { - "id": "1e245d3c.a778db", - "type": "set", - "name": "set attachment_param for OTN A", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", - "comments": "", - "x": 3402, - "y": 555, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "2054e000.51325", - "type": "success", - "name": "success", - "xml": "\n", + "id": "aecb0c53.70b3e8", + "type": "switchNode", + "name": "switch vpn-binding has dst-access-ltp", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2993, - "y": 558, - "z": "978d88fe.49f858", + "x": 3326, + "y": 692, + "z": "f351885d.7dcd3", "wires": [ [ - "8505e692.6e58e8" + "45f40514.0a111c", + "e5457af4.842818" ] ] }, { - "id": "24cb3e35.5919ba", - "type": "not-found", - "name": "not-found", - "xml": "\n", + "id": "45f40514.0a111c", + "type": "outcome", + "name": "Null", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2993.490966796875, - "y": 603.5740356445312, - "z": "978d88fe.49f858", + "x": 3540, + "y": 729, + "z": "f351885d.7dcd3", "wires": [ [ - "7b7e2f47.0a22b" + "4c5d5e83.4b55d8" ] ] }, { - "id": "49ca8d9.cac6774", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "e5457af4.842818", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2991, - "y": 647, - "z": "978d88fe.49f858", + "x": 3542, + "y": 667, + "z": "f351885d.7dcd3", "wires": [ [ - "f869989c.799108" + "d204a9f5.cb1f" ] ] }, { - "id": "f869989c.799108", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n\n", - "comments": "", - "x": 3158, - "y": 646, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "7b7e2f47.0a22b", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", + "id": "4c5d5e83.4b55d8", + "type": "switchNode", + "name": "switch vpn-binding has src-access-ltp", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2993, - "y": 1129, - "z": "978d88fe.49f858", + "x": 3120, + "y": 1972, + "z": "f351885d.7dcd3", "wires": [ [ - "d0988988.8d0a18" + "e25a0aae.dc3b6", + "5811aab2.c9cdb4" ] ] }, { - "id": "1b825f20.68c389", - "type": "not-found", - "name": "not-found", - "xml": "\n", + "id": "e25a0aae.dc3b6", + "type": "outcome", + "name": "Null", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2993.490966796875, - "y": 1174.5740356445312, - "z": "978d88fe.49f858", + "x": 3373, + "y": 2006, + "z": "f351885d.7dcd3", "wires": [ [ - "875a2548.0cfdc8" + "e2283676.c05cf8" ] ] }, { - "id": "214845f.325e5ba", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "5811aab2.c9cdb4", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2991, - "y": 1218, - "z": "978d88fe.49f858", + "x": 3373, + "y": 1950, + "z": "f351885d.7dcd3", "wires": [ [ - "5743b059.d8fee" + "5f1f11a6.4b622" ] ] }, { - "id": "5743b059.d8fee", + "id": "e2283676.c05cf8", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", - "x": 3160, - "y": 1219, - "z": "978d88fe.49f858", + "x": 3524, + "y": 2006, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "875a2548.0cfdc8", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n\n", + "comments": "", + "x": 4400, + "y": 104, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "d11d0786.01d8c8", + "type": "set", + "name": "set vpn-bindingB and connectivityB", + "xml": "\n\n\n\n", "comments": "", - "x": 3156.0623779296875, - "y": 1174.8597717285156, - "z": "978d88fe.49f858", + "x": 3808, + "y": 1563, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "d0988988.8d0a18", + "id": "4923e79.d3d2a98", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", + "comments": "", "outputs": 1, - "x": 3162, - "y": 1129, - "z": "978d88fe.49f858", + "x": 4091, + "y": 361, + "z": "f351885d.7dcd3", + "wires": [ + [ + "ef6002a3.a9265", + "73d91f0d.979448", + "cdb19fe7.3fcc18", + "83225463.070fc", + "b72def38.869578", + "61d206ce.c84cc", + "53d5aef.e4ebbd" + ] + ] + }, + { + "id": "5f1f11a6.4b622", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 3524, + "y": 1949, + "z": "f351885d.7dcd3", "wires": [ [ - "7dda745d.4071a4", - "6468b39.c45bd4c" + "d11d0786.01d8c8", + "fec1365a.907b4", + "a7e92939.08a52", + "25024bed.781cdc", + "eb21cc8f.003df8", + "1be8ac25.0620fc", + "6fb79d87.420834" ] ] }, { - "id": "7dda745d.4071a4", + "id": "1be8ac25.0620fc", "type": "set", - "name": "set attachment_param for OTN B", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "name": "set sotn_value", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 3398, - "y": 1128, - "z": "978d88fe.49f858", + "x": 3753, + "y": 2092, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "f09e2868.9a86c8", + "id": "6fb79d87.420834", "type": "execute", - "name": "execute RestApiCallNode Create OTN tunnel with token", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "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": 3480, - "y": 601, - "z": "978d88fe.49f858", + "x": 3907, + "y": 2140, + "z": "f351885d.7dcd3", "wires": [ [ - "a8d618e8.7c53c8", - "84fddcaa.8b02a" + "6175c964.8889d", + "add709ae.0740f" ] ] }, { - "id": "a8d618e8.7c53c8", + "id": "6175c964.8889d", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 3790.5, - "y": 568, - "z": "978d88fe.49f858", + "x": 4252.5, + "y": 2121, + "z": "f351885d.7dcd3", "wires": [ [ - "6eacb8a7.7aa3d" + "7caa2ba7.6bf4dc" ] ] }, { - "id": "84fddcaa.8b02a", + "id": "add709ae.0740f", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3805.5, - "y": 633, - "z": "978d88fe.49f858", + "x": 4256.5, + "y": 2161, + "z": "f351885d.7dcd3", "wires": [ [ - "b82bd962.cbba2" + "43eb2ee.41b33d" ] ] }, { - "id": "6eacb8a7.7aa3d", + "id": "7caa2ba7.6bf4dc", "type": "returnFailure", "name": "return failure", - "xml": "\n\t\n\t\n \n", + "xml": "\n\t\n\t\n \n", "comments": "", - "x": 3974.5, - "y": 564, - "z": "978d88fe.49f858", + "x": 4410.5, + "y": 2121, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "b82bd962.cbba2", + "id": "43eb2ee.41b33d", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 4000, - "y": 626, - "z": "978d88fe.49f858", + "x": 4414, + "y": 2161, + "z": "f351885d.7dcd3", + "wires": [ + [ + "30f33337.055d14", + "948532eb.e6c7c" + ] + ] + }, + { + "id": "bc6f9b2b.7321f", + "type": "comment", + "name": "TODO: FIXME:", + "info": "put proper values based on connectivity resource retrieved from AAI", + "comments": "", + "x": 3750.5, + "y": 2048, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "30f33337.055d14", + "type": "save", + "name": "update vpn-binding B resource (aka. OTN domainB) in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 4754, + "y": 2160, + "z": "f351885d.7dcd3", "wires": [ [] ] }, { - "id": "74c1bd3a.398664", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "227afae6.b4c94e", + "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": 4612, + "y": 2118, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "948532eb.e6c7c", + "type": "save", + "name": "update connectivity resource in AAI", + "xml": "\n\n\n", "comments": "", "outputs": 1, - "x": 3775, - "y": 1150, - "z": "978d88fe.49f858", + "x": 4683, + "y": 2209, + "z": "f351885d.7dcd3", "wires": [ - [ - "fc791248.fc4648" - ] + [] ] }, { - "id": "fdc0c54.10c51b8", - "type": "success", - "name": "success", - "xml": "\n", + "id": "55624da8.df976c", + "type": "set", + "name": "set attachment_param (gfp-n) for OTN", + "xml": "\n\n", + "comments": "", + "x": 3317, + "y": 632, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "1e447cc1.915cb3", + "type": "set", + "name": "unset tmp.aai.vpn-binding", + "xml": "\n\n", + "comments": "", + "x": 2951, + "y": 280, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "f396e52b.35559", + "type": "comment", + "name": "only dst ttp exists. No src", + "info": "", + "comments": "", + "x": 3912, + "y": 318, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "72b06eec.578eb8", + "type": "comment", + "name": "only src ttp exists. No dst", + "info": "", + "comments": "", + "x": 3469, + "y": 1896, + "z": "f351885d.7dcd3", + "wires": [] + }, + { + "id": "d204a9f5.cb1f", + "type": "switchNode", + "name": "switch vpn-binding has src-access-ltp", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3790, - "y": 1215, - "z": "978d88fe.49f858", + "x": 3648, + "y": 480, + "z": "f351885d.7dcd3", "wires": [ [ - "16f26dc2.3147e2" + "7da55af.10937a4", + "d30ba4e8.997a68" ] ] }, { - "id": "fc791248.fc4648", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", + "id": "d30ba4e8.997a68", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", - "x": 3959, - "y": 1146, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 3890, + "y": 1069, + "z": "f351885d.7dcd3", + "wires": [ + [ + "b0909b7a.d37638" + ] + ] }, { - "id": "16f26dc2.3147e2", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", + "id": "7da55af.10937a4", + "type": "outcome", + "name": "Null", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3984.5, - "y": 1208, - "z": "978d88fe.49f858", + "x": 3884, + "y": 360, + "z": "f351885d.7dcd3", "wires": [ - [] + [ + "4923e79.d3d2a98" + ] ] }, { - "id": "6468b39.c45bd4c", - "type": "execute", - "name": "execute RestApiCallNode Create OTN tunnel with token", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n", - "comments": "", + "id": "b0909b7a.d37638", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", "outputs": 1, - "x": 3464.5, - "y": 1183, - "z": "978d88fe.49f858", + "x": 4048, + "y": 1068, + "z": "f351885d.7dcd3", "wires": [ [ - "74c1bd3a.398664", - "fdc0c54.10c51b8" + "aadf2b5c.a1838", + "8fb5b52a.4e2ae", + "a006da1c.c23038", + "7e67d000.77abb", + "23d1e7d8.976258" ] ] }, { - "id": "2f11d14a.7d5856", + "id": "8fb5b52a.4e2ae", "type": "set", - "name": "set sotn_value", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "name": "set attachment_param for OTN G", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 2766.5, - "y": 898, - "z": "978d88fe.49f858", + "x": 4312, + "y": 951, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "d0c66bee.225358", + "id": "23d1e7d8.976258", "type": "execute", - "name": "execute RestApiCallNode Create ethernet Service without token", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "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": 2920.5, - "y": 946, - "z": "978d88fe.49f858", + "x": 4393, + "y": 1266, + "z": "f351885d.7dcd3", "wires": [ [ - "3db41fa8.f38878", - "fbb2729e.49853" + "c8d598bd.cbc8e", + "c93ae11e.1c54c8" ] ] }, { - "id": "3db41fa8.f38878", + "id": "c8d598bd.cbc8e", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 3266, - "y": 927, - "z": "978d88fe.49f858", + "x": 4702.5, + "y": 1235, + "z": "f351885d.7dcd3", "wires": [ [ - "f346270d.843368" + "a086276f.4222f8" ] ] }, { - "id": "fbb2729e.49853", + "id": "c93ae11e.1c54c8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3270, - "y": 967, - "z": "978d88fe.49f858", + "x": 4707.5, + "y": 1300, + "z": "f351885d.7dcd3", "wires": [ [ - "c716fb9b.f3ffc" + "51323b7.caecec4" ] ] }, { - "id": "f346270d.843368", + "id": "a086276f.4222f8", "type": "returnFailure", "name": "return failure", - "xml": "\n\t\n\t\n \n", + "xml": "\n\t\n\t\n \n", "comments": "", - "x": 3424, - "y": 927, - "z": "978d88fe.49f858", + "x": 4878.5, + "y": 1235, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "c716fb9b.f3ffc", + "id": "51323b7.caecec4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 3427.5, - "y": 967, - "z": "978d88fe.49f858", + "x": 4874, + "y": 1300, + "z": "f351885d.7dcd3", "wires": [ - [ - "3124f6f9.b8bd1a", - "856ae03f.786118" - ] + [] ] }, { - "id": "4c34ee00.d0d39", - "type": "comment", - "name": "TODO: FIXME:", - "info": "put proper values based on connectivity resource retrieved from AAI", + "id": "a006da1c.c23038", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", "comments": "", - "x": 2764, - "y": 854, - "z": "978d88fe.49f858", + "x": 4250, + "y": 999, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "96d25665.97a75", + "id": "7e67d000.77abb", "type": "get-resource", - "name": "get-resource esr-thirdparty-sdnc", - "xml": "\n\n", + "name": "get-resource src pnf", + "xml": "\n\n \n", "comments": "", "outputs": 1, - "x": 2816, - "y": 780, - "z": "978d88fe.49f858", + "x": 4276, + "y": 1116, + "z": "f351885d.7dcd3", "wires": [ [ - "4a3c4a39.62e724", - "e52cd6a7.6aeb28", - "bb40af56.1cbe7" + "ec2bb2c1.50dad", + "6fe2c398.ccd7b4", + "2cf209f9.a94e2e" ] ] }, { - "id": "4a3c4a39.62e724", + "id": "ec2bb2c1.50dad", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3062, - "y": 740, - "z": "978d88fe.49f858", + "x": 4471.5001220703125, + "y": 1068, + "z": "f351885d.7dcd3", "wires": [ [ - "9e28f8d9.f64138" + "e5c84b9e.98975" ] ] }, { - "id": "e52cd6a7.6aeb28", + "id": "6fe2c398.ccd7b4", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 3066, - "y": 780, - "z": "978d88fe.49f858", + "x": 4463.5001220703125, + "y": 1123, + "z": "f351885d.7dcd3", "wires": [ [ - "916c7538.648ed" + "be59a3.0881066" ] ] }, { - "id": "bb40af56.1cbe7", - "type": "other", - "name": "other", - "xml": "\n", + "id": "e5c84b9e.98975", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", "comments": "", "outputs": 1, - "x": 3058, - "y": 820, - "z": "978d88fe.49f858", + "x": 4615.8824462890625, + "y": 1067.6556701660156, + "z": "f351885d.7dcd3", "wires": [ [ - "a678576a.20b77" + "40635ccb.0881a4" ] ] }, { - "id": "a678576a.20b77", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", "comments": "", - "x": 3216, - "y": 820, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 4800, + "y": 1066, + "z": "f351885d.7dcd3", + "wires": [ + [ + "ff02a9b.ff8ffd8" + ] + ] }, { - "id": "916c7538.648ed", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", "comments": "", - "x": 3216, - "y": 780, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 4995, + "y": 1066, + "z": "f351885d.7dcd3", + "wires": [ + [ + "d3d180f4.36fa68" + ] + ] }, { - "id": "9e28f8d9.f64138", - "type": "set", - "name": "set controller data", - "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "id": "2cf209f9.a94e2e", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", - "x": 3232, - "y": 740, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 4468.5001220703125, + "y": 1180, + "z": "f351885d.7dcd3", + "wires": [ + [ + "2b5a1252.216fe6" + ] + ] }, { - "id": "b0af8ca6.269818", - "type": "comment", - "name": "Get controller info and send request", - "info": "", + "id": "2b5a1252.216fe6", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "id": "be59a3.0881066", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n\n\n\n\n\n\n\n\n\n\n", + "id": "aadf2b5c.a1838", + "type": "set", + "name": "set vpn-bindingG and connectivityG", + "xml": "\n\n\n", "comments": "", - "outputs": 1, - "x": 2906, - "y": 1502, - "z": "978d88fe.49f858", - "wires": [ - [ - "51ac9234.46b414", - "a5f17af5.5d803" - ] - ] + "x": 4307, + "y": 891, + "z": "f351885d.7dcd3", + "wires": [] }, { - "id": "51ac9234.46b414", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "d3d180f4.36fa68", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3251.5, - "y": 1483, - "z": "978d88fe.49f858", + "x": 5198, + "y": 1070, + "z": "f351885d.7dcd3", "wires": [ [ - "6f72d542.94964c" + "8355bb98.2142e8" ] ] }, { - "id": "a5f17af5.5d803", - "type": "success", - "name": "success", - "xml": "\n", + "id": "d998285a.8338c", + "type": "execute", + "name": "get esr-thirdparty-sdnc", + "xml": "", "comments": "", "outputs": 1, - "x": 3255.5, - "y": 1523, - "z": "978d88fe.49f858", + "x": 5583, + "y": 1083, + "z": "f351885d.7dcd3", "wires": [ [ - "2dab9f7d.db59d8" + "38daac86.dbf464", + "21dc6947.7d9bae", + "a47aca30.5160e" ] ] }, { - "id": "6f72d542.94964c", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 3409.5, - "y": 1483, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "2dab9f7d.db59d8", + "id": "8355bb98.2142e8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", - "comments": "", "outputs": 1, - "x": 3413, - "y": 1523, - "z": "978d88fe.49f858", + "x": 5377, + "y": 1070, + "z": "f351885d.7dcd3", "wires": [ [ - "a1391891.c310f", - "ccc1b1df.33721" + "583e9682.750428", + "d998285a.8338c" ] ] }, { - "id": "5d06869f.f8bcb8", - "type": "comment", - "name": "TODO: FIXME:", - "info": "put proper values based on connectivity resource retrieved from AAI", + "id": "583e9682.750428", + "type": "set", + "name": "set esr-thirdparty-sdnc domainG id", + "xml": "\n\n", "comments": "", - "x": 2749.5, - "y": 1410, - "z": "978d88fe.49f858", + "x": 5613, + "y": 1031, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "7192c89b.9fa8a", - "type": "get-resource", - "name": "get-resource esr-thirdparty-sdnc", - "xml": "\n\n", - "comments": "", - "outputs": 1, - "x": 2801.5, - "y": 1336, - "z": "978d88fe.49f858", - "wires": [ - [ - "e2e5c437.a11d5", - "9dfaf98b.e80c9", - "dcca7d62.830ee8" - ] - ] - }, - { - "id": "e2e5c437.a11d5", + "id": "38daac86.dbf464", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3047.5, - "y": 1296, - "z": "978d88fe.49f858", + "x": 5793, + "y": 1074, + "z": "f351885d.7dcd3", "wires": [ [ - "427eefc5.61bc" + "10b34ad5.e58d9d" ] ] }, { - "id": "9dfaf98b.e80c9", + "id": "21dc6947.7d9bae", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 3051.5, - "y": 1336, - "z": "978d88fe.49f858", + "x": 5785, + "y": 1129, + "z": "f351885d.7dcd3", "wires": [ [ - "8ac5fa96.75d4b" + "6ce9bc65.05009c" ] ] }, { - "id": "dcca7d62.830ee8", + "id": "a47aca30.5160e", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, - "x": 3043.5, - "y": 1376, - "z": "978d88fe.49f858", + "x": 5790, + "y": 1186, + "z": "f351885d.7dcd3", "wires": [ [ - "39cf0825.d43ae" + "18239e9b.852729" ] ] }, { - "id": "39cf0825.d43ae", + "id": "18239e9b.852729", "type": "returnFailure", "name": "return failure", - "xml": "\n\t\n\t\n \n\t\n\t\n \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": 3217.5, - "y": 1296, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "74572637.f29d7", - "type": "comment", - "name": "Get controller info and send request", - "info": "", + "id": "10b34ad5.e58d9d", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", "comments": "", - "x": 2809.5, - "y": 1296, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 5937.38232421875, + "y": 1071.6556701660156, + "z": "f351885d.7dcd3", + "wires": [ + [ + "d4058b68.bd8818" + ] + ] }, { - "id": "135b0ed7.2faa91", - "type": "comment", - "name": "TODO: FIXME:", - "info": "How to know which domain's (A or B) controller is bein retrieved?", + "id": "d4058b68.bd8818", + "type": "set", + "name": "set controller domainG data", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 2744, - "y": 1256, - "z": "978d88fe.49f858", + "x": 6152, + "y": 1068, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "a58ac83b.b037d", + "id": "3a09f359.556f04", "type": "comment", - "name": "TODO: FIXME:", - "info": "How to know which domain's (A or B) controller is bein retrieved?", + "name": "both src and dst exist", + "info": "", "comments": "", - "x": 2756, - "y": 700, - "z": "978d88fe.49f858", + "x": 3926, + "y": 1009, + "z": "f351885d.7dcd3", "wires": [] }, { - "id": "3124f6f9.b8bd1a", - "type": "save", - "name": "update vpn-binding A resource (aka. OTN domainA) in AAI", - "xml": "\n\n\n\n\n", + "id": "1c6e3351.8ccb0d", + "type": "switchNode", + "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3756, - "y": 967, - "z": "978d88fe.49f858", + "x": 2488, + "y": 736, + "z": "f351885d.7dcd3", "wires": [ - [] + [ + "91c41639.2357b", + "5aa31f25.4b2718" + ] ] }, { - "id": "554a4766.c457a", - "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": 3620, - "y": 926, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "a1391891.c310f", - "type": "save", - "name": "update vpn-binding B resource (aka. OTN domainB) in AAI", - "xml": "\n\n\n\n\n", + "id": "5aa31f25.4b2718", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3753, - "y": 1522, - "z": "978d88fe.49f858", + "x": 2895, + "y": 754, + "z": "f351885d.7dcd3", "wires": [ - [] + [ + "49ef7599.6e682c" + ] ] }, { - "id": "90d3682d.e54348", - "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?", + "id": "91c41639.2357b", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", "comments": "", - "x": 3611, - "y": 1480, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 2895, + "y": 699, + "z": "f351885d.7dcd3", + "wires": [ + [ + "c7ffb45b.775578" + ] + ] }, { - "id": "856ae03f.786118", - "type": "save", - "name": "update connectivity resource in AAI", - "xml": "\n\n\n", - "comments": "", + "id": "c7ffb45b.775578", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", "outputs": 1, - "x": 3683, - "y": 1013, - "z": "978d88fe.49f858", + "x": 3051, + "y": 697, + "z": "f351885d.7dcd3", "wires": [ - [] + [ + "55624da8.df976c", + "aecb0c53.70b3e8" + ] ] }, { - "id": "ccc1b1df.33721", - "type": "save", - "name": "update connectivity resource in AAI", - "xml": "\n\n\n", + "id": "49ef7599.6e682c", + "type": "block", + "name": "block", + "xml": "", + "atomic": "false", "comments": "", "outputs": 1, - "x": 3682, - "y": 1571, - "z": "978d88fe.49f858", + "x": 3028, + "y": 755, + "z": "f351885d.7dcd3", "wires": [ [] ]