aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json201
1 files changed, 200 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
index 6a1d5da43..f691af86d 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
@@ -1 +1,200 @@
-[{"id":"49eb9e47.22a92","type":"dgstart","name":"DGSTART","outputs":1,"x":267,"y":173,"z":"48bb9f92.24bfc","wires":[["20d129c2.d315e6"]]},{"id":"20d129c2.d315e6","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.0.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='3.0.0'>","outputs":1,"x":443,"y":171,"z":"48bb9f92.24bfc","wires":[["37dd6ac2.81b1d6"]]},{"id":"37dd6ac2.81b1d6","type":"method","name":"method DownloadNetconfConfig","xml":"<method rpc='DownloadNetconfConfig' mode='sync'>\n","comments":"","outputs":1,"x":673,"y":172,"z":"48bb9f92.24bfc","wires":[["e7c1ede8.8b2cc"]]},{"id":"96807105.79369","type":"execute","name":"execute : Download Configuration","xml":"<execute plugin=\"com.att.appc.device.interfaces.node.NetconfDeviceNode\" method=\"editConfig\">\n<parameter name=\"editConfigData\" value=\"`$device-config`\"/>\n<parameter name=\"ipAddress\" value=\"`$host-ip-address`\" />\n<parameter name=\"userName\" value=\"`$device-login`\" />\n<parameter name=\"password\" value=\"`$device-password`\" />\n<parameter name=\"port\" value=\"`$port-number`\" />\n<parameter name=\"configTarget\" value=\"candidate\" />\n<parameter name=\"editDefaultOperation\" value=\"replace\" />\n<parameter name=\"editCommit\" value=\"true\" />\n<parameter name=\"editLock\" value=\"false\" />\n\n\n","comments":"","outputs":1,"x":533,"y":298,"z":"48bb9f92.24bfc","wires":[["65b26058.c0523","a89aea36.9bbbd8","aa00eed3.553fd"]]},{"id":"65b26058.c0523","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":815,"y":363,"z":"48bb9f92.24bfc","wires":[["6e36e74d.f4da68"]]},{"id":"a89aea36.9bbbd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":916,"y":277,"z":"48bb9f92.24bfc","wires":[["45742a83.7fb8c4"]]},{"id":"aa00eed3.553fd","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":926,"y":328,"z":"48bb9f92.24bfc","wires":[["3ebe4e89.9f4e52"]]},{"id":"45742a83.7fb8c4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1079,"y":299,"z":"48bb9f92.24bfc","wires":[["e3b5ad70.743d5"]]},{"id":"e3b5ad70.743d5","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1238,"y":299,"z":"48bb9f92.24bfc","wires":[]},{"id":"e7c1ede8.8b2cc","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":283,"y":297,"z":"48bb9f92.24bfc","wires":[["96807105.79369"]]},{"id":"6e36e74d.f4da68","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":1041,"y":466,"z":"48bb9f92.24bfc","wires":[]},{"id":"3ebe4e89.9f4e52","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1087,"y":368,"z":"48bb9f92.24bfc","wires":[["99165162.5e445"]]},{"id":"99165162.5e445","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1246,"y":368,"z":"48bb9f92.24bfc","wires":[]}]
+[
+ {
+ "id": "49eb9e47.22a92",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 267,
+ "y": 173,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "20d129c2.d315e6"
+ ]
+ ]
+ },
+ {
+ "id": "20d129c2.d315e6",
+ "type": "service-logic",
+ "name": "APPC 3.0.0",
+ "module": "APPC",
+ "version": "3.0.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='3.0.0'>",
+ "outputs": 1,
+ "x": 443,
+ "y": 171,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "37dd6ac2.81b1d6"
+ ]
+ ]
+ },
+ {
+ "id": "37dd6ac2.81b1d6",
+ "type": "method",
+ "name": "method DownloadNetconfConfig",
+ "xml": "<method rpc='DownloadNetconfConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 673,
+ "y": 172,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "e7c1ede8.8b2cc"
+ ]
+ ]
+ },
+ {
+ "id": "96807105.79369",
+ "type": "execute",
+ "name": "execute : Download Configuration",
+ "xml": "<execute plugin=\"com.att.appc.device.interfaces.node.NetconfDeviceNode\" method=\"editConfig\">\n<parameter name=\"editConfigData\" value=\"`$device-config`\"/>\n<parameter name=\"ipAddress\" value=\"`$host-ip-address`\" />\n<parameter name=\"userName\" value=\"`$device-login`\" />\n<parameter name=\"password\" value=\"`$device-password`\" />\n<parameter name=\"port\" value=\"`$port-number`\" />\n<parameter name=\"configTarget\" value=\"candidate\" />\n<parameter name=\"editDefaultOperation\" value=\"replace\" />\n<parameter name=\"editCommit\" value=\"true\" />\n<parameter name=\"editLock\" value=\"false\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 533,
+ "y": 298,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "65b26058.c0523",
+ "a89aea36.9bbbd8",
+ "aa00eed3.553fd"
+ ]
+ ]
+ },
+ {
+ "id": "65b26058.c0523",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 815,
+ "y": 363,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "6e36e74d.f4da68"
+ ]
+ ]
+ },
+ {
+ "id": "a89aea36.9bbbd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 916,
+ "y": 277,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "45742a83.7fb8c4"
+ ]
+ ]
+ },
+ {
+ "id": "aa00eed3.553fd",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 926,
+ "y": 328,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "3ebe4e89.9f4e52"
+ ]
+ ]
+ },
+ {
+ "id": "45742a83.7fb8c4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1079,
+ "y": 299,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "e3b5ad70.743d5"
+ ]
+ ]
+ },
+ {
+ "id": "e3b5ad70.743d5",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",
+ "comments": "",
+ "x": 1238,
+ "y": 299,
+ "z": "48bb9f92.24bfc",
+ "wires": []
+ },
+ {
+ "id": "e7c1ede8.8b2cc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 283,
+ "y": 297,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "96807105.79369"
+ ]
+ ]
+ },
+ {
+ "id": "6e36e74d.f4da68",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",
+ "comments": "",
+ "x": 1041,
+ "y": 466,
+ "z": "48bb9f92.24bfc",
+ "wires": []
+ },
+ {
+ "id": "3ebe4e89.9f4e52",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1087,
+ "y": 368,
+ "z": "48bb9f92.24bfc",
+ "wires": [
+ [
+ "99165162.5e445"
+ ]
+ ]
+ },
+ {
+ "id": "99165162.5e445",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",
+ "comments": "",
+ "x": 1246,
+ "y": 368,
+ "z": "48bb9f92.24bfc",
+ "wires": []
+ }
+]