diff options
author | 2017-12-22 13:52:51 -0500 | |
---|---|---|
committer | 2017-12-22 13:53:36 -0500 | |
commit | 716232ab0cf1b0989db443843b0551869d7c97bb (patch) | |
tree | 20eb57228c9affb492b9689c60655888c5a58d0a /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json | |
parent | 2b281254999abce8c6e905d8b26627f25f0eff2e (diff) |
Platform Hardening for DG Json files - Part 3
Change-Id: Ib5534da1dc26e8942be56b5a3742876cebd4b2fc
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json | 219 |
1 files changed, 218 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json index 554b3c8dd..9720cab0d 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json @@ -1 +1,218 @@ -[{"id":"81a75d19.d19de","type":"dgstart","name":"DGSTART","outputs":1,"x":102,"y":37,"z":"214d83f7.3c518c","wires":[["910e9ec4.7af88"]]},{"id":"910e9ec4.7af88","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.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='2.0.0'>","outputs":1,"x":110.50000762939453,"y":109.75,"z":"214d83f7.3c518c","wires":[["26feaf5a.9171d"]]},{"id":"26feaf5a.9171d","type":"method","name":"GetRunningConfig","xml":"<method rpc='vSRX_GetXmlRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":148.75003051757812,"y":191.75,"z":"214d83f7.3c518c","wires":[["b1c0732b.61d2e"]]},{"id":"42ce5f64.d4dc7","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":485.5,"y":464,"z":"214d83f7.3c518c","wires":[]},{"id":"b1c0732b.61d2e","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":315,"y":308.25,"z":"214d83f7.3c518c","wires":[["42ce5f64.d4dc7","34a60a4b.c91646","14ef8882.fe0a17"]]},{"id":"34a60a4b.c91646","type":"execute","name":"get_Configuration","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='getRunningConfig'>\n<parameter name=\"host-ip-address\" value=\"`$host-ip-address`\" />\n<parameter name=\"user-name\" value=\"`$USER-NAME`\" />\n<parameter name=\"password\" value=\"`$PASSWORD`\" />\n<parameter name=\"port-number\" value=\"`$PORT-NUMBER`\" />","comments":"","outputs":1,"x":472.75,"y":132.75,"z":"214d83f7.3c518c","wires":[["5931040.78065fc","f1a57725.85dd58","459d3ca2.15d404"]]},{"id":"f1a57725.85dd58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":682.5,"y":77,"z":"214d83f7.3c518c","wires":[["6bf71909.695d08"]]},{"id":"882a18a4.de2258","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":851.25,"y":239.75,"z":"214d83f7.3c518c","wires":[["6bf71909.695d08"]]},{"id":"6fb7e232.a4781c","type":"switchNode","name":"switch","xml":"<switch test='`$getRunningConfig_Result`'>\n","comments":"","outputs":1,"x":792.5,"y":398,"z":"214d83f7.3c518c","wires":[["f312cd43.e2751","882a18a4.de2258"]]},{"id":"5931040.78065fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":677.75,"y":250.25,"z":"214d83f7.3c518c","wires":[["6fb7e232.a4781c"]]},{"id":"f312cd43.e2751","type":"success","name":"success","xml":"<outcome value='Success'>\n","comments":"","outputs":1,"x":907.5,"y":495.5,"z":"214d83f7.3c518c","wires":[[]]},{"id":"6bf71909.695d08","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","x":984.5,"y":89.75,"z":"214d83f7.3c518c","wires":[]},{"id":"459d3ca2.15d404","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":690.5,"y":154.75,"z":"214d83f7.3c518c","wires":[["6bf71909.695d08"]]},{"id":"14ef8882.fe0a17","type":"set","name":"set","xml":"<set>\n<parameter name='device-running-config' value=\"`$running-config`\" />\n","comments":"","outputs":1,"x":537,"y":281,"z":"214d83f7.3c518c","wires":[[]]}] +[
+ {
+ "id": "81a75d19.d19de",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 102,
+ "y": 37,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "910e9ec4.7af88"
+ ]
+ ]
+ },
+ {
+ "id": "910e9ec4.7af88",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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='2.0.0'>",
+ "outputs": 1,
+ "x": 110.50000762939453,
+ "y": 109.75,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "26feaf5a.9171d"
+ ]
+ ]
+ },
+ {
+ "id": "26feaf5a.9171d",
+ "type": "method",
+ "name": "GetRunningConfig",
+ "xml": "<method rpc='vSRX_GetXmlRunningConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 148.75003051757812,
+ "y": 191.75,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "b1c0732b.61d2e"
+ ]
+ ]
+ },
+ {
+ "id": "42ce5f64.d4dc7",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 485.5,
+ "y": 464,
+ "z": "214d83f7.3c518c",
+ "wires": []
+ },
+ {
+ "id": "b1c0732b.61d2e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 315,
+ "y": 308.25,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "42ce5f64.d4dc7",
+ "34a60a4b.c91646",
+ "14ef8882.fe0a17"
+ ]
+ ]
+ },
+ {
+ "id": "34a60a4b.c91646",
+ "type": "execute",
+ "name": "get_Configuration",
+ "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='getRunningConfig'>\n<parameter name=\"host-ip-address\" value=\"`$host-ip-address`\" />\n<parameter name=\"user-name\" value=\"`$USER-NAME`\" />\n<parameter name=\"password\" value=\"`$PASSWORD`\" />\n<parameter name=\"port-number\" value=\"`$PORT-NUMBER`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 472.75,
+ "y": 132.75,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "5931040.78065fc",
+ "f1a57725.85dd58",
+ "459d3ca2.15d404"
+ ]
+ ]
+ },
+ {
+ "id": "f1a57725.85dd58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 682.5,
+ "y": 77,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "6bf71909.695d08"
+ ]
+ ]
+ },
+ {
+ "id": "882a18a4.de2258",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 851.25,
+ "y": 239.75,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "6bf71909.695d08"
+ ]
+ ]
+ },
+ {
+ "id": "6fb7e232.a4781c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getRunningConfig_Result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 792.5,
+ "y": 398,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "f312cd43.e2751",
+ "882a18a4.de2258"
+ ]
+ ]
+ },
+ {
+ "id": "5931040.78065fc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 677.75,
+ "y": 250.25,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "6fb7e232.a4781c"
+ ]
+ ]
+ },
+ {
+ "id": "f312cd43.e2751",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='Success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 907.5,
+ "y": 495.5,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6bf71909.695d08",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n",
+ "comments": "",
+ "x": 984.5,
+ "y": 89.75,
+ "z": "214d83f7.3c518c",
+ "wires": []
+ },
+ {
+ "id": "459d3ca2.15d404",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.5,
+ "y": 154.75,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ [
+ "6bf71909.695d08"
+ ]
+ ]
+ },
+ {
+ "id": "14ef8882.fe0a17",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='device-running-config' value=\"`$running-config`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 537,
+ "y": 281,
+ "z": "214d83f7.3c518c",
+ "wires": [
+ []
+ ]
+ }
+]
|