Merge "Support playbook-name in payload of PNF S/W upgrade LCM API's request"
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_rollback.json
index 96adf3f..e783ec0 100644 (file)
@@ -1,22 +1,22 @@
 [\r
     {\r
-        "id": "367cac6c.e28ad4",\r
+        "id": "22644446.031e2c",\r
         "type": "method",\r
         "name": "rollback",\r
         "xml": "<method rpc='rollback' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 606,\r
-        "y": 73,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 567.5,\r
+        "y": 73.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "397a12a.10f34ee"\r
+                "79b7cec0.5cb7d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b7a7c5dd.d286a8",\r
+        "id": "f17bcbcb.0eb2c8",\r
         "type": "service-logic",\r
         "name": "LCM ${project.version}",\r
         "module": "LCM",\r
         "comments": "",\r
         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='LCM' version='${project.version}'>",\r
         "outputs": 1,\r
-        "x": 393.99993896484375,\r
-        "y": 74,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 355.49993896484375,\r
+        "y": 74.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "367cac6c.e28ad4"\r
+                "22644446.031e2c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2749994d.fe16d6",\r
+        "id": "f9678654.f75948",\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='`$rollback-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='`$rollback-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 461.00001525878906,\r
-        "y": 681,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 469.50001525878906,\r
+        "y": 720.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "d80c72ca.e0d3b",\r
-                "3b639a7b.0ca876",\r
-                "f4b3d5c4.d9b698"\r
+                "30da80ae.d9fb4",\r
+                "4fe2be8b.9f8b9",\r
+                "29b2f38.ce75c0c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3f74fb5f.f66a64",\r
+        "id": "db88e5a7.4dcf28",\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": 860.9999389648438,\r
-        "y": 789.0000305175781,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 869.4999389648438,\r
+        "y": 828.7500305175781,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "5e7ae3c.af98c1c",\r
-                "80745976.4dae58",\r
-                "2d735711.50c158"\r
+                "96dbcf56.55476",\r
+                "22a86bdb.ccad74",\r
+                "80a5dac3.8e7148"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5e7ae3c.af98c1c",\r
+        "id": "96dbcf56.55476",\r
         "type": "other",\r
         "name": "outcome 500",\r
         "xml": "<outcome value='500'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1005.9999389648438,\r
-        "y": 787.0000381469727,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1014.4999389648438,\r
+        "y": 826.7500381469727,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "c157f020.8fa16"\r
+                "56f57.16a810aa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "80745976.4dae58",\r
+        "id": "22a86bdb.ccad74",\r
         "type": "other",\r
         "name": "outcome 100",\r
         "xml": "<outcome value='100'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1002.9999389648438,\r
-        "y": 844.0000305175781,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1011.4999389648438,\r
+        "y": 883.7500305175781,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "8633c607.bab378"\r
+                "283d6739.74f598"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8633c607.bab378",\r
+        "id": "283d6739.74f598",\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": 1190.9999389648438,\r
-        "y": 843.0000305175781,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1199.4999389648438,\r
+        "y": 882.7500305175781,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "7d406d3c.e2a7a4",\r
-                "c98b9933.a78a78"\r
+                "d1f8a15d.af493",\r
+                "caff8737.7aa8b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3b639a7b.0ca876",\r
+        "id": "4fe2be8b.9f8b9",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 719.9999389648438,\r
-        "y": 702.0000915527344,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 728.4999389648438,\r
+        "y": 741.7500915527344,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "c157f020.8fa16"\r
+                "56f57.16a810aa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d80c72ca.e0d3b",\r
+        "id": "30da80ae.d9fb4",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 721.9999389648438,\r
-        "y": 754.0000610351562,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 730.4999389648438,\r
+        "y": 793.7500610351562,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "3f74fb5f.f66a64"\r
+                "db88e5a7.4dcf28"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7d406d3c.e2a7a4",\r
+        "id": "d1f8a15d.af493",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1359.9999389648438,\r
-        "y": 801.0000381469727,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1368.4998779296875,\r
+        "y": 864.7500610351562,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "c157f020.8fa16"\r
+                "18cd1743.3c3df9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2d735711.50c158",\r
+        "id": "80a5dac3.8e7148",\r
         "type": "other",\r
         "name": "outcome 101",\r
         "xml": "<outcome value='101'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1002.9999389648438,\r
-        "y": 745.0000686645508,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1011.4999389648438,\r
+        "y": 784.7500686645508,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "c157f020.8fa16"\r
+                "56f57.16a810aa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c98b9933.a78a78",\r
+        "id": "caff8737.7aa8b8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1367.9998779296875,\r
-        "y": 849.0001220703125,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1372.4998779296875,\r
+        "y": 908.7501220703125,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "5b424098.08bd5"\r
+                "18cd1743.3c3df9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4e1d4556.7dd52c",\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": 1661.9998779296875,\r
-        "y": 906.0000610351562,\r
-        "z": "6f1e5235.30d27c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d900eabd.53e918",\r
+        "id": "eca36d4e.0587d",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 209,\r
-        "y": 73,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 170.5,\r
+        "y": 73.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "b7a7c5dd.d286a8"\r
+                "f17bcbcb.0eb2c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "397a12a.10f34ee",\r
+        "id": "79b7cec0.5cb7d",\r
         "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
+        "name": "block",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 206.9166259765625,\r
-        "y": 165.08331298828125,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 215.41669082641602,\r
+        "y": 224.83334636688232,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "2749994d.fe16d6",\r
-                "73725554.5774bc",\r
-                "8603ce63.b7c47",\r
-                "9a79bc82.279ce",\r
-                "cc7baeb9.6a3dc",\r
-                "b9b832a7.ed87d",\r
-                "16e37417.d2c8bc",\r
-                "763cfac9.48a8a4"\r
+                "f9678654.f75948",\r
+                "3150eb49.56b364",\r
+                "3d311f40.b0356",\r
+                "d04dafe1.a776a",\r
+                "d6a84e4d.99cf8",\r
+                "23c2b9e5.228a76",\r
+                "f65e13cf.33e86",\r
+                "78201e79.92779"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "73725554.5774bc",\r
+        "id": "3150eb49.56b364",\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": 505.0000305175781,\r
-        "y": 198.08334350585938,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 513.5000305175781,\r
+        "y": 184.83334350585938,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "c9d7b572.9b1b08",\r
+        "id": "d6380b3d.e7dd58",\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": 1671.9998779296875,\r
-        "y": 651.0834045410156,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1680.4998779296875,\r
+        "y": 690.8334045410156,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "18a85145.032faf"\r
+                "7d366735.40b318"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "18a85145.032faf",\r
+        "id": "7d366735.40b318",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1841.9998168945312,\r
-        "y": 650.0834045410156,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1850.4998168945312,\r
+        "y": 689.8334045410156,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "1f387472.1096ac"\r
+                "d429f6f2.1a8228"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c157f020.8fa16",\r
+        "id": "56f57.16a810aa",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1474.9998168945312,\r
-        "y": 675.0834045410156,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1483.4998168945312,\r
+        "y": 714.8334045410156,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "c9d7b572.9b1b08",\r
-                "b8d2a948.9f6268",\r
-                "9c77e950.a59098"\r
+                "d6380b3d.e7dd58",\r
+                "712abf34.0d6f",\r
+                "d1b68f91.c944a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "246949fc.089f56",\r
+        "id": "906287db.12ffb8",\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": 1672.4998779296875,\r
-        "y": 856.0833740234375,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1715.9998779296875,\r
+        "y": 956.8333740234375,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "3c6c9ce.ec3e364"\r
+                "3cbc715a.7ae70e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3c6c9ce.ec3e364",\r
+        "id": "3cbc715a.7ae70e",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1840.4998779296875,\r
-        "y": 856.0833740234375,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1900.9998779296875,\r
+        "y": 956.8333740234375,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "8c845e57.511d"\r
+                "6851419b.3c644"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1f387472.1096ac",\r
+        "id": "d429f6f2.1a8228",\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": 1961.9998779296875,\r
-        "y": 649.0833740234375,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1970.4998779296875,\r
+        "y": 688.8333740234375,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b8d2a948.9f6268",\r
+        "id": "712abf34.0d6f",\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": 1653.91650390625,\r
-        "y": 702.0834045410156,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1662.41650390625,\r
+        "y": 741.8334045410156,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "8c845e57.511d",\r
+        "id": "6851419b.3c644",\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": 1968.9166259765625,\r
-        "y": 856.0833740234375,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 2033.4166259765625,\r
+        "y": 956.8333740234375,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "9c77e950.a59098",\r
+        "id": "d1b68f91.c944a",\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=\"`$rollback-input.common-header.request-id + '-' + $rollback-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='rollback'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$rollback-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$rollback-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$rollback-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$rollback-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$rollback-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$rollback-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$rollback-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$rollback-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": 1658.9998779296875,\r
-        "y": 598.0833740234375,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1667.4998779296875,\r
+        "y": 637.8333740234375,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "5b424098.08bd5",\r
+        "id": "18cd1743.3c3df9",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1495.9998779296875,\r
-        "y": 850.0833740234375,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1504.4998779296875,\r
+        "y": 883.8333740234375,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "246949fc.089f56",\r
-                "4d96ab15.f92c04",\r
-                "4e1d4556.7dd52c"\r
+                "906287db.12ffb8",\r
+                "eb7f81a3.42757",\r
+                "ec9cf419.aed218",\r
+                "822ef90c.18eff8",\r
+                "abc170de.d927e",\r
+                "81befc92.0842f"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4d96ab15.f92c04",\r
+        "id": "81befc92.0842f",\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=\"`$rollback-input.common-header.request-id + '-' + $rollback-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='rollback'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$rollback-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$rollback-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$rollback-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$rollback-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$rollback-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$rollback-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$rollback-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$rollback-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.1666259765625,\r
-        "y": 801.0833740234375,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1702.6666564941406,\r
+        "y": 870.5833864212036,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f4b3d5c4.d9b698",\r
+        "id": "29b2f38.ce75c0c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 728.9999389648438,\r
-        "y": 654.0000610351562,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 737.4999389648438,\r
+        "y": 693.7500610351562,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "9b946286.c1fc1"\r
+                "c004f41.ad08008"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "2c09132b.2c598c",\r
+        "id": "aec7b25c.15792",\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": 1019.9999389648438,\r
-        "y": 613,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1028.4999389648438,\r
+        "y": 652.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "9b946286.c1fc1",\r
+        "id": "c004f41.ad08008",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 865.9999389648438,\r
-        "y": 648.0000610351562,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 874.4999389648438,\r
+        "y": 687.7500610351562,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "2c09132b.2c598c",\r
-                "c157f020.8fa16"\r
+                "aec7b25c.15792",\r
+                "56f57.16a810aa"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8603ce63.b7c47",\r
+        "id": "3d311f40.b0356",\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",\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": 498,\r
-        "y": 245,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 506.5,\r
+        "y": 231.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "16e37417.d2c8bc",\r
+        "id": "1785264e.51581a",\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 = $rollback-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1046.5,\r
+        "y": 460.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "64e1e5a.ee16c1c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64e1e5a.ee16c1c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1204.8907470703125,\r
+        "y": 459.03399658203125,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "31c7d490.843fdc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f65e13cf.33e86",\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": 426.9998779296875,\r
-        "y": 609,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 435.4998779296875,\r
+        "y": 648.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "cc7baeb9.6a3dc",\r
+        "id": "d6a84e4d.99cf8",\r
         "type": "switchNode",\r
         "name": "switch pnf-flag",\r
         "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 480,\r
-        "y": 346,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 492.25000762939453,\r
+        "y": 379.5000057220459,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "b515ebb.9b7de18",\r
-                "ea8f46f7.654968"\r
+                "30e4f46c.d1480c",\r
+                "a2013485.ae3d68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "9a79bc82.279ce",\r
+        "id": "d04dafe1.a776a",\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='rollback-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 512,\r
-        "y": 292,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 520.5,\r
+        "y": 278.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "b515ebb.9b7de18",\r
+        "id": "30e4f46c.d1480c",\r
         "type": "outcome",\r
         "name": "true",\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 677,\r
-        "y": 325,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 676.7500076293945,\r
+        "y": 323.5000057220459,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "d8920a01.f108b8"\r
+                "c022042b.de2278"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ea8f46f7.654968",\r
+        "id": "a2013485.ae3d68",\r
         "type": "outcome",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 677,\r
-        "y": 386,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 679.2499465942383,\r
+        "y": 431.2500057220459,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "32f9eda7.1c1082"\r
+                "8adc4a30.e8aab8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "32f9eda7.1c1082",\r
+        "id": "8adc4a30.e8aab8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 824.9999389648438,\r
-        "y": 385,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 833.4999504089355,\r
+        "y": 432.2500057220459,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "3756c2a1.fa5d6e"\r
+                "1785264e.51581a",\r
+                "6b67b6b7.0fe388"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d8920a01.f108b8",\r
+        "id": "ba864124.fbd17",\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.rollback.playbookname`'/>\n",\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": 838,\r
-        "y": 323,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1004.0000152587891,\r
+        "y": 231.50000381469727,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b9b832a7.ed87d",\r
+        "id": "6b67b6b7.0fe388",\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 + '.rollback.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1055.5,\r
+        "y": 404.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "23c2b9e5.228a76",\r
         "type": "switchNode",\r
         "name": "switch playbookname",\r
         "xml": "<switch test='`$playbookname`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 477,\r
-        "y": 477,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 485.5,\r
+        "y": 516.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "5725646c.c7b37c"\r
+                "c70d3d1f.891ee"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5725646c.c7b37c",\r
+        "id": "c70d3d1f.891ee",\r
         "type": "outcome",\r
         "name": "null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 648,\r
-        "y": 478,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 656.5,\r
+        "y": 517.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "4546e558.72429c"\r
+                "83a84acf.4bd078"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4546e558.72429c",\r
+        "id": "83a84acf.4bd078",\r
         "type": "set",\r
         "name": "set playbookname",\r
-        "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>\n<parameter name='playbookname' value='`$prop.lcm.rollback.playbookname`'/>",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.rollback.playbookname`'/>",\r
         "comments": "",\r
-        "x": 838,\r
-        "y": 477,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 846.5,\r
+        "y": 516.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "763cfac9.48a8a4",\r
+        "id": "78201e79.92779",\r
         "type": "switchNode",\r
         "name": "switch nodelist",\r
         "xml": "<switch test='`$nodelist`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 467,\r
-        "y": 536,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 475.5,\r
+        "y": 575.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "76eb51c0.552ce",\r
-                "178c823.496cd7e"\r
+                "cd45c66d.ce9838",\r
+                "17f4d31.c678b2d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "76eb51c0.552ce",\r
+        "id": "cd45c66d.ce9838",\r
         "type": "outcome",\r
         "name": "null",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 647,\r
-        "y": 529,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 655.5,\r
+        "y": 568.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "66b6e37a.9e852c"\r
+                "54593bc3.251964"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "66b6e37a.9e852c",\r
+        "id": "54593bc3.251964",\r
         "type": "set",\r
         "name": "set nodelist",\r
         "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
         "comments": "",\r
-        "x": 804,\r
-        "y": 543,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 812.5,\r
+        "y": 582.75,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     },\r
     {\r
-        "id": "178c823.496cd7e",\r
+        "id": "17f4d31.c678b2d",\r
         "type": "outcome",\r
         "name": "empty",\r
         "xml": "<outcome value=\"['']\">\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 646,\r
-        "y": 573,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 654.5,\r
+        "y": 612.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "54593bc3.251964"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26a968e7.f7bf98",\r
+        "type": "switchNode",\r
+        "name": "switch playbookname",\r
+        "xml": "<switch test='`$playbookname`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1530.5,\r
+        "y": 447.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "5f54def1.a67ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f54def1.a67ca",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1708.5,\r
+        "y": 447.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "b2eb228.3781ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "294832a2.42287e",\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": 1503.5,\r
+        "y": 500.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "31c7d490.843fdc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1333.5,\r
+        "y": 457.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "26a968e7.f7bf98",\r
+                "294832a2.42287e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2eb228.3781ce",\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 + '.rollback.playbookname'`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1880.5,\r
+        "y": 445.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb7f81a3.42757",\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": 1730.5,\r
+        "y": 789.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec9cf419.aed218",\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": 1736.5,\r
+        "y": 834.75,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "822ef90c.18eff8",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1722.5000228881836,\r
+        "y": 910.5000133514404,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "c302475b.9df818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c302475b.9df818",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1896.5000267028809,\r
+        "y": 910.7500133514404,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "a48299cb.b78bd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a48299cb.b78bd8",\r
+        "type": "set",\r
+        "name": "set DmaapReq with payload",\r
+        "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+        "comments": "",\r
+        "x": 2094.750030517578,\r
+        "y": 911.2500133514404,\r
+        "z": "369f92b4.305cce",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6c329a17.f8bc34",\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": 2433.5,\r
+        "y": 992.7499389648438,\r
+        "z": "369f92b4.305cce",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6f27e34f.bfe1bc",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1899.500244140625,\r
+        "y": 1014.7498779296875,\r
+        "z": "369f92b4.305cce",\r
         "wires": [\r
             [\r
-                "66b6e37a.9e852c"\r
+                "ecb031ca.9f34d"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3756c2a1.fa5d6e",\r
+        "id": "aba48551.b856a8",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1898.500244140625,\r
+        "y": 1090.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "6bf32a4b.832444"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "abc170de.d927e",\r
+        "type": "switchNode",\r
+        "name": "switch outputPayload",\r
+        "xml": "<switch test='`$outputPayload`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1716.500244140625,\r
+        "y": 1050.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "6f27e34f.bfe1bc",\r
+                "aba48551.b856a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a234b745.0050e8",\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": 2474.500244140625,\r
+        "y": 1074.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ecb031ca.9f34d",\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": 2069.500244140625,\r
+        "y": 1014.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "7828ddac.7113c4",\r
+                "50103e86.045b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6bf32a4b.832444",\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": 2069.500244140625,\r
+        "y": 1090.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "6e3f91ae.9416f",\r
+                "bbd2dd1d.f1bdc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c74eca80.53d6a8",\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='Currently only support PNF.' />",\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": 2427.500244140625,\r
+        "y": 1030.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6a92df8c.f43f7",\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": 2470.500244140625,\r
+        "y": 1112.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7828ddac.7113c4",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2257.500244140625,\r
+        "y": 992.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "6c329a17.f8bc34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50103e86.045b8",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2238.500244140625,\r
+        "y": 1030.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "c74eca80.53d6a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e3f91ae.9416f",\r
+        "type": "other",\r
+        "name": "outcome 400",\r
+        "xml": "<outcome value='400'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2258.500244140625,\r
+        "y": 1074.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "a234b745.0050e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bbd2dd1d.f1bdc",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2240.500244140625,\r
+        "y": 1112.7498779296875,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "6a92df8c.f43f7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c022042b.de2278",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 835.7500114440918,\r
+        "y": 282.00000381469727,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "ba864124.fbd17",\r
+                "8483b1ff.62265"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8483b1ff.62265",\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": 1042.0000133514404,\r
+        "y": 326.50000381469727,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "bb00ffff.87cfb",\r
+                "433808fa.337a18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb00ffff.87cfb",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1249.5000190734863,\r
+        "y": 290.25000381469727,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "33939f7.002cb6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "433808fa.337a18",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1248.2500228881836,\r
+        "y": 355.25000381469727,\r
+        "z": "369f92b4.305cce",\r
+        "wires": [\r
+            [\r
+                "4b181e16.e7061"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33939f7.002cb6",\r
+        "type": "set",\r
+        "name": "set playbookname from prop",\r
+        "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.rollback.playbookname`'/>\n",\r
+        "comments": "",\r
+        "x": 1452.0000228881836,\r
+        "y": 290.25000381469727,\r
+        "z": "369f92b4.305cce",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4b181e16.e7061",\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": 998,\r
-        "y": 385,\r
-        "z": "6f1e5235.30d27c",\r
+        "x": 1447.0000228881836,\r
+        "y": 355.25000381469727,\r
+        "z": "369f92b4.305cce",\r
         "wires": []\r
     }\r
 ]
\ No newline at end of file