Update DGs and Playbooks for PNF SW Upgrade
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_upgrade-pre-check.json
index 51d33da..f3d25fd 100644 (file)
-[
-    {
-        "id": "8794d455.5cce5",
-        "type": "method",
-        "name": "upgrade-pre-check",
-        "xml": "<method rpc='upgrade-pre-check' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 520,
-        "y": 133,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "ff45289b.166bd8"
-            ]
-        ]
-    },
-    {
-        "id": "80857f67.984b6",
-        "type": "service-logic",
-        "name": "LCM ${project.version}",
-        "module": "LCM",
-        "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='LCM' version='${project.version}'>",
-        "outputs": 1,
-        "x": 307.99993896484375,
-        "y": 134,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "8794d455.5cce5"
-            ]
-        ]
-    },
-    {
-        "id": "d102dc2d.41fe",
-        "type": "execute",
-        "name": "execute AnsibleA.reqExec",
-        "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='`$prop.ansible.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`'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 308.00001525878906,
-        "y": 351,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "dde77b94.93ef18",
-                "ed53398e.b83e6",
-                "f5081dcd.9b7118"
-            ]
-        ]
-    },
-    {
-        "id": "fe62b59e.3e5e2",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 609,
-        "y": 399,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "1521e2ba.c5b60d",
-                "c92b8968.b6598",
-                "1549489f.79a4df"
-            ]
-        ]
-    },
-    {
-        "id": "1521e2ba.c5b60d",
-        "type": "other",
-        "name": "outcome 500",
-        "xml": "<outcome value='500'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 754,
-        "y": 397.00000762939453,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "c92b8968.b6598",
-        "type": "other",
-        "name": "outcome 100",
-        "xml": "<outcome value='100'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 757,
-        "y": 440.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "a515c0c.2a1774"
-            ]
-        ]
-    },
-    {
-        "id": "a515c0c.2a1774",
-        "type": "execute",
-        "name": "execute reqExecResult",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 935.0000305175781,
-        "y": 440.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "aafd18f3.e67588",
-                "12d7ff4a.4dff39"
-            ]
-        ]
-    },
-    {
-        "id": "ed53398e.b83e6",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 500,
-        "y": 308.0000305175781,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "dde77b94.93ef18",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 502,
-        "y": 360,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "fe62b59e.3e5e2"
-            ]
-        ]
-    },
-    {
-        "id": "aafd18f3.e67588",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1096.0000610351562,
-        "y": 417.00000762939453,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "1549489f.79a4df",
-        "type": "other",
-        "name": "outcome 101",
-        "xml": "<outcome value='101'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 751,
-        "y": 355.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "12d7ff4a.4dff39",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1103.0000610351562,
-        "y": 465.00003814697266,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "db47df98.2c4588"
-            ]
-        ]
-    },
-    {
-        "id": "cdc8f332.5e3cb8",
-        "type": "returnSuccess",
-        "name": "return success",
-        "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`'/>",
-        "comments": "",
-        "x": 1385.9999389648438,
-        "y": 517.0000381469727,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "35025675.c3eb3a",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 123,
-        "y": 133,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "80857f67.984b6"
-            ]
-        ]
-    },
-    {
-        "id": "ff45289b.166bd8",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 118.91668701171875,
-        "y": 314.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "d102dc2d.41fe",
-                "8c1fb722.e712a8",
-                "d66534d5.e238c"
-            ]
-        ]
-    },
-    {
-        "id": "8c1fb722.e712a8",
-        "type": "execute",
-        "name": "execute Properties",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 292.00001525878906,
-        "y": 267.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "5aa80cdf.0a7ab4",
-        "type": "execute",
-        "name": "execute DmaapMsg",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 1103.0000610351562,
-        "y": 261.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "33950e88.f14ed2"
-            ]
-        ]
-    },
-    {
-        "id": "33950e88.f14ed2",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1273,
-        "y": 260.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "d29bb160.8e2c18"
-            ]
-        ]
-    },
-    {
-        "id": "6680d59e.022b5c",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 906,
-        "y": 285.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "5aa80cdf.0a7ab4",
-                "b116f2bd.6d187",
-                "3c43772b.4e0da8"
-            ]
-        ]
-    },
-    {
-        "id": "ee44a647.c4fff",
-        "type": "execute",
-        "name": "execute DmaapMsg",
-        "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",
-        "comments": "",
-        "outputs": 1,
-        "x": 1406.4999389648438,
-        "y": 466.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "96654ac9.0d28b8"
-            ]
-        ]
-    },
-    {
-        "id": "96654ac9.0d28b8",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1566.4999389648438,
-        "y": 466.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "8e468697.9f9a2"
-            ]
-        ]
-    },
-    {
-        "id": "d29bb160.8e2c18",
-        "type": "record",
-        "name": "record",
-        "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'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1405,
-        "y": 260.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "b116f2bd.6d187",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",
-        "comments": "",
-        "x": 1077.9166870117188,
-        "y": 298.0833435058594,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "8e468697.9f9a2",
-        "type": "record",
-        "name": "record",
-        "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'/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1687.9166870117188,
-        "y": 467.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "3c43772b.4e0da8",
-        "type": "set",
-        "name": "set",
-        "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\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",
-        "comments": "",
-        "x": 1055.0000610351562,
-        "y": 208.08334350585938,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "db47df98.2c4588",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1235.9999389648438,
-        "y": 465.0833206176758,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "ee44a647.c4fff",
-                "61a3bf4.bcdb3c",
-                "cdc8f332.5e3cb8"
-            ]
-        ]
-    },
-    {
-        "id": "61a3bf4.bcdb3c",
-        "type": "set",
-        "name": "set",
-        "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",
-        "comments": "",
-        "x": 1366.1666870117188,
-        "y": 418.0833511352539,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "f5081dcd.9b7118",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 496,
-        "y": 261,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "ce8b68f1.22b2d8"
-            ]
-        ]
-    },
-    {
-        "id": "e7918964.c04f3",
-        "type": "set",
-        "name": "set Defaults",
-        "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",
-        "comments": "",
-        "x": 880,
-        "y": 208,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    },
-    {
-        "id": "ce8b68f1.22b2d8",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 680,
-        "y": 253,
-        "z": "7da5048.3ddb5fc",
-        "wires": [
-            [
-                "e7918964.c04f3",
-                "6680d59e.022b5c"
-            ]
-        ]
-    },
-    {
-        "id": "d66534d5.e238c",
-        "type": "set",
-        "name": "set default status value",
-        "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n",
-        "comments": "",
-        "x": 301,
-        "y": 311,
-        "z": "7da5048.3ddb5fc",
-        "wires": []
-    }
-]
+[\r
+    {\r
+        "id": "bf535237.4809",\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": 527.2500610351562,\r
+        "y": 28.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "37dfcf3b.f289c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abaeb654.ecf048",\r
+        "type": "service-logic",\r
+        "name": "LCM ${project.version}",\r
+        "module": "LCM",\r
+        "version": "${project.version}",\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": 315.25,\r
+        "y": 29.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "bf535237.4809"\r
+            ]\r
+        ]\r
+    },\r
+    {\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-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": 429.2500762939453,\r
+        "y": 675.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "41993dbd.510e94",\r
+                "eb0cf86.0ae1308",\r
+                "6d276eae.f7933"\r
+            ]\r
+        ]\r
+    },\r
+    {\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": 829.25,\r
+        "y": 783.7500307559967,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "d3ad30a5.7e40b",\r
+                "5d5c8e87.4569f",\r
+                "e91d746f.ee24d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3ad30a5.7e40b",\r
+        "type": "other",\r
+        "name": "outcome 500",\r
+        "xml": "<outcome value='500'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 974.25,\r
+        "y": 781.7500383853912,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "83b77a4c.913068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d5c8e87.4569f",\r
+        "type": "other",\r
+        "name": "outcome 100",\r
+        "xml": "<outcome value='100'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 971.25,\r
+        "y": 838.7500307559967,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "9160ee3f.90cdf"\r
+            ]\r
+        ]\r
+    },\r
+    {\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='`$playbookname`'/>\n\t\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1159.25,\r
+        "y": 837.7500307559967,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "9f6f87a0.ed34a8",\r
+                "40d1e66e.058b58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb0cf86.0ae1308",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 688.25,\r
+        "y": 696.750091791153,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "83b77a4c.913068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41993dbd.510e94",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 690.25,\r
+        "y": 748.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "cda0d255.88e57"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f6f87a0.ed34a8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1328.2499389648438,\r
+        "y": 819.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "3cabde61.b46412"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e91d746f.ee24d8",\r
+        "type": "other",\r
+        "name": "outcome 101",\r
+        "xml": "<outcome value='101'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 971.25,\r
+        "y": 739.7500689029694,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "83b77a4c.913068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40d1e66e.058b58",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1332.2499389648438,\r
+        "y": 863.7501223087311,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "3cabde61.b46412"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea9b4886.c48198",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 130.25006103515625,\r
+        "y": 28.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "abaeb654.ecf048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37dfcf3b.f289c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 175.16675186157227,\r
+        "y": 179.8333466053009,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\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": "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": 475.2500915527344,\r
+        "y": 126.83334374427795,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\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": 1640.2499389648438,\r
+        "y": 645.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "96c73638.cb9ab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96c73638.cb9ab8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1810.2498779296875,\r
+        "y": 644.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "84cae955.c44a18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83b77a4c.913068",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1443.2498779296875,\r
+        "y": 669.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "337a6d7b.201ca2",\r
+                "f844550d.858858",\r
+                "71d833e9.bcb87c"\r
+            ]\r
+        ]\r
+    },\r
+    {\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": 1675.7499389648438,\r
+        "y": 911.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "fa30655b.b81a38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa30655b.b81a38",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1860.7499389648438,\r
+        "y": 911.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "7d0b6c03.8ed0d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\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": 1930.2499389648438,\r
+        "y": 643.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\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": 1622.1665649414062,\r
+        "y": 696.8334047794342,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\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": 1993.1666870117188,\r
+        "y": 911.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "71d833e9.bcb87c",\r
+        "type": "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": 1627.2499389648438,\r
+        "y": 592.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3cabde61.b46412",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1464.2499389648438,\r
+        "y": 838.8333742618561,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "d45e1182.8850c",\r
+                "1d4663f2.97eacc",\r
+                "a1b67568.88c2a8",\r
+                "b0abd019.0685d",\r
+                "cea269d5.6aca98",\r
+                "6bef098.93b85f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6bef098.93b85f8",\r
+        "type": "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": 1662.4167175292969,\r
+        "y": 825.5833866596222,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\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": 697.25,\r
+        "y": 648.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "9564527e.7b80c"\r
+            ]\r
+        ]\r
+    },\r
+    {\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": 988.25,\r
+        "y": 607.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9564527e.7b80c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 834.25,\r
+        "y": 642.7500612735748,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "c74b1b59.de1648",\r
+                "83b77a4c.913068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8196d34.a400d",\r
+        "type": "set",\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": 471.25006103515625,\r
+        "y": 182.75000023841858,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "649bb274.68abac",\r
+        "type": "get-resource",\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": 1004.5000762939453,\r
+        "y": 268.25000381469727,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "b63fd635.c47e78"\r
+            ]\r
+        ]\r
+    },\r
+    {\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-pre-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-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": 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": 674.750072479248,\r
+        "y": 385.7500054836273,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "e0ea6cf2.aa805"\r
+            ]\r
+        ]\r
+    },\r
+    {\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-pre-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-pre-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": 422.7500686645508,\r
+        "y": 532.0000076293945,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            [\r
+                "a1739b46.b31628",\r
+                "62d7e3df.33dd5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\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='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
+        "comments": "",\r
+        "x": 772.2500610351562,\r
+        "y": 537.7500002384186,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": []\r
+    },\r
+    {\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-pre-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-pre-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-pre-check-input.payload' />\n\t<parameter name='outputPath' value='upgrade-pre-check-input.payload' />\n\t<parameter name='add.pnf-flag' value='true' />\n\t<parameter name='add.pnfName' value=\"`$upgrade-pre-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": 1047.5000762939453,\r
+        "y": 440.7500057220459,\r
+        "z": "3eb1eb3a.4e4dd4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r