Fix set nodelist in SW upgrade DGs
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_upgrade-pre-check.json
index 4f39f48..08b896e 100644 (file)
 [\r
     {\r
-        "id": "1a420388.7ce24c",\r
+        "id": "dfc42d29.4066",\r
         "type": "method",\r
         "name": "upgrade-pre-check",\r
         "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 550,\r
-        "y": 102,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 554,\r
+        "y": 86,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "e635fd5d.f4087"\r
+                "dc3f6c8f.49cb4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c220826b.91906",\r
+        "id": "ec3ea72c.b00d38",\r
         "type": "service-logic",\r
-        "name": "LCM ${project.version}",\r
+        "name": "LCM 1.4.5",\r
         "module": "LCM",\r
-        "version": "${project.version}",\r
+        "version": "1.4.5",\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": 341.99993896484375,\r
+        "y": 87,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "1a420388.7ce24c"\r
+                "dfc42d29.4066"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "810e1e54.dec1c",\r
+        "id": "aa4b4733.b95e98",\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-pre-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-pre-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$prop.lcm.upgrade-pre-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-pre-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-pre-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": 409.00001525878906,\r
+        "y": 694,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "f279f5b8.9d49b8",\r
-                "895a0a53.e12ea8",\r
-                "fa759954.4e2068"\r
+                "eed23890.382f88",\r
+                "39c73cda.20f284",\r
+                "d5d4d9a.dfdee28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f7db5396.7b5f1",\r
+        "id": "c2461908.a56de8",\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": 808.9999389648438,\r
+        "y": 802.0000305175781,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "bc5a2382.4973",\r
-                "84f0dd88.8438",\r
-                "ffd4aab1.e3c4b8"\r
+                "21b1a494.57eb8c",\r
+                "c0ddf646.939658",\r
+                "c13b6a1f.ac5838"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bc5a2382.4973",\r
+        "id": "21b1a494.57eb8c",\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": 953.9999389648438,\r
+        "y": 800.0000381469727,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "c0fa5e3.de329a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84f0dd88.8438",\r
+        "id": "c0ddf646.939658",\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": 950.9999389648438,\r
+        "y": 857.0000305175781,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "f44a47b3.3aa128"\r
+                "95b7bcea.2185b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f44a47b3.3aa128",\r
+        "id": "95b7bcea.2185b",\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-pre-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": 1138.9999389648438,\r
+        "y": 856.0000305175781,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "dd2fe7e6.957248",\r
-                "6913b982.6c9bb8"\r
+                "205ffc13.4d2b24",\r
+                "c24e2446.933768"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "895a0a53.e12ea8",\r
+        "id": "39c73cda.20f284",\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": 667.9999389648438,\r
+        "y": 715.0000915527344,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "c0fa5e3.de329a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f279f5b8.9d49b8",\r
+        "id": "eed23890.382f88",\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": 669.9999389648438,\r
+        "y": 767.0000610351562,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "f7db5396.7b5f1"\r
+                "c2461908.a56de8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "dd2fe7e6.957248",\r
+        "id": "205ffc13.4d2b24",\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": 1307.9999389648438,\r
+        "y": 814.0000381469727,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "c0fa5e3.de329a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ffd4aab1.e3c4b8",\r
+        "id": "c13b6a1f.ac5838",\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": 950.9999389648438,\r
+        "y": 758.0000686645508,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "80cc4946.3f0f78"\r
+                "c0fa5e3.de329a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6913b982.6c9bb8",\r
+        "id": "c24e2446.933768",\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": 1315.9998779296875,\r
+        "y": 862.0001220703125,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "14c8dea1.b5b7a1"\r
+                "1b8bc484.4e584b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "a32993f8.f8215",\r
+        "id": "425c7483.101a2c",\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
+        "x": 1609.9998779296875,\r
+        "y": 919.0000610351562,\r
+        "z": "a5b492f8.99d13",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d8c3f83d.d0b9d8",\r
+        "id": "d9f050b3.ea908",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 153,\r
-        "y": 102,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 157,\r
+        "y": 86,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "c220826b.91906"\r
+                "ec3ea72c.b00d38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e635fd5d.f4087",\r
+        "id": "dc3f6c8f.49cb4",\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": 154.91668701171875,\r
+        "y": 178.08334350585938,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "810e1e54.dec1c",\r
-                "ee1802be.c5c18",\r
-                "e8d3b31a.f46c6",\r
-                "4d7f56db.9375c8"\r
+                "aa4b4733.b95e98",\r
+                "ad12ad52.0e14c",\r
+                "494bc731.2b3b38",\r
+                "e7275d95.288b8",\r
+                "790211fa.4ddc3",\r
+                "87c25306.3bca6",\r
+                "54a283d8.5df65c",\r
+                "1cee6cc7.a0f263"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ee1802be.c5c18",\r
+        "id": "ad12ad52.0e14c",\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": 453.0000305175781,\r
+        "y": 211.08334350585938,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "3830f5d4.87f1aa",\r
+        "id": "9aa2e4.6e1c5d2",\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": 1619.9998779296875,\r
+        "y": 664.0834045410156,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "1566d659.a0655a"\r
+                "fde058a0.d22348"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1566d659.a0655a",\r
+        "id": "fde058a0.d22348",\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": 1789.9998168945312,\r
+        "y": 663.0834045410156,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "22f8bfd0.6139e"\r
+                "ff5c4bc7.d7c748"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80cc4946.3f0f78",\r
+        "id": "c0fa5e3.de329a",\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": 1422.9998168945312,\r
+        "y": 688.0834045410156,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "3830f5d4.87f1aa",\r
-                "fedbb5e6.fb3c28",\r
-                "898f667e.daf2e8"\r
+                "9aa2e4.6e1c5d2",\r
+                "16091a49.ebb886",\r
+                "320ba499.3a71fc"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7ce48bed.5b7c74",\r
+        "id": "d1627c41.4a916",\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": 1620.4998779296875,\r
+        "y": 869.0833740234375,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "37e7fa80.2728b6"\r
+                "cdd5a821.a26858"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "37e7fa80.2728b6",\r
+        "id": "cdd5a821.a26858",\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": 1788.4998779296875,\r
+        "y": 869.0833740234375,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "47c7511a.dd8fe"\r
+                "6834bf03.5aff8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22f8bfd0.6139e",\r
+        "id": "ff5c4bc7.d7c748",\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": 1909.9998779296875,\r
+        "y": 662.0833740234375,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "fedbb5e6.fb3c28",\r
+        "id": "16091a49.ebb886",\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": 1601.91650390625,\r
+        "y": 715.0834045410156,\r
+        "z": "a5b492f8.99d13",\r
         "wires": []\r
     },\r
     {\r
-        "id": "47c7511a.dd8fe",\r
+        "id": "6834bf03.5aff8",\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": 1916.9166259765625,\r
+        "y": 869.0833740234375,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "898f667e.daf2e8",\r
+        "id": "320ba499.3a71fc",\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-pre-check-input.common-header.request-id + '-' + $upgrade-pre-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-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-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": 1606.9998779296875,\r
+        "y": 611.0833740234375,\r
+        "z": "a5b492f8.99d13",\r
         "wires": []\r
     },\r
     {\r
-        "id": "14c8dea1.b5b7a1",\r
+        "id": "1b8bc484.4e584b",\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": 1443.9998779296875,\r
+        "y": 863.0833740234375,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "7ce48bed.5b7c74",\r
-                "70a28c6a.563d24",\r
-                "a32993f8.f8215"\r
+                "d1627c41.4a916",\r
+                "da2077e7.65e5f8",\r
+                "425c7483.101a2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "70a28c6a.563d24",\r
+        "id": "da2077e7.65e5f8",\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-pre-check-input.common-header.request-id + '-' + $upgrade-pre-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-pre-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-pre-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-pre-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-pre-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-pre-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-pre-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-pre-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-pre-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-pre-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": 1610.1666259765625,\r
+        "y": 814.0833740234375,\r
+        "z": "a5b492f8.99d13",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fa759954.4e2068",\r
+        "id": "d5d4d9a.dfdee28",\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": 676.9999389648438,\r
+        "y": 667.0000610351562,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "ed41675d.59c088"\r
+                "c67639b8.92e2d8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "756c2e53.ca6d7",\r
+        "id": "1707d581.de00aa",\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": 967.9999389648438,\r
+        "y": 626,\r
+        "z": "a5b492f8.99d13",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ed41675d.59c088",\r
+        "id": "c67639b8.92e2d8",\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": 813.9999389648438,\r
+        "y": 661.0000610351562,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "756c2e53.ca6d7",\r
-                "80cc4946.3f0f78"\r
+                "1707d581.de00aa",\r
+                "c0fa5e3.de329a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e8d3b31a.f46c6",\r
+        "id": "494bc731.2b3b38",\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",\r
         "comments": "",\r
-        "x": 336,\r
-        "y": 269,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 446,\r
+        "y": 258,\r
+        "z": "a5b492f8.99d13",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4d7f56db.9375c8",\r
+        "id": "6e382fc2.9cf55",\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-pre-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": 986,\r
+        "y": 434,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "fa69a126.2a554",\r
-                "f9cb9963.f9e368"\r
+                "d143bfec.8f45b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fa69a126.2a554",\r
-        "type": "failure",\r
+        "id": "d143bfec.8f45b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1144.3907470703125,\r
+        "y": 432.28399658203125,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "19bb6647.2aa81a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54a283d8.5df65c",\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": 374.9998779296875,\r
+        "y": 622,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "790211fa.4ddc3",\r
+        "type": "switchNode",\r
+        "name": "switch pnf-flag",\r
+        "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 428,\r
+        "y": 359,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "3deb4f48.5eacb",\r
+                "33286dd4.94fc62"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7275d95.288b8",\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-pre-check-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 460,\r
+        "y": 305,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3deb4f48.5eacb",\r
+        "type": "outcome",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 625,\r
+        "y": 338,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "cb346986.12dd48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33286dd4.94fc62",\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": 624.9999389648438,\r
+        "y": 399,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "2d1a88c6.11f9d8"\r
+                "3af30869.256818"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f9cb9963.f9e368",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
+        "id": "3af30869.256818",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 591.3908081054688,\r
-        "y": 260.28399658203125,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 772.9999389648438,\r
+        "y": 398,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             [\r
-                "c4d4de4d.3e19f"\r
+                "6e382fc2.9cf55",\r
+                "ce17fe7f.d3b68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c4d4de4d.3e19f",\r
+        "id": "cb346986.12dd48",\r
+        "type": "set",\r
+        "name": "set AnsibleReq",\r
+        "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam +  $quote + ']'`\"/>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-pre-check.playbookname`'/>\n",\r
+        "comments": "",\r
+        "x": 786,\r
+        "y": 336,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce17fe7f.d3b68",\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-pre-check.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 995,\r
+        "y": 378,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "87c25306.3bca6",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 425,\r
+        "y": 490,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "4b5ce9b.bbd8818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b5ce9b.bbd8818",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 596,\r
+        "y": 491,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "7b056df1.6a5e34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b056df1.6a5e34",\r
+        "type": "set",\r
+        "name": "set playbookname",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-pre-check.playbookname`'/>",\r
+        "comments": "",\r
+        "x": 786,\r
+        "y": 490,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1cee6cc7.a0f263",\r
+        "type": "switchNode",\r
+        "name": "switch nodelist",\r
+        "xml": "<switch test='`$nodelist`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 415,\r
+        "y": 549,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "892b8fdd.f84ea",\r
+                "8e25ca9e.be6708"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "892b8fdd.f84ea",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 595,\r
+        "y": 542,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "482863bc.936c5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "482863bc.936c5c",\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": 752,\r
+        "y": 556,\r
+        "z": "a5b492f8.99d13",\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": "8e25ca9e.be6708",\r
+        "type": "outcome",\r
+        "name": "empty",\r
+        "xml": "<outcome value=\"['']\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 594,\r
+        "y": 586,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "482863bc.936c5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75287f66.d6424",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1470,\r
+        "y": 421,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "cf31ac68.a9966"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf31ac68.a9966",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1648,\r
+        "y": 421,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "822cf6dc.fbd318"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5a8e69f.6d2868",\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": 1443,\r
+        "y": 474,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "19bb6647.2aa81a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1273,\r
+        "y": 431,\r
+        "z": "a5b492f8.99d13",\r
+        "wires": [\r
+            [\r
+                "75287f66.d6424",\r
+                "f5a8e69f.6d2868"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "822cf6dc.fbd318",\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-pre-check.playbookname'`\" />\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 736,\r
-        "y": 312,\r
-        "z": "af8f5cdd.6e4de",\r
+        "x": 1820,\r
+        "y": 419,\r
+        "z": "a5b492f8.99d13",\r
         "wires": [\r
             []\r
         ]\r