Fix for config not able to save in DB
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_GetDeviceRunningConfig.json
index 918e7c8..b2f3396 100644 (file)
-[\r
-    {\r
-        "id": "73fd49f3.a1d278",\r
-        "type": "dgstart",\r
-        "name": "DGSTART",\r
-        "outputs": 1,\r
-        "x": 208.75,\r
-        "y": 98.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "98dbdd7c.fe8c3"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "53ce8877.2ecf68",\r
-        "type": "method",\r
-        "name": "method: GetDeviceRunningConfig",\r
-        "xml": "<method rpc='GetDeviceRunningConfig' mode='sync'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 645.1785430908203,\r
-        "y": 89.17857456207275,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "71df0315.00e07c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "98dbdd7c.fe8c3",\r
-        "type": "service-logic",\r
-        "name": "APPC 4.0.0",\r
-        "module": "APPC",\r
-        "version": "3.1.0",\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='APPC' version='4.0.0'>",\r
-        "outputs": 1,\r
-        "x": 399.75,\r
-        "y": 96.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "53ce8877.2ecf68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a7b3e993.df4158",\r
-        "type": "set",\r
-        "name": "set Request Parameters",\r
-        "xml": "<set>\n<parameter name='vnf-type' value=\"`$config.vnf-type`\" />\n<parameter name='vnf-name' value=\"`$config.vnf-name`\" />\n<parameter name='protocol' value=\"`$config.protocol`\" />\n<parameter name='hostIpAddress' value=\"`$config.host-ip-address`\" />\n<parameter name='userName' value=\"`$config.user-name`\" />\n<parameter name='password' value=\"`$config.password`\" />\n<parameter name='portNumber' value=\"`$config.port-number`\" />\n",\r
-        "comments": "",\r
-        "x": 571.0834197998047,\r
-        "y": 167.74999570846558,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f83cb7cd.e4dd78",\r
-        "type": "execute",\r
-        "name": "execute: Get Rest Configuration",\r
-        "xml": "<execute plugin=\"org.onap.sdnc.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 704.75,\r
-        "y": 512.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "198a50e4.1a084f",\r
-                "f26ecc71.80f99",\r
-                "813bb5a6.7d4a68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "855c15a1.c5faf8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n",\r
-        "comments": "",\r
-        "x": 2005.7500381469727,\r
-        "y": 622.7500162124634,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "198a50e4.1a084f",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 961.75,\r
-        "y": 580.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d887442e.fdbd68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d51d7787.158188",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 984.75,\r
-        "y": 632.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "2880086.7157bf8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2880086.7157bf8",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n",\r
-        "comments": "",\r
-        "x": 1213.75,\r
-        "y": 620.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f26ecc71.80f99",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 800.75,\r
-        "y": 632.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d51d7787.158188"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d887442e.fdbd68",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1792.7500343322754,\r
-        "y": 612.7500648498535,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "855c15a1.c5faf8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "71df0315.00e07c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 301.75,\r
-        "y": 166.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "a7b3e993.df4158",\r
-                "2fbf7d15.74f302"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "29cf8ea9.51acb2",\r
-        "type": "outcome",\r
-        "name": "RESTCONF-XML",\r
-        "xml": "<outcome value='RESTCONF-XML'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 346.75,\r
-        "y": 513.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "cbfbcb9b.61f818"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cbfbcb9b.61f818",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 506.75,\r
-        "y": 464.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "f83cb7cd.e4dd78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2fbf7d15.74f302",\r
-        "type": "switchNode",\r
-        "name": "switch : Protocol",\r
-        "xml": "<switch test=\"`$protocol`\">\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 176.75,\r
-        "y": 268.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "29cf8ea9.51acb2",\r
-                "47521138.e1182",\r
-                "aa86a367.9e31",\r
-                "9e29ccc9.7ecc5",\r
-                "cb04f713.845c98",\r
-                "d235c42e.58bf08"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "47521138.e1182",\r
-        "type": "outcome",\r
-        "name": "CLI",\r
-        "xml": "<outcome value='CLI'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 370.75,\r
-        "y": 269.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "6f3ae8b7.9b6778"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e982ff2.bf8a4",\r
-        "type": "get-resource",\r
-        "name": "get-resource GET_CONFIG_TEMPLATE",\r
-        "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM GET_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n    force='true'\n\tpfx='config-template'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 754.7499694824219,\r
-        "y": 247.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "48deb1d2.fcd28",\r
-                "935998ed.ba2098"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6f3ae8b7.9b6778",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 510.7499694824219,\r
-        "y": 270.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "e982ff2.bf8a4",\r
-                "5f0176d.376ce88"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ede520ec.0c179",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t",\r
-        "comments": "",\r
-        "x": 1331.7499694824219,\r
-        "y": 274.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "98a7d137.1e399",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1160.7499694824219,\r
-        "y": 275.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "ede520ec.0c179"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "41ac5929.942928",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n",\r
-        "comments": "",\r
-        "x": 1207.75,\r
-        "y": 490.75004863739014,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5f0176d.376ce88",\r
-        "type": "execute",\r
-        "name": "execute: Get CLI RunningConfig",\r
-        "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='GetCliRunningConfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Get_config_template\" value=\"`$config-template.TEMPLATE`\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 720.7500152587891,\r
-        "y": 336.7500123977661,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "78d9a2f9.46003c",\r
-                "97890ce8.6b316",\r
-                "98f67919.c738f8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e6da77d0.fadda8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 986.75,\r
-        "y": 435.75006103515625,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "41ac5929.942928"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "48deb1d2.fcd28",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1007.7499694824219,\r
-        "y": 287.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "98a7d137.1e399"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "78d9a2f9.46003c",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 812.75,\r
-        "y": 433.75006103515625,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "e6da77d0.fadda8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "813bb5a6.7d4a68",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 970.75,\r
-        "y": 535.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d887442e.fdbd68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "935998ed.ba2098",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1006.7499694824219,\r
-        "y": 216.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "98a7d137.1e399"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "97890ce8.6b316",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 989.7500076293945,\r
-        "y": 351.7499933242798,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "560e0fe9.a63f6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "98f67919.c738f8",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 980.75,\r
-        "y": 390.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d887442e.fdbd68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fde847ff.94d008",\r
-        "type": "comment",\r
-        "name": "comment1",\r
-        "info": "comment1",\r
-        "comments": "",\r
-        "x": 887.7499694824219,\r
-        "y": 28.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "aa86a367.9e31",\r
-        "type": "outcome",\r
-        "name": "NETCONF-XML",\r
-        "xml": "<outcome value='NETCONF-XML'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 281.75,\r
-        "y": 676.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "e84e48c0.7bd1f8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e84e48c0.7bd1f8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 453.75,\r
-        "y": 676.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "567cae24.a2056"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "567cae24.a2056",\r
-        "type": "execute",\r
-        "name": "execute: Get XML RunningConfig",\r
-        "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-getrunningconfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Protocol\" value=\"`$protocol`\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 683.6071929931641,\r
-        "y": 705.892858505249,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "50a8e434.940b6c",\r
-                "66893930.a5f318",\r
-                "d6c04b27.53f0c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "50a8e434.940b6c",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1009.75,\r
-        "y": 687.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "560e0fe9.a63f6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "66893930.a5f318",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1010.75,\r
-        "y": 736.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d887442e.fdbd68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9e29ccc9.7ecc5",\r
-        "type": "outcome",\r
-        "name": "RESTCONF",\r
-        "xml": "<outcome value='RESTCONF'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 358.75,\r
-        "y": 438.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "cbfbcb9b.61f818"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d6c04b27.53f0c8",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 830.75,\r
-        "y": 784.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "907796bc.3521c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "907796bc.3521c8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1006.75,\r
-        "y": 783.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "230d353a.82deba"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "230d353a.82deba",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n",\r
-        "comments": "",\r
-        "x": 1211.4169387817383,\r
-        "y": 781.7500133514404,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "cb04f713.845c98",\r
-        "type": "outcome",\r
-        "name": "CHEF",\r
-        "xml": "<outcome value='CHEF'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 252.75,\r
-        "y": 773.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "87e6927d.8c87a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2c9ce105.810cce",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 465.74999237060547,\r
-        "y": 821.4166603088379,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "830e8c40.09ea8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "830e8c40.09ea8",\r
-        "type": "execute",\r
-        "name": "execute: getChefRunningConfig",\r
-        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfVmNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfId' value=\"`$config.vnf-id`\" />\n<parameter name='vmName' value=\"`$config.vm-name`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 701.8928680419922,\r
-        "y": 865.6072664260864,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "f10cdc38.2c8fd",\r
-                "d81f053f.e21898",\r
-                "8b94b394.610ac"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8b94b394.610ac",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 896.4642944335938,\r
-        "y": 961.89284324646,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "ff4e13e0.ba24a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ff4e13e0.ba24a",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1195.4167976379395,\r
-        "y": 996.4166450500488,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "bd7122ae.6d345"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d81f053f.e21898",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1003.750129699707,\r
-        "y": 897.7500658035278,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "f10cdc38.2c8fd",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1002.750129699707,\r
-        "y": 848.7500658035278,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "3be4b321.a7b82c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bd7122ae.6d345",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",\r
-        "comments": "",\r
-        "x": 1431.750144958496,\r
-        "y": 1000.08331823349,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "3be4b321.a7b82c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1178.750129699707,\r
-        "y": 852.7500658035278,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "68fcda28.298664"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "68fcda28.298664",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
-        "comments": "",\r
-        "x": 1329.0834503173828,\r
-        "y": 832.8929662704468,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d47a34b9.96fae8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n",\r
-        "comments": "",\r
-        "x": 1520.75,\r
-        "y": 398.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "560e0fe9.a63f6",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1345.75,\r
-        "y": 402.75,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d47a34b9.96fae8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d235c42e.58bf08",\r
-        "type": "outcome",\r
-        "name": " Ansible",\r
-        "xml": "<outcome value='Ansible'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 227.19049835205078,\r
-        "y": 891.4763145446777,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "7994c061.4c34b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "87e6927d.8c87a",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 413.33331298828125,\r
-        "y": 953.333251953125,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "b2457e62.0d6be"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b2457e62.0d6be",\r
-        "type": "call",\r
-        "name": "call  GetTemplateConfig_Chef",\r
-        "xml": "<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 659.2857055664062,\r
-        "y": 954.0477857589722,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "e573827e.36bb9",\r
-                "35aad49a.f87bcc",\r
-                "7142f414.35002c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "163d15dd.b3498a",\r
-        "type": "call",\r
-        "name": "call  GetTemplateConfig_Ansible",\r
-        "xml": "<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 597.857063293457,\r
-        "y": 1235.476152420044,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "e6a86a3a.62afb8",\r
-                "80beb099.eee58",\r
-                "9ba09f64.03e81"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "35aad49a.f87bcc",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 722.6190185546875,\r
-        "y": 1095.7143206596375,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d887442e.fdbd68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e573827e.36bb9",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 721.6190185546875,\r
-        "y": 1046.7143206596375,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "73395769.c7fd38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "73395769.c7fd38",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 897.6190185546875,\r
-        "y": 1050.7143206596375,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "ebfee93d.0a6c28"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ebfee93d.0a6c28",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
-        "comments": "",\r
-        "x": 1089.6190185546875,\r
-        "y": 1043.7143206596375,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7142f414.35002c",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 660.9523315429688,\r
-        "y": 1169.047694683075,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "6ed3304a.f8835"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6ed3304a.f8835",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 823.9523315429688,\r
-        "y": 1169.047694683075,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "99960733.d8c138"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "99960733.d8c138",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",\r
-        "comments": "",\r
-        "x": 1026.9523315429688,\r
-        "y": 1171.047694683075,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7994c061.4c34b",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic=\"true\">\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 409.52384185791016,\r
-        "y": 1150.4760665893555,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "163d15dd.b3498a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "80beb099.eee58",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 831.1903610229492,\r
-        "y": 1300.4761695861816,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "d887442e.fdbd68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e6a86a3a.62afb8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 830.1903610229492,\r
-        "y": 1251.4761695861816,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "565cf063.e3efb"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "565cf063.e3efb",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1006.1903610229492,\r
-        "y": 1255.4761695861816,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "484bbab0.c63454"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "484bbab0.c63454",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
-        "comments": "",\r
-        "x": 1198.1903381347656,\r
-        "y": 1248.4761772155762,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9ba09f64.03e81",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 769.5236740112305,\r
-        "y": 1373.8095436096191,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "6b8fab54.184374"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6b8fab54.184374",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 932.5236740112305,\r
-        "y": 1373.8095436096191,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": [\r
-            [\r
-                "5dadab18.730154"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5dadab18.730154",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='code' value='`$output.status.code`' />\n<parameter name='message' value='`$output.status.message`'/>\n<parameter name='Status' value = '`$output.status.results`'/>\n",\r
-        "comments": "",\r
-        "x": 1135.5236282348633,\r
-        "y": 1375.809624671936,\r
-        "z": "d5c2f7ab.9eeb78",\r
-        "wires": []\r
-    }\r
-]\r
+[{
+    "id": "94bfef9f.255",
+    "type": "dgstart",
+    "name": "DGSTART",
+    "outputs": 1,
+    "x": 116.5,
+    "y": 146.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["497329f9.a0cd78"]]
+},
+{
+    "id": "f1358900.5d68d8",
+    "type": "method",
+    "name": "method: GetDeviceRunningConfig",
+    "xml": "<method rpc='GetDeviceRunningConfig' mode='sync'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 552.9285430908203,
+    "y": 136.7143096923828,
+    "z": "29922cf.42f59d4",
+    "wires": [["471dcdf0.fc2004"]]
+},
+{
+    "id": "497329f9.a0cd78",
+    "type": "service-logic",
+    "name": "APPC 4.0.0",
+    "module": "APPC",
+    "version": "3.1.0",
+    "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='APPC' version='4.0.0'>",
+    "outputs": 1,
+    "x": 307.5,
+    "y": 144.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["f1358900.5d68d8"]]
+},
+{
+    "id": "684c9627.5f6318",
+    "type": "set",
+    "name": "set Request Parameters",
+    "xml": "<set>\n<parameter name='vnf-type' value=\"`$config.vnf-type`\" />\n<parameter name='vnf-name' value=\"`$config.vnf-name`\" />\n<parameter name='protocol' value=\"`$config.protocol`\" />\n<parameter name='hostIpAddress' value=\"`$config.host-ip-address`\" />\n<parameter name='userName' value=\"`$config.user-name`\" />\n<parameter name='password' value=\"`$config.password`\" />\n<parameter name='portNumber' value=\"`$config.port-number`\" />\n",
+    "comments": "",
+    "x": 478.8334197998047,
+    "y": 215.28573083877563,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "26aeca14.cd8d26",
+    "type": "execute",
+    "name": "execute: Get Rest Configuration",
+    "xml": "<execute plugin=\"com.att.sdnctl.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 612.5,
+    "y": 560.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["761073a7.72105c",
+    "53dfa016.9b377",
+    "9d75f86d.fcf6f8"]]
+},
+{
+    "id": "d1c68a25.bb7f48",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n",
+    "comments": "",
+    "x": 1913.5000381469727,
+    "y": 670.2857513427734,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "761073a7.72105c",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 869.5,
+    "y": 628.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["980ae7de.429418"]]
+},
+{
+    "id": "60cadb73.4dfd94",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 892.5,
+    "y": 680.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["acc3d980.4c3ae8"]]
+},
+{
+    "id": "acc3d980.4c3ae8",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n",
+    "comments": "",
+    "x": 1121.5,
+    "y": 668.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "53dfa016.9b377",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 708.5,
+    "y": 680.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["60cadb73.4dfd94"]]
+},
+{
+    "id": "980ae7de.429418",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1700.5000343322754,
+    "y": 660.2857999801636,
+    "z": "29922cf.42f59d4",
+    "wires": [["d1c68a25.bb7f48"]]
+},
+{
+    "id": "471dcdf0.fc2004",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 209.5,
+    "y": 214.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["684c9627.5f6318",
+    "41b7f9d9.1f5548"]]
+},
+{
+    "id": "2b20bd30.589cf2",
+    "type": "outcome",
+    "name": "RESTCONF-XML",
+    "xml": "<outcome value='RESTCONF-XML'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 254.5,
+    "y": 561.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["389980f2.b63a1"]]
+},
+{
+    "id": "389980f2.b63a1",
+    "type": "block",
+    "name": "block",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 414.5,
+    "y": 512.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["26aeca14.cd8d26"]]
+},
+{
+    "id": "41b7f9d9.1f5548",
+    "type": "switchNode",
+    "name": "switch : Protocol",
+    "xml": "<switch test=\"`$protocol`\">\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 84.5,
+    "y": 316.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["2b20bd30.589cf2",
+    "f73b901b.430dd",
+    "efce9311.3ec9c",
+    "4ba100a2.2d875",
+    "a98dd406.ae1e38",
+    "ecf33fc3.b2ebf"]]
+},
+{
+    "id": "f73b901b.430dd",
+    "type": "outcome",
+    "name": "CLI",
+    "xml": "<outcome value='CLI'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 278.5,
+    "y": 317.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["457eeb81.2f69d4"]]
+},
+{
+    "id": "f7691378.c379f",
+    "type": "get-resource",
+    "name": "get-resource GET_CONFIG_TEMPLATE",
+    "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM GET_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n    force='true'\n\tpfx='config-template'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 662.4999694824219,
+    "y": 295.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["c3dc6e3.0cd7a9",
+    "e88ef92c.05b908"]]
+},
+{
+    "id": "457eeb81.2f69d4",
+    "type": "block",
+    "name": "block",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 418.4999694824219,
+    "y": 318.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["f7691378.c379f",
+    "213364e.2f7799c"]]
+},
+{
+    "id": "e5ea27da.229d78",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t",
+    "comments": "",
+    "x": 1239.4999694824219,
+    "y": 322.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "a81acdf3.2286e",
+    "type": "block",
+    "name": "block",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1068.4999694824219,
+    "y": 323.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["e5ea27da.229d78"]]
+},
+{
+    "id": "c179e600.916e38",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n",
+    "comments": "",
+    "x": 1115.5,
+    "y": 538.2857837677002,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "213364e.2f7799c",
+    "type": "execute",
+    "name": "execute: Get CLI RunningConfig",
+    "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='GetCliRunningConfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Get_config_template\" value=\"`$config-template.TEMPLATE`\" />\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 627.5000152587891,
+    "y": 384.2857475280762,
+    "z": "29922cf.42f59d4",
+    "wires": [["58c05e0d.ca719",
+    "c2bf0f18.b66bd",
+    "d533b203.44ac2"]]
+},
+{
+    "id": "aa72dd53.d34a6",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 894.5,
+    "y": 483.2857961654663,
+    "z": "29922cf.42f59d4",
+    "wires": [["c179e600.916e38"]]
+},
+{
+    "id": "c3dc6e3.0cd7a9",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 915.4999694824219,
+    "y": 335.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["a81acdf3.2286e"]]
+},
+{
+    "id": "58c05e0d.ca719",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 720.5,
+    "y": 481.2857961654663,
+    "z": "29922cf.42f59d4",
+    "wires": [["aa72dd53.d34a6"]]
+},
+{
+    "id": "9d75f86d.fcf6f8",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 878.5,
+    "y": 583.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["980ae7de.429418"]]
+},
+{
+    "id": "e88ef92c.05b908",
+    "type": "not-found",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 914.4999694824219,
+    "y": 264.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["a81acdf3.2286e"]]
+},
+{
+    "id": "c2bf0f18.b66bd",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 897.5000076293945,
+    "y": 399.28572845458984,
+    "z": "29922cf.42f59d4",
+    "wires": [["468136ac.050fe8"]]
+},
+{
+    "id": "d533b203.44ac2",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 888.5,
+    "y": 438.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["980ae7de.429418"]]
+},
+{
+    "id": "4d537984.fce5b8",
+    "type": "comment",
+    "name": "",
+    "info": "",
+    "comments": "",
+    "x": 795.4999694824219,
+    "y": 76.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "efce9311.3ec9c",
+    "type": "outcome",
+    "name": "NETCONF-XML",
+    "xml": "<outcome value='NETCONF-XML'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 189.5,
+    "y": 724.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["19cc4b03.d7c245"]]
+},
+{
+    "id": "19cc4b03.d7c245",
+    "type": "block",
+    "name": "block",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 361.5,
+    "y": 724.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["114625c5.4c47da"]]
+},
+{
+    "id": "114625c5.4c47da",
+    "type": "execute",
+    "name": "execute: Get XML RunningConfig",
+    "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-getrunningconfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Protocol\" value=\"`$protocol`\" />\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 617.5000305175781,
+    "y": 752.0000581741333,
+    "z": "29922cf.42f59d4",
+    "wires": [["d9933637.fdfbe8",
+    "d8407e19.b2ae5",
+    "8f1de84f.6cbdc8"]]
+},
+{
+    "id": "d9933637.fdfbe8",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 917.5,
+    "y": 735.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["468136ac.050fe8"]]
+},
+{
+    "id": "d8407e19.b2ae5",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 918.5,
+    "y": 784.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["980ae7de.429418"]]
+},
+{
+    "id": "4ba100a2.2d875",
+    "type": "outcome",
+    "name": "RESTCONF",
+    "xml": "<outcome value='RESTCONF'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 266.5,
+    "y": 486.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["389980f2.b63a1"]]
+},
+{
+    "id": "8f1de84f.6cbdc8",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 738.5,
+    "y": 832.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["9b1018a5.1ea1b8"]]
+},
+{
+    "id": "9b1018a5.1ea1b8",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 914.5,
+    "y": 831.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["5238f474.e44b5c"]]
+},
+{
+    "id": "5238f474.e44b5c",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n",
+    "comments": "",
+    "x": 1119.1669387817383,
+    "y": 829.2857484817505,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "a98dd406.ae1e38",
+    "type": "outcome",
+    "name": "CHEF",
+    "xml": "<outcome value='CHEF'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 160.5,
+    "y": 821.2857351303101,
+    "z": "29922cf.42f59d4",
+    "wires": [["93385fe7.e8392"]]
+},
+{
+    "id": "ea521b2b.c10e68",
+    "type": "block",
+    "name": "block",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 373.49999237060547,
+    "y": 868.952395439148,
+    "z": "29922cf.42f59d4",
+    "wires": [["3ca78413.d1069c"]]
+},
+{
+    "id": "3ca78413.d1069c",
+    "type": "execute",
+    "name": "execute: getChefRunningConfig",
+    "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfVmNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfId' value=\"`$config.vnf-id`\" />\n<parameter name='vmName' value=\"`$config.vm-name`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 609.6428680419922,
+    "y": 913.1430015563965,
+    "z": "29922cf.42f59d4",
+    "wires": [["4c13e30f.d81abc",
+    "6edce4de.9ea51c",
+    "865d288e.79d5d8"]]
+},
+{
+    "id": "865d288e.79d5d8",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 804.2142944335938,
+    "y": 1009.42857837677,
+    "z": "29922cf.42f59d4",
+    "wires": [["9bc470b3.2ff51"]]
+},
+{
+    "id": "9bc470b3.2ff51",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1103.1667976379395,
+    "y": 1043.952380180359,
+    "z": "29922cf.42f59d4",
+    "wires": [["4cf92959.cfebc8"]]
+},
+{
+    "id": "6edce4de.9ea51c",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 911.500129699707,
+    "y": 945.2858009338379,
+    "z": "29922cf.42f59d4",
+    "wires": [[]]
+},
+{
+    "id": "4c13e30f.d81abc",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 910.500129699707,
+    "y": 896.2858009338379,
+    "z": "29922cf.42f59d4",
+    "wires": [["6d388b53.b092e4"]]
+},
+{
+    "id": "4cf92959.cfebc8",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",
+    "comments": "",
+    "x": 1339.500144958496,
+    "y": 1047.6190533638,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "6d388b53.b092e4",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1086.500129699707,
+    "y": 900.2858009338379,
+    "z": "29922cf.42f59d4",
+    "wires": [["88bb55d0.d73b28"]]
+},
+{
+    "id": "88bb55d0.d73b28",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",
+    "comments": "",
+    "x": 1236.8334503173828,
+    "y": 880.4287014007568,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "b641b4ab.bd2f58",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n",
+    "comments": "",
+    "x": 1425.5,
+    "y": 446.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "468136ac.050fe8",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1253.5,
+    "y": 450.28573513031006,
+    "z": "29922cf.42f59d4",
+    "wires": [["b641b4ab.bd2f58"]]
+},
+{
+    "id": "ecf33fc3.b2ebf",
+    "type": "outcome",
+    "name": " Ansible",
+    "xml": "<outcome value='Ansible'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 134.94049835205078,
+    "y": 939.0120496749878,
+    "z": "29922cf.42f59d4",
+    "wires": [["36381aaa.232fa6"]]
+},
+{
+    "id": "93385fe7.e8392",
+    "type": "block",
+    "name": "block",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 321.08331298828125,
+    "y": 1000.8689870834351,
+    "z": "29922cf.42f59d4",
+    "wires": [["28a7f80c.1bcbb8"]]
+},
+{
+    "id": "28a7f80c.1bcbb8",
+    "type": "call",
+    "name": "call  GetTemplateConfig_Chef",
+    "xml": "<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 539.8928527832031,
+    "y": 1045.8692655563354,
+    "z": "29922cf.42f59d4",
+    "wires": [["9f06d6d9.fb9738",
+    "e0ce4934.759568",
+    "549741e8.f5fc1"]]
+},
+{
+    "id": "9129b200.1a41a",
+    "type": "call",
+    "name": "call  GetTemplateConfig_Ansible",
+    "xml": "<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 505.60706329345703,
+    "y": 1283.011887550354,
+    "z": "29922cf.42f59d4",
+    "wires": [["67887719.98cd58",
+    "2a2ae29d.92c9ce",
+    "883aacc0.c3db4"]]
+},
+{
+    "id": "e0ce4934.759568",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 630.3690185546875,
+    "y": 1143.2500557899475,
+    "z": "29922cf.42f59d4",
+    "wires": [["980ae7de.429418"]]
+},
+{
+    "id": "9f06d6d9.fb9738",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 629.3690185546875,
+    "y": 1094.2500557899475,
+    "z": "29922cf.42f59d4",
+    "wires": [["489ea315.c3ed8c"]]
+},
+{
+    "id": "489ea315.c3ed8c",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 805.3690185546875,
+    "y": 1098.2500557899475,
+    "z": "29922cf.42f59d4",
+    "wires": [["81e09063.6dd78"]]
+},
+{
+    "id": "81e09063.6dd78",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n\n",
+    "comments": "",
+    "x": 1045.3690185546875,
+    "y": 1091.2500557899475,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "549741e8.f5fc1",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 568.7023315429688,
+    "y": 1216.583429813385,
+    "z": "29922cf.42f59d4",
+    "wires": [["e25f0226.6a041"]]
+},
+{
+    "id": "e25f0226.6a041",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 731.7023315429688,
+    "y": 1216.583429813385,
+    "z": "29922cf.42f59d4",
+    "wires": [["5e274de2.7cd6a4"]]
+},
+{
+    "id": "5e274de2.7cd6a4",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$APPC.GetRunningConfig`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
+    "comments": "",
+    "x": 881.8451843261719,
+    "y": 1195.7260999679565,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "36381aaa.232fa6",
+    "type": "block",
+    "name": "block",
+    "xml": "<block atomic=\"true\">\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 317.27384185791016,
+    "y": 1198.0118017196655,
+    "z": "29922cf.42f59d4",
+    "wires": [["9129b200.1a41a"]]
+},
+{
+    "id": "2a2ae29d.92c9ce",
+    "type": "other",
+    "name": "other",
+    "xml": "<outcome value='Other'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 738.9403610229492,
+    "y": 1348.0119047164917,
+    "z": "29922cf.42f59d4",
+    "wires": [["980ae7de.429418"]]
+},
+{
+    "id": "67887719.98cd58",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 737.9403610229492,
+    "y": 1299.0119047164917,
+    "z": "29922cf.42f59d4",
+    "wires": [["b615152c.d34648"]]
+},
+{
+    "id": "b615152c.d34648",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 913.9403610229492,
+    "y": 1303.0119047164917,
+    "z": "29922cf.42f59d4",
+    "wires": [["6194ee24.2cc39"]]
+},
+{
+    "id": "6194ee24.2cc39",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n\n",
+    "comments": "",
+    "x": 1105.9403381347656,
+    "y": 1296.0119123458862,
+    "z": "29922cf.42f59d4",
+    "wires": []
+},
+{
+    "id": "883aacc0.c3db4",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 677.2736740112305,
+    "y": 1421.3452787399292,
+    "z": "29922cf.42f59d4",
+    "wires": [["e5cfa4d.8698f58"]]
+},
+{
+    "id": "e5cfa4d.8698f58",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 840.2736740112305,
+    "y": 1421.3452787399292,
+    "z": "29922cf.42f59d4",
+    "wires": [["18a16323.e5a8ed"]]
+},
+{
+    "id": "18a16323.e5a8ed",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$APPC.GetRunningConfig`\" />\n<parameter name='code' value='`$output.status.code`' />\n<parameter name='message' value='`$output.status.message`'/>\n<parameter name='Status' value = '`$output.status.results`'/>\n",
+    "comments": "",
+    "x": 1029.2736282348633,
+    "y": 1423.345359802246,
+    "z": "29922cf.42f59d4",
+    "wires": []
+}]