X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2FGENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json;h=c9fe4fa58834dce3ae9950cb6519666fb8e7a3d9;hb=245d6f05d6e74ea3ea5c2bc4a6fa73cc64dba4c5;hp=3a86e2681f635484029b03bce0c6150bb2852fd4;hpb=79b3e7dc08c5302d5bcbf66e8f0a81b42ababf96;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json index 3a86e268..c9fe4fa5 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-netbox-ip-assign.json @@ -1,973 +1,1849 @@ [ { - "id": "aeddcb92.bde6a", + "id": "39b306a6.ed3522", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 97, - "y": 62.57143306732178, - "z": "6621aeef.bf45", + "x": 100, + "y": 63.57143306732178, + "z": "1e0169fe.460196", "wires": [ [ - "460b7122.4f837" + "79f0b111.72d778" ] ] }, { - "id": "295d429e.f0a67e", + "id": "1b629c80.7881d4", "type": "method", "name": "method self-serve-netbox-ip-assign", "xml": "\n", "comments": "", "outputs": 1, - "x": 232.7857208251953, - "y": 119.69842147827148, - "z": "6621aeef.bf45", + "x": 235.7857208251953, + "y": 120.69842147827148, + "z": "1e0169fe.460196", "wires": [ [ - "bea678c6.71dd7" + "56a052c7.058c9c" ] ] }, { - "id": "bea678c6.71dd7", + "id": "56a052c7.058c9c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 126.32144165039062, - "y": 206.0000400543213, - "z": "6621aeef.bf45", + "x": 129.32144165039062, + "y": 207.0000400543213, + "z": "1e0169fe.460196", "wires": [ [ - "d5200d6.b499a7", - "dfe3495f.0a6cf8", - "bb3b73.97d8649", - "c356df77.cc7c28", - "f691073d.b6c728" + "90086e75.cd6fc", + "3efa365b.993a9a", + "7e104793.732a5", + "f91de1d4.ae1798", + "2734c8ea.c23828" ] ] }, { - "id": "460b7122.4f837", + "id": "79f0b111.72d778", "type": "service-logic", - "name": "GENERIC-RESOURCE-API 1.4.1-SNAPSHOT", + "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", - "version": "1.4.1-SNAPSHOT", + "version": "${project.version}", "comments": "", - "xml": "", + "xml": "", "outputs": 1, - "x": 369.8571472167969, - "y": 62, - "z": "6621aeef.bf45", + "x": 372.8571472167969, + "y": 63, + "z": "1e0169fe.460196", "wires": [ [ - "295d429e.f0a67e" + "1b629c80.7881d4" ] ] }, { - "id": "d5200d6.b499a7", + "id": "90086e75.cd6fc", "type": "switchNode", "name": "switch: ss.capability-name", "xml": "\n", "comments": "", "outputs": 1, - "x": 384.4999694824219, - "y": 209.82144165039062, - "z": "6621aeef.bf45", + "x": 387.4999694824219, + "y": 210.82144165039062, + "z": "1e0169fe.460196", "wires": [ [ - "16de1328.9e165d" + "b10180d1.330c9" ] ] }, { - "id": "16de1328.9e165d", + "id": "b10180d1.330c9", "type": "outcome", "name": "NULL", "xml": "", "outputs": 1, - "x": 609.4999923706055, - "y": 210.32144021987915, - "z": "6621aeef.bf45", + "x": 612.4999923706055, + "y": 211.32144021987915, + "z": "1e0169fe.460196", "wires": [ [ - "72fded58.33f2a4" + "66f17fa3.bde278" ] ] }, { - "id": "72fded58.33f2a4", + "id": "66f17fa3.bde278", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n\t\n", "comments": "", - "x": 769.4166641235352, - "y": 210.43253898620605, - "z": "6621aeef.bf45", + "x": 772.4166641235352, + "y": 211.43253898620605, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "dfe3495f.0a6cf8", + "id": "3efa365b.993a9a", "type": "switchNode", "name": "switch: ss.capability-action", "xml": "\n", "comments": "", "outputs": 1, - "x": 387.74996185302734, - "y": 285.82143688201904, - "z": "6621aeef.bf45", + "x": 390.74996185302734, + "y": 286.82143688201904, + "z": "1e0169fe.460196", "wires": [ [ - "a5187f.af9a5f8" + "8acb2cf7.4ff328" ] ] }, { - "id": "a5187f.af9a5f8", + "id": "8acb2cf7.4ff328", "type": "outcome", "name": "NULL", "xml": "", "comments": "", "outputs": 1, - "x": 611.2499618530273, - "y": 286.07143688201904, - "z": "6621aeef.bf45", + "x": 614.2499618530273, + "y": 287.07143688201904, + "z": "1e0169fe.460196", "wires": [ [ - "70603bf9.fc52ac" + "307ed0c1.fb7998" ] ] }, { - "id": "70603bf9.fc52ac", + "id": "307ed0c1.fb7998", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n\t\n", "comments": "", - "x": 771.166633605957, - "y": 286.18253564834595, - "z": "6621aeef.bf45", + "x": 774.166633605957, + "y": 287.18253564834595, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "2ff7ecc5.284a3c", - "type": "outcome", - "name": "unassign", - "xml": "", - "comments": "", - "outputs": 1, - "x": 891.8930053710938, - "y": 1566.500039100647, - "z": "6621aeef.bf45", - "wires": [ - [ - "3015a413.8908c4" - ] - ] - }, - { - "id": "c356df77.cc7c28", + "id": "7e104793.732a5", "type": "call", - "name": "call self-service-capability-param-resolution", - "xml": "\n", + "name": "call self-serve-capability-param-resolution", + "xml": "\n", "comments": "", "outputs": 1, - "x": 438.41680908203125, - "y": 360.82147216796875, - "z": "6621aeef.bf45", + "x": 441.41680908203125, + "y": 361.82147216796875, + "z": "1e0169fe.460196", "wires": [ [ - "260a2383.61ca04" + "47c181e5.fedda" ] ] }, { - "id": "260a2383.61ca04", + "id": "47c181e5.fedda", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 742.6667060852051, - "y": 362.821475982666, - "z": "6621aeef.bf45", + "x": 745.6667060852051, + "y": 363.821475982666, + "z": "1e0169fe.460196", "wires": [ [ - "a9e7fd90.1e1948" + "fe0e4241.5b80e8" ] ] }, { - "id": "a9e7fd90.1e1948", + "id": "fe0e4241.5b80e8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n\t\n", "comments": "", - "x": 901.4166870117188, - "y": 362.82147216796875, - "z": "6621aeef.bf45", + "x": 904.4166870117188, + "y": 363.82147216796875, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "c106c1b3.fa5708", + "id": "a92c49b1.faf6c", "type": "set", "name": "set tmp.ss.param.capability-name", "xml": "\n\n", "comments": "", - "x": 901.5634307861328, - "y": 418.603187084198, - "z": "6621aeef.bf45", + "x": 1187.0635833740234, + "y": 1973.7697825431824, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "cf602ff2.69d16", + "id": "ca92a840.cb9a5", "type": "for", "name": "for pidx in param_length", "xml": "", "comments": "", "outputs": 1, - "x": 611.7776565551758, - "y": 418.6746573448181, - "z": "6621aeef.bf45", + "x": 897.2778091430664, + "y": 1973.8412528038025, + "z": "1e0169fe.460196", "wires": [ [ - "9a404501.e9a9f", - "575f86c4.d593b8", - "c106c1b3.fa5708" + "864a8266.73cc7", + "b15a003.31b4b", + "a92c49b1.faf6c" ] ] }, { - "id": "575f86c4.d593b8", + "id": "b15a003.31b4b", "type": "switchNode", "name": "switch: capability-name - ss vs param", "xml": "\n", "comments": "", "outputs": 1, - "x": 914.6388931274414, - "y": 499.95243978500366, - "z": "6621aeef.bf45", + "x": 1200.139045715332, + "y": 2055.119035243988, + "z": "1e0169fe.460196", "wires": [ [ - "5ffdfe5e.2f2ba8" + "5f27f686.c72e78" ] ] }, { - "id": "5ffdfe5e.2f2ba8", + "id": "5f27f686.c72e78", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, - "x": 1153.388900756836, - "y": 499.70243978500366, - "z": "6621aeef.bf45", + "x": 1438.8890533447266, + "y": 2054.869035243988, + "z": "1e0169fe.460196", "wires": [ [ - "5c183d21.694a54" + "b6e45a86.008848" ] ] }, { - "id": "6474a2a3.971edc", + "id": "52a3fa95.c6446c", "type": "switchNode", "name": "switch: resource-key[].name", "xml": "\n", "comments": "", "outputs": 1, - "x": 1340.778221130371, - "y": 819.99640417099, - "z": "6621aeef.bf45", + "x": 1688.7783126831055, + "y": 2305.1630301475525, + "z": "1e0169fe.460196", "wires": [ [ - "eae11399.61a66", - "d4df7117.d17f68", - "7bb69337.4e6394", - "5c5c662c.f08f1", - "90dc69e5.6405" + "12d1fbad.020824", + "31df3307.8fd214", + "8556b639.07cc4", + "32ab7f7f.33dea", + "28ed7d99.2fd922" ] ] }, { - "id": "d4df7117.d17f68", + "id": "31df3307.8fd214", "type": "outcome", "name": "service-instance-id", "xml": "\n", "comments": "", "outputs": 1, - "x": 1612.1671295166016, - "y": 819.4686226844788, - "z": "6621aeef.bf45", + "x": 1960.167221069336, + "y": 2304.6352486610413, + "z": "1e0169fe.460196", "wires": [ [ - "8300040f.111c68" + "15e0f6f3.464d99" ] ] }, { - "id": "8300040f.111c68", + "id": "15e0f6f3.464d99", "type": "set", "name": "set tmp.ss.service-instance-id", "xml": "\n\n", "comments": "", - "x": 1878.4171295166016, - "y": 819.2186226844788, - "z": "6621aeef.bf45", + "x": 2226.417221069336, + "y": 2304.3852486610413, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "235c0ede.173f92", + "id": "702f24b8.ab2b14", "type": "set", "name": "set service-data...param[].value = ip-address", - "xml": "\n\n", + "xml": "\n\n", "comments": "", - "x": 2168.960205078125, - "y": 1349.4608764648438, - "z": "6621aeef.bf45", + "x": 3014.388885498047, + "y": 2875.3416357040405, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "deee58e3.ecff3", + "id": "daef3d9b.976aa", "type": "update", "name": "get-resource IPAM_IP_ASSIGNEMENT", "xml": "", "comments": "", "outputs": 1, - "x": 1367.3770751953125, - "y": 1565.3214502334595, - "z": "6621aeef.bf45", + "x": 2188.472640991211, + "y": 2976.2020263671875, + "z": "1e0169fe.460196", "wires": [ [ - "21ac77e1.c9741", - "64c75b78.f36b24" + "c57f67d2.fa9d8", + "b7a6dad5.6dc8c" ] ] }, { - "id": "21ac77e1.c9741", + "id": "c57f67d2.fa9d8", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, - "x": 1661.964412689209, - "y": 1566.321483373642, - "z": "6621aeef.bf45", + "x": 2483.0599784851074, + "y": 2977.20205950737, + "z": "1e0169fe.460196", "wires": [ [ - "131e59c0.7aa77e" + "e5ae09f3.4e9b7" ] ] }, { - "id": "3015a413.8908c4", + "id": "9e365126.584608", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 1061.214370727539, - "y": 1566.964394569397, - "z": "6621aeef.bf45", + "x": 1882.3099365234375, + "y": 2977.844970703125, + "z": "1e0169fe.460196", "wires": [ [ - "deee58e3.ecff3" + "daef3d9b.976aa" ] ] }, { - "id": "f6c6e34.fe93ea", + "id": "b0815fb0.6c8c58", "type": "for", "name": "for kidx in resource-key_length", "xml": "", "comments": "", "outputs": 1, - "x": 1057.639305114746, - "y": 817.857488155365, - "z": "6621aeef.bf45", + "x": 1405.6393966674805, + "y": 2303.0241141319275, + "z": "1e0169fe.460196", "wires": [ [ - "6474a2a3.971edc" + "52a3fa95.c6446c" ] ] }, { - "id": "f691073d.b6c728", + "id": "9d646260.b0f88", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 328.03570556640625, - "y": 416.7976379394531, - "z": "6621aeef.bf45", + "x": 613.5358581542969, + "y": 1971.9642333984375, + "z": "1e0169fe.460196", "wires": [ [ - "cf602ff2.69d16", - "7e0801d1.7a2c7" + "ca92a840.cb9a5", + "dddd3293.e9766" ] ] }, { - "id": "bb3b73.97d8649", - "type": "execute", - "name": "printContext", - "xml": "\n\n", - "comments": "", - "outputs": 1, - "x": 126.5833740234375, - "y": 1925.2379150390625, - "z": "6621aeef.bf45", - "wires": [ - [] - ] - }, - { - "id": "6bcbec21.cdc8a4", + "id": "12508de3.d24ce2", "type": "update", "name": "update IPAM_IP_ASSIGNEMENT to PENDING_DELETE...", "xml": "", "comments": "", "outputs": 1, - "x": 2190.2740478515625, - "y": 1657.0001611709595, - "z": "6621aeef.bf45", + "x": 3011.369613647461, + "y": 3067.8807373046875, + "z": "1e0169fe.460196", "wires": [ [ - "95bfe2aa.52a368" + "e08179b3.30edc" ] ] }, { - "id": "b6dcca73.b383e8", + "id": "86f22edb.c1e37", "type": "set", "name": "set status = PENDING_DELETE", "xml": "\n\n", "comments": "", - "x": 2100.1905517578125, - "y": 1615.3334131240845, - "z": "6621aeef.bf45", + "x": 2921.286117553711, + "y": 3026.2139892578125, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "95bfe2aa.52a368", + "id": "e08179b3.30edc", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 2497.9405059814453, - "y": 1657.5834846496582, - "z": "6621aeef.bf45", + "x": 3319.0360717773438, + "y": 3068.4640607833862, + "z": "1e0169fe.460196", "wires": [ [ - "91f0feca.0b39d8" + "a80cdb69.81f35" ] ] }, { - "id": "91f0feca.0b39d8", + "id": "a80cdb69.81f35", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "outputs": 1, - "x": 2363.607192993164, - "y": 1703.250171661377, - "z": "6621aeef.bf45", + "x": 3184.7027587890625, + "y": 3114.130747795105, + "z": "1e0169fe.460196", "wires": [ [ - "d8d6e44a.e2b038" + "ac3185a3.0297d8" ] ] }, { - "id": "d8d6e44a.e2b038", + "id": "ac3185a3.0297d8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "outputs": 1, - "x": 563.84130859375, - "y": 473.74212646484375, - "z": "6621aeef.bf45", + "x": 849.3414611816406, + "y": 2028.9087219238281, + "z": "1e0169fe.460196", "wires": [ [] ] }, { - "id": "eae11399.61a66", + "id": "12d1fbad.020824", "type": "outcome", "name": "vf-module-id", "xml": "\n", "comments": "", "outputs": 1, - "x": 1594.0001373291016, - "y": 865.7185616493225, - "z": "6621aeef.bf45", + "x": 1942.000228881836, + "y": 2350.885187625885, + "z": "1e0169fe.460196", "wires": [ [ - "92eb3aef.6fece8" + "e91a4a82.52be28" ] ] }, { - "id": "92eb3aef.6fece8", + "id": "e91a4a82.52be28", "type": "set", "name": "set tmp.ss.vf-module-id", "xml": "\n\n", "comments": "", - "x": 1860.000259399414, - "y": 865.7185616493225, - "z": "6621aeef.bf45", + "x": 2208.0003509521484, + "y": 2350.885187625885, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "6c93627f.1091d4", + "id": "ae56d16c.edce5", "type": "set", "name": "set resource-resolution-data.status = DELETED", "xml": "\n\n", "comments": "", - "x": 2630.4998779296875, - "y": 1758.5709228515625, - "z": "6621aeef.bf45", + "x": 3451.595443725586, + "y": 3169.4514989852905, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "7bb69337.4e6394", + "id": "8556b639.07cc4", "type": "outcome", "name": "prefix-id", "xml": "\n", "comments": "", "outputs": 1, - "x": 1583.0558013916016, - "y": 909.9685921669006, - "z": "6621aeef.bf45", + "x": 1931.055892944336, + "y": 2395.135218143463, + "z": "1e0169fe.460196", "wires": [ [ - "ce6e3b64.bdad58" + "246a1d6a.080fa2" ] ] }, { - "id": "ce6e3b64.bdad58", + "id": "246a1d6a.080fa2", "type": "set", "name": "set prefix-id", "xml": "\n\n", "comments": "", - "x": 1829.5558013916016, - "y": 910.2185616493225, - "z": "6621aeef.bf45", + "x": 2177.555892944336, + "y": 2395.385187625885, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "f6d1639e.62ad88", + "id": "d994622b.100b98", "type": "execute", "name": "execute NetboxClient assignIpAddress", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1364.9525756835938, - "y": 1224.4884424209595, - "z": "6621aeef.bf45", + "x": 2204.38134765625, + "y": 2695.3692626953125, + "z": "1e0169fe.460196", "wires": [ [ - "63ffe78c.535b98", - "fd56af84.b7a68" + "5fcd5073.23e8c8", + "1a67a440.ccf65c" ] ] }, { - "id": "63ffe78c.535b98", + "id": "5fcd5073.23e8c8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 1681.9525756835938, - "y": 1226.4883813858032, - "z": "6621aeef.bf45", + "x": 2521.38134765625, + "y": 2697.3692016601562, + "z": "1e0169fe.460196", "wires": [ [ - "19c227a3.522448" + "b53fc0c4.6e6db" ] ] }, { - "id": "19c227a3.522448", + "id": "b53fc0c4.6e6db", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 1889.9525756835938, - "y": 1230.4883813858032, - "z": "6621aeef.bf45", + "x": 2729.38134765625, + "y": 2701.3692016601562, + "z": "1e0169fe.460196", "wires": [ [ - "fbac9633.970dc8", - "12ebaeec.b6b371" + "aefd9233.639b38", + "5924f9f1.b07eb" ] ] }, { - "id": "fbac9633.970dc8", + "id": "aefd9233.639b38", "type": "set", "name": "set resource-resolution-data.status = FAILED", "xml": "\n\n", "comments": "", - "x": 2206.95263671875, - "y": 1234.488350868225, - "z": "6621aeef.bf45", + "x": 3046.3814086914062, + "y": 2705.369171142578, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "12ebaeec.b6b371", + "id": "5924f9f1.b07eb", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", - "x": 2104.33349609375, - "y": 1284.0916137695312, - "z": "6621aeef.bf45", + "x": 2943.7622680664062, + "y": 2754.9724340438843, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "dbf6bad6.fbad2", + "id": "8459943a.0741", "type": "set", "name": "set resource-resolution-data.status = SUCCESS", "xml": "\n\n", "comments": "", - "x": 2186.0357666015625, - "y": 1400.17919921875, - "z": "6621aeef.bf45", + "x": 3031.4644470214844, + "y": 2926.059958457947, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "5c5c662c.f08f1", + "id": "32ab7f7f.33dea", "type": "outcome", "name": "ip-address-id", "xml": "\n", "comments": "", "outputs": 1, - "x": 1596.9369506835938, - "y": 954.8256659507751, - "z": "6621aeef.bf45", + "x": 1944.9370422363281, + "y": 2439.9922919273376, + "z": "1e0169fe.460196", "wires": [ [ - "163b9c18.cbc31c" + "1be9a0f0.cb1137" ] ] }, { - "id": "163b9c18.cbc31c", + "id": "1be9a0f0.cb1137", "type": "set", "name": "ip-address-id", "xml": "\n\n", "comments": "", - "x": 1831.9368286132812, - "y": 954.8257269859314, - "z": "6621aeef.bf45", + "x": 2179.9369201660156, + "y": 2439.992352962494, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "90dc69e5.6405", + "id": "28ed7d99.2fd922", "type": "outcome", "name": "external_key", "xml": "\n", "comments": "", "outputs": 1, - "x": 1584.5559692382812, - "y": 1000.5399603843689, - "z": "6621aeef.bf45", + "x": 1932.5560607910156, + "y": 2485.7065863609314, + "z": "1e0169fe.460196", "wires": [ [ - "8dc251fb.daa1e8" + "e3062b19.33e69" ] ] }, { - "id": "8dc251fb.daa1e8", + "id": "e3062b19.33e69", "type": "set", "name": "set external-key", "xml": "\n\n", "comments": "", - "x": 1833.1273803710938, - "y": 1000.5400214195251, - "z": "6621aeef.bf45", + "x": 2181.127471923828, + "y": 2485.7066473960876, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "9a404501.e9a9f", + "id": "864a8266.73cc7", "type": "set", "name": "set tmp.ss.param.name", "xml": "\n\n", "comments": "", - "x": 873.3493728637695, - "y": 458.79367208480835, - "z": "6621aeef.bf45", + "x": 1158.8495254516602, + "y": 2013.9602675437927, + "z": "1e0169fe.460196", "wires": [] }, { - "id": "5c183d21.694a54", + "id": "b6e45a86.008848", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1154.1429138183594, + "y": 2299.9287719726562, + "z": "1e0169fe.460196", + "wires": [ + [ + "b0815fb0.6c8c58", + "ea11f211.eef478" + ] + ] + }, + { + "id": "ea11f211.eef478", "type": "switchNode", - "name": "switch: resource-resolution-data.status", - "xml": "\n", + "name": "switch: ss.capability-action", + "xml": "\n", "comments": "", "outputs": 1, - "x": 413.2855224609375, - "y": 794.7620849609375, - "z": "6621aeef.bf45", + "x": 976.0000305175781, + "y": 2705.738320350647, + "z": "1e0169fe.460196", "wires": [ [ - "3e98782d.40c0e8", - "511a57cd.b0751" + "398f1da9.7fc262", + "c615cc08.6cc77" ] ] }, { - "id": "3e98782d.40c0e8", - "type": "not-found", - "name": "FAILED", - "xml": "\n", + "id": "b4174ab1.8632e", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", "comments": "", "outputs": 1, - "x": 644.7143249511719, - "y": 790.7621307373047, - "z": "6621aeef.bf45", + "x": 1878.8573608398438, + "y": 2694.3097534179688, + "z": "1e0169fe.460196", "wires": [ [ - "2b59421f.30834e" + "d994622b.100b98" ] ] }, { - "id": "511a57cd.b0751", + "id": "b7a6dad5.6dc8c", "type": "success", - "name": "PENDING", - "xml": "\n", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2479.774124145508, + "y": 3024.9163722991943, + "z": "1e0169fe.460196", + "wires": [ + [ + "9487046d.9fad68" + ] + ] + }, + { + "id": "1a67a440.ccf65c", + "type": "success", + "name": "success", + "xml": "\n", "comments": "", "outputs": 1, - "x": 651.4285011291504, - "y": 842.4764587879181, - "z": "6621aeef.bf45", + "x": 2529.4287719726562, + "y": 2760.880820274353, + "z": "1e0169fe.460196", "wires": [ [ - "2b59421f.30834e" + "6b7d48cd.fe82" ] ] }, { - "id": "2b59421f.30834e", + "id": "e5ae09f3.4e9b7", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2653.2027871268137, + "y": 2977.6306373051234, + "z": "1e0169fe.460196", + "wires": [ + [] + ] + }, + { + "id": "6b7d48cd.fe82", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 806.142822265625, - "y": 814.7621459960938, - "z": "6621aeef.bf45", + "x": 2723.7144165039062, + "y": 2840.8809423446655, + "z": "1e0169fe.460196", + "wires": [ + [ + "8459943a.0741", + "702f24b8.ab2b14", + "722fee02.ac2218" + ] + ] + }, + { + "id": "70a92bf3.d01214", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3189.667465209961, + "y": 3168.023398399353, + "z": "1e0169fe.460196", + "wires": [ + [ + "ae56d16c.edce5" + ] + ] + }, + { + "id": "612ded0b.7aa5c4", + "type": "not-found", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 588.4285583496094, + "y": 451.4284896850586, + "z": "1e0169fe.460196", + "wires": [ + [ + "c436ca39.dad55" + ] + ] + }, + { + "id": "f91de1d4.ae1798", + "type": "switchNode", + "name": "switch capability-type. vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 385, + "y": 452.14276123046875, + "z": "1e0169fe.460196", + "wires": [ + [ + "612ded0b.7aa5c4" + ] + ] + }, + { + "id": "2734c8ea.c23828", + "type": "switchNode", + "name": "switch capability-type vf-module", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 407.28582763671875, + "y": 1837.6666259765625, + "z": "1e0169fe.460196", + "wires": [ + [ + "76727ba.3b8bb04" + ] + ] + }, + { + "id": "76727ba.3b8bb04", + "type": "not-found", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 626.2858276367188, + "y": 1838.6666870117188, + "z": "1e0169fe.460196", "wires": [ [ - "f6c6e34.fe93ea", - "b3f43dd2.42288" + "9d646260.b0f88" ] ] }, { - "id": "cfd59a42.40ec28", + "id": "74139423.e17614", "type": "outcome", - "name": "assign", - "xml": "", + "name": "unassign", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1177.5833129882812, + "y": 1389.8692016601562, + "z": "1e0169fe.460196", + "wires": [ + [ + "e51b7888.989928" + ] + ] + }, + { + "id": "b8362705.36557", + "type": "set", + "name": "set tmp.ss.param.capability-name", + "xml": "\n\n", + "comments": "", + "x": 1210.1705474853516, + "y": 547.4722971916199, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "37af35ce.c8f9aa", + "type": "for", + "name": "for pidx in param_length", + "xml": "\n", "comments": "", "outputs": 1, - "x": 863.9999389648438, - "y": 1222.5716943740845, - "z": "6621aeef.bf45", + "x": 920.3847732543945, + "y": 547.54376745224, + "z": "1e0169fe.460196", "wires": [ [ - "c384a118.8056f" + "f4266bba.68463", + "ea3f1334.a266f8", + "b8362705.36557" ] ] }, { - "id": "b3f43dd2.42288", + "id": "ea3f1334.a266f8", "type": "switchNode", - "name": "switch: ss.capability-action", - "xml": "\n", + "name": "switch: capability-name - ss vs param", + "xml": "\n", "comments": "", "outputs": 1, - "x": 627.9999389648438, - "y": 1220.5716943740845, - "z": "6621aeef.bf45", + "x": 1223.2460098266602, + "y": 628.8215498924255, + "z": "1e0169fe.460196", "wires": [ [ - "cfd59a42.40ec28", - "2ff7ecc5.284a3c" + "d7993c29.a6c5f8" ] ] }, { - "id": "c384a118.8056f", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", + "id": "d7993c29.a6c5f8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1039.4285888671875, - "y": 1223.4289331436157, - "z": "6621aeef.bf45", + "x": 1461.9960174560547, + "y": 628.5715498924255, + "z": "1e0169fe.460196", "wires": [ [ - "f6d1639e.62ad88" + "35313136.60f71e" ] ] }, { - "id": "64c75b78.f36b24", - "type": "success", - "name": "success", - "xml": "\n", + "id": "85af5a4b.a2187", + "type": "switchNode", + "name": "switch: resource-key[].name", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1658.6785583496094, - "y": 1614.0357961654663, - "z": "6621aeef.bf45", + "x": 1650.2185287475586, + "y": 820.8654227256775, + "z": "1e0169fe.460196", "wires": [ [ - "7f0db226.60e56c" + "6c06e68b.da7eb8", + "8b40c4df.047c2", + "5bcfaea0.c0c0f8", + "714a9ad3.25a814" ] ] }, { - "id": "fd56af84.b7a68", - "type": "success", - "name": "success", - "xml": "\n", + "id": "8b40c4df.047c2", + "type": "outcome", + "name": "service-instance-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1921.607437133789, + "y": 820.3376412391663, + "z": "1e0169fe.460196", + "wires": [ + [ + "ee744de2.8b10f8" + ] + ] + }, + { + "id": "ee744de2.8b10f8", + "type": "set", + "name": "set tmp.ss.service-instance-id", + "xml": "\n\n", + "comments": "", + "x": 2187.857437133789, + "y": 820.0876412391663, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "53877355.ae41ac", + "type": "update", + "name": "get-resource IPAM_IP_ASSIGNEMENT", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2175.3888549804688, + "y": 1491.9048852920532, + "z": "1e0169fe.460196", + "wires": [ + [ + "1455e2db.491d8d", + "f61d39ca.54246" + ] + ] + }, + { + "id": "1455e2db.491d8d", + "type": "not-found", + "name": "not-found", + "xml": "\n", "comments": "", "outputs": 1, - "x": 1689.9999999999998, - "y": 1289.9999999999998, - "z": "6621aeef.bf45", + "x": 2469.9761924743652, + "y": 1492.9049184322357, + "z": "1e0169fe.460196", "wires": [ [ - "7c8df38.541b98c" + "4d3d930a.c74edc" ] ] }, { - "id": "131e59c0.7aa77e", + "id": "2e96e14a.d8a666", "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1872.9761352539062, + "y": 1408.5477905273438, + "z": "1e0169fe.460196", + "wires": [ + [ + "53877355.ae41ac" + ] + ] + }, + { + "id": "8b797c86.449c88", + "type": "for", + "name": "for kidx in resource-key_length", + "xml": "", "comments": "", "outputs": 1, - "x": 1832.1072213309153, - "y": 1566.7500611713954, - "z": "6621aeef.bf45", + "x": 1367.0796127319336, + "y": 818.7265067100525, + "z": "1e0169fe.460196", "wires": [ - [] + [ + "85af5a4b.a2187" + ] ] }, { - "id": "7c8df38.541b98c", + "id": "c436ca39.dad55", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1884.28564453125, - "y": 1370.0001220703125, - "z": "6621aeef.bf45", + "x": 636.642822265625, + "y": 545.666748046875, + "z": "1e0169fe.460196", "wires": [ [ - "dbf6bad6.fbad2", - "235c0ede.173f92" + "37af35ce.c8f9aa", + "419443bc.89754c" ] ] }, { - "id": "4c46f42f.389724", - "type": "success", - "name": "success", - "xml": "\n", + "id": "7d36e25f.6ea3f4", + "type": "update", + "name": "update IPAM_IP_ASSIGNEMENT to PENDING_DELETE...", + "xml": "", + "comments": "", + "outputs": 1, + "x": 2998.2858276367188, + "y": 1583.5835962295532, + "z": "1e0169fe.460196", + "wires": [ + [ + "ca94a980.5b06e" + ] + ] + }, + { + "id": "954b1950.33da8", + "type": "set", + "name": "set status = PENDING_DELETE", + "xml": "\n\n", + "comments": "", + "x": 2908.2023315429688, + "y": 1541.9168481826782, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "ca94a980.5b06e", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3305.9522857666016, + "y": 1584.166919708252, + "z": "1e0169fe.460196", + "wires": [ + [ + "ddd93d50.c85558" + ] + ] + }, + { + "id": "ddd93d50.c85558", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "outputs": 1, + "x": 3171.6189727783203, + "y": 1629.8336067199707, + "z": "1e0169fe.460196", + "wires": [ + [ + "727fae.421bc054" + ] + ] + }, + { + "id": "727fae.421bc054", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "outputs": 1, + "x": 872.4484252929688, + "y": 602.6112365722656, + "z": "1e0169fe.460196", + "wires": [ + [] + ] + }, + { + "id": "6c06e68b.da7eb8", + "type": "outcome", + "name": "vnf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1903.440444946289, + "y": 866.58758020401, + "z": "1e0169fe.460196", + "wires": [ + [ + "48b45ebc.19189" + ] + ] + }, + { + "id": "48b45ebc.19189", + "type": "set", + "name": "set tmp.ss.vnf-id", + "xml": "\n\n", + "comments": "", + "x": 2169.4405670166016, + "y": 866.58758020401, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "4c0830f.966f55", + "type": "set", + "name": "set resource-resolution-data.status = DELETED", + "xml": "\n\n", + "comments": "", + "x": 3438.5116577148438, + "y": 1685.1543579101562, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "5bcfaea0.c0c0f8", + "type": "outcome", + "name": "prefix-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1892.496109008789, + "y": 910.8376107215881, + "z": "1e0169fe.460196", + "wires": [ + [ + "dd169952.c2ddc8" + ] + ] + }, + { + "id": "dd169952.c2ddc8", + "type": "set", + "name": "set prefix-id", + "xml": "\n\n", + "comments": "", + "x": 2138.996109008789, + "y": 911.08758020401, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "3246d2cf.e446ce", + "type": "execute", + "name": "execute NetboxClient assignIpAddress", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2200.1068725585938, + "y": 1209.6432886123657, + "z": "1e0169fe.460196", + "wires": [ + [ + "bc02f9c5.d3009", + "5a42ccdf.863d7c" + ] + ] + }, + { + "id": "bc02f9c5.d3009", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2517.1068725585938, + "y": 1211.6432275772095, + "z": "1e0169fe.460196", + "wires": [ + [ + "9be2285f.3688f8" + ] + ] + }, + { + "id": "9be2285f.3688f8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2725.1068725585938, + "y": 1215.6432275772095, + "z": "1e0169fe.460196", + "wires": [ + [ + "be8fa4c5.70a7a", + "742a806a.1c8b48" + ] + ] + }, + { + "id": "be8fa4c5.70a7a", + "type": "set", + "name": "set resource-resolution-data.status = FAILED", + "xml": "\n\n", + "comments": "", + "x": 3042.10693359375, + "y": 1219.6431970596313, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "742a806a.1c8b48", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 2939.48779296875, + "y": 1269.2464599609375, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "291a0f5b.065428", + "type": "set", + "name": "set resource-resolution-data.status = SUCCESS", + "xml": "\n\n", + "comments": "", + "x": 3019.1900634765625, + "y": 1414.3340454101562, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "714a9ad3.25a814", + "type": "outcome", + "name": "external_key", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1915.246337890625, + "y": 961.4089965820312, + "z": "1e0169fe.460196", + "wires": [ + [ + "bc0a0828.40d9d8" + ] + ] + }, + { + "id": "bc0a0828.40d9d8", + "type": "set", + "name": "set external-key", + "xml": "\n\n", + "comments": "", + "x": 2163.8177490234375, + "y": 961.4090576171875, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "f4266bba.68463", + "type": "set", + "name": "set tmp.ss.param.name", + "xml": "\n\n", + "comments": "", + "x": 1181.9564895629883, + "y": 587.6627821922302, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "35313136.60f71e", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1115.5831298828125, + "y": 815.6311645507812, + "z": "1e0169fe.460196", + "wires": [ + [ + "8b797c86.449c88", + "f17ee439.871ec" + ] + ] + }, + { + "id": "3ab742ab.07506e", + "type": "outcome", + "name": "assign", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1172.190185546875, + "y": 1227.190673828125, + "z": "1e0169fe.460196", + "wires": [ + [ + "ac9eaafc.1d31a" + ] + ] + }, + { + "id": "f17ee439.871ec", + "type": "switchNode", + "name": "switch: ss.capability-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 934.9402770996094, + "y": 1232.690673828125, + "z": "1e0169fe.460196", + "wires": [ + [ + "3ab742ab.07506e", + "74139423.e17614" + ] + ] + }, + { + "id": "26e5147.b2e3b6c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1920.8328857421875, + "y": 1214.8339233398438, + "z": "1e0169fe.460196", + "wires": [ + [ + "3246d2cf.e446ce" + ] + ] + }, + { + "id": "f61d39ca.54246", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2466.6903381347656, + "y": 1540.61923122406, + "z": "1e0169fe.460196", + "wires": [ + [ + "199cb084.41994f" + ] + ] + }, + { + "id": "5a42ccdf.863d7c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2525.154296875, + "y": 1275.154846191406, + "z": "1e0169fe.460196", + "wires": [ + [ + "82bf193e.1c3e9" + ] + ] + }, + { + "id": "4d3d930a.c74edc", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2640.1190011160716, + "y": 1493.3334962299891, + "z": "1e0169fe.460196", + "wires": [ + [] + ] + }, + { + "id": "82bf193e.1c3e9", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2719.43994140625, + "y": 1355.1549682617188, + "z": "1e0169fe.460196", + "wires": [ + [ + "291a0f5b.065428", + "ddc0044e.197a88", + "96318d27.c30ac8" + ] + ] + }, + { + "id": "bacc37f5.251158", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 3176.5836791992188, + "y": 1683.7262573242188, + "z": "1e0169fe.460196", + "wires": [ + [ + "4c0830f.966f55" + ] + ] + }, + { + "id": "96318d27.c30ac8", + "type": "set", + "name": "set service-data...param[].value = ip-address", + "xml": "\n\n", + "comments": "", + "x": 3008.7139892578125, + "y": 1374.2858276367188, + "z": "1e0169fe.460196", + "wires": [] + }, + { + "id": "ddc0044e.197a88", + "type": "execute", + "name": "SliStringUtils - split subnet", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 2952.7139892578125, + "y": 1334.2858276367188, + "z": "1e0169fe.460196", + "wires": [ + [] + ] + }, + { + "id": "722fee02.ac2218", + "type": "execute", + "name": "SliStringUtils - split subnet", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 2960.428680419922, + "y": 2824.7141942977905, + "z": "1e0169fe.460196", + "wires": [ + [] + ] + }, + { + "id": "ac9eaafc.1d31a", + "type": "switchNode", + "name": "switch: resource-resolution-data.status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1408.392822265625, + "y": 1221.9642944335938, + "z": "1e0169fe.460196", + "wires": [ + [ + "e91661da.3b8608", + "bf37d131.8b2478" + ] + ] + }, + { + "id": "e91661da.3b8608", + "type": "not-found", + "name": "FAILED", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1694.643310546875, + "y": 1191.53564453125, + "z": "1e0169fe.460196", + "wires": [ + [ + "26e5147.b2e3b6c" + ] + ] + }, + { + "id": "bf37d131.8b2478", + "type": "success", + "name": "PENDING", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1693.678466796875, + "y": 1235.3931274414062, + "z": "1e0169fe.460196", + "wires": [ + [ + "26e5147.b2e3b6c" + ] + ] + }, + { + "id": "e51b7888.989928", + "type": "switchNode", + "name": "switch: resource-resolution-data.status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1431.249755859375, + "y": 1393.750244140625, + "z": "1e0169fe.460196", + "wires": [ + [ + "26889fb2.5ce19" + ] + ] + }, + { + "id": "26889fb2.5ce19", + "type": "success", + "name": "SUCCESS", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1688.678466796875, + "y": 1393.9644775390625, + "z": "1e0169fe.460196", + "wires": [ + [ + "2e96e14a.d8a666" + ] + ] + }, + { + "id": "c615cc08.6cc77", + "type": "outcome", + "name": "unassign", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1181.428466796875, + "y": 2975.71435546875, + "z": "1e0169fe.460196", + "wires": [ + [ + "5bd2efc8.0cc53" + ] + ] + }, + { + "id": "398f1da9.7fc262", + "type": "outcome", + "name": "assign", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1181.749755859375, + "y": 2705.8930053710938, + "z": "1e0169fe.460196", + "wires": [ + [ + "71585e8c.8a959" + ] + ] + }, + { + "id": "71585e8c.8a959", + "type": "switchNode", + "name": "switch: resource-resolution-data.status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1417.952392578125, + "y": 2700.6666259765625, + "z": "1e0169fe.460196", + "wires": [ + [ + "83c2a9a4.58aa98", + "bd2c6000.241588" + ] + ] + }, + { + "id": "83c2a9a4.58aa98", + "type": "not-found", + "name": "FAILED", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1704.202880859375, + "y": 2670.2379760742188, + "z": "1e0169fe.460196", + "wires": [ + [ + "b4174ab1.8632e" + ] + ] + }, + { + "id": "bd2c6000.241588", + "type": "success", + "name": "PENDING", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1703.238037109375, + "y": 2714.095458984375, + "z": "1e0169fe.460196", + "wires": [ + [ + "b4174ab1.8632e" + ] + ] + }, + { + "id": "5bd2efc8.0cc53", + "type": "switchNode", + "name": "switch: resource-resolution-data.status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1435.0949096679688, + "y": 2979.5953979492188, + "z": "1e0169fe.460196", + "wires": [ + [ + "9c7404ad.aa898" + ] + ] + }, + { + "id": "9c7404ad.aa898", + "type": "success", + "name": "SUCCESS", + "xml": "\n", "comments": "", "outputs": 1, - "x": 2368.5718994140625, - "y": 1757.142822265625, - "z": "6621aeef.bf45", + "x": 1692.5236206054688, + "y": 2979.8096313476562, + "z": "1e0169fe.460196", "wires": [ [ - "6c93627f.1091d4" + "9e365126.584608" ] ] } -] \ No newline at end of file +]