[ { "id": "8b0d413c.615c5", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 96, "y": 89.33332824707031, "z": "eea4a4fd.28e7f8", "wires": [ [ "a7a5e7f9.cbcdd8" ] ] }, { "id": "a7a5e7f9.cbcdd8", "type": "service-logic", "name": "SUBNET-API ${project.version}", "module": "SUBNET-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 409.83335876464844, "y": 90.33332824707031, "z": "eea4a4fd.28e7f8", "wires": [ [ "513fc617.f719c8" ] ] }, { "id": "6c165aea.75e544", "type": "execute", "name": "execute EIPAM activatesubnet", "xml": "\n\n", "outputs": 1, "x": 653.6905975341797, "y": 328.7619323730469, "z": "eea4a4fd.28e7f8", "wires": [ [ "d3c99160.64233", "a9c66f76.4dc69" ] ] }, { "id": "d3c99160.64233", "type": "success", "name": "outcome: success", "xml": "", "comments": "", "outputs": 1, "x": 931.2143096923828, "y": 206.4285888671875, "z": "eea4a4fd.28e7f8", "wires": [ [ "e804c854.2cc4b8" ] ] }, { "id": "a9c66f76.4dc69", "type": "other", "name": "outcome Other ", "xml": " \n\n", "outputs": 1, "x": 915.3096466064453, "y": 457.8094787597656, "z": "eea4a4fd.28e7f8", "wires": [ [ "d4043b3c.76b5d8" ] ] }, { "id": "c794a1de.6c9f5", "type": "returnFailure", "name": "return failure", "xml": " \n \n \n", "comments": "", "x": 1423.4044036865234, "y": 614.6665649414062, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "9f29750b.da2bd8", "type": "save", "name": "save: EIPAM IP Subnets Active", "xml": "\n \n \n", "outputs": 1, "x": 1780.1310005187988, "y": 71.17860412597656, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "9990bab.31cc148", "type": "comment", "name": "MANAGED-NETWORK-NOTIFICATION", "info": "12/15/17: update AAI VPE to GENERIC-VNF for ADIod\n\t\tUS 518510 - 291247b-F24748: SDN-CP to update SUBNET-SERVICE DG for vPE orchestration on AIC 3.X", "comments": "", "x": 475.6999969482422, "y": 25, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "513fc617.f719c8", "type": "method", "name": "managed-network-notification", "xml": "\n", "outputs": 1, "x": 775.7000427246094, "y": 89.19999694824219, "z": "eea4a4fd.28e7f8", "wires": [ [ "aec047af.aaab78" ] ] }, { "id": "aec047af.aaab78", "type": "block", "name": "block", "xml": "", "atomic": "false", "outputs": 1, "x": 154.69998168945312, "y": 154.1999969482422, "z": "eea4a4fd.28e7f8", "wires": [ [ "9cc7c475.fb9c08", "4264e89c.40bd78" ] ] }, { "id": "9cc7c475.fb9c08", "type": "record", "name": "record", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 355.2714614868164, "y": 155.06147956848145, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "f7ea696e.95b708", "type": "returnSuccess", "name": "return success", "xml": " \n \n", "x": 1430.2142333984375, "y": 298.7618827819824, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "7c5909c0.2172c8", "type": "set", "name": "set: status = Active", "xml": "\n\t", "comments": "", "x": 1435.5145721435547, "y": 106.79519653320312, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "b4874196.8ae3d", "type": "save", "name": "save: status = Active", "xml": "\n\t", "outputs": 1, "x": 1443.1810760498047, "y": 155.1285400390625, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "e804c854.2cc4b8", "type": "block", "name": "block", "xml": "", "atomic": "false", "outputs": 1, "x": 1132.5475311279297, "y": 206.09521484375, "z": "eea4a4fd.28e7f8", "wires": [ [ "7c5909c0.2172c8", "b4874196.8ae3d", "f7ea696e.95b708", "51c1d9c0.103e68", "fc3f0e2.234e7f", "e09b4f51.fe4d2" ] ] }, { "id": "d4043b3c.76b5d8", "type": "block", "name": "block", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1130.3094940185547, "y": 457.8095397949219, "z": "eea4a4fd.28e7f8", "wires": [ [ "c794a1de.6c9f5", "710f2497.34503c", "44e6903c.a5e7d", "b0f18382.a3db3" ] ] }, { "id": "4264e89c.40bd78", "type": "switchNode", "name": "switch: status Successful", "xml": "\n\n", "outputs": 1, "x": 152.69998168945312, "y": 274.2000274658203, "z": "eea4a4fd.28e7f8", "wires": [ [ "9ab4229a.74392", "c3d16d19.cc9aa" ] ] }, { "id": "9ab4229a.74392", "type": "success", "name": "outcome: Success", "xml": "", "outputs": 1, "x": 413.69996643066406, "y": 274.20001220703125, "z": "eea4a4fd.28e7f8", "wires": [ [ "6c165aea.75e544" ] ] }, { "id": "c3d16d19.cc9aa", "type": "other", "name": "outcome: Other", "xml": "", "outputs": 1, "x": 330.699951171875, "y": 477.1999969482422, "z": "eea4a4fd.28e7f8", "wires": [ [ "93fdf0c8.f0ae4" ] ] }, { "id": "93fdf0c8.f0ae4", "type": "execute", "name": "execute EIPAM deallocateSubnet", "xml": "\n\n", "comments": "subnet and subnet_keys are deleted in the EIPAMPlugin", "outputs": 1, "x": 318.184814453125, "y": 702.8561706542969, "z": "eea4a4fd.28e7f8", "wires": [ [ "4f8b34e6.5bdd4c", "3cf915d5.0d1d9a" ] ] }, { "id": "a50ab9b4.106068", "type": "save", "name": "save: EIPAM IP Subnets DEALLOCATED", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 2083.8927307128906, "y": 824.5342540740967, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "d96ce594.90a0c8", "type": "set", "name": "set: status = ERROR", "xml": "\n\t", "x": 1711.3316497802734, "y": 919.9341735839844, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "cd7d1838.d5cf78", "type": "save", "name": "save: status = SDN_C_BACKOUT_ERROR", "xml": "\n\t", "comments": "", "outputs": 1, "x": 1783.3318099975586, "y": 970.2121124267578, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "25a6ed6d.53b122", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 1477.9100799560547, "y": 870.9460144042969, "z": "eea4a4fd.28e7f8", "wires": [ [ "d96ce594.90a0c8", "cd7d1838.d5cf78", "e0730d75.098b2", "137b82df.54fe1d" ] ] }, { "id": "e0730d75.098b2", "type": "returnFailure", "name": "return failure ", "xml": " \n \n \n", "comments": "", "x": 1687.9100189208984, "y": 1109.5015563964844, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "6b63ef5.73de51", "type": "save", "name": "save: EIPAM IP Subnets ERROR", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 1850.2252464294434, "y": 379.9229793548584, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "710f2497.34503c", "type": "set", "name": "set: status = ERROR", "xml": "\n\t", "comments": "", "x": 1448.0254974365234, "y": 426.48956298828125, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "44e6903c.a5e7d", "type": "save", "name": "save: status = ERROR", "xml": "\n\t", "comments": "", "outputs": 1, "x": 1453.0255584716797, "y": 475.48956298828125, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "4f8b34e6.5bdd4c", "type": "success", "name": "outcome: success", "xml": "", "comments": "", "outputs": 1, "x": 632.0690155029297, "y": 708.2610778808594, "z": "eea4a4fd.28e7f8", "wires": [ [ "1502967b.43db7a" ] ] }, { "id": "ebe5df37.bfb75", "type": "save", "name": "Update AAI: SDN_C_BACKOUT_ERROR, PREPROV", "xml": "\n\t\n\t\n\t", "comments": "", "outputs": 1, "x": 1814.999984741211, "y": 1064.8334655761719, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "59402378.f1791c", "type": "save", "name": "Update AAI: EIPAM_ERROR, PREPROV", "xml": "\n\t\n\t\n\t\n\t", "comments": "", "outputs": 1, "x": 1511.1666717529297, "y": 566.0832214355469, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "51c1d9c0.103e68", "type": "save", "name": "Update AAI: SDNC_COMPLETED", "xml": "\n\t\n\t\n", "comments": "", "outputs": 1, "x": 1486.166648864746, "y": 252.50001907348633, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "32cfc32.f7b6f3c", "type": "execute", "name": "execute: set aai-summary-status-message", "xml": "\n", "comments": "", "outputs": 1, "x": 1781.999984741211, "y": 1015.0834655761719, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "2faf2d05.28d832", "type": "execute", "name": "execute: set aai-summary-status-message", "xml": "\n", "comments": "", "outputs": 1, "x": 1515.0001068115234, "y": 520.5832824707031, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "67b3d858.1a81b8", "type": "execute", "name": "execute: set aai-summary-status-message with timestamp", "xml": "\n", "comments": "", "outputs": 1, "x": 1559.0001068115234, "y": 204.08334350585938, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "3cf915d5.0d1d9a", "type": "other", "name": "outcome Other ", "xml": " \n\n", "outputs": 1, "x": 605.6485595703125, "y": 1139.633544921875, "z": "eea4a4fd.28e7f8", "wires": [ [ "805eca59.0831f8" ] ] }, { "id": "1502967b.43db7a", "type": "execute", "name": "execute EIPAM deletePool", "xml": "\n\n", "comments": "subnet and subnet_keys are deleted in the EIPAMPlugin", "outputs": 1, "x": 916.648681640625, "y": 717.6335601806641, "z": "eea4a4fd.28e7f8", "wires": [ [ "bd7da7e7.2442a8", "9e882eaf.4bab9" ] ] }, { "id": "8c247aa0.adb508", "type": "returnFailure", "name": "return failure", "xml": " \n \n \n \n", "comments": "", "x": 1527.918930053711, "y": 811.6335754394531, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "3d115298.a6390e", "type": "set", "name": "set: status = Deleted", "xml": "\n\t", "comments": "", "x": 1552.9595794677734, "y": 672.0675354003906, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "bd7da7e7.2442a8", "type": "success", "name": "outcome: success", "xml": "", "comments": "", "outputs": 1, "x": 1168.5102996826172, "y": 719.0281066894531, "z": "eea4a4fd.28e7f8", "wires": [ [ "b202ceaa.bfcf8" ] ] }, { "id": "b202ceaa.bfcf8", "type": "block", "name": "block", "xml": "", "atomic": "false", "outputs": 1, "x": 1366.0545501708984, "y": 719.9361267089844, "z": "eea4a4fd.28e7f8", "wires": [ [ "3d115298.a6390e", "8c247aa0.adb508" ] ] }, { "id": "fe96d80e.1742e8", "type": "save", "name": "Update AAI: SDN_C_BACKOUT_ERROR, PREPROV", "xml": "\n\t\n\t\n\t\n", "comments": "", "outputs": 1, "x": 1654.441390991211, "y": 766.8501892089844, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "930f275.bbe09d8", "type": "execute", "name": "execute: set aai-summary-status-message", "xml": "\n", "comments": "", "outputs": 1, "x": 1622.441390991211, "y": 719.3502807617188, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "9e882eaf.4bab9", "type": "other", "name": "outcome Other ", "xml": " \n\n", "outputs": 1, "x": 1158.231201171875, "y": 873.6335601806641, "z": "eea4a4fd.28e7f8", "wires": [ [ "25a6ed6d.53b122" ] ] }, { "id": "c607d852.38d518", "type": "set", "name": "set: status = ERROR", "xml": "\n\t", "x": 1081.0957946777344, "y": 1190.0476684570312, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "7d1e8b06.0568c4", "type": "save", "name": "save: status = SDN_C_BACKOUT_ERROR", "xml": "\n\t", "comments": "", "outputs": 1, "x": 1158.095962524414, "y": 1237.825579881668, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "805eca59.0831f8", "type": "block", "name": "block", "xml": "", "atomic": "false", "comments": "", "outputs": 1, "x": 847.6742248535156, "y": 1138.0594177246094, "z": "eea4a4fd.28e7f8", "wires": [ [ "c607d852.38d518", "7d1e8b06.0568c4", "61415345.f8ff0c", "65667bfd.a151d4" ] ] }, { "id": "61415345.f8ff0c", "type": "returnFailure", "name": "return failure ", "xml": " \n \n \n", "comments": "", "x": 1057.6741638183594, "y": 1379.6150512695312, "z": "eea4a4fd.28e7f8", "wires": [] }, { "id": "c854babb.1edeb8", "type": "save", "name": "Update AAI: SDN_C_BACKOUT_ERROR, PREPROV", "xml": "\n\t\n\t\n\t\n\t", "comments": "", "outputs": 1, "x": 1184.7641296386719, "y": 1334.9469604492188, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "fd307a6e.e37228", "type": "execute", "name": "execute: set aai-summary-status-message", "xml": "\n", "comments": "", "outputs": 1, "x": 1151.7641296386719, "y": 1285.1969604492188, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "e09b4f51.fe4d2", "type": "get-resource", "name": "get-resource - vpe_pool", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1453.7500076293945, "y": 23.750003814697266, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "fc3f0e2.234e7f", "type": "save", "name": "Update subnet to ACTIVE in DB", "xml": "\n", "comments": "", "outputs": 1, "x": 1475.0000228881836, "y": 67.5, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "b0f18382.a3db3", "type": "save", "name": "Update subnet to ERROR in DB", "xml": "\n", "comments": "", "outputs": 1, "x": 1482.5000228881836, "y": 381.2500047683716, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "137b82df.54fe1d", "type": "save", "name": "Update subnet to DEALLOCATED in DB", "xml": "\n", "comments": "", "outputs": 1, "x": 1738.7500228881836, "y": 870.0000123977661, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "65667bfd.a151d4", "type": "save", "name": "Update subnet to ERROR in DB", "xml": "\n", "comments": "", "outputs": 1, "x": 1113.750015258789, "y": 1146.2500162124634, "z": "eea4a4fd.28e7f8", "wires": [ [] ] }, { "id": "628344a0.b07cfc", "type": "get-resource", "name": "get-resource - vpe_pool", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1090.000015258789, "y": 1081.250015258789, "z": "eea4a4fd.28e7f8", "wires": [ [] ] } ]