Changed to unmaintained
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_2.0.0_method_vSRX_GetXmlRunningConfig.json
1 [\r
2     {\r
3         "id": "81a75d19.d19de",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 102,\r
8         "y": 37,\r
9         "z": "214d83f7.3c518c",\r
10         "wires": [\r
11             [\r
12                 "910e9ec4.7af88"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "910e9ec4.7af88",\r
18         "type": "service-logic",\r
19         "name": "APPC 2.0.0",\r
20         "module": "APPC",\r
21         "version": "2.0.0",\r
22         "comments": "",\r
23         "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'>",\r
24         "outputs": 1,\r
25         "x": 110.50000762939453,\r
26         "y": 109.75,\r
27         "z": "214d83f7.3c518c",\r
28         "wires": [\r
29             [\r
30                 "26feaf5a.9171d"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "26feaf5a.9171d",\r
36         "type": "method",\r
37         "name": "GetRunningConfig",\r
38         "xml": "<method rpc='vSRX_GetXmlRunningConfig' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 148.75003051757812,\r
42         "y": 191.75,\r
43         "z": "214d83f7.3c518c",\r
44         "wires": [\r
45             [\r
46                 "b1c0732b.61d2e"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "42ce5f64.d4dc7",\r
52         "type": "returnSuccess",\r
53         "name": "return success",\r
54         "xml": "<return status='success'>\n",\r
55         "comments": "",\r
56         "x": 485.5,\r
57         "y": 464,\r
58         "z": "214d83f7.3c518c",\r
59         "wires": []\r
60     },\r
61     {\r
62         "id": "b1c0732b.61d2e",\r
63         "type": "block",\r
64         "name": "block : atomic",\r
65         "xml": "<block atomic='true'>",\r
66         "atomic": "true",\r
67         "comments": "",\r
68         "outputs": 1,\r
69         "x": 315,\r
70         "y": 308.25,\r
71         "z": "214d83f7.3c518c",\r
72         "wires": [\r
73             [\r
74                 "42ce5f64.d4dc7",\r
75                 "34a60a4b.c91646",\r
76                 "14ef8882.fe0a17"\r
77             ]\r
78         ]\r
79     },\r
80     {\r
81         "id": "34a60a4b.c91646",\r
82         "type": "execute",\r
83         "name": "get_Configuration",\r
84         "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`\" />",\r
85         "comments": "",\r
86         "outputs": 1,\r
87         "x": 472.75,\r
88         "y": 132.75,\r
89         "z": "214d83f7.3c518c",\r
90         "wires": [\r
91             [\r
92                 "5931040.78065fc",\r
93                 "f1a57725.85dd58",\r
94                 "459d3ca2.15d404"\r
95             ]\r
96         ]\r
97     },\r
98     {\r
99         "id": "f1a57725.85dd58",\r
100         "type": "failure",\r
101         "name": "failure",\r
102         "xml": "<outcome value='failure'>\n",\r
103         "comments": "",\r
104         "outputs": 1,\r
105         "x": 682.5,\r
106         "y": 77,\r
107         "z": "214d83f7.3c518c",\r
108         "wires": [\r
109             [\r
110                 "6bf71909.695d08"\r
111             ]\r
112         ]\r
113     },\r
114     {\r
115         "id": "882a18a4.de2258",\r
116         "type": "failure",\r
117         "name": "failure",\r
118         "xml": "<outcome value='failure'>\n",\r
119         "comments": "",\r
120         "outputs": 1,\r
121         "x": 851.25,\r
122         "y": 239.75,\r
123         "z": "214d83f7.3c518c",\r
124         "wires": [\r
125             [\r
126                 "6bf71909.695d08"\r
127             ]\r
128         ]\r
129     },\r
130     {\r
131         "id": "6fb7e232.a4781c",\r
132         "type": "switchNode",\r
133         "name": "switch",\r
134         "xml": "<switch test='`$getRunningConfig_Result`'>\n",\r
135         "comments": "",\r
136         "outputs": 1,\r
137         "x": 792.5,\r
138         "y": 398,\r
139         "z": "214d83f7.3c518c",\r
140         "wires": [\r
141             [\r
142                 "f312cd43.e2751",\r
143                 "882a18a4.de2258"\r
144             ]\r
145         ]\r
146     },\r
147     {\r
148         "id": "5931040.78065fc",\r
149         "type": "success",\r
150         "name": "success",\r
151         "xml": "<outcome value='success'>\n",\r
152         "comments": "",\r
153         "outputs": 1,\r
154         "x": 677.75,\r
155         "y": 250.25,\r
156         "z": "214d83f7.3c518c",\r
157         "wires": [\r
158             [\r
159                 "6fb7e232.a4781c"\r
160             ]\r
161         ]\r
162     },\r
163     {\r
164         "id": "f312cd43.e2751",\r
165         "type": "success",\r
166         "name": "success",\r
167         "xml": "<outcome value='Success'>\n",\r
168         "comments": "",\r
169         "outputs": 1,\r
170         "x": 907.5,\r
171         "y": 495.5,\r
172         "z": "214d83f7.3c518c",\r
173         "wires": [\r
174             []\r
175         ]\r
176     },\r
177     {\r
178         "id": "6bf71909.695d08",\r
179         "type": "returnFailure",\r
180         "name": "return failure",\r
181         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n",\r
182         "comments": "",\r
183         "x": 984.5,\r
184         "y": 89.75,\r
185         "z": "214d83f7.3c518c",\r
186         "wires": []\r
187     },\r
188     {\r
189         "id": "459d3ca2.15d404",\r
190         "type": "not-found",\r
191         "name": "not-found",\r
192         "xml": "<outcome value='not-found'>\n",\r
193         "comments": "",\r
194         "outputs": 1,\r
195         "x": 690.5,\r
196         "y": 154.75,\r
197         "z": "214d83f7.3c518c",\r
198         "wires": [\r
199             [\r
200                 "6bf71909.695d08"\r
201             ]\r
202         ]\r
203     },\r
204     {\r
205         "id": "14ef8882.fe0a17",\r
206         "type": "set",\r
207         "name": "set",\r
208         "xml": "<set>\n<parameter name='device-running-config' value=\"`$running-config`\" />\n",\r
209         "comments": "",\r
210         "outputs": 1,\r
211         "x": 537,\r
212         "y": 281,\r
213         "z": "214d83f7.3c518c",\r
214         "wires": [\r
215             []\r
216         ]\r
217     }\r
218 ]\r