Update DGs and Playbooks for PNF SW Upgrade
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_upgrade-post-check.json
index 60fe6a6..0b40990 100644 (file)
@@ -1,22 +1,22 @@
 [\r
     {\r
-        "id": "1a420388.7ce24c",\r
+        "id": "bf535237.4809",\r
         "type": "method",\r
         "name": "upgrade-post-check",\r
         "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 550,\r
-        "y": 102,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 527.2500610351562,\r
+        "y": 28.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "e635fd5d.f4087"\r
+                "37dfcf3b.f289c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c220826b.91906",\r
+        "id": "abaeb654.ecf048",\r
         "type": "service-logic",\r
         "name": "LCM ${project.version}",\r
         "module": "LCM",\r
         "comments": "",\r
         "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='LCM' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 337.99993896484375,\r
-        "y": 103,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 315.25,\r
+        "y": 29.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "1a420388.7ce24c"\r
+                "bf535237.4809"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "810e1e54.dec1c",\r
+        "id": "4ca554b1.64cfac",\r
         "type": "execute",\r
         "name": "execute AnsibleA.reqExec",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`$prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-post-check-input.payload`'/>\n<parameter name='NodeList' value=\"`$nodelist`\"/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`$prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-post-check-input.payload`'/>\n<parameter name='NodeList' value=\"`$nodelist`\"/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 345.00001525878906,\r
-        "y": 379,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 429.2500762939453,\r
+        "y": 675.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "f279f5b8.9d49b8",\r
-                "895a0a53.e12ea8",\r
-                "fa759954.4e2068"\r
+                "41993dbd.510e94",\r
+                "eb0cf86.0ae1308",\r
+                "6d276eae.f7933"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7db5396.7b5f1",\r
+        "id": "cda0d255.88e57",\r
         "type": "switchNode",\r
         "name": "switch",\r
         "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 690.9999389648438,\r
-        "y": 530.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 829.25,\r
+        "y": 783.7500307559967,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "bc5a2382.4973",\r
-                "84f0dd88.8438",\r
-                "ffd4aab1.e3c4b8"\r
+                "d3ad30a5.7e40b",\r
+                "5d5c8e87.4569f",\r
+                "e91d746f.ee24d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc5a2382.4973",\r
+        "id": "d3ad30a5.7e40b",\r
         "type": "other",\r
         "name": "outcome 500",\r
         "xml": "<outcome value='500'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 835.9999389648438,\r
-        "y": 528.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 974.25,\r
+        "y": 781.7500383853912,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "83b77a4c.913068"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84f0dd88.8438",\r
+        "id": "5d5c8e87.4569f",\r
         "type": "other",\r
         "name": "outcome 100",\r
         "xml": "<outcome value='100'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 838.9999389648438,\r
-        "y": 571.0000610351562,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 971.25,\r
+        "y": 838.7500307559967,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "f44a47b3.3aa128"\r
+                "9160ee3f.90cdf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f44a47b3.3aa128",\r
+        "id": "9160ee3f.90cdf",\r
         "type": "execute",\r
         "name": "execute reqExecResult",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n    <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$prop.lcm.upgrade-post-check.playbookname`'/>\n\t\n\n\n\n\n",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n    <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$playbookname`'/>\n\t\n\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1025.9999389648438,\r
-        "y": 570.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1159.25,\r
+        "y": 837.7500307559967,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "dd2fe7e6.957248",\r
-                "6913b982.6c9bb8"\r
+                "9f6f87a0.ed34a8",\r
+                "40d1e66e.058b58"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "895a0a53.e12ea8",\r
+        "id": "eb0cf86.0ae1308",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 581.9999389648438,\r
-        "y": 439.0000534057617,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 688.25,\r
+        "y": 696.750091791153,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "83b77a4c.913068"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f279f5b8.9d49b8",\r
+        "id": "41993dbd.510e94",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 583.9999389648438,\r
-        "y": 491.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 690.25,\r
+        "y": 748.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "f7db5396.7b5f1"\r
+                "cda0d255.88e57"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd2fe7e6.957248",\r
+        "id": "9f6f87a0.ed34a8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1189.9999389648438,\r
-        "y": 542.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1328.2499389648438,\r
+        "y": 819.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "3cabde61.b46412"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ffd4aab1.e3c4b8",\r
+        "id": "e91d746f.ee24d8",\r
         "type": "other",\r
         "name": "outcome 101",\r
         "xml": "<outcome value='101'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 832.9999389648438,\r
-        "y": 486.00006103515625,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 971.25,\r
+        "y": 739.7500689029694,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "83b77a4c.913068"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6913b982.6c9bb8",\r
+        "id": "40d1e66e.058b58",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1191.9999389648438,\r
-        "y": 597.0000915527344,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1332.2499389648438,\r
+        "y": 863.7501223087311,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "14c8dea1.b5b7a1"\r
+                "3cabde61.b46412"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a32993f8.f8215",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
-        "comments": "",\r
-        "x": 1467.9998779296875,\r
-        "y": 648.0000610351562,\r
-        "z": "af8f5cdd.6e4de",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d8c3f83d.d0b9d8",\r
+        "id": "ea9b4886.c48198",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 153,\r
-        "y": 102,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 130.25006103515625,\r
+        "y": 28.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "c220826b.91906"\r
+                "abaeb654.ecf048"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e635fd5d.f4087",\r
+        "id": "37dfcf3b.f289c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 139.91668701171875,\r
-        "y": 241.08334350585938,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 175.16675186157227,\r
+        "y": 179.8333466053009,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "810e1e54.dec1c",\r
-                "ee1802be.c5c18",\r
-                "e8d3b31a.f46c6",\r
-                "4d7f56db.9375c8"\r
+                "4ca554b1.64cfac",\r
+                "b98c2ec9.d8038",\r
+                "c8196d34.a400d",\r
+                "a485bdb7.2ebc2",\r
+                "3a91a794.6c88c8",\r
+                "abab4d63.1772e",\r
+                "457d8530.6d929c",\r
+                "f1e5bbf5.b3f958"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee1802be.c5c18",\r
+        "id": "b98c2ec9.d8038",\r
         "type": "execute",\r
         "name": "execute Properties",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 328.00001525878906,\r
-        "y": 225.08334350585938,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 475.2500915527344,\r
+        "y": 126.83334374427795,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3830f5d4.87f1aa",\r
+        "id": "337a6d7b.201ca2",\r
         "type": "execute",\r
         "name": "execute DmaapMsg",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n    <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n    <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1222.9999389648438,\r
-        "y": 371.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1640.2499389648438,\r
+        "y": 645.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "1566d659.a0655a"\r
+                "96c73638.cb9ab8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1566d659.a0655a",\r
+        "id": "96c73638.cb9ab8",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1392.9998779296875,\r
-        "y": 370.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1810.2498779296875,\r
+        "y": 644.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "22f8bfd0.6139e"\r
+                "84cae955.c44a18"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80cc4946.3f0f78",\r
+        "id": "83b77a4c.913068",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1025.9998779296875,\r
-        "y": 395.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1443.2498779296875,\r
+        "y": 669.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "3830f5d4.87f1aa",\r
-                "fedbb5e6.fb3c28",\r
-                "898f667e.daf2e8"\r
+                "337a6d7b.201ca2",\r
+                "f844550d.858858",\r
+                "71d833e9.bcb87c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ce48bed.5b7c74",\r
+        "id": "d45e1182.8850c",\r
         "type": "execute",\r
         "name": "execute DmaapMsg",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n    <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n    <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1488.4998779296875,\r
-        "y": 597.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1675.7499389648438,\r
+        "y": 911.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "37e7fa80.2728b6"\r
+                "fa30655b.b81a38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37e7fa80.2728b6",\r
+        "id": "fa30655b.b81a38",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1648.4998779296875,\r
-        "y": 597.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1860.7499389648438,\r
+        "y": 911.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "47c7511a.dd8fe"\r
+                "7d0b6c03.8ed0d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22f8bfd0.6139e",\r
+        "id": "84cae955.c44a18",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1524.9998779296875,\r
-        "y": 370.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1930.2499389648438,\r
+        "y": 643.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fedbb5e6.fb3c28",\r
+        "id": "f844550d.858858",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",\r
         "comments": "",\r
-        "x": 1197.9165649414062,\r
-        "y": 408.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1622.1665649414062,\r
+        "y": 696.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47c7511a.dd8fe",\r
+        "id": "7d0b6c03.8ed0d4",\r
         "type": "record",\r
         "name": "record",\r
         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1769.9166259765625,\r
-        "y": 598.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1993.1666870117188,\r
+        "y": 911.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "898f667e.daf2e8",\r
+        "id": "71d833e9.bcb87c",\r
         "type": "set",\r
-        "name": "set",\r
+        "name": "set DmaapReq",\r
         "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
         "comments": "",\r
-        "x": 1174.9999389648438,\r
-        "y": 318.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1627.2499389648438,\r
+        "y": 592.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": []\r
     },\r
     {\r
-        "id": "14c8dea1.b5b7a1",\r
+        "id": "3cabde61.b46412",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1317.9998779296875,\r
-        "y": 596.0833435058594,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1464.2499389648438,\r
+        "y": 838.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "7ce48bed.5b7c74",\r
-                "70a28c6a.563d24",\r
-                "a32993f8.f8215"\r
+                "d45e1182.8850c",\r
+                "1d4663f2.97eacc",\r
+                "a1b67568.88c2a8",\r
+                "b0abd019.0685d",\r
+                "cea269d5.6aca98",\r
+                "6bef098.93b85f8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70a28c6a.563d24",\r
+        "id": "6bef098.93b85f8",\r
         "type": "set",\r
-        "name": "set",\r
+        "name": "set DmaapReq",\r
         "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
         "comments": "",\r
-        "x": 1448.1666259765625,\r
-        "y": 549.0833740234375,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1662.4167175292969,\r
+        "y": 825.5833866596222,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fa759954.4e2068",\r
+        "id": "6d276eae.f7933",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 577.9999389648438,\r
-        "y": 392.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 697.25,\r
+        "y": 648.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "ed41675d.59c088"\r
+                "9564527e.7b80c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "756c2e53.ca6d7",\r
+        "id": "c74b1b59.de1648",\r
         "type": "set",\r
         "name": "set Defaults",\r
         "xml": "<set>\n<parameter name='org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",\r
         "comments": "",\r
-        "x": 1009.9999389648438,\r
-        "y": 297.0000305175781,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 988.25,\r
+        "y": 607.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ed41675d.59c088",\r
+        "id": "9564527e.7b80c",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 761.9999389648438,\r
-        "y": 384.0000228881836,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 834.25,\r
+        "y": 642.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "756c2e53.ca6d7",\r
-                "80cc4946.3f0f78"\r
+                "c74b1b59.de1648",\r
+                "83b77a4c.913068"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e8d3b31a.f46c6",\r
+        "id": "c8196d34.a400d",\r
         "type": "set",\r
-        "name": "set default status value",\r
-        "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
+        "name": "set default values",\r
+        "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n<parameter name='outputPayloadField' value='.Output' />\n",\r
         "comments": "",\r
-        "x": 336,\r
-        "y": 269,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 471.25006103515625,\r
+        "y": 182.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4d7f56db.9375c8",\r
+        "id": "649bb274.68abac",\r
         "type": "get-resource",\r
-        "name": "get aai.generic-vnf by vnf-id",\r
+        "name": "get aai.generic-vnf ",\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $upgrade-post-check-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 349.0000305175781,\r
-        "y": 325,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1004.5000762939453,\r
+        "y": 268.25000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "fa69a126.2a554",\r
-                "f9cb9963.f9e368"\r
+                "b63fd635.c47e78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa69a126.2a554",\r
-        "type": "failure",\r
+        "id": "b63fd635.c47e78",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1185.3908882141113,\r
+        "y": 267.7840003967285,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "ed79a97b.65e818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "457d8530.6d929c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='`$playbookname`'/>\n\t<parameter name=\"field2\" value='`$nodelist`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 395.24993896484375,\r
+        "y": 603.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a91a794.6c88c8",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-name",\r
+        "xml": "<switch test=\"`$upgrade-post-check-input.action-identifiers.pnf-name`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 469.0000686645508,\r
+        "y": 314.2500057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "ec14cee4.1522f",\r
+                "91fc3db3.48d8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a485bdb7.2ebc2",\r
+        "type": "execute",\r
+        "name": "execute jsonStringToCtx",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='upgrade-post-check-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 480.0000686645508,\r
+        "y": 242.00000286102295,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec14cee4.1522f",\r
+        "type": "outcome",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 589.86083984375,\r
-        "y": 312.53564453125,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 674.750072479248,\r
+        "y": 385.7500054836273,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "2d1a88c6.11f9d8"\r
+                "e0ea6cf2.aa805"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f9cb9963.f9e368",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "91fc3db3.48d8e",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 679.0000114440918,\r
+        "y": 240.50001907348633,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "50ddaf2.c52105"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50ddaf2.c52105",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 816.7500114440918,\r
+        "y": 240.75001907348633,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "649bb274.68abac",\r
+                "1e906a40.6f9a16"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45aa522.51b58ac",\r
+        "type": "set",\r
+        "name": "set AnsibleReq",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam +  $quote + ']'`\"/>\n<parameter name='outputPayloadField' value=\"`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`\"/>\n",\r
+        "comments": "",\r
+        "x": 993.2500762939453,\r
+        "y": 328.5000047683716,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1e906a40.6f9a16",\r
+        "type": "execute",\r
+        "name": "set playbookname",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $payloadJson.nf-naming-code + '.upgrade-post-check.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1004.7500762939453,\r
+        "y": 203.50000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "abab4d63.1772e",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 445.25006103515625,\r
+        "y": 471.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "f88b349b.6807a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f88b349b.6807a8",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 616.2500610351562,\r
+        "y": 472.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "f3bc6541.44adb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3bc6541.44adb8",\r
+        "type": "set",\r
+        "name": "set playbookname",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",\r
+        "comments": "",\r
+        "x": 806.2500610351562,\r
+        "y": 471.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1e5bbf5.b3f958",\r
+        "type": "switchNode",\r
+        "name": "switch nodelist",\r
+        "xml": "<switch test='`$nodelist`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 591.3908081054688,\r
-        "y": 260.28399658203125,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 422.7500686645508,\r
+        "y": 532.0000076293945,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             [\r
-                "c4d4de4d.3e19f"\r
+                "a1739b46.b31628",\r
+                "62d7e3df.33dd5c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c4d4de4d.3e19f",\r
+        "id": "a1739b46.b31628",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 615.2500610351562,\r
+        "y": 523.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "2cef64f9.c5e8ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cef64f9.c5e8ec",\r
         "type": "set",\r
         "name": "set nodelist",\r
-        "xml": "<set>\n<parameter name='quote' value=\"'\" />\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.ipv4-oam-address +  $quote + ']'`\"/>\n",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
         "comments": "",\r
-        "x": 740.3908081054688,\r
-        "y": 259.28399658203125,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 772.2500610351562,\r
+        "y": 537.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2d1a88c6.11f9d8",\r
-        "type": "record",\r
-        "name": "record",\r
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='VNF not found in AAI. Nodelist retrieved from config'/>",\r
+        "id": "62d7e3df.33dd5c",\r
+        "type": "outcome",\r
+        "name": "empty",\r
+        "xml": "<outcome value=\"['']\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 614.2500610351562,\r
+        "y": 567.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "2cef64f9.c5e8ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7427e274.ca5cbc",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1512.250144958496,\r
+        "y": 229.00000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "db001d9c.052e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db001d9c.052e8",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1696.5001487731934,\r
+        "y": 228.75000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "8e520dd.9047df"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bd02c4a.6337d",\r
+        "type": "set",\r
+        "name": "set nodelist",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address +  $quote + ']'`\"/>\n",\r
+        "comments": "",\r
+        "x": 1482.5000686645508,\r
+        "y": 302.00000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ed79a97b.65e818",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1320.250144958496,\r
+        "y": 268.00000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "7427e274.ca5cbc",\r
+                "8bd02c4a.6337d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e520dd.9047df",\r
+        "type": "execute",\r
+        "name": "set playbookname",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $aai.generic-vnf.nf-naming-code + '.upgrade-post-check.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1877.2501487731934,\r
+        "y": 229.25000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d4663f2.97eacc",\r
+        "type": "execute",\r
+        "name": "execute jsonStringToCtx",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='org.onap.appc.adapter.ansible.results' />\n\t<parameter name='outputPath' value='resultsJson' />\n\t<parameter name='isEscaped' value='false' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1690.2500610351562,\r
+        "y": 744.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1b67568.88c2a8",\r
+        "type": "execute",\r
+        "name": "execute getAttributeValue",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='source' value=\"`'resultsJson' + $outputPayloadField`\" />\n\t<parameter name='outputPath' value='outputPayload' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1696.2500610351562,\r
+        "y": 789.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0abd019.0685d",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1682.2500839233398,\r
+        "y": 865.500013589859,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "94c5870c.1b9028"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "94c5870c.1b9028",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1856.250087738037,\r
+        "y": 865.750013589859,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "f297c7ae.006d88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f297c7ae.006d88",\r
+        "type": "set",\r
+        "name": "set DmaapReq with payload",\r
+        "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+        "comments": "",\r
+        "x": 2054.5000915527344,\r
+        "y": 866.250013589859,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "84168fc5.05e25",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
+        "comments": "",\r
+        "x": 2393.2500610351562,\r
+        "y": 947.7499392032623,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7ba95e1a.d4b0c",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1859.2503051757812,\r
+        "y": 969.7498781681061,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "9599f2eb.e4f97"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f979340.f0e31c",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1858.2503051757812,\r
+        "y": 1045.749878168106,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "1f06dd95.403012"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cea269d5.6aca98",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1676.2503051757812,\r
+        "y": 1005.7498781681061,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "7ba95e1a.d4b0c",\r
+                "5f979340.f0e31c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d7bfbd9.1f17c4",\r
+        "type": "returnSuccess",\r
+        "name": "return success with payload",\r
+        "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='payload' value='`$outputPayload`'/>",\r
+        "comments": "",\r
+        "x": 2434.2503051757812,\r
+        "y": 1029.749878168106,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9599f2eb.e4f97",\r
+        "type": "switchNode",\r
+        "name": "switch result code",\r
+        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2029.2503051757812,\r
+        "y": 969.7498781681061,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "6b0748c.2505bb8",\r
+                "408c7b86.5c50a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f06dd95.403012",\r
+        "type": "switchNode",\r
+        "name": "switch result code",\r
+        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2029.2503051757812,\r
+        "y": 1045.749878168106,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "284a16dd.c42b9a",\r
+                "b1e583b2.95cf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7d7ae9a.c9b1a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",\r
+        "comments": "",\r
+        "x": 2387.2503051757812,\r
+        "y": 985.7498781681061,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "84f220b8.c18db",\r
+        "type": "returnFailure",\r
+        "name": "return failure with payload",\r
+        "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n<parameter name='payload' value='`$outputPayload`'/>",\r
+        "comments": "",\r
+        "x": 2430.2503051757812,\r
+        "y": 1067.749878168106,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6b0748c.2505bb8",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2217.2503051757812,\r
+        "y": 947.7498781681061,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "84168fc5.05e25"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "408c7b86.5c50a4",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2198.2503051757812,\r
+        "y": 985.7498781681061,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "c7d7ae9a.c9b1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "284a16dd.c42b9a",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2218.2503051757812,\r
+        "y": 1029.749878168106,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "7d7bfbd9.1f17c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1e583b2.95cf8",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2200.2503051757812,\r
+        "y": 1067.749878168106,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "84f220b8.c18db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0ea6cf2.aa805",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 806.750072479248,\r
+        "y": 385.25000524520874,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "45aa522.51b58ac",\r
+                "71c4da42.247694",\r
+                "c3246832.b79218"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71c4da42.247694",\r
+        "type": "switchNode",\r
+        "name": "switch playbook-name in req",\r
+        "xml": "<switch test='`$payloadJson.playbook-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1035.2500762939453,\r
+        "y": 381.2500057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "47ca03ae.82311c",\r
+                "3d9f5c17.e59e74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "47ca03ae.82311c",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1247.7501411437988,\r
+        "y": 352.5000057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "af284dab.4b361"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d9f5c17.e59e74",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1247.2501411437988,\r
+        "y": 408.2500057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "753113cf.9764ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af284dab.4b361",\r
+        "type": "set",\r
+        "name": "set playbookname from prop",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>\n",\r
+        "comments": "",\r
+        "x": 1454.750144958496,\r
+        "y": 352.7500057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "753113cf.9764ec",\r
+        "type": "set",\r
+        "name": "set playbookname from req",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",\r
+        "comments": "",\r
+        "x": 1457.250144958496,\r
+        "y": 407.7500057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c3246832.b79218",\r
+        "type": "execute",\r
+        "name": "execute updateJsonObjectString",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='updateJsonObjectString'>\n\t<parameter name='source' value='upgrade-post-check-input.payload' />\n\t<parameter name='outputPath' value='upgrade-post-check-input.payload' />\n\t<parameter name='add.pnf-flag' value='true' />\n\t<parameter name='add.pnfName' value=\"`$upgrade-post-check-input.action-identifiers.pnf-name`\" />\n\t<parameter name='delete.ipaddress-v4-oam' value=\"\" />\n\t<parameter name='delete.playbook-name' value=\"\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 736,\r
-        "y": 312,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1047.5000762939453,\r
+        "y": 440.7500057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
         "wires": [\r
             []\r
         ]\r
     }\r
-]
\ No newline at end of file
+]\r