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=5681c261d453fd7a5f4e4e41d815d3c4bfe4a20d;hb=c2ff57f8ac2f830bb4709a29dca9644dd8d4c82d;hp=669eca8d1dbc3f74298f6991f6e563b3cff66b21;hpb=3360cf8f057417bca230f0c092eacd2cfe7041e8;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..5681c261 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": "c170e1ed.7b781", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 133, - "y": 58, - "z": "978d88fe.49f858", + "x": 137, + "y": 82, + "z": "bc289cb4.31b288", "wires": [ [ - "a120d0c2.d16848" + "9970ac63.cab4e" ] ] }, { - "id": "a120d0c2.d16848", + "id": "9970ac63.cab4e", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,1665 +22,2248 @@ "comments": "", "xml": "", "outputs": 1, - "x": 264.2856903076172, - "y": 107.23810863494873, - "z": "978d88fe.49f858", + "x": 268.2856903076172, + "y": 131.23810863494873, + "z": "bc289cb4.31b288", "wires": [ [ - "e3f08946.3b4f3" + "d984e08f.709ec8" ] ] }, { - "id": "e3f08946.3b4f3", + "id": "d984e08f.709ec8", "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": 271.4286193847656, + "y": 216.00003242492676, + "z": "bc289cb4.31b288", "wires": [ [ - "da15bb94.f35d78" + "8e4db78f.c5ff38" ] ] }, { - "id": "da15bb94.f35d78", + "id": "8e4db78f.c5ff38", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 417.238037109375, - "y": 321.6666564941406, - "z": "978d88fe.49f858", + "x": 421.238037109375, + "y": 345.6666564941406, + "z": "bc289cb4.31b288", "wires": [ [ - "a0613c64.0d3d18", - "bec74808.bd7fc8", - "6e589ca9.47c63c", - "a8ba9960.6cb65", - "d40da373.f15598", - "358d1f62.e4f2c8", - "a739ea85.93c65", - "19a0d774.67fb01" + "6bde1442.84f93c", + "d81cbe5a.85cea", + "2a368168.cab60e" ] ] }, { - "id": "a0613c64.0d3d18", - "type": "set", - "name": "set vnf-level-oper-status to Active", - "xml": "\n\n\n", - "comments": "", - "x": 760.3849563598633, - "y": 558.6705458434299, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "bec74808.bd7fc8", + "id": "6bde1442.84f93c", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 687.5716552734375, - "y": 1430.59716796875, - "z": "978d88fe.49f858", + "x": 689.5716552734375, + "y": 732.59716796875, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "6e589ca9.47c63c", - "type": "set", - "name": "set vnf-index and vnf-object-path", - "xml": "\n\n", + "id": "233d87e5.a24f7", + "type": "comment", + "name": "new for TransportSlicing", + "info": "", "comments": "", - "x": 766.5716018676758, - "y": 506.5968001158908, - "z": "978d88fe.49f858", + "x": 721, + "y": 407, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "a8ba9960.6cb65", - "type": "switchNode", - "name": "switch service-data.vnfs.vnf_length", - "xml": "\n", + "id": "d81cbe5a.85cea", + "type": "save", + "name": "get service-instance from aai", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 775, - "y": 261, - "z": "978d88fe.49f858", + "x": 741, + "y": 503, + "z": "bc289cb4.31b288", "wires": [ [ - "752da5f3.b4cc4c", - "b945aefb.e762f", - "8cef6bde.bc7818" + "b0036e6b.1878c8", + "7901c2f.e699b3c", + "120c06e4.dff209" ] ] }, { - "id": "8cef6bde.bc7818", - "type": "outcome", - "name": "0", - "xml": "\n", + "id": "b0036e6b.1878c8", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1167.968994140625, - "y": 226.96875, - "z": "978d88fe.49f858", + "x": 960, + "y": 441, + "z": "bc289cb4.31b288", "wires": [ [ - "5417fb2d.edce0c" + "9167ffc3.5d91a" ] ] }, { - "id": "5417fb2d.edce0c", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", - "comments": "", - "x": 1322.7778816223145, - "y": 245.889018535614, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "752da5f3.b4cc4c", - "type": "other", - "name": "Null", - "xml": "\n", + "id": "7901c2f.e699b3c", + "type": "not-found", + "name": "not-found", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1161.0001335144043, - "y": 266.00007152557373, - "z": "978d88fe.49f858", + "x": 969.490966796875, + "y": 483.57403564453125, + "z": "bc289cb4.31b288", "wires": [ [ - "5417fb2d.edce0c" + "fe34f5d.3d31308" ] ] }, { - "id": "b945aefb.e762f", - "type": "other", - "name": "other", - "xml": "\n", + "id": "120c06e4.dff209", + "type": "failure", + "name": "failure", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1154.0005416870117, - "y": 299.000075340271, - "z": "978d88fe.49f858", + "x": 958, + "y": 530, + "z": "bc289cb4.31b288", "wires": [ [ - "39deabe9.dfa46c" + "6d39868f.7f25c8" ] ] }, { - "id": "39deabe9.dfa46c", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "outputs": 1, - "x": 1301.2700843811035, - "y": 299.5547204017639, - "z": "978d88fe.49f858", - "wires": [ - [ - "ffe0cb12.24663" - ] - ] + "id": "fe34f5d.3d31308", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "id": "6d39868f.7f25c8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", "comments": "", - "outputs": 1, - "x": 1547.2862014770508, - "y": 306.42864084243774, - "z": "978d88fe.49f858", - "wires": [ - [ - "d581e614.41ca28" - ] - ] + "x": 1127, + "y": 531, + "z": "bc289cb4.31b288", + "wires": [] }, { - "id": "d581e614.41ca28", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", + "id": "9167ffc3.5d91a", + "type": "for", + "name": "for each relationship", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1766.6358337402344, - "y": 305.96872091293335, - "z": "978d88fe.49f858", + "x": 1157, + "y": 437, + "z": "bc289cb4.31b288", "wires": [ [ - "6cb341ea.d215b" + "5c1ddd56.ddffa4" ] ] }, { - "id": "6cb341ea.d215b", + "id": "5c1ddd56.ddffa4", "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": 1380.33349609375, + "y": 436.99993896484375, + "z": "bc289cb4.31b288", "wires": [ [ - "7e8f8e16.82297" + "aeacbf90.6ab9e" ] ] }, { - "id": "7e8f8e16.82297", - "type": "outcomeTrue", - "name": "true", - "xml": "\n", + "id": "aeacbf90.6ab9e", + "type": "outcome", + "name": "connectivity", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2131.6675758361816, - "y": 308.571494102478, - "z": "978d88fe.49f858", + "x": 1581.0001335144043, + "y": 438.00002098083496, + "z": "bc289cb4.31b288", "wires": [ [ - "1efc1703.0b69f1" + "7ea091c4.73eb6" ] ] }, { - "id": "1efc1703.0b69f1", - "type": "set", - "name": "set tmp.vidx and ctx.vnf-data", - "xml": "\n\n\n", - "comments": "", - "x": 2341.199951171875, - "y": 310.32159423828125, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "d40da373.f15598", - "type": "save", - "name": "update AnAI - vnf-instance.orchestration-status", - "xml": "\n\n", - "comments": "", - "outputs": 1, - "x": 785.9999618530273, - "y": 625.0103714736179, - "z": "978d88fe.49f858", - "wires": [ - [] - ] - }, - { - "id": "358d1f62.e4f2c8", + "id": "fd4d27b6.bd205", "type": "set", - "name": "copy input data to service data", - "xml": "\n\n\n", + "name": "set attachment_param for OTN A", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 765.0000762939453, - "y": 456.01033284980804, - "z": "978d88fe.49f858", + "x": 4400, + "y": 154, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "a739ea85.93c65", - "type": "switchNode", - "name": "switch vnf-level-oper-status", - "xml": "\n", + "id": "7648091a.a03898", + "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": 4481, + "y": 469, + "z": "bc289cb4.31b288", "wires": [ [ - "c40ac9fb.21106", - "625ef5e9.0fa304" + "9edc273d.67b87", + "9c60eb24.47f378" ] ] }, { - "id": "c40ac9fb.21106", - "type": "outcome", - "name": "outcome Created", - "xml": "\n", + "id": "9edc273d.67b87", + "type": "failure", + "name": "failure", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1131.5833320617676, - "y": 366.1149909766391, - "z": "978d88fe.49f858", + "x": 4790.5, + "y": 438, + "z": "bc289cb4.31b288", "wires": [ [ - "50da061e.3d2a4" + "9905c30a.05be" ] ] }, { - "id": "625ef5e9.0fa304", - "type": "other", - "name": "other", - "xml": "\n", + "id": "9c60eb24.47f378", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1109.583351135254, - "y": 416.1150024207309, - "z": "978d88fe.49f858", + "x": 4795.5, + "y": 503, + "z": "bc289cb4.31b288", "wires": [ [ - "9d9a6d0b.f63a18" + "8e92f9d2.75f4a8" ] ] }, { - "id": "9d9a6d0b.f63a18", + "id": "9905c30a.05be", "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": 4966.5, + "y": 438, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "50da061e.3d2a4", + "id": "8e92f9d2.75f4a8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", + "comments": "", "outputs": 1, - "x": 1341.889705657959, - "y": 377.44016626197845, - "z": "978d88fe.49f858", + "x": 4962, + "y": 503, + "z": "bc289cb4.31b288", "wires": [ [] ] }, { - "id": "7a49c1a1.74cca", - "type": "comment", - "name": "new for TransportSlicing", - "info": "", + "id": "7974f996.7603f8", + "type": "set", + "name": "set sotn_value", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 726, - "y": 699, - "z": "978d88fe.49f858", + "x": 4347.5, + "y": 657, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "19a0d774.67fb01", - "type": "save", - "name": "get service-instance from aai", - "xml": "", + "id": "1460b865.7cff48", + "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": 737, - "y": 749, - "z": "978d88fe.49f858", + "x": 4501.5, + "y": 705, + "z": "bc289cb4.31b288", "wires": [ [ - "ef923a7d.6928a8", - "981c314b.31ecb8", - "65818037.104038" + "d6a6995b.244f78", + "3058a60d.1382f2" ] ] }, { - "id": "ef923a7d.6928a8", - "type": "success", - "name": "success", - "xml": "\n", + "id": "d6a6995b.244f78", + "type": "failure", + "name": "failure", + "xml": "\n", "comments": "", "outputs": 1, - "x": 953, - "y": 714, - "z": "978d88fe.49f858", + "x": 4847, + "y": 686, + "z": "bc289cb4.31b288", "wires": [ [ - "c4da4ce2.e86fd" + "9008a0fb.361338" ] ] }, { - "id": "981c314b.31ecb8", - "type": "not-found", - "name": "not-found", - "xml": "\n", + "id": "3058a60d.1382f2", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 962.490966796875, - "y": 756.5740356445312, - "z": "978d88fe.49f858", + "x": 4851, + "y": 726, + "z": "bc289cb4.31b288", "wires": [ [ - "2c51a746.8529b8" + "5c04d202.902b9c" ] ] }, { - "id": "65818037.104038", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "9008a0fb.361338", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 5005, + "y": 686, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "5c04d202.902b9c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", "comments": "", "outputs": 1, - "x": 951, - "y": 803, - "z": "978d88fe.49f858", + "x": 5008.5, + "y": 726, + "z": "bc289cb4.31b288", "wires": [ [ - "11f3085c.6c3b58" + "ec17d55b.a0804", + "144849a3.b4133e" ] ] }, { - "id": "2c51a746.8529b8", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n\n\n", + "id": "ec17d55b.a0804", + "type": "save", + "name": "update vpn-binding A resource (aka. OTN domainA) in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 5339, + "y": 691, + "z": "bc289cb4.31b288", + "wires": [ + [] + ] + }, + { + "id": "4e9eb117.9357d", + "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": 1120, - "y": 804, - "z": "978d88fe.49f858", + "x": 5203, + "y": 650, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "c4da4ce2.e86fd", - "type": "for", - "name": "for each relationship", - "xml": "\n", + "id": "144849a3.b4133e", + "type": "save", + "name": "update connectivity resource in AAI", + "xml": "\n\n\n", "comments": "", "outputs": 1, - "x": 1150, - "y": 710, - "z": "978d88fe.49f858", + "x": 5266, + "y": 737, + "z": "bc289cb4.31b288", "wires": [ - [ - "eb26c03f.cde3a" - ] + [] ] }, { - "id": "eb26c03f.cde3a", - "type": "switchNode", - "name": "switch related-to", - "xml": "\n", + "id": "4f40e2d1.4262ec", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", "comments": "", - "outputs": 1, - "x": 1373.33349609375, - "y": 709.9999389648438, - "z": "978d88fe.49f858", - "wires": [ - [ - "b65d7d38.16fc68" - ] - ] + "x": 4338, + "y": 202, + "z": "bc289cb4.31b288", + "wires": [] }, { - "id": "b65d7d38.16fc68", - "type": "outcome", - "name": "connectivity", - "xml": "\n", + "id": "8abcb98.e721cc8", + "type": "get-resource", + "name": "get-resource src pnf", + "xml": "\n\n \n", "comments": "", "outputs": 1, - "x": 1574.0001335144043, - "y": 711.000020980835, - "z": "978d88fe.49f858", + "x": 4364, + "y": 319, + "z": "bc289cb4.31b288", "wires": [ [ - "fda5561b.cca698" + "3115ae28.00936a", + "34440f82.2778b8", + "5e322ae1.288484" ] ] }, { - "id": "edc6ee23.1891a", - "type": "save", - "name": "get connectivityA from aai", - "xml": "\n", + "id": "3115ae28.00936a", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2179, - "y": 599, - "z": "978d88fe.49f858", + "x": 4559.5001220703125, + "y": 271, + "z": "bc289cb4.31b288", "wires": [ [ - "81d6e319.abfd8", - "313c36d7.969d3a", - "3d5cf6f2.953e9a" + "5640c3a4.e53454" ] ] }, { - "id": "fda5561b.cca698", - "type": "switchNode", - "name": "switch $rel-index == 0", - "xml": "\n\n", + "id": "34440f82.2778b8", + "type": "not-found", + "name": "not-found", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1762, - "y": 709, - "z": "978d88fe.49f858", + "x": 4551.5001220703125, + "y": 326, + "z": "bc289cb4.31b288", "wires": [ [ - "44bd1b.3cc782e4", - "f85fb605.a76398" + "b5a71ca6.0ed8a" ] ] }, { - "id": "44bd1b.3cc782e4", - "type": "outcomeTrue", - "name": "true", - "xml": "\n", + "id": "5640c3a4.e53454", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", "comments": "", "outputs": 1, - "x": 1985, - "y": 599, - "z": "978d88fe.49f858", + "x": 4703.8824462890625, + "y": 270.6556701660156, + "z": "bc289cb4.31b288", "wires": [ [ - "edc6ee23.1891a" + "4125afdc.dc7c38" ] ] }, { - "id": "f85fb605.a76398", - "type": "outcomeFalse", - "name": "false", - "xml": "\n", + "id": "e2a3abe6.94632", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1971, - "y": 1156, - "z": "978d88fe.49f858", + "x": 5286, + "y": 273, + "z": "bc289cb4.31b288", "wires": [ [ - "7b60b790.bc4c4" + "e7a85e47.2ddf5" ] ] }, { - "id": "7b60b790.bc4c4", - "type": "save", - "name": "get connectivityB from aai", - "xml": "\n", + "id": "4125afdc.dc7c38", + "type": "for", + "name": "for each relationship", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2167, - "y": 1156, - "z": "978d88fe.49f858", + "x": 4888, + "y": 269, + "z": "bc289cb4.31b288", "wires": [ [ - "8b96b70e.2f635", - "20f5c9d8.832b4e", - "f513c25.b78554" + "7289fd85.50ab7c" ] ] }, { - "id": "81d6e319.abfd8", - "type": "success", - "name": "success", - "xml": "\n", + "id": "7289fd85.50ab7c", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2385, - "y": 559, - "z": "978d88fe.49f858", + "x": 5083, + "y": 269, + "z": "bc289cb4.31b288", "wires": [ [ - "98b1c0b9.f7f4b" + "e2a3abe6.94632" ] ] }, { - "id": "313c36d7.969d3a", - "type": "not-found", - "name": "not-found", - "xml": "\n", + "id": "5e322ae1.288484", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2385.490966796875, - "y": 604.5740356445312, - "z": "978d88fe.49f858", + "x": 4556.5001220703125, + "y": 383, + "z": "bc289cb4.31b288", "wires": [ [ - "d4d990d4.f7b0a8" + "a5591b6a.a340a8" ] ] }, { - "id": "3d5cf6f2.953e9a", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "a5591b6a.a340a8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n ", "comments": "", "outputs": 1, - "x": 2383, - "y": 648, - "z": "978d88fe.49f858", + "x": 5671, + "y": 286, + "z": "bc289cb4.31b288", "wires": [ [ - "97be5e5a.798428" + "d6fa81cb.78d2d", + "bcf1b063.c95248", + "109a3661.2bbbd2" ] ] }, { - "id": "98b1c0b9.f7f4b", + "id": "e7a85e47.2ddf5", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 2557.66650390625, - "y": 558, - "z": "978d88fe.49f858", + "x": 5465, + "y": 273, + "z": "bc289cb4.31b288", "wires": [ [ - "2d415746.a7be9", - "96d25665.97a75", - "2f11d14a.7d5856", - "d0c66bee.225358" + "211b93a9.ce5f0c", + "ca9f1df7.d822c" ] ] }, { - "id": "d4d990d4.f7b0a8", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n\n\n", + "id": "211b93a9.ce5f0c", + "type": "set", + "name": "set esr-thirdparty-sdnc domainA id", + "xml": "\n\n", "comments": "", - "x": 2552, - "y": 649, - "z": "978d88fe.49f858", + "x": 5701, + "y": 234, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "8b96b70e.2f635", + "id": "d6fa81cb.78d2d", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 2387, - "y": 1127, - "z": "978d88fe.49f858", + "x": 5881, + "y": 277, + "z": "bc289cb4.31b288", "wires": [ [ - "aff8819.10cbe8" + "bf2e4f3b.81ed8" ] ] }, { - "id": "20f5c9d8.832b4e", + "id": "bcf1b063.c95248", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 2388.490966796875, - "y": 1172.5740356445312, - "z": "978d88fe.49f858", + "x": 5873, + "y": 332, + "z": "bc289cb4.31b288", "wires": [ [ - "cb55df0.f8980a" + "bfa4b512.849248" ] ] }, { - "id": "f513c25.b78554", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "109a3661.2bbbd2", + "type": "other", + "name": "other", + "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": 5878, + "y": 389, + "z": "bc289cb4.31b288", "wires": [ [ - "490cf25b.6f8bbc", - "7192c89b.9fa8a", - "83e10369.9e2a48", - "8632824a.a7d1a" + "76f805.e622cffc" ] ] }, { - "id": "cb55df0.f8980a", + "id": "76f805.e622cffc", "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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "outputs": 1, - "x": 2786, - "y": 1126, - "z": "978d88fe.49f858", + "x": 6240, + "y": 271, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "2a368168.cab60e", + "type": "execute", + "name": "execute properties", + "xml": "\n \n ", + "comments": "", + "outputs": 1, + "x": 707, + "y": 451, + "z": "bc289cb4.31b288", + "wires": [ + [] + ] + }, + { + "id": "3bea0429.f0ebac", + "type": "set", + "name": "set attachment_param for OTN B", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 3807, + "y": 1611, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "d501f859.eecd18", + "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": 3870, + "y": 1940, + "z": "bc289cb4.31b288", + "wires": [ + [ + "8a516999.f983f8", + "e1e3477c.cb45b" + ] + ] + }, + { + "id": "8a516999.f983f8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4165.5, + "y": 1907, + "z": "bc289cb4.31b288", + "wires": [ + [ + "1f32cbd.2007fb4" + ] + ] + }, + { + "id": "e1e3477c.cb45b", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4170.5, + "y": 1972, + "z": "bc289cb4.31b288", + "wires": [ + [ + "5be15aea.63aa2c" + ] + ] + }, + { + "id": "1f32cbd.2007fb4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 4333.5, + "y": 1907, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "5be15aea.63aa2c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4344, + "y": 1972, + "z": "bc289cb4.31b288", + "wires": [ + [] + ] + }, + { + "id": "32f45e6c.4d0bea", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", + "comments": "", + "x": 3746, + "y": 1668, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "e8ca7925.e0f8c", + "type": "get-resource", + "name": "get-resource dst pnf", + "xml": "\n\n \n", + "comments": "", + "outputs": 1, + "x": 3766, + "y": 1765, + "z": "bc289cb4.31b288", + "wires": [ + [ + "9bb092a5.d05b48", + "221dd2f3.9ac236", + "26d51b0f.5d004c" + ] + ] + }, + { + "id": "9bb092a5.d05b48", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3968.5001220703125, + "y": 1718, + "z": "bc289cb4.31b288", + "wires": [ + [ + "b690bac2.55724" + ] + ] + }, + { + "id": "221dd2f3.9ac236", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3960.5001220703125, + "y": 1773, + "z": "bc289cb4.31b288", + "wires": [ + [ + "b19648bb.51984" + ] + ] + }, + { + "id": "b690bac2.55724", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4112.8824462890625, + "y": 1715.6556701660156, + "z": "bc289cb4.31b288", + "wires": [ + [ + "bc889fde.13a798" + ] + ] + }, + { + "id": "bc889fde.13a798", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4297, + "y": 1730, + "z": "bc289cb4.31b288", + "wires": [ + [ + "6cdbe20d.6924d4" + ] + ] + }, + { + "id": "26d51b0f.5d004c", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3965.5001220703125, + "y": 1830, + "z": "bc289cb4.31b288", + "wires": [ + [ + "5f4cb2c4.11fb94" + ] + ] + }, + { + "id": "5f4cb2c4.11fb94", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n", + "comments": "", + "outputs": 1, + "x": 4695, + "y": 1734, + "z": "bc289cb4.31b288", + "wires": [ + [ + "ab9ee354.2292b" + ] + ] + }, + { + "id": "6cdbe20d.6924d4", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4492, + "y": 1730, + "z": "bc289cb4.31b288", "wires": [ [ - "9697ed36.e16ad8", - "1b825f20.68c389", - "214845f.325e5ba" + "73a1b393.2e09c4" ] ] }, { - "id": "8505e692.6e58e8", + "id": "1f5d9d19.39869b", + "type": "execute", + "name": "get esr-thirdparty-sdnc", + "xml": "", + "comments": "", + "outputs": 1, + "x": 5080, + "y": 1733, + "z": "bc289cb4.31b288", + "wires": [ + [ + "9355225.5c1536", + "66c76394.d1fea4", + "2e8b8501.9ee95a" + ] + ] + }, + { + "id": "ab9ee354.2292b", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 3166, - "y": 556, - "z": "978d88fe.49f858", + "x": 4872, + "y": 1726, + "z": "bc289cb4.31b288", "wires": [ [ - "1e245d3c.a778db", - "f09e2868.9a86c8" + "28e5278d.3f4238", + "1f5d9d19.39869b" ] ] }, { - "id": "1e245d3c.a778db", + "id": "28e5278d.3f4238", "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", + "name": "set esr-thirdparty-sdnc domainB id", + "xml": "\n\n", + "comments": "", + "x": 5110, + "y": 1681, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "8616ea00.2e5968", + "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": 3402, - "y": 555, - "z": "978d88fe.49f858", + "x": 5649, + "y": 1718, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "2054e000.51325", + "id": "9355225.5c1536", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 2993, - "y": 558, - "z": "978d88fe.49f858", + "x": 5290, + "y": 1724, + "z": "bc289cb4.31b288", "wires": [ [ - "8505e692.6e58e8" + "d4ab39c.829a8c8" ] ] }, { - "id": "24cb3e35.5919ba", + "id": "66c76394.d1fea4", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 2993.490966796875, - "y": 603.5740356445312, - "z": "978d88fe.49f858", + "x": 5282, + "y": 1779, + "z": "bc289cb4.31b288", "wires": [ [ - "7b7e2f47.0a22b" + "8ef11dae.da91" ] ] }, { - "id": "49ca8d9.cac6774", + "id": "2e8b8501.9ee95a", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5287, + "y": 1836, + "z": "bc289cb4.31b288", + "wires": [ + [ + "8616ea00.2e5968" + ] + ] + }, + { + "id": "7ea091c4.73eb6", + "type": "save", + "name": "get connectivity from aai", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1819, + "y": 440, + "z": "bc289cb4.31b288", + "wires": [ + [ + "cf96a339.12fc08", + "ebf1abf2.c0a2b8", + "a6813928.711c6" + ] + ] + }, + { + "id": "cf96a339.12fc08", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2027, + "y": 404, + "z": "bc289cb4.31b288", + "wires": [ + [ + "7e9b774d.9e8c28" + ] + ] + }, + { + "id": "ebf1abf2.c0a2b8", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2027.490966796875, + "y": 449.57403564453125, + "z": "bc289cb4.31b288", + "wires": [ + [ + "b2e1099a.08fc3" + ] + ] + }, + { + "id": "a6813928.711c6", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 2991, - "y": 647, - "z": "978d88fe.49f858", + "x": 2025, + "y": 493, + "z": "bc289cb4.31b288", "wires": [ [ - "f869989c.799108" + "8f5ccf37.c152" ] ] }, { - "id": "f869989c.799108", + "id": "b2e1099a.08fc3", "type": "returnFailure", "name": "return failure", - "xml": "\n\n\n", + "xml": "\n\t\n\t\n \n\t\n\t\n \n\n\n", "comments": "", - "x": 3156.0623779296875, - "y": 603.8597717285156, - "z": "978d88fe.49f858", + "x": 2194, + "y": 494, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "9697ed36.e16ad8", + "id": "2f04c146.0a3af6", + "type": "save", + "name": "get vpn-binding from aai", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2500, + "y": 493, + "z": "bc289cb4.31b288", + "wires": [ + [ + "675654a6.d7ff34", + "15ae8ffb.52d9c8", + "5de62fdc.3f5a78" + ] + ] + }, + { + "id": "c4252359.e0b548", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 2884, + "y": 493, + "z": "bc289cb4.31b288", + "wires": [ + [ + "cf117e36.f49698", + "9e15ad66.cb5638" + ] + ] + }, + { + "id": "675654a6.d7ff34", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 2993, - "y": 1129, - "z": "978d88fe.49f858", + "x": 2711, + "y": 495, + "z": "bc289cb4.31b288", "wires": [ [ - "d0988988.8d0a18" + "c4252359.e0b548" ] ] }, { - "id": "1b825f20.68c389", + "id": "15ae8ffb.52d9c8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 2993.490966796875, - "y": 1174.5740356445312, - "z": "978d88fe.49f858", + "x": 2711.490966796875, + "y": 540.5740356445312, + "z": "bc289cb4.31b288", "wires": [ [ - "875a2548.0cfdc8" + "1c0c1f66.646011" ] ] }, { - "id": "214845f.325e5ba", + "id": "5de62fdc.3f5a78", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 2991, - "y": 1218, - "z": "978d88fe.49f858", + "x": 2709, + "y": 584, + "z": "bc289cb4.31b288", "wires": [ [ - "5743b059.d8fee" + "96b5913.ff6507" ] ] }, { - "id": "5743b059.d8fee", + "id": "96b5913.ff6507", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", - "x": 3160, - "y": 1219, - "z": "978d88fe.49f858", + "x": 2876, + "y": 583, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "875a2548.0cfdc8", + "id": "1c0c1f66.646011", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n", + "comments": "", + "outputs": 1, + "x": 2228, + "y": 399, + "z": "bc289cb4.31b288", + "wires": [ + [ + "a33b5641.550dd8" + ] + ] + }, + { + "id": "a33b5641.550dd8", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2433, + "y": 399, + "z": "bc289cb4.31b288", + "wires": [ + [ + "dcc9c2f.bdc72c" + ] + ] + }, + { + "id": "dcc9c2f.bdc72c", + "type": "outcome", + "name": "vpn-binding", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2599, + "y": 399, + "z": "bc289cb4.31b288", + "wires": [ + [ + "b86471e.744979" + ] + ] + }, + { + "id": "b86471e.744979", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 2762, + "y": 399, + "z": "bc289cb4.31b288", + "wires": [ + [ + "2f04c146.0a3af6", + "65e4f8bf.6cf8f" + ] + ] + }, + { + "id": "cf117e36.f49698", + "type": "switchNode", + "name": "switch vpn-binding has dst-access-ltp", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3138, + "y": 492, + "z": "bc289cb4.31b288", + "wires": [ + [ + "965ac3c2.a1d608", + "6bf420f8.6129c8" + ] + ] + }, + { + "id": "965ac3c2.a1d608", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3391, + "y": 526, + "z": "bc289cb4.31b288", + "wires": [ + [ + "f82e8947.2d7ce8" + ] + ] + }, + { + "id": "6bf420f8.6129c8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3391, + "y": 470, + "z": "bc289cb4.31b288", + "wires": [ + [ + "aacf39c3.b541a" + ] + ] + }, + { + "id": "f82e8947.2d7ce8", + "type": "switchNode", + "name": "switch vpn-binding has src-access-ltp", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3115, + "y": 1962, + "z": "bc289cb4.31b288", + "wires": [ + [ + "10da65e0.f509ca", + "73ba091f.6ce2a" + ] + ] + }, + { + "id": "10da65e0.f509ca", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3368, + "y": 1996, + "z": "bc289cb4.31b288", + "wires": [ + [ + "d3f311e2.47dc9" + ] + ] + }, + { + "id": "73ba091f.6ce2a", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3368, + "y": 1940, + "z": "bc289cb4.31b288", + "wires": [ + [ + "4a6141b6.6b0c98" + ] + ] + }, + { + "id": "d3f311e2.47dc9", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 3519, + "y": 1996, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "fb92b32f.578d9", + "type": "set", + "name": "set vpn-bindingA and connectivityA", + "xml": "\n\n\n", + "comments": "", + "x": 4395, + "y": 94, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "16b6eb5a.c037cd", + "type": "set", + "name": "set vpn-bindingB and connectivityB", + "xml": "\n\n\n\n", + "comments": "", + "x": 3803, + "y": 1553, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "b5fbea6d.693118", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4086, + "y": 351, + "z": "bc289cb4.31b288", + "wires": [ + [ + "fb92b32f.578d9", + "fd4d27b6.bd205", + "4f40e2d1.4262ec", + "8abcb98.e721cc8", + "7974f996.7603f8", + "1460b865.7cff48", + "7648091a.a03898" + ] + ] }, { - "id": "d0988988.8d0a18", + "id": "4a6141b6.6b0c98", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 3162, - "y": 1129, - "z": "978d88fe.49f858", + "x": 3519, + "y": 1939, + "z": "bc289cb4.31b288", "wires": [ [ - "7dda745d.4071a4", - "6468b39.c45bd4c" + "16b6eb5a.c037cd", + "3bea0429.f0ebac", + "32f45e6c.4d0bea", + "e8ca7925.e0f8c", + "d501f859.eecd18", + "dfc89384.6f3b98", + "7e08fa79.0c018c" ] ] }, { - "id": "7dda745d.4071a4", + "id": "dfc89384.6f3b98", "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": 3748, + "y": 2082, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "f09e2868.9a86c8", + "id": "7e08fa79.0c018c", "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": 3902, + "y": 2130, + "z": "bc289cb4.31b288", "wires": [ [ - "a8d618e8.7c53c8", - "84fddcaa.8b02a" + "dd71fa1b.6e05f", + "23079c35.06b53c" ] ] }, { - "id": "a8d618e8.7c53c8", + "id": "dd71fa1b.6e05f", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 3790.5, - "y": 568, - "z": "978d88fe.49f858", + "x": 4247.5, + "y": 2111, + "z": "bc289cb4.31b288", "wires": [ [ - "6eacb8a7.7aa3d" + "531e9904.6c0cf" ] ] }, { - "id": "84fddcaa.8b02a", + "id": "23079c35.06b53c", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3805.5, - "y": 633, - "z": "978d88fe.49f858", + "x": 4251.5, + "y": 2151, + "z": "bc289cb4.31b288", "wires": [ [ - "b82bd962.cbba2" + "ca751a91.a1fc5" ] ] }, { - "id": "6eacb8a7.7aa3d", + "id": "531e9904.6c0cf", "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": 4405.5, + "y": 2111, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "b82bd962.cbba2", + "id": "ca751a91.a1fc5", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 4000, - "y": 626, - "z": "978d88fe.49f858", + "x": 4409, + "y": 2151, + "z": "bc289cb4.31b288", + "wires": [ + [ + "acce8a06.32f9", + "300cb80e.add27" + ] + ] + }, + { + "id": "ed3d8ab7.5da83", + "type": "comment", + "name": "TODO: FIXME:", + "info": "put proper values based on connectivity resource retrieved from AAI", + "comments": "", + "x": 3745.5, + "y": 2038, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "acce8a06.32f9", + "type": "save", + "name": "update vpn-binding B resource (aka. OTN domainB) in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 4749, + "y": 2150, + "z": "bc289cb4.31b288", "wires": [ [] ] }, { - "id": "74c1bd3a.398664", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "dd0732a8.6dcd38", + "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": 4607, + "y": 2108, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "300cb80e.add27", + "type": "save", + "name": "update connectivity resource in AAI", + "xml": "\n\n\n", "comments": "", "outputs": 1, - "x": 3775, - "y": 1150, - "z": "978d88fe.49f858", + "x": 4678, + "y": 2199, + "z": "bc289cb4.31b288", "wires": [ - [ - "fc791248.fc4648" - ] + [] ] }, { - "id": "fdc0c54.10c51b8", - "type": "success", - "name": "success", - "xml": "\n", + "id": "9e15ad66.cb5638", + "type": "set", + "name": "set attachment_param (gfp-n) for OTN", + "xml": "\n\n", + "comments": "", + "x": 3125, + "y": 398, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "65e4f8bf.6cf8f", + "type": "set", + "name": "unset tmp.aai.vpn-binding", + "xml": "\n\n", + "comments": "", + "x": 2946, + "y": 270, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "198fcdf8.1e22c2", + "type": "comment", + "name": "only dst ttp exists. No src", + "info": "", + "comments": "", + "x": 3907, + "y": 308, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "ca0cd7a2.5ca728", + "type": "comment", + "name": "only src ttp exists. No dst", + "info": "", + "comments": "", + "x": 3464, + "y": 1886, + "z": "bc289cb4.31b288", + "wires": [] + }, + { + "id": "aacf39c3.b541a", + "type": "switchNode", + "name": "switch vpn-binding has src-access-ltp", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3790, - "y": 1215, - "z": "978d88fe.49f858", + "x": 3615, + "y": 468, + "z": "bc289cb4.31b288", "wires": [ [ - "16f26dc2.3147e2" + "df2281b1.f49f38", + "aea11bc2.879238" ] ] }, { - "id": "fc791248.fc4648", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\t\n\t\n \n", + "id": "aea11bc2.879238", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", - "x": 3959, - "y": 1146, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 3885, + "y": 1059, + "z": "bc289cb4.31b288", + "wires": [ + [ + "f4291584.31d5f8" + ] + ] }, { - "id": "16f26dc2.3147e2", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", + "id": "df2281b1.f49f38", + "type": "outcome", + "name": "Null", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3984.5, - "y": 1208, - "z": "978d88fe.49f858", + "x": 3879, + "y": 350, + "z": "bc289cb4.31b288", "wires": [ - [] + [ + "b5fbea6d.693118" + ] ] }, { - "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": "f4291584.31d5f8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", "outputs": 1, - "x": 3464.5, - "y": 1183, - "z": "978d88fe.49f858", + "x": 4043, + "y": 1058, + "z": "bc289cb4.31b288", "wires": [ [ - "74c1bd3a.398664", - "fdc0c54.10c51b8" + "507acb8a.026844", + "328f5ebe.d2c3f2", + "282b55f0.c4b452", + "f1d5dfc2.902f38", + "e32fad74.744d" ] ] }, { - "id": "2f11d14a.7d5856", + "id": "328f5ebe.d2c3f2", "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": 4307, + "y": 941, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "d0c66bee.225358", + "id": "e32fad74.744d", "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": 4388, + "y": 1256, + "z": "bc289cb4.31b288", "wires": [ [ - "3db41fa8.f38878", - "fbb2729e.49853" + "4fa7d7bd.5a2ab", + "f472be3.5d0074" ] ] }, { - "id": "3db41fa8.f38878", + "id": "4fa7d7bd.5a2ab", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 3266, - "y": 927, - "z": "978d88fe.49f858", + "x": 4697.5, + "y": 1225, + "z": "bc289cb4.31b288", "wires": [ [ - "f346270d.843368" + "1f127e35.6d237a" ] ] }, { - "id": "fbb2729e.49853", + "id": "f472be3.5d0074", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3270, - "y": 967, - "z": "978d88fe.49f858", + "x": 4702.5, + "y": 1290, + "z": "bc289cb4.31b288", "wires": [ [ - "c716fb9b.f3ffc" + "5d6567d4.56edf" ] ] }, { - "id": "f346270d.843368", + "id": "1f127e35.6d237a", "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": 4873.5, + "y": 1225, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "c716fb9b.f3ffc", + "id": "5d6567d4.56edf", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 3427.5, - "y": 967, - "z": "978d88fe.49f858", + "x": 4869, + "y": 1290, + "z": "bc289cb4.31b288", "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": "282b55f0.c4b452", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", "comments": "", - "x": 2764, - "y": 854, - "z": "978d88fe.49f858", + "x": 4245, + "y": 989, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "96d25665.97a75", + "id": "f1d5dfc2.902f38", "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": 4271, + "y": 1106, + "z": "bc289cb4.31b288", "wires": [ [ - "4a3c4a39.62e724", - "e52cd6a7.6aeb28", - "bb40af56.1cbe7" + "b1abc6d5.732f1", + "5f6c0c85.ca44ac", + "386d37a9.f48098" ] ] }, { - "id": "4a3c4a39.62e724", + "id": "b1abc6d5.732f1", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3062, - "y": 740, - "z": "978d88fe.49f858", + "x": 4466.5001220703125, + "y": 1058, + "z": "bc289cb4.31b288", "wires": [ [ - "9e28f8d9.f64138" + "7b990f0b.20c288" ] ] }, { - "id": "e52cd6a7.6aeb28", + "id": "5f6c0c85.ca44ac", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 3066, - "y": 780, - "z": "978d88fe.49f858", + "x": 4458.5001220703125, + "y": 1113, + "z": "bc289cb4.31b288", "wires": [ [ - "916c7538.648ed" + "315f8841.f40a1" ] ] }, { - "id": "bb40af56.1cbe7", - "type": "other", - "name": "other", - "xml": "\n", + "id": "7b990f0b.20c288", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", "comments": "", "outputs": 1, - "x": 3058, - "y": 820, - "z": "978d88fe.49f858", + "x": 4610.8824462890625, + "y": 1057.6556701660156, + "z": "bc289cb4.31b288", "wires": [ [ - "a678576a.20b77" + "c8fb728b.2dc648" ] ] }, { - "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": 4795, + "y": 1056, + "z": "bc289cb4.31b288", + "wires": [ + [ + "d59f0b39.d31cc8" + ] + ] }, { - "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": 4990, + "y": 1056, + "z": "bc289cb4.31b288", + "wires": [ + [ + "7e05c38e.6d5cbc" + ] + ] }, { - "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": "386d37a9.f48098", + "type": "other", + "name": "other", + "xml": "\n", "comments": "", - "x": 3232, - "y": 740, - "z": "978d88fe.49f858", - "wires": [] + "outputs": 1, + "x": 4463.5001220703125, + "y": 1170, + "z": "bc289cb4.31b288", + "wires": [ + [ + "46492ab4.cb6c04" + ] + ] }, { - "id": "b0af8ca6.269818", - "type": "comment", - "name": "Get controller info and send request", - "info": "", + "id": "46492ab4.cb6c04", + "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": "315f8841.f40a1", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n\n\n\n\n\n\n\n\n\n\n", + "id": "507acb8a.026844", + "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": 4302, + "y": 881, + "z": "bc289cb4.31b288", + "wires": [] }, { - "id": "51ac9234.46b414", - "type": "failure", - "name": "failure", - "xml": "\n", + "id": "7e05c38e.6d5cbc", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", "comments": "", "outputs": 1, - "x": 3251.5, - "y": 1483, - "z": "978d88fe.49f858", + "x": 5193, + "y": 1060, + "z": "bc289cb4.31b288", "wires": [ [ - "6f72d542.94964c" + "436389a3.57fb78" ] ] }, { - "id": "a5f17af5.5d803", - "type": "success", - "name": "success", - "xml": "\n", + "id": "6a766cec.04fc1c", + "type": "execute", + "name": "get esr-thirdparty-sdnc", + "xml": "", "comments": "", "outputs": 1, - "x": 3255.5, - "y": 1523, - "z": "978d88fe.49f858", + "x": 5578, + "y": 1073, + "z": "bc289cb4.31b288", "wires": [ [ - "2dab9f7d.db59d8" + "985e5e77.801e6", + "a10da0b1.afaa18", + "4e466bf1.fc05c4" ] ] }, { - "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": "436389a3.57fb78", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", - "comments": "", "outputs": 1, - "x": 3413, - "y": 1523, - "z": "978d88fe.49f858", + "x": 5372, + "y": 1060, + "z": "bc289cb4.31b288", "wires": [ [ - "a1391891.c310f", - "ccc1b1df.33721" + "507f9c6b.ef2c2c", + "6a766cec.04fc1c" ] ] }, { - "id": "5d06869f.f8bcb8", - "type": "comment", - "name": "TODO: FIXME:", - "info": "put proper values based on connectivity resource retrieved from AAI", + "id": "507f9c6b.ef2c2c", + "type": "set", + "name": "set esr-thirdparty-sdnc domainG id", + "xml": "\n\n", "comments": "", - "x": 2749.5, - "y": 1410, - "z": "978d88fe.49f858", + "x": 5608, + "y": 1021, + "z": "bc289cb4.31b288", "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": "985e5e77.801e6", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 3047.5, - "y": 1296, - "z": "978d88fe.49f858", + "x": 5788, + "y": 1064, + "z": "bc289cb4.31b288", "wires": [ [ - "427eefc5.61bc" + "37e160ea.8f86d8" ] ] }, { - "id": "9dfaf98b.e80c9", + "id": "a10da0b1.afaa18", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 3051.5, - "y": 1336, - "z": "978d88fe.49f858", + "x": 5780, + "y": 1119, + "z": "bc289cb4.31b288", "wires": [ [ - "8ac5fa96.75d4b" + "81ccddb5.3e1b1" ] ] }, { - "id": "dcca7d62.830ee8", + "id": "4e466bf1.fc05c4", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, - "x": 3043.5, - "y": 1376, - "z": "978d88fe.49f858", + "x": 5785, + "y": 1176, + "z": "bc289cb4.31b288", "wires": [ [ - "39cf0825.d43ae" + "c4f4a10b.e46a6" ] ] }, { - "id": "39cf0825.d43ae", + "id": "c4f4a10b.e46a6", "type": "returnFailure", "name": "return failure", - "xml": "\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": "", - "comments": "", - "x": 2809.5, - "y": 1296, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "135b0ed7.2faa91", - "type": "comment", - "name": "TODO: FIXME:", - "info": "How to know which domain's (A or B) controller is bein retrieved?", - "comments": "", - "x": 2744, - "y": 1256, - "z": "978d88fe.49f858", - "wires": [] - }, - { - "id": "a58ac83b.b037d", - "type": "comment", - "name": "TODO: FIXME:", - "info": "How to know which domain's (A or B) controller is bein retrieved?", + "xml": "\n\t\n\t\n \n\n\n\n\n", + "id": "37e160ea.8f86d8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", "comments": "", "outputs": 1, - "x": 3756, - "y": 967, - "z": "978d88fe.49f858", + "x": 5932.38232421875, + "y": 1061.6556701660156, + "z": "bc289cb4.31b288", "wires": [ - [] + [ + "4cbb09e8.a29488" + ] ] }, { - "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?", + "id": "4cbb09e8.a29488", + "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": 3620, - "y": 926, - "z": "978d88fe.49f858", + "x": 6147, + "y": 1058, + "z": "bc289cb4.31b288", "wires": [] }, { - "id": "a1391891.c310f", - "type": "save", - "name": "update vpn-binding B resource (aka. OTN domainB) in AAI", - "xml": "\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 3753, - "y": 1522, - "z": "978d88fe.49f858", - "wires": [ - [] - ] - }, - { - "id": "90d3682d.e54348", + "id": "28d376a3.473102", "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?", + "name": "both src and dst exist", + "info": "", "comments": "", - "x": 3611, - "y": 1480, - "z": "978d88fe.49f858", + "x": 3921, + "y": 999, + "z": "bc289cb4.31b288", "wires": [] - }, - { - "id": "856ae03f.786118", - "type": "save", - "name": "update connectivity resource in AAI", - "xml": "\n\n\n", - "comments": "", - "outputs": 1, - "x": 3683, - "y": 1013, - "z": "978d88fe.49f858", - "wires": [ - [] - ] - }, - { - "id": "ccc1b1df.33721", - "type": "save", - "name": "update connectivity resource in AAI", - "xml": "\n\n\n", - "comments": "", - "outputs": 1, - "x": 3682, - "y": 1571, - "z": "978d88fe.49f858", - "wires": [ - [] - ] } ] \ No newline at end of file