aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json299
1 files changed, 298 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
index 74e781191..ee5977320 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
@@ -1 +1,298 @@
-[{"id":"3126cb82.bde234","type":"dgstart","name":"DGSTART","outputs":1,"x":213,"y":173,"z":"56a1115e.b25a6","wires":[["69732ca.15072d4"]]},{"id":"69732ca.15072d4","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":390,"y":172,"z":"56a1115e.b25a6","wires":[["c3bb9820.c5f438"]]},{"id":"c3bb9820.c5f438","type":"method","name":"method DownloadRestconfConfig","xml":"<method rpc='DownloadRestconfConfig' mode='sync'>\n","comments":"","outputs":1,"x":617,"y":174,"z":"56a1115e.b25a6","wires":[["63b0d96d.c7ed58"]]},{"id":"b7e24e35.0af5c","type":"execute","name":"execute : Download Configuration","xml":"<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='downloadDeviceConfiguration' >\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"configData\" value=\"`$device-config`\"/>\n<parameter name=\"protocol\" value=\"`$protocol`\"/>\n<parameter name=\"unescapeXML\" value=\"N\"/>\n<parameter name=\"validateXML\" value=\"Y\"/>\n\n\n\n\n","comments":"","outputs":1,"x":523,"y":499,"z":"56a1115e.b25a6","wires":[["999fa5d2.747998","f56e2430.ba53a8","4aff51e4.d3676"]]},{"id":"999fa5d2.747998","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":872,"y":522,"z":"56a1115e.b25a6","wires":[["20e1274a.24dd08"]]},{"id":"f56e2430.ba53a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":874,"y":423,"z":"56a1115e.b25a6","wires":[["c28a56e6.0033e8"]]},{"id":"4aff51e4.d3676","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":869,"y":469,"z":"56a1115e.b25a6","wires":[["c28a56e6.0033e8"]]},{"id":"c28a56e6.0033e8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1041,"y":450,"z":"56a1115e.b25a6","wires":[["96239c4e.3a9b3"]]},{"id":"96239c4e.3a9b3","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n <parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1247,"y":451,"z":"56a1115e.b25a6","wires":[]},{"id":"63b0d96d.c7ed58","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":249,"y":323,"z":"56a1115e.b25a6","wires":[["3fd1791d.d55476"]]},{"id":"3fd1791d.d55476","type":"execute","name":"execute : Mount Device","xml":"<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='mountDevice' >\n<parameter name=\"templateFileName\" value=\"device_mount.xml\" />\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-login`\"/>\n<parameter name=\"password\" value=\"`$device-password`\"/>\n<parameter name=\"portNumber\" value=\"`$port-number`\"/>\n<parameter name=\"waitSec\" value=\"60\"/>\n<parameter name=\"noOfRetriggers\" value=\"10\"/>\n\n\n","comments":"","outputs":1,"x":459,"y":322,"z":"56a1115e.b25a6","wires":[["e7d6cff5.bc024","3965425a.10e70e","72d1c486.d6aa8c"]]},{"id":"e7d6cff5.bc024","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":763.0681762695312,"y":263.89471435546875,"z":"56a1115e.b25a6","wires":[["55634b28.643004"]]},{"id":"72d1c486.d6aa8c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":758,"y":313.99993896484375,"z":"56a1115e.b25a6","wires":[["55634b28.643004"]]},{"id":"3965425a.10e70e","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":760.0000610351562,"y":358.99993896484375,"z":"56a1115e.b25a6","wires":[["59b6573c.b65208"]]},{"id":"55634b28.643004","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":900.0681762695312,"y":314.89471435546875,"z":"56a1115e.b25a6","wires":[["d0fcc7fb.1491c8","94fd463b.b5d6c8"]]},{"id":"d0fcc7fb.1491c8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<!-- error should be set by Adaptor -->","comments":"","x":1169.25,"y":310.55548095703125,"z":"56a1115e.b25a6","wires":[]},{"id":"94fd463b.b5d6c8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"host\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n","comments":"","outputs":1,"x":1168,"y":252.66656494140625,"z":"56a1115e.b25a6","wires":[[]]},{"id":"59b6573c.b65208","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":241,"y":501,"z":"56a1115e.b25a6","wires":[["b7e24e35.0af5c"]]},{"id":"20e1274a.24dd08","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":1114,"y":548,"z":"56a1115e.b25a6","wires":[]}]
+[
+ {
+ "id": "3126cb82.bde234",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 213,
+ "y": 173,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "69732ca.15072d4"
+ ]
+ ]
+ },
+ {
+ "id": "69732ca.15072d4",
+ "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": 390,
+ "y": 172,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "c3bb9820.c5f438"
+ ]
+ ]
+ },
+ {
+ "id": "c3bb9820.c5f438",
+ "type": "method",
+ "name": "method DownloadRestconfConfig",
+ "xml": "<method rpc='DownloadRestconfConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 617,
+ "y": 174,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "63b0d96d.c7ed58"
+ ]
+ ]
+ },
+ {
+ "id": "b7e24e35.0af5c",
+ "type": "execute",
+ "name": "execute : Download Configuration",
+ "xml": "<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='downloadDeviceConfiguration' >\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"configData\" value=\"`$device-config`\"/>\n<parameter name=\"protocol\" value=\"`$protocol`\"/>\n<parameter name=\"unescapeXML\" value=\"N\"/>\n<parameter name=\"validateXML\" value=\"Y\"/>\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 523,
+ "y": 499,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "999fa5d2.747998",
+ "f56e2430.ba53a8",
+ "4aff51e4.d3676"
+ ]
+ ]
+ },
+ {
+ "id": "999fa5d2.747998",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 872,
+ "y": 522,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "20e1274a.24dd08"
+ ]
+ ]
+ },
+ {
+ "id": "f56e2430.ba53a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 874,
+ "y": 423,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "c28a56e6.0033e8"
+ ]
+ ]
+ },
+ {
+ "id": "4aff51e4.d3676",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 869,
+ "y": 469,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "c28a56e6.0033e8"
+ ]
+ ]
+ },
+ {
+ "id": "c28a56e6.0033e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1041,
+ "y": 450,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "96239c4e.3a9b3"
+ ]
+ ]
+ },
+ {
+ "id": "96239c4e.3a9b3",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n <parameter name=\"ack-final\" value=\"Y\"/>",
+ "comments": "",
+ "x": 1247,
+ "y": 451,
+ "z": "56a1115e.b25a6",
+ "wires": []
+ },
+ {
+ "id": "63b0d96d.c7ed58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 249,
+ "y": 323,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "3fd1791d.d55476"
+ ]
+ ]
+ },
+ {
+ "id": "3fd1791d.d55476",
+ "type": "execute",
+ "name": "execute : Mount Device",
+ "xml": "<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='mountDevice' >\n<parameter name=\"templateFileName\" value=\"device_mount.xml\" />\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-login`\"/>\n<parameter name=\"password\" value=\"`$device-password`\"/>\n<parameter name=\"portNumber\" value=\"`$port-number`\"/>\n<parameter name=\"waitSec\" value=\"60\"/>\n<parameter name=\"noOfRetriggers\" value=\"10\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 459,
+ "y": 322,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "e7d6cff5.bc024",
+ "3965425a.10e70e",
+ "72d1c486.d6aa8c"
+ ]
+ ]
+ },
+ {
+ "id": "e7d6cff5.bc024",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 763.0681762695312,
+ "y": 263.89471435546875,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "55634b28.643004"
+ ]
+ ]
+ },
+ {
+ "id": "72d1c486.d6aa8c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 758,
+ "y": 313.99993896484375,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "55634b28.643004"
+ ]
+ ]
+ },
+ {
+ "id": "3965425a.10e70e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 760.0000610351562,
+ "y": 358.99993896484375,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "59b6573c.b65208"
+ ]
+ ]
+ },
+ {
+ "id": "55634b28.643004",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.0681762695312,
+ "y": 314.89471435546875,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "d0fcc7fb.1491c8",
+ "94fd463b.b5d6c8"
+ ]
+ ]
+ },
+ {
+ "id": "d0fcc7fb.1491c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<!-- error should be set by Adaptor -->",
+ "comments": "",
+ "x": 1169.25,
+ "y": 310.55548095703125,
+ "z": "56a1115e.b25a6",
+ "wires": []
+ },
+ {
+ "id": "94fd463b.b5d6c8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"host\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1168,
+ "y": 252.66656494140625,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59b6573c.b65208",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 241,
+ "y": 501,
+ "z": "56a1115e.b25a6",
+ "wires": [
+ [
+ "b7e24e35.0af5c"
+ ]
+ ]
+ },
+ {
+ "id": "20e1274a.24dd08",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",
+ "comments": "",
+ "x": 1114,
+ "y": 548,
+ "z": "56a1115e.b25a6",
+ "wires": []
+ }
+]