X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fp2p_eline%2FGENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-activate.json;fp=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fp2p_eline%2FGENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-activate.json;h=8047f55afe45780f66b48b0cd59c605add38861f;hb=f7dc9e97793e5a7a57d198f1d0419a1b8d345a35;hp=0000000000000000000000000000000000000000;hpb=ade634e6300e43bb0df96e6ff3ac1a38003f79cd;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-activate.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-activate.json new file mode 100644 index 00000000..8047f55a --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-activate.json @@ -0,0 +1,2379 @@ +[ + { + "id": "94b540c9.238618", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 149.75, + "y": 94.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "dda31e25.b7e27" + ] + ] + }, + { + "id": "dda31e25.b7e27", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 281.0356903076172, + "y": 143.98810863494873, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "a1958103.ff3f88" + ] + ] + }, + { + "id": "a1958103.ff3f88", + "type": "method", + "name": "method p2p-vnf-topology-operation-p2p-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 284.1786193847656, + "y": 228.75003242492676, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "a73db057.8ff74" + ] + ] + }, + { + "id": "a73db057.8ff74", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 433.988037109375, + "y": 358.4166564941406, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "91bdee0e.c7f15", + "957a18ba.9d8e", + "11da7ad8.21f09d" + ] + ] + }, + { + "id": "91bdee0e.c7f15", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 702.3216552734375, + "y": 745.34716796875, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "1d1c9d38.a24823", + "type": "comment", + "name": "new for TransportSlicing", + "info": "", + "comments": "", + "x": 733.75, + "y": 419.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "957a18ba.9d8e", + "type": "save", + "name": "get service-instance from aai", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 753.75, + "y": 515.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "255854de.861404", + "fd908507.674308", + "4a62dd9f.61cdac" + ] + ] + }, + { + "id": "255854de.861404", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 972.75, + "y": 453.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "622587e3.99be58" + ] + ] + }, + { + "id": "fd908507.674308", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 982.240966796875, + "y": 496.32403564453125, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d8fc9dc9.3e6cf" + ] + ] + }, + { + "id": "4a62dd9f.61cdac", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 970.75, + "y": 542.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "5e548c85.32cd14" + ] + ] + }, + { + "id": "d8fc9dc9.3e6cf", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n\n", + "comments": "", + "x": 1139.75, + "y": 543.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "622587e3.99be58", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1169.75, + "y": 449.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "439a3ae3.2ab694" + ] + ] + }, + { + "id": "439a3ae3.2ab694", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1393.08349609375, + "y": 449.74993896484375, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "1016c8ba.b6da07" + ] + ] + }, + { + "id": "1016c8ba.b6da07", + "type": "outcome", + "name": "connectivity", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1593.7501335144043, + "y": 450.75002098083496, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "f655b129.6c8e3" + ] + ] + }, + { + "id": "7d98821b.e6839c", + "type": "set", + "name": "set attachment_param for OTN A", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 4412.75, + "y": 166.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "c978ce8f.5eb918", + "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": 4493.75, + "y": 481.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "c08a95fe.6696f8", + "b0f4c0f5.92a118" + ] + ] + }, + { + "id": "c08a95fe.6696f8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4803.25, + "y": 450.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "f00f23ff.750aa8" + ] + ] + }, + { + "id": "b0f4c0f5.92a118", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4808.25, + "y": 515.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "c22d4e2c.b8095" + ] + ] + }, + { + "id": "f00f23ff.750aa8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 4979.25, + "y": 450.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "c22d4e2c.b8095", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4974.75, + "y": 515.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "d1f1dcb6.1fec3", + "type": "set", + "name": "set sotn_value", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 4360.25, + "y": 669.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "251b183d.cbc77", + "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": 4514.25, + "y": 717.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "be60985c.4fbc58", + "b84a3cc3.684a28" + ] + ] + }, + { + "id": "be60985c.4fbc58", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4859.75, + "y": 698.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "305db122.d214ee" + ] + ] + }, + { + "id": "b84a3cc3.684a28", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4863.75, + "y": 738.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d6fb6749.eab338" + ] + ] + }, + { + "id": "305db122.d214ee", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 5017.75, + "y": 698.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "d6fb6749.eab338", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 5021.25, + "y": 738.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "4fa6f4cb.4aa39c", + "f065baf1.f73c4", + "677bc6cc.c2278" + ] + ] + }, + { + "id": "d7ddb4d7.9c1b5", + "type": "comment", + "name": "TODO: FIXME:", + "info": "put proper values based on connectivity resource retrieved from AAI", + "comments": "", + "x": 4357.75, + "y": 625.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "4fa6f4cb.4aa39c", + "type": "save", + "name": "update vpn-binding A resource (aka. OTN domainA) in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 5351.75, + "y": 703.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "e1a352b3.d1c22", + "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": 5215.75, + "y": 662.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "f065baf1.f73c4", + "type": "save", + "name": "update connectivity resource in AAI", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 5278.75, + "y": 749.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "d8047beb.a120a", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", + "comments": "", + "x": 4350.75, + "y": 214.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "c0003a50.a00b1", + "type": "get-resource", + "name": "get-resource src pnf", + "xml": "\n\n \n", + "comments": "", + "outputs": 1, + "x": 4376.75, + "y": 331.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "767b670a.725628", + "8de69881.7810c", + "dbb97564.e7a91" + ] + ] + }, + { + "id": "767b670a.725628", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4572.2501220703125, + "y": 283.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "9fa9eef6.966618" + ] + ] + }, + { + "id": "8de69881.7810c", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4564.2501220703125, + "y": 338.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "2b81f91f.bfddb6" + ] + ] + }, + { + "id": "9fa9eef6.966618", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4716.6324462890625, + "y": 283.4056701660156, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "33a206d2.a6527a" + ] + ] + }, + { + "id": "4f3c702b.c83bb", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5298.75, + "y": 285.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "cb134ba5.74bf48" + ] + ] + }, + { + "id": "33a206d2.a6527a", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4900.75, + "y": 281.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "893da1cb.bc091" + ] + ] + }, + { + "id": "893da1cb.bc091", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5095.75, + "y": 281.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "4f3c702b.c83bb" + ] + ] + }, + { + "id": "dbb97564.e7a91", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4569.2501220703125, + "y": 395.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "b75e061e.d5ec88" + ] + ] + }, + { + "id": "b75e061e.d5ec88", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n ", + "comments": "", + "outputs": 1, + "x": 5683.75, + "y": 298.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "2e1535a4.41297a", + "1778db70.6907f5", + "72b5f7c.70da408" + ] + ] + }, + { + "id": "cb134ba5.74bf48", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 5477.75, + "y": 285.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "19fba605.f323fa", + "848a4c57.f2a3d" + ] + ] + }, + { + "id": "19fba605.f323fa", + "type": "set", + "name": "set esr-thirdparty-sdnc domainA id", + "xml": "\n\n", + "comments": "", + "x": 5713.75, + "y": 246.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "2e1535a4.41297a", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5893.75, + "y": 289.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "780f3b99.e0b614" + ] + ] + }, + { + "id": "1778db70.6907f5", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5885.75, + "y": 344.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "142c73b0.fb0d8c" + ] + ] + }, + { + "id": "72b5f7c.70da408", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5890.75, + "y": 401.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "4764feda.35a838" + ] + ] + }, + { + "id": "4764feda.35a838", + "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": 6252.75, + "y": 283.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "11da7ad8.21f09d", + "type": "execute", + "name": "execute properties", + "xml": "\n \n ", + "comments": "", + "outputs": 1, + "x": 719.75, + "y": 463.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "97981e3f.7665d", + "type": "set", + "name": "set attachment_param for OTN B", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 3819.75, + "y": 1623.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "1bef475b.0876b9", + "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": 3882.75, + "y": 1952.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "a5d1d793.c9259", + "24fe1da2.474a9a" + ] + ] + }, + { + "id": "a5d1d793.c9259", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4178.25, + "y": 1919.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "b911fc3e.201c1" + ] + ] + }, + { + "id": "24fe1da2.474a9a", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4183.25, + "y": 1984.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "467082f5.e654ac" + ] + ] + }, + { + "id": "b911fc3e.201c1", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 4346.25, + "y": 1919.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "467082f5.e654ac", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4356.75, + "y": 1984.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "ace90237.5528b8", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", + "comments": "", + "x": 3758.75, + "y": 1680.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "e4aaac37.9b5738", + "type": "get-resource", + "name": "get-resource dst pnf", + "xml": "\n\n \n", + "comments": "", + "outputs": 1, + "x": 3778.75, + "y": 1777.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "57142ea4.bc3bb", + "cc1afb43.a5676", + "86a15efe.377578" + ] + ] + }, + { + "id": "57142ea4.bc3bb", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3981.2501220703125, + "y": 1730.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "19ef9dfe.b1b91a" + ] + ] + }, + { + "id": "cc1afb43.a5676", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3973.2501220703125, + "y": 1785.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "fc294828.8c7aa" + ] + ] + }, + { + "id": "19ef9dfe.b1b91a", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4125.6324462890625, + "y": 1728.4056701660156, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "a34e91d1.6b4f48" + ] + ] + }, + { + "id": "a34e91d1.6b4f48", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4309.75, + "y": 1742.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "bcf409d1.2bca88" + ] + ] + }, + { + "id": "86a15efe.377578", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3978.2501220703125, + "y": 1842.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "9228ece.bfbed9" + ] + ] + }, + { + "id": "9228ece.bfbed9", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n", + "comments": "", + "outputs": 1, + "x": 4707.75, + "y": 1746.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "2b23a5a1.db882a" + ] + ] + }, + { + "id": "bcf409d1.2bca88", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4504.75, + "y": 1742.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "8fd77208.a2c738" + ] + ] + }, + { + "id": "ee733a11.b10eb8", + "type": "execute", + "name": "get esr-thirdparty-sdnc", + "xml": "", + "comments": "", + "outputs": 1, + "x": 5092.75, + "y": 1745.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "8e9e736e.ee5478", + "98c4188c.f20b2", + "454707d0.8a14d8" + ] + ] + }, + { + "id": "2b23a5a1.db882a", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 4884.75, + "y": 1738.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "923bc8de.eb024", + "ee733a11.b10eb8" + ] + ] + }, + { + "id": "923bc8de.eb024", + "type": "set", + "name": "set esr-thirdparty-sdnc domainB id", + "xml": "\n\n", + "comments": "", + "x": 5122.75, + "y": 1693.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "35e39fbb.1f604", + "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": 5661.75, + "y": 1730.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "8e9e736e.ee5478", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5302.75, + "y": 1736.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "b78b9bfd.914f38" + ] + ] + }, + { + "id": "98c4188c.f20b2", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5294.75, + "y": 1791.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "13ebe3ed.f2247c" + ] + ] + }, + { + "id": "454707d0.8a14d8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5299.75, + "y": 1848.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "35e39fbb.1f604" + ] + ] + }, + { + "id": "f655b129.6c8e3", + "type": "save", + "name": "get connectivity from aai", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1831.75, + "y": 452.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d8fbecfc.eada5", + "70aafcb6.3ffce4", + "18daf882.cb46e7" + ] + ] + }, + { + "id": "d8fbecfc.eada5", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2039.75, + "y": 416.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "92d3d22d.c618f8" + ] + ] + }, + { + "id": "70aafcb6.3ffce4", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2040.240966796875, + "y": 462.32403564453125, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "de1e5ed.546bf2" + ] + ] + }, + { + "id": "18daf882.cb46e7", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2037.75, + "y": 505.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "b369c83a.de60d8" + ] + ] + }, + { + "id": "de1e5ed.546bf2", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n\n", + "comments": "", + "x": 2206.75, + "y": 506.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "98b87635.4ab2", + "type": "save", + "name": "get vpn-binding from aai", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2512.75, + "y": 505.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "133fd3a1.d9493c", + "1efd7812.84eb68", + "be58cccd.20957" + ] + ] + }, + { + "id": "c3829b9e.475158", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 2892.75, + "y": 593.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "52401003.e54ba8" + ] + ] + }, + { + "id": "133fd3a1.d9493c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2723.75, + "y": 594.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "c3829b9e.475158" + ] + ] + }, + { + "id": "1efd7812.84eb68", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2726.240966796875, + "y": 490.32403564453125, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "3a938444.bd8bbc" + ] + ] + }, + { + "id": "be58cccd.20957", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2721.75, + "y": 534.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "9589b818.4000b" + ] + ] + }, + { + "id": "9589b818.4000b", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 2889.75, + "y": 534.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "3a938444.bd8bbc", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\n", + "comments": "", + "outputs": 1, + "x": 2240.75, + "y": 411.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "7db3ded6.deaf" + ] + ] + }, + { + "id": "7db3ded6.deaf", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2445.75, + "y": 411.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "cfbe6a35.f2fd5" + ] + ] + }, + { + "id": "cfbe6a35.f2fd5", + "type": "outcome", + "name": "vpn-binding", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2611.75, + "y": 411.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "66d97a83.58a794" + ] + ] + }, + { + "id": "66d97a83.58a794", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 2774.75, + "y": 411.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "98b87635.4ab2", + "eec13dad.1221b" + ] + ] + }, + { + "id": "ae8dd7ac.9cc1d", + "type": "switchNode", + "name": "switch vpn-binding has dst-access-ltp", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3333.75, + "y": 694.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "8935f293.cb1e78", + "f32e6b37.4758a8" + ] + ] + }, + { + "id": "8935f293.cb1e78", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3547.75, + "y": 731.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "394930dc.1bf1c" + ] + ] + }, + { + "id": "f32e6b37.4758a8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3549.75, + "y": 669.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d8995170.21ddb" + ] + ] + }, + { + "id": "394930dc.1bf1c", + "type": "switchNode", + "name": "switch vpn-binding has src-access-ltp", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3127.75, + "y": 1974.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "2a89d450.3404ec", + "667fc503.5791f4" + ] + ] + }, + { + "id": "2a89d450.3404ec", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3380.75, + "y": 2008.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "566098c5.d0033" + ] + ] + }, + { + "id": "667fc503.5791f4", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3380.75, + "y": 1952.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "4eef4aff.e3dcc4" + ] + ] + }, + { + "id": "566098c5.d0033", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 3531.75, + "y": 2008.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "72ddf5d3.8c5f4c", + "type": "set", + "name": "set vpn-bindingA and connectivityA", + "xml": "\n\n\n", + "comments": "", + "x": 4407.75, + "y": 106.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "be167b48.23b5b", + "type": "set", + "name": "set vpn-bindingB and connectivityB", + "xml": "\n\n\n\n", + "comments": "", + "x": 3815.75, + "y": 1565.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "65804ebf.2b9b08", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4098.75, + "y": 363.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "72ddf5d3.8c5f4c", + "7d98821b.e6839c", + "d8047beb.a120a", + "c0003a50.a00b1", + "d1f1dcb6.1fec3", + "251b183d.cbc77", + "c978ce8f.5eb918" + ] + ] + }, + { + "id": "4eef4aff.e3dcc4", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 3531.75, + "y": 1951.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "be167b48.23b5b", + "97981e3f.7665d", + "ace90237.5528b8", + "e4aaac37.9b5738", + "1bef475b.0876b9", + "8a69ea43.cdd878", + "bacb99d3.7d15e8" + ] + ] + }, + { + "id": "8a69ea43.cdd878", + "type": "set", + "name": "set sotn_value", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 3760.75, + "y": 2094.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "bacb99d3.7d15e8", + "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": 3914.75, + "y": 2142.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "17e90060.f79b78", + "52bf852c.fdb45c" + ] + ] + }, + { + "id": "17e90060.f79b78", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4260.25, + "y": 2123.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "ea0fe23c.016da8" + ] + ] + }, + { + "id": "52bf852c.fdb45c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4264.25, + "y": 2163.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "e4c3d59d.96b0f8" + ] + ] + }, + { + "id": "ea0fe23c.016da8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 4418.25, + "y": 2123.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "e4c3d59d.96b0f8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4421.75, + "y": 2163.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "22d7dd70.1841ea", + "3dfc3096.80b288", + "d67d1410.76b2b8" + ] + ] + }, + { + "id": "d5f7c980.553e1", + "type": "comment", + "name": "TODO: FIXME:", + "info": "put proper values based on connectivity resource retrieved from AAI", + "comments": "", + "x": 3758.25, + "y": 2050.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "22d7dd70.1841ea", + "type": "save", + "name": "update vpn-binding B resource (aka. OTN domainB) in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 4761.75, + "y": 2162.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "e6c0853.c278578", + "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": 4619.75, + "y": 2120.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "3dfc3096.80b288", + "type": "save", + "name": "update connectivity resource in AAI", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 4690.75, + "y": 2211.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "d6d9459c.52e34", + "type": "set", + "name": "set attachment_param (gfp-n) for OTN", + "xml": "\n\n", + "comments": "", + "x": 3324.75, + "y": 634.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "eec13dad.1221b", + "type": "set", + "name": "unset tmp.aai.vpn-binding", + "xml": "\n\n", + "comments": "", + "x": 2958.75, + "y": 282.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "6859175e.358ec8", + "type": "comment", + "name": "only dst ttp exists. No src", + "info": "", + "comments": "", + "x": 3919.75, + "y": 320.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "cf1e5b9b.e9493", + "type": "comment", + "name": "only src ttp exists. No dst", + "info": "", + "comments": "", + "x": 3476.75, + "y": 1898.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "d8995170.21ddb", + "type": "switchNode", + "name": "switch vpn-binding has src-access-ltp", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3655.75, + "y": 482.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "f7ea2bd8.a0e408", + "d911a9d9.6b12a8" + ] + ] + }, + { + "id": "d911a9d9.6b12a8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3897.75, + "y": 1071.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "60ce8d2.37a5f74" + ] + ] + }, + { + "id": "f7ea2bd8.a0e408", + "type": "outcome", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3891.75, + "y": 362.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "65804ebf.2b9b08" + ] + ] + }, + { + "id": "60ce8d2.37a5f74", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 4055.75, + "y": 1070.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "250c851.82c85fa", + "3a8c3466.1fa784", + "44e0a0bb.d00d2", + "17d8e4eb.b52ccb", + "dd94b2c2.353ff8" + ] + ] + }, + { + "id": "3a8c3466.1fa784", + "type": "set", + "name": "set attachment_param for OTN G", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 4319.75, + "y": 953.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "dd94b2c2.353ff8", + "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": 4400.75, + "y": 1268.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d78a59cb.d6e7a", + "667608aa.9739d" + ] + ] + }, + { + "id": "d78a59cb.d6e7a", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4710.25, + "y": 1237.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "790b52bf.2108ec" + ] + ] + }, + { + "id": "667608aa.9739d", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4715.25, + "y": 1302.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "5fb9f65f.6d5da" + ] + ] + }, + { + "id": "790b52bf.2108ec", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 4886.25, + "y": 1237.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "5fb9f65f.6d5da", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4881.75, + "y": 1302.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "44e0a0bb.d00d2", + "type": "set", + "name": "set pnf-name", + "xml": "\n\n", + "comments": "", + "x": 4257.75, + "y": 1001.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "17d8e4eb.b52ccb", + "type": "get-resource", + "name": "get-resource src pnf", + "xml": "\n\n \n", + "comments": "", + "outputs": 1, + "x": 4283.75, + "y": 1118.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "a8ae3ef3.33406", + "fcb06d11.9b839", + "1567721b.17fbc6" + ] + ] + }, + { + "id": "a8ae3ef3.33406", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4479.2501220703125, + "y": 1070.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "dc6575fd.da6538" + ] + ] + }, + { + "id": "fcb06d11.9b839", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4471.2501220703125, + "y": 1125.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "9508c711.df3318" + ] + ] + }, + { + "id": "dc6575fd.da6538", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4623.6324462890625, + "y": 1070.4056701660156, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "5887f01d.382f28" + ] + ] + }, + { + "id": "5887f01d.382f28", + "type": "for", + "name": "for each relationship", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4807.75, + "y": 1068.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "7c993206.50f554" + ] + ] + }, + { + "id": "7c993206.50f554", + "type": "switchNode", + "name": "switch related-to", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5002.75, + "y": 1068.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "f4906a1c.c87a88" + ] + ] + }, + { + "id": "1567721b.17fbc6", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 4476.2501220703125, + "y": 1182.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "9c97fc0c.fac84" + ] + ] + }, + { + "id": "9c97fc0c.fac84", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n\t\n\t\n \n\n", + "comments": "", + "x": 4314.75, + "y": 893.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "f4906a1c.c87a88", + "type": "outcome", + "name": "esr-thirdparty-sdnc", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5205.75, + "y": 1072.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "f2ceb67e.1c0c" + ] + ] + }, + { + "id": "d6942a62.437338", + "type": "execute", + "name": "get esr-thirdparty-sdnc", + "xml": "", + "comments": "", + "outputs": 1, + "x": 5590.75, + "y": 1085.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "2bfb5437.ab1884", + "14e65a71.083eb6", + "1ec347c1.300068" + ] + ] + }, + { + "id": "f2ceb67e.1c0c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 5384.75, + "y": 1072.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "e257c8b7.b2bd68", + "d6942a62.437338" + ] + ] + }, + { + "id": "e257c8b7.b2bd68", + "type": "set", + "name": "set esr-thirdparty-sdnc domainG id", + "xml": "\n\n", + "comments": "", + "x": 5620.75, + "y": 1033.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "2bfb5437.ab1884", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5800.75, + "y": 1076.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "c27aaf5c.aef2b8" + ] + ] + }, + { + "id": "14e65a71.083eb6", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5792.75, + "y": 1131.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d07e83df.f79d38" + ] + ] + }, + { + "id": "1ec347c1.300068", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 5797.75, + "y": 1188.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d1674575.d6f7d8" + ] + ] + }, + { + "id": "d1674575.d6f7d8", + "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": 6159.75, + "y": 1070.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "8ad3b61d.5ba128", + "type": "comment", + "name": "both src and dst exist", + "info": "", + "comments": "", + "x": 3933.75, + "y": 1011.75, + "z": "30d84baa.6f57bc", + "wires": [] + }, + { + "id": "52401003.e54ba8", + "type": "switchNode", + "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2495.75, + "y": 738.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "84b154c7.dcfaf", + "d81b7512.e15008" + ] + ] + }, + { + "id": "d81b7512.e15008", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2902.75, + "y": 756.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "cf7d3373.5ca978" + ] + ] + }, + { + "id": "84b154c7.dcfaf", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2902.75, + "y": 701.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "37e2ea9b.dd967e" + ] + ] + }, + { + "id": "37e2ea9b.dd967e", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 3058.75, + "y": 699.75, + "z": "30d84baa.6f57bc", + "wires": [ + [ + "d6d9459c.52e34", + "ae8dd7ac.9cc1d" + ] + ] + }, + { + "id": "cf7d3373.5ca978", + "type": "block", + "name": "block", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3035.75, + "y": 757.75, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "677bc6cc.c2278", + "type": "save", + "name": "update service-instance resource in AAI", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 5298.5, + "y": 810.25, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + }, + { + "id": "d67d1410.76b2b8", + "type": "save", + "name": "update service-instance resource in AAI", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 4710.25, + "y": 2278, + "z": "30d84baa.6f57bc", + "wires": [ + [] + ] + } +] \ No newline at end of file