Generic resource API DG catch up
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / SUBNET-API_managed-network-notification.json
index f1c532d..19348f8 100644 (file)
@@ -1 +1,805 @@
-[{"id":"1d697de8.1c8bd2","type":"dgstart","name":"DGSTART","outputs":1,"x":92.85714721679688,"y":84.33332824707031,"z":"fe1687cb.6748b8","wires":[["738f4ec8.3ebfb"]]},{"id":"738f4ec8.3ebfb","type":"service-logic","name":"SUBNET-API ${project.version}","module":"SUBNET-API","version":"${project.version}","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='SUBNET-API' version='${project.version}'>","outputs":1,"x":406.6905059814453,"y":85.33332824707031,"z":"fe1687cb.6748b8","wires":[["b53de678.5aad68"]]},{"id":"634eb01d.99ae1","type":"execute","name":"execute EIPAM activatesubnet","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"activateSubnet\">\n\n","outputs":1,"x":650.5477447509766,"y":323.7619323730469,"z":"fe1687cb.6748b8","wires":[["c72da6f0.5e41e8","74dfc0f7.c1b15"]]},{"id":"c72da6f0.5e41e8","type":"success","name":"outcome: success","xml":"<outcome value=\"success\">","comments":"","outputs":1,"x":928.0714569091797,"y":201.4285888671875,"z":"fe1687cb.6748b8","wires":[["bcd2c580.735ef8"]]},{"id":"74dfc0f7.c1b15","type":"other","name":"outcome Other ","xml":"<outcome value=\"Other\"> \n\n","outputs":1,"x":912.1667938232422,"y":452.8094787597656,"z":"fe1687cb.6748b8","wires":[["e9a87b58.c5a9f8"]]},{"id":"a713f47b.c8cca8","type":"returnFailure","name":"return failure","xml":" <return status=\"failure\">\n               <parameter name=\"error-code\" value=\"3000\" />\n              <parameter name=\"error-message\" value=\"ActivateSubnet failure, need to manually activate in EIPAM\" />\n","comments":"","x":1420.2615509033203,"y":609.6665649414062,"z":"fe1687cb.6748b8","wires":[]},{"id":"7ad0948d.fae1dc","type":"save","name":"save: EIPAM IP Subnets Active","xml":"<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"ACTIVE\" />\n       \n","outputs":1,"x":1470.7381744384766,"y":52.42860412597656,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"69ddb424.aac11c","type":"comment","name":"MANAGED-NETWORK-NOTIFICATION","info":"","x":472.55714416503906,"y":20,"z":"fe1687cb.6748b8","wires":[]},{"id":"b53de678.5aad68","type":"method","name":"managed-network-notification","xml":"<method rpc='managed-network-notification' mode='sync'>\n","outputs":1,"x":772.5571899414062,"y":84.19999694824219,"z":"fe1687cb.6748b8","wires":[["aae4bb44.e823e8"]]},{"id":"aae4bb44.e823e8","type":"block","name":"block","xml":"<block>","atomic":"false","outputs":1,"x":151.55712890625,"y":149.1999969482422,"z":"fe1687cb.6748b8","wires":[["87f499a7.89d588","63a281f0.52912"]]},{"id":"87f499a7.89d588","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"managed-network-notification\"/>\n<parameter name=\"field3\" value=\"`$managed-network-notification-input.request-id`\"/>\n<parameter name=\"field4\" value=\"`$managed-network-notification-input.managed-network-status.status.code`\"/>\n<parameter name=\"field5\" value=\"`$managed-network-notification-input.managed-network-status.status.description`\"/>\n<parameter name=\"field6\" value=\"`$managed-network-notification-input.managed-network-status.final-notification-indicator`\"/>\n\n","comments":"","outputs":1,"x":352.1286163330078,"y":150.0614776611328,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"5eb284fa.4e019c","type":"returnSuccess","name":"return success","xml":" <return status=\"success\">\n \n","x":1427.0713806152344,"y":293.7618827819824,"z":"fe1687cb.6748b8","wires":[]},{"id":"22f650d9.d8db3","type":"set","name":"set: status = Active","xml":"<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ACTIVE\" />","x":1432.3717193603516,"y":101.79519653320312,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"21eddabf.11f436","type":"save","name":"save: status = Active","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"ACTIVE\" />","outputs":1,"x":1440.0382232666016,"y":150.1285400390625,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"bcd2c580.735ef8","type":"block","name":"block","xml":"<block>","atomic":"false","outputs":1,"x":1129.4046783447266,"y":201.09521484375,"z":"fe1687cb.6748b8","wires":[["7ad0948d.fae1dc","22f650d9.d8db3","21eddabf.11f436","5eb284fa.4e019c","cb0701c6.2633d","7b60262a.6e15b8"]]},{"id":"e9a87b58.c5a9f8","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1127.1666412353516,"y":452.8095397949219,"z":"fe1687cb.6748b8","wires":[["a713f47b.c8cca8","9989a7a9.198118","704cf48a.cb80ac","30ca370b.971358","4be470e7.693da","d998050.b2340f8"]]},{"id":"63a281f0.52912","type":"switchNode","name":"switch: status Successful","xml":"<switch test=\"`$managed-network-notification-input.managed-network-status.status.code`\">\n\n","outputs":1,"x":149.55712890625,"y":269.2000274658203,"z":"fe1687cb.6748b8","wires":[["b9ae7f80.7ea4c","e0cc590d.ec4548"]]},{"id":"b9ae7f80.7ea4c","type":"success","name":"outcome: Success","xml":"<outcome value=\"Success\">","outputs":1,"x":410.55711364746094,"y":269.20001220703125,"z":"fe1687cb.6748b8","wires":[["634eb01d.99ae1"]]},{"id":"e0cc590d.ec4548","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">","outputs":1,"x":327.5570983886719,"y":472.1999969482422,"z":"fe1687cb.6748b8","wires":[["2aa26002.ad155"]]},{"id":"2aa26002.ad155","type":"execute","name":"execute EIPAM deallocateSubnet","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"deallocateSubnet\">\n\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","outputs":1,"x":315.0419616699219,"y":697.8561706542969,"z":"fe1687cb.6748b8","wires":[["5d00b0bf.3d073","fa532c4.fd22ed"]]},{"id":"5fe6bc2a.78ee84","type":"save","name":"save: EIPAM IP Subnets DEALLOCATED","xml":"<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"DEALLOCATED\" />\n       \n","comments":"","outputs":1,"x":1741.9998321533203,"y":865.7842407226562,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"5ee29eaa.01846","type":"set","name":"set: status = ERROR","xml":"<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />","x":1708.1887969970703,"y":914.9341735839844,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"60bc6aba.ddb804","type":"save","name":"save: status = ERROR","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />","outputs":1,"x":1710.1889190673828,"y":962.7120971679688,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"2d6b5fe.839f2a","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":1474.7672271728516,"y":865.9460144042969,"z":"fe1687cb.6748b8","wires":[["5fe6bc2a.78ee84","5ee29eaa.01846","60bc6aba.ddb804","743bfc5f.f7aad4","5a06f6a5.be2ce8","b4e34055.70014"]]},{"id":"743bfc5f.f7aad4","type":"returnFailure","name":"return failure ","xml":"  <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"1000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\" />\n","comments":"","x":1684.7671661376953,"y":1104.5015563964844,"z":"fe1687cb.6748b8","wires":[]},{"id":"9989a7a9.198118","type":"save","name":"save: EIPAM IP Subnets ERROR","xml":"<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"ERROR\" />\n       \n","outputs":1,"x":1484.5823516845703,"y":373.6729736328125,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"704cf48a.cb80ac","type":"set","name":"set: status = ERROR","xml":"<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />","x":1444.8826446533203,"y":421.48956298828125,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"30ca370b.971358","type":"save","name":"save: status = ERROR","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />","outputs":1,"x":1449.8827056884766,"y":470.48956298828125,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"5d00b0bf.3d073","type":"success","name":"outcome: success","xml":"<outcome value=\"success\">","comments":"","outputs":1,"x":628.9261627197266,"y":703.2610778808594,"z":"fe1687cb.6748b8","wires":[["585b522e.fbe72c"]]},{"id":"5a06f6a5.be2ce8","type":"save","name":"Update AAI: SDN_C_BACKOUT_ERROR, PREPROV","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vpe\" \n\t\tkey=\"vnf-id = $data-change-notification-input.key-data[0].key-value\" pfx=\"vpe-after\">\n\t<parameter name=\"operational-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n\t","comments":"","outputs":1,"x":1811.8571319580078,"y":1059.8334655761719,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"4be470e7.693da","type":"save","name":"Update AAI: EIPAM_ERROR, PREPROV","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vpe\" \n\t\tkey=\"vnf-id = $data-change-notification-input.key-data[0].key-value\" pfx=\"vpe-after\">\n\t<parameter name=\"operational-state\" value=\"EIPAM_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n\t","comments":"","outputs":1,"x":1508.0238189697266,"y":561.0832214355469,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"cb0701c6.2633d","type":"save","name":"Update AAI: SDNC_COMPLETED","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vpe\" key=\"vnf-id = $data-change-notification-input.key-data[0].key-value\" pfx=\"vpe-after\">\n\t<parameter name=\"operational-state\" value=\"SDNC_COMPLETED\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n","comments":"","outputs":1,"x":1483.0237731933594,"y":247.5000114440918,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"b4e34055.70014","type":"execute","name":"execute: set aai-summary-status-message","xml":"<execute plugin='org.onap.ccsdk.sli.adaptors.sli.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\"/>","comments":"","outputs":1,"x":1778.8571319580078,"y":1010.0834655761719,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"d998050.b2340f8","type":"execute","name":"execute: set aai-summary-status-message","xml":"<execute plugin='org.onap.ccsdk.sli.adaptors.sli.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"ActivateSubnet failure, need to manually activate in EIPAM.\"/>","comments":"","outputs":1,"x":1511.8572540283203,"y":515.5832824707031,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"7b60262a.6e15b8","type":"execute","name":"execute: set aai-summary-status-message with timestamp","xml":"<execute plugin='org.onap.ccsdk.sli.adaptors.sli.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"SUCCESS: eipam-ip-block.status is ACTIVE.\"/>","comments":"","outputs":1,"x":1555.8572540283203,"y":199.08334350585938,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"fa532c4.fd22ed","type":"other","name":"outcome Other ","xml":"<outcome value=\"Other\"> \n\n","outputs":1,"x":602.5057067871094,"y":1134.633544921875,"z":"fe1687cb.6748b8","wires":[["c5dee3e7.cdd41"]]},{"id":"585b522e.fbe72c","type":"execute","name":"execute EIPAM deletePool","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"deletePool\">\n\n","comments":"subnet and subnet_keys are deleted in the EIPAMPlugin","outputs":1,"x":913.5058288574219,"y":712.6335601806641,"z":"fe1687cb.6748b8","wires":[["d384c427.925d78","6f76ee0b.cd146"]]},{"id":"98bded5a.99026","type":"returnFailure","name":"return failure","xml":" <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"2000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deleted pool/subnet in EIPAM\"/>\n \n","comments":"","x":1524.7760772705078,"y":806.6335754394531,"z":"fe1687cb.6748b8","wires":[]},{"id":"85368279.ecf69","type":"set","name":"set: status = Deleted","xml":"<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"DELETED\" />","comments":"","x":1549.8167266845703,"y":667.0675354003906,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"d384c427.925d78","type":"success","name":"outcome: success","xml":"<outcome value=\"success\">","comments":"","outputs":1,"x":1165.367446899414,"y":714.0281066894531,"z":"fe1687cb.6748b8","wires":[["5e92b424.f60bec"]]},{"id":"5e92b424.f60bec","type":"block","name":"block","xml":"<block>","atomic":"false","outputs":1,"x":1362.9116973876953,"y":714.9361267089844,"z":"fe1687cb.6748b8","wires":[["85368279.ecf69","98bded5a.99026","a6e3d85b.a8fe78","165124ec.ec08eb"]]},{"id":"a6e3d85b.a8fe78","type":"save","name":"Update AAI: SDN_C_BACKOUT_ERROR, PREPROV","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vpe\" key=\"vnf-id = $data-change-notification-input.key-data[0].key-value\" pfx=\"vpe-after\">\n\t<parameter name=\"operational-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n","comments":"","outputs":1,"x":1651.2985382080078,"y":761.8501892089844,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"165124ec.ec08eb","type":"execute","name":"execute: set aai-summary-status-message","xml":"<execute plugin='org.onap.ccsdk.sli.adaptors.sli.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deleted pool/subnet in EIPAM.\"/>","comments":"","outputs":1,"x":1619.2985382080078,"y":714.3502807617188,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"6f76ee0b.cd146","type":"other","name":"outcome Other ","xml":"<outcome value=\"Other\"> \n\n","outputs":1,"x":1155.0883483886719,"y":868.6335601806641,"z":"fe1687cb.6748b8","wires":[["2d6b5fe.839f2a"]]},{"id":"221af66d.6cc54a","type":"save","name":"save: EIPAM IP Subnets ERROR","xml":"<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"ERROR\" />\n       \n","outputs":1,"x":1111.7639770507812,"y":1135.8977355957031,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"66787785.d87018","type":"set","name":"set: status = ERROR","xml":"<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />","x":1077.9529418945312,"y":1185.0476684570312,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"f85cd896.2992c8","type":"save","name":"save: status = ERROR","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />","outputs":1,"x":1079.9530639648438,"y":1232.8255920410156,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"c5dee3e7.cdd41","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":844.5313720703125,"y":1133.0594177246094,"z":"fe1687cb.6748b8","wires":[["221af66d.6cc54a","66787785.d87018","f85cd896.2992c8","5a7001d8.ef0f6","918cc60e.942f48","2eaa51b4.b221be"]]},{"id":"5a7001d8.ef0f6","type":"returnFailure","name":"return failure ","xml":"  <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"1000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\" />\n","comments":"","x":1054.5313110351562,"y":1374.6150512695312,"z":"fe1687cb.6748b8","wires":[]},{"id":"918cc60e.942f48","type":"save","name":"Update AAI: SDN_C_BACKOUT_ERROR, PREPROV","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vpe\" \n\t\tkey=\"vnf-id = $data-change-notification-input.key-data[0].key-value\" pfx=\"vpe-after\">\n\t<parameter name=\"operational-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n\t","comments":"","outputs":1,"x":1181.6212768554688,"y":1329.9469604492188,"z":"fe1687cb.6748b8","wires":[[]]},{"id":"2eaa51b4.b221be","type":"execute","name":"execute: set aai-summary-status-message","xml":"<execute plugin='org.onap.ccsdk.sli.adaptors.sli.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\"/>","comments":"","outputs":1,"x":1148.6212768554688,"y":1280.1969604492188,"z":"fe1687cb.6748b8","wires":[[]]}]
+[
+    {
+        "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": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='SUBNET-API' version='${project.version}'>",
+        "outputs": 1,
+        "x": 409.83335876464844,
+        "y": 90.33332824707031,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            [
+                "513fc617.f719c8"
+            ]
+        ]
+    },
+    {
+        "id": "6c165aea.75e544",
+        "type": "execute",
+        "name": "execute EIPAM activatesubnet",
+        "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"activateSubnet\">\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": "<outcome value=\"success\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 931.2143096923828,
+        "y": 206.4285888671875,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            [
+                "e804c854.2cc4b8"
+            ]
+        ]
+    },
+    {
+        "id": "a9c66f76.4dc69",
+        "type": "other",
+        "name": "outcome Other ",
+        "xml": "<outcome value=\"Other\"> \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": " <return status=\"failure\">\n               <parameter name=\"error-code\" value=\"3000\" />\n              <parameter name=\"error-message\" value=\"ActivateSubnet failure, need to manually activate in EIPAM\" />\n",
+        "comments": "",
+        "x": 1423.4044036865234,
+        "y": 614.6665649414062,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "9f29750b.da2bd8",
+        "type": "save",
+        "name": "save: EIPAM IP Subnets Active",
+        "xml": "<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"ACTIVE\" />\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": "<method rpc='managed-network-notification' mode='sync'>\n",
+        "outputs": 1,
+        "x": 775.7000427246094,
+        "y": 89.19999694824219,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            [
+                "aec047af.aaab78"
+            ]
+        ]
+    },
+    {
+        "id": "aec047af.aaab78",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "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": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"managed-network-notification\"/>\n<parameter name=\"field3\" value=\"`$managed-network-notification-input.request-id`\"/>\n<parameter name=\"field4\" value=\"`$managed-network-notification-input.managed-network-status.status.code`\"/>\n<parameter name=\"field5\" value=\"`$managed-network-notification-input.managed-network-status.status.description`\"/>\n<parameter name=\"field6\" value=\"`$managed-network-notification-input.managed-network-status.final-notification-indicator`\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 355.2714614868164,
+        "y": 155.06147956848145,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f7ea696e.95b708",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": " <return status=\"success\">\n \n",
+        "x": 1430.2142333984375,
+        "y": 298.7618827819824,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "7c5909c0.2172c8",
+        "type": "set",
+        "name": "set: status = Active",
+        "xml": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ACTIVE\" />",
+        "comments": "",
+        "x": 1435.5145721435547,
+        "y": 106.79519653320312,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "b4874196.8ae3d",
+        "type": "save",
+        "name": "save: status = Active",
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"ACTIVE\" />",
+        "outputs": 1,
+        "x": 1443.1810760498047,
+        "y": 155.1285400390625,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e804c854.2cc4b8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "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": "<block>",
+        "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": "<switch test=\"`$managed-network-notification-input.managed-network-status.status.code`\">\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": "<outcome value=\"Success\">",
+        "outputs": 1,
+        "x": 413.69996643066406,
+        "y": 274.20001220703125,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            [
+                "6c165aea.75e544"
+            ]
+        ]
+    },
+    {
+        "id": "c3d16d19.cc9aa",
+        "type": "other",
+        "name": "outcome: Other",
+        "xml": "<outcome value=\"Other\">",
+        "outputs": 1,
+        "x": 330.699951171875,
+        "y": 477.1999969482422,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            [
+                "93fdf0c8.f0ae4"
+            ]
+        ]
+    },
+    {
+        "id": "93fdf0c8.f0ae4",
+        "type": "execute",
+        "name": "execute EIPAM deallocateSubnet",
+        "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"deallocateSubnet\">\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": "<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"DEALLOCATED\" />\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": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />",
+        "x": 1711.3316497802734,
+        "y": 919.9341735839844,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "cd7d1838.d5cf78",
+        "type": "save",
+        "name": "save: status = SDN_C_BACKOUT_ERROR",
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"SDN_C_BACKOUT_ERROR\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1783.3318099975586,
+        "y": 970.2121124267578,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "25a6ed6d.53b122",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "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": "  <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"1000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\" />\n",
+        "comments": "",
+        "x": 1687.9100189208984,
+        "y": 1109.5015563964844,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "6b63ef5.73de51",
+        "type": "save",
+        "name": "save: EIPAM IP Subnets ERROR",
+        "xml": "<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"EIPAM_ACTIVATESUBNET_ERROR\" />\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": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />",
+        "comments": "",
+        "x": 1448.0254974365234,
+        "y": 426.48956298828125,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "44e6903c.a5e7d",
+        "type": "save",
+        "name": "save: status = ERROR",
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"EIPAM_ACTIVATESUBNET_ERROR\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1453.0255584716797,
+        "y": 475.48956298828125,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4f8b34e6.5bdd4c",
+        "type": "success",
+        "name": "outcome: success",
+        "xml": "<outcome value=\"success\">",
+        "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": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\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": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"operational-state\" value=\"EIPAM_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\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": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-status\" value=\"Activated\" />\n\t<parameter name=\"prov-status\" value=\"NVTPROV\" />\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": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\"/>",
+        "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": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"ActivateSubnet failure, need to manually activate in EIPAM.\"/>",
+        "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": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"SUCCESS: eipam-ip-block.status is ACTIVE.\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1559.0001068115234,
+        "y": 204.08334350585938,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3cf915d5.0d1d9a",
+        "type": "other",
+        "name": "outcome Other ",
+        "xml": "<outcome value=\"Other\"> \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": "<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"deletePool\">\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": " <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"2000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deleted pool/subnet in EIPAM\"/>\n \n",
+        "comments": "",
+        "x": 1527.918930053711,
+        "y": 811.6335754394531,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "3d115298.a6390e",
+        "type": "set",
+        "name": "set: status = Deleted",
+        "xml": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"DELETED\" />",
+        "comments": "",
+        "x": 1552.9595794677734,
+        "y": 672.0675354003906,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "bd7da7e7.2442a8",
+        "type": "success",
+        "name": "outcome: success",
+        "xml": "<outcome value=\"success\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 1168.5102996826172,
+        "y": 719.0281066894531,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            [
+                "b202ceaa.bfcf8"
+            ]
+        ]
+    },
+    {
+        "id": "b202ceaa.bfcf8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "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": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\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": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deleted pool/subnet in EIPAM.\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1622.441390991211,
+        "y": 719.3502807617188,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9e882eaf.4bab9",
+        "type": "other",
+        "name": "outcome Other ",
+        "xml": "<outcome value=\"Other\"> \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": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />",
+        "x": 1081.0957946777344,
+        "y": 1190.0476684570312,
+        "z": "eea4a4fd.28e7f8",
+        "wires": []
+    },
+    {
+        "id": "7d1e8b06.0568c4",
+        "type": "save",
+        "name": "save: status = SDN_C_BACKOUT_ERROR",
+        "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"SDN_C_BACKOUT_ERROR\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1158.095962524414,
+        "y": 1237.825579881668,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "805eca59.0831f8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "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": "  <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"1000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\" />\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": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\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": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\"/>",
+        "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": "<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM VPE_POOL where vpe_name = $eipam-ip-block.ptnii-name ;\"\n        pfx='tmp.vpe-pool-row'>\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": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'ACTIVE' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\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": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'ACTIVATE_ERROR' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\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": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'DEALLOCATED' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\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": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'DEALLOCSUBNET_ERROR' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\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": "<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM VPE_POOL where vpe_name = $eipam-ip-block.ptnii-name ;\"\n        pfx='tmp.vpe-pool-row'>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1090.000015258789,
+        "y": 1081.250015258789,
+        "z": "eea4a4fd.28e7f8",
+        "wires": [
+            []
+        ]
+    }
+]
\ No newline at end of file