Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-activate.json
1 [\r
2     {\r
3         "id": "b426698f.bcfc1",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 152.56666564941406,\r
8         "y": 111.56666564941406,\r
9         "z": "33354834.16c3b8",\r
10         "wires": [\r
11             [\r
12                 "dda42032.d7c16"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "dda42032.d7c16",\r
18         "type": "service-logic",\r
19         "name": "GENERIC-RESOURCE-API ${project.version}",\r
20         "module": "GENERIC-RESOURCE-API",\r
21         "version": "${project.version}",\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='GENERIC-RESOURCE-API' version='${project.version}'>",\r
24         "outputs": 1,\r
25         "x": 283.85235595703125,\r
26         "y": 160.8047742843628,\r
27         "z": "33354834.16c3b8",\r
28         "wires": [\r
29             [\r
30                 "e2264d45.69ec48"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "e2264d45.69ec48",\r
36         "type": "method",\r
37         "name": "method p2p-vnf-topology-operation-p2p-activate",\r
38         "xml": "<method rpc='p2p-vnf-topology-operation-p2p-activate' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 286.9952850341797,\r
42         "y": 245.56669807434082,\r
43         "z": "33354834.16c3b8",\r
44         "wires": [\r
45             [\r
46                 "ee8a72fb.598d5"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "ee8a72fb.598d5",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 436.80470275878906,\r
58         "y": 375.2333221435547,\r
59         "z": "33354834.16c3b8",\r
60         "wires": [\r
61             [\r
62                 "6f85f731.13b82",\r
63                 "eba98a4a.ac8ff",\r
64                 "a74dc401.a8636"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "6f85f731.13b82",\r
70         "type": "returnSuccess",\r
71         "name": "return success",\r
72         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
73         "comments": "",\r
74         "x": 705.1383209228516,\r
75         "y": 762.1638336181641,\r
76         "z": "33354834.16c3b8",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "40b1f55.6d6428c",\r
81         "type": "comment",\r
82         "name": "new for TransportSlicing",\r
83         "info": "",\r
84         "comments": "",\r
85         "x": 736.5666656494141,\r
86         "y": 436.56666564941406,\r
87         "z": "33354834.16c3b8",\r
88         "wires": []\r
89     },\r
90     {\r
91         "id": "eba98a4a.ac8ff",\r
92         "type": "save",\r
93         "name": "get service-instance from aai",\r
94         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--$vnf-topology-operation-input.service-information.service-instance-id-->",\r
95         "comments": "",\r
96         "outputs": 1,\r
97         "x": 756.5666656494141,\r
98         "y": 532.5666656494141,\r
99         "z": "33354834.16c3b8",\r
100         "wires": [\r
101             [\r
102                 "1e7b283c.1e038",\r
103                 "52313592.2606f4",\r
104                 "3666eff1.a4c68"\r
105             ]\r
106         ]\r
107     },\r
108     {\r
109         "id": "1e7b283c.1e038",\r
110         "type": "success",\r
111         "name": "success",\r
112         "xml": "<outcome value='success'>\n",\r
113         "comments": "",\r
114         "outputs": 1,\r
115         "x": 975.5666656494141,\r
116         "y": 470.56666564941406,\r
117         "z": "33354834.16c3b8",\r
118         "wires": [\r
119             [\r
120                 "4802c9ed.bd319"\r
121             ]\r
122         ]\r
123     },\r
124     {\r
125         "id": "52313592.2606f4",\r
126         "type": "not-found",\r
127         "name": "not-found",\r
128         "xml": "<outcome value='not-found'>\n",\r
129         "comments": "",\r
130         "outputs": 1,\r
131         "x": 985.0576324462891,\r
132         "y": 513.1407012939453,\r
133         "z": "33354834.16c3b8",\r
134         "wires": [\r
135             [\r
136                 "aaeb8158.8891e8"\r
137             ]\r
138         ]\r
139     },\r
140     {\r
141         "id": "3666eff1.a4c68",\r
142         "type": "failure",\r
143         "name": "failure",\r
144         "xml": "<outcome value='failure'>\n",\r
145         "comments": "",\r
146         "outputs": 1,\r
147         "x": 973.5666656494141,\r
148         "y": 559.5666656494141,\r
149         "z": "33354834.16c3b8",\r
150         "wires": [\r
151             [\r
152                 "5ca110f5.52cc9"\r
153             ]\r
154         ]\r
155     },\r
156     {\r
157         "id": "aaeb8158.8891e8",\r
158         "type": "returnFailure",\r
159         "name": "return failure",\r
160         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
161         "comments": "",\r
162         "x": 1138.6290435791016,\r
163         "y": 516.4264373779297,\r
164         "z": "33354834.16c3b8",\r
165         "wires": []\r
166     },\r
167     {\r
168         "id": "5ca110f5.52cc9",\r
169         "type": "returnFailure",\r
170         "name": "return failure",\r
171         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
172         "comments": "",\r
173         "x": 1142.566665649414,\r
174         "y": 560.5666656494141,\r
175         "z": "33354834.16c3b8",\r
176         "wires": []\r
177     },\r
178     {\r
179         "id": "4802c9ed.bd319",\r
180         "type": "for",\r
181         "name": "for each relationship",\r
182         "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
183         "comments": "",\r
184         "outputs": 1,\r
185         "x": 1172.566665649414,\r
186         "y": 466.56666564941406,\r
187         "z": "33354834.16c3b8",\r
188         "wires": [\r
189             [\r
190                 "5f77cdf0.1ff4fc"\r
191             ]\r
192         ]\r
193     },\r
194     {\r
195         "id": "5f77cdf0.1ff4fc",\r
196         "type": "switchNode",\r
197         "name": "switch related-to",\r
198         "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
199         "comments": "",\r
200         "outputs": 1,\r
201         "x": 1395.900161743164,\r
202         "y": 466.5666046142578,\r
203         "z": "33354834.16c3b8",\r
204         "wires": [\r
205             [\r
206                 "dbbed370.683fd8"\r
207             ]\r
208         ]\r
209     },\r
210     {\r
211         "id": "dbbed370.683fd8",\r
212         "type": "outcome",\r
213         "name": "connectivity",\r
214         "xml": "<outcome value='connectivity'>\n",\r
215         "comments": "",\r
216         "outputs": 1,\r
217         "x": 1537.5668334960938,\r
218         "y": 384.5666961669922,\r
219         "z": "33354834.16c3b8",\r
220         "wires": [\r
221             [\r
222                 "a62a2704.25f8d8"\r
223             ]\r
224         ]\r
225     },\r
226     {\r
227         "id": "44bcd2e8.a3bb64",\r
228         "type": "set",\r
229         "name": "set attachment_param for OTN A",\r
230         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
231         "comments": "",\r
232         "x": 4415.566665649414,\r
233         "y": 183.56666564941406,\r
234         "z": "33354834.16c3b8",\r
235         "wires": []\r
236     },\r
237     {\r
238         "id": "235bcd4f.ba7e9a",\r
239         "type": "execute",\r
240         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
241         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te/tunnels'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />-->\n",\r
242         "comments": "",\r
243         "outputs": 1,\r
244         "x": 4496.566665649414,\r
245         "y": 498.56666564941406,\r
246         "z": "33354834.16c3b8",\r
247         "wires": [\r
248             [\r
249                 "9f56fadc.33cce8",\r
250                 "143f9e70.b45a92"\r
251             ]\r
252         ]\r
253     },\r
254     {\r
255         "id": "9f56fadc.33cce8",\r
256         "type": "failure",\r
257         "name": "failure",\r
258         "xml": "<outcome value='failure'>\n",\r
259         "comments": "",\r
260         "outputs": 1,\r
261         "x": 4806.066665649414,\r
262         "y": 467.56666564941406,\r
263         "z": "33354834.16c3b8",\r
264         "wires": [\r
265             [\r
266                 "705d82c.67d11fc"\r
267             ]\r
268         ]\r
269     },\r
270     {\r
271         "id": "143f9e70.b45a92",\r
272         "type": "success",\r
273         "name": "success",\r
274         "xml": "<outcome value='success'>\n",\r
275         "comments": "",\r
276         "outputs": 1,\r
277         "x": 4811.066665649414,\r
278         "y": 532.5666656494141,\r
279         "z": "33354834.16c3b8",\r
280         "wires": [\r
281             [\r
282                 "a78f86b9.c32d28"\r
283             ]\r
284         ]\r
285     },\r
286     {\r
287         "id": "705d82c.67d11fc",\r
288         "type": "returnFailure",\r
289         "name": "return failure",\r
290         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
291         "comments": "",\r
292         "x": 4982.066665649414,\r
293         "y": 467.56666564941406,\r
294         "z": "33354834.16c3b8",\r
295         "wires": []\r
296     },\r
297     {\r
298         "id": "a78f86b9.c32d28",\r
299         "type": "block",\r
300         "name": "block : atomic",\r
301         "xml": "<block atomic=\"true\">",\r
302         "atomic": "true",\r
303         "comments": "",\r
304         "outputs": 1,\r
305         "x": 4977.566665649414,\r
306         "y": 532.5666656494141,\r
307         "z": "33354834.16c3b8",\r
308         "wires": [\r
309             []\r
310         ]\r
311     },\r
312     {\r
313         "id": "af922307.c203c8",\r
314         "type": "set",\r
315         "name": "set sotn_value",\r
316         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",\r
317         "comments": "",\r
318         "x": 4363.066665649414,\r
319         "y": 686.5666656494141,\r
320         "z": "33354834.16c3b8",\r
321         "wires": []\r
322     },\r
323     {\r
324         "id": "4cfae106.244c4",\r
325         "type": "execute",\r
326         "name": "execute RestApiCallNode Create ethernet Service without token",\r
327         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />-->\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileNameForEthSrv`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
328         "comments": "",\r
329         "outputs": 1,\r
330         "x": 4517.066665649414,\r
331         "y": 734.5666656494141,\r
332         "z": "33354834.16c3b8",\r
333         "wires": [\r
334             [\r
335                 "1e0a9e34.d5eca2",\r
336                 "4e3f62b2.97234c"\r
337             ]\r
338         ]\r
339     },\r
340     {\r
341         "id": "1e0a9e34.d5eca2",\r
342         "type": "failure",\r
343         "name": "failure",\r
344         "xml": "<outcome value='failure'>\n",\r
345         "comments": "",\r
346         "outputs": 1,\r
347         "x": 4862.566665649414,\r
348         "y": 715.5666656494141,\r
349         "z": "33354834.16c3b8",\r
350         "wires": [\r
351             [\r
352                 "35316f81.9ed85"\r
353             ]\r
354         ]\r
355     },\r
356     {\r
357         "id": "4e3f62b2.97234c",\r
358         "type": "success",\r
359         "name": "success",\r
360         "xml": "<outcome value='success'>\n",\r
361         "comments": "",\r
362         "outputs": 1,\r
363         "x": 4866.566665649414,\r
364         "y": 755.5666656494141,\r
365         "z": "33354834.16c3b8",\r
366         "wires": [\r
367             [\r
368                 "1cbef478.7c261c"\r
369             ]\r
370         ]\r
371     },\r
372     {\r
373         "id": "35316f81.9ed85",\r
374         "type": "returnFailure",\r
375         "name": "return failure",\r
376         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
377         "comments": "",\r
378         "x": 5020.566665649414,\r
379         "y": 715.5666656494141,\r
380         "z": "33354834.16c3b8",\r
381         "wires": []\r
382     },\r
383     {\r
384         "id": "1cbef478.7c261c",\r
385         "type": "block",\r
386         "name": "block : atomic",\r
387         "xml": "<block atomic=\"true\">",\r
388         "atomic": "true",\r
389         "comments": "",\r
390         "outputs": 1,\r
391         "x": 5024.066665649414,\r
392         "y": 755.5666656494141,\r
393         "z": "33354834.16c3b8",\r
394         "wires": [\r
395             [\r
396                 "be879311.90668",\r
397                 "a145aca2.ac879",\r
398                 "e634d16b.4c8208"\r
399             ]\r
400         ]\r
401     },\r
402     {\r
403         "id": "a769c383.79df18",\r
404         "type": "comment",\r
405         "name": "TODO: FIXME:",\r
406         "info": "put proper values based on connectivity resource retrieved from AAI",\r
407         "comments": "",\r
408         "x": 4360.566665649414,\r
409         "y": 642.5666656494141,\r
410         "z": "33354834.16c3b8",\r
411         "wires": []\r
412     },\r
413     {\r
414         "id": "be879311.90668",\r
415         "type": "save",\r
416         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
417         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
418         "comments": "",\r
419         "outputs": 1,\r
420         "x": 5541.566909790039,\r
421         "y": 595.5666656494141,\r
422         "z": "33354834.16c3b8",\r
423         "wires": [\r
424             []\r
425         ]\r
426     },\r
427     {\r
428         "id": "d5dfd505.69af2",\r
429         "type": "comment",\r
430         "name": "TODO: FIXME",\r
431         "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
432         "comments": "",\r
433         "x": 5405.566909790039,\r
434         "y": 554.5666656494141,\r
435         "z": "33354834.16c3b8",\r
436         "wires": []\r
437     },\r
438     {\r
439         "id": "a145aca2.ac879",\r
440         "type": "save",\r
441         "name": "update connectivity resource in AAI",\r
442         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
443         "comments": "",\r
444         "outputs": 1,\r
445         "x": 5468.566909790039,\r
446         "y": 641.5666656494141,\r
447         "z": "33354834.16c3b8",\r
448         "wires": [\r
449             []\r
450         ]\r
451     },\r
452     {\r
453         "id": "44c284d2.4d6d3c",\r
454         "type": "set",\r
455         "name": "set pnf-name",\r
456         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",\r
457         "comments": "",\r
458         "x": 4353.566665649414,\r
459         "y": 231.56666564941406,\r
460         "z": "33354834.16c3b8",\r
461         "wires": []\r
462     },\r
463     {\r
464         "id": "55fb0c25.47026c",\r
465         "type": "get-resource",\r
466         "name": "get-resource src pnf",\r
467         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
468         "comments": "",\r
469         "outputs": 1,\r
470         "x": 4379.566665649414,\r
471         "y": 348.56666564941406,\r
472         "z": "33354834.16c3b8",\r
473         "wires": [\r
474             [\r
475                 "baf31efa.9d02c8",\r
476                 "74922f45.cf4ee",\r
477                 "c4e9d6bb.97a8b"\r
478             ]\r
479         ]\r
480     },\r
481     {\r
482         "id": "baf31efa.9d02c8",\r
483         "type": "success",\r
484         "name": "success",\r
485         "xml": "<outcome value='success'>\n",\r
486         "comments": "",\r
487         "outputs": 1,\r
488         "x": 4575.066787719727,\r
489         "y": 300.56666564941406,\r
490         "z": "33354834.16c3b8",\r
491         "wires": [\r
492             [\r
493                 "43bc0802.15854"\r
494             ]\r
495         ]\r
496     },\r
497     {\r
498         "id": "74922f45.cf4ee",\r
499         "type": "not-found",\r
500         "name": "not-found",\r
501         "xml": "<outcome value='not-found'>\n",\r
502         "comments": "",\r
503         "outputs": 1,\r
504         "x": 4567.066787719727,\r
505         "y": 355.56666564941406,\r
506         "z": "33354834.16c3b8",\r
507         "wires": [\r
508             [\r
509                 "6499c72f.95b628"\r
510             ]\r
511         ]\r
512     },\r
513     {\r
514         "id": "43bc0802.15854",\r
515         "type": "block",\r
516         "name": "block",\r
517         "xml": "<block>\n",\r
518         "atomic": "false",\r
519         "comments": "",\r
520         "outputs": 1,\r
521         "x": 4719.449111938477,\r
522         "y": 300.2223358154297,\r
523         "z": "33354834.16c3b8",\r
524         "wires": [\r
525             [\r
526                 "6fa2d3b0.fd7efc"\r
527             ]\r
528         ]\r
529     },\r
530     {\r
531         "id": "b0f8c595.8444c",\r
532         "type": "outcome",\r
533         "name": "esr-thirdparty-sdnc",\r
534         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
535         "comments": "",\r
536         "outputs": 1,\r
537         "x": 5301.566665649414,\r
538         "y": 302.56666564941406,\r
539         "z": "33354834.16c3b8",\r
540         "wires": [\r
541             [\r
542                 "4e73c346.ee277c"\r
543             ]\r
544         ]\r
545     },\r
546     {\r
547         "id": "6fa2d3b0.fd7efc",\r
548         "type": "for",\r
549         "name": "for each relationship",\r
550         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
551         "comments": "",\r
552         "outputs": 1,\r
553         "x": 4903.566665649414,\r
554         "y": 298.56666564941406,\r
555         "z": "33354834.16c3b8",\r
556         "wires": [\r
557             [\r
558                 "d9bb61c1.741d"\r
559             ]\r
560         ]\r
561     },\r
562     {\r
563         "id": "d9bb61c1.741d",\r
564         "type": "switchNode",\r
565         "name": "switch related-to",\r
566         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
567         "comments": "",\r
568         "outputs": 1,\r
569         "x": 5098.566665649414,\r
570         "y": 298.56666564941406,\r
571         "z": "33354834.16c3b8",\r
572         "wires": [\r
573             [\r
574                 "b0f8c595.8444c"\r
575             ]\r
576         ]\r
577     },\r
578     {\r
579         "id": "c4e9d6bb.97a8b",\r
580         "type": "other",\r
581         "name": "other",\r
582         "xml": "<outcome value='Other'>\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 4572.066787719727,\r
586         "y": 412.56666564941406,\r
587         "z": "33354834.16c3b8",\r
588         "wires": [\r
589             [\r
590                 "8bff9189.cce068"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "8bff9189.cce068",\r
596         "type": "returnFailure",\r
597         "name": "return failure",\r
598         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
599         "comments": "",\r
600         "x": 4724.066787719727,\r
601         "y": 413.56666564941406,\r
602         "z": "33354834.16c3b8",\r
603         "wires": []\r
604     },\r
605     {\r
606         "id": "6499c72f.95b628",\r
607         "type": "returnFailure",\r
608         "name": "return failure",\r
609         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
610         "comments": "",\r
611         "x": 4735.066787719727,\r
612         "y": 356.56666564941406,\r
613         "z": "33354834.16c3b8",\r
614         "wires": []\r
615     },\r
616     {\r
617         "id": "1c233ea3.b1f299",\r
618         "type": "execute",\r
619         "name": "get esr-thirdparty-sdnc",\r
620         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
621         "comments": "",\r
622         "outputs": 1,\r
623         "x": 5686.566665649414,\r
624         "y": 315.56666564941406,\r
625         "z": "33354834.16c3b8",\r
626         "wires": [\r
627             [\r
628                 "d61ed221.5ecdd",\r
629                 "d1b9cbed.664ff",\r
630                 "cd554430.08993"\r
631             ]\r
632         ]\r
633     },\r
634     {\r
635         "id": "4e73c346.ee277c",\r
636         "type": "block",\r
637         "name": "block : atomic",\r
638         "xml": "<block atomic=\"true\">",\r
639         "atomic": "true",\r
640         "outputs": 1,\r
641         "x": 5480.566665649414,\r
642         "y": 302.56666564941406,\r
643         "z": "33354834.16c3b8",\r
644         "wires": [\r
645             [\r
646                 "85104104.6dac4",\r
647                 "1c233ea3.b1f299"\r
648             ]\r
649         ]\r
650     },\r
651     {\r
652         "id": "85104104.6dac4",\r
653         "type": "set",\r
654         "name": "set esr-thirdparty-sdnc domainA id",\r
655         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
656         "comments": "",\r
657         "x": 5716.566665649414,\r
658         "y": 263.56666564941406,\r
659         "z": "33354834.16c3b8",\r
660         "wires": []\r
661     },\r
662     {\r
663         "id": "d61ed221.5ecdd",\r
664         "type": "success",\r
665         "name": "success",\r
666         "xml": "<outcome value='success'>\n",\r
667         "comments": "",\r
668         "outputs": 1,\r
669         "x": 5896.566665649414,\r
670         "y": 306.56666564941406,\r
671         "z": "33354834.16c3b8",\r
672         "wires": [\r
673             [\r
674                 "ecba12bc.ca79d"\r
675             ]\r
676         ]\r
677     },\r
678     {\r
679         "id": "d1b9cbed.664ff",\r
680         "type": "not-found",\r
681         "name": "not-found",\r
682         "xml": "<outcome value='not-found'>\n",\r
683         "comments": "",\r
684         "outputs": 1,\r
685         "x": 5888.566665649414,\r
686         "y": 361.56666564941406,\r
687         "z": "33354834.16c3b8",\r
688         "wires": [\r
689             [\r
690                 "1044edab.10a4d2"\r
691             ]\r
692         ]\r
693     },\r
694     {\r
695         "id": "cd554430.08993",\r
696         "type": "other",\r
697         "name": "other",\r
698         "xml": "<outcome value='Other'>\n",\r
699         "comments": "",\r
700         "outputs": 1,\r
701         "x": 5893.566665649414,\r
702         "y": 418.56666564941406,\r
703         "z": "33354834.16c3b8",\r
704         "wires": [\r
705             [\r
706                 "f2bc07a2.346708"\r
707             ]\r
708         ]\r
709     },\r
710     {\r
711         "id": "f2bc07a2.346708",\r
712         "type": "returnFailure",\r
713         "name": "return failure",\r
714         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
715         "comments": "",\r
716         "x": 6045.566665649414,\r
717         "y": 419.56666564941406,\r
718         "z": "33354834.16c3b8",\r
719         "wires": []\r
720     },\r
721     {\r
722         "id": "1044edab.10a4d2",\r
723         "type": "returnFailure",\r
724         "name": "return failure",\r
725         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
726         "comments": "",\r
727         "x": 6056.566665649414,\r
728         "y": 364.56666564941406,\r
729         "z": "33354834.16c3b8",\r
730         "wires": []\r
731     },\r
732     {\r
733         "id": "ecba12bc.ca79d",\r
734         "type": "block",\r
735         "name": "block",\r
736         "xml": "<block>\n",\r
737         "atomic": "false",\r
738         "comments": "",\r
739         "outputs": 1,\r
740         "x": 6040.948989868164,\r
741         "y": 304.2223358154297,\r
742         "z": "33354834.16c3b8",\r
743         "wires": [\r
744             [\r
745                 "eef0bb47.7a3f88"\r
746             ]\r
747         ]\r
748     },\r
749     {\r
750         "id": "eef0bb47.7a3f88",\r
751         "type": "set",\r
752         "name": "set controller domainA data",\r
753         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
754         "comments": "",\r
755         "x": 6255.566665649414,\r
756         "y": 300.56666564941406,\r
757         "z": "33354834.16c3b8",\r
758         "wires": []\r
759     },\r
760     {\r
761         "id": "a74dc401.a8636",\r
762         "type": "execute",\r
763         "name": "execute properties",\r
764         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
765         "comments": "",\r
766         "outputs": 1,\r
767         "x": 722.5666656494141,\r
768         "y": 480.56666564941406,\r
769         "z": "33354834.16c3b8",\r
770         "wires": [\r
771             []\r
772         ]\r
773     },\r
774     {\r
775         "id": "d36679f1.a0d8a",\r
776         "type": "set",\r
777         "name": "set attachment_param for OTN B",\r
778         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingB.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingB.dst-access-node-id`' />\n<!--<parameter name='src-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingB.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingB.src-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-dst-domain' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingB.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingB.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingB.access-topology-id`' />\n",\r
779         "comments": "",\r
780         "x": 3822.566665649414,\r
781         "y": 1640.566665649414,\r
782         "z": "33354834.16c3b8",\r
783         "wires": []\r
784     },\r
785     {\r
786         "id": "2c2876b1.2b5332",\r
787         "type": "execute",\r
788         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
789         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te/tunnels'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />-->",\r
790         "comments": "",\r
791         "outputs": 1,\r
792         "x": 3885.566665649414,\r
793         "y": 1969.566665649414,\r
794         "z": "33354834.16c3b8",\r
795         "wires": [\r
796             [\r
797                 "5f444ade.96d9a4",\r
798                 "9af37a8f.f23f18"\r
799             ]\r
800         ]\r
801     },\r
802     {\r
803         "id": "5f444ade.96d9a4",\r
804         "type": "failure",\r
805         "name": "failure",\r
806         "xml": "<outcome value='failure'>\n",\r
807         "comments": "",\r
808         "outputs": 1,\r
809         "x": 4181.066665649414,\r
810         "y": 1936.566665649414,\r
811         "z": "33354834.16c3b8",\r
812         "wires": [\r
813             [\r
814                 "a98d5509.6c7c78"\r
815             ]\r
816         ]\r
817     },\r
818     {\r
819         "id": "9af37a8f.f23f18",\r
820         "type": "success",\r
821         "name": "success",\r
822         "xml": "<outcome value='success'>\n",\r
823         "comments": "",\r
824         "outputs": 1,\r
825         "x": 4186.066665649414,\r
826         "y": 2001.566665649414,\r
827         "z": "33354834.16c3b8",\r
828         "wires": [\r
829             [\r
830                 "55dfdfe9.281428"\r
831             ]\r
832         ]\r
833     },\r
834     {\r
835         "id": "a98d5509.6c7c78",\r
836         "type": "returnFailure",\r
837         "name": "return failure",\r
838         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
839         "comments": "",\r
840         "x": 4349.066665649414,\r
841         "y": 1936.566665649414,\r
842         "z": "33354834.16c3b8",\r
843         "wires": []\r
844     },\r
845     {\r
846         "id": "55dfdfe9.281428",\r
847         "type": "block",\r
848         "name": "block : atomic",\r
849         "xml": "<block atomic=\"true\">",\r
850         "atomic": "true",\r
851         "comments": "",\r
852         "outputs": 1,\r
853         "x": 4359.566665649414,\r
854         "y": 2001.566665649414,\r
855         "z": "33354834.16c3b8",\r
856         "wires": [\r
857             []\r
858         ]\r
859     },\r
860     {\r
861         "id": "36fc5af8.9e293e",\r
862         "type": "set",\r
863         "name": "set pnf-name",\r
864         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingB.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingB.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingB.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingB.dst-access-node-id`\" />\n",\r
865         "comments": "",\r
866         "x": 3761.566665649414,\r
867         "y": 1697.566665649414,\r
868         "z": "33354834.16c3b8",\r
869         "wires": []\r
870     },\r
871     {\r
872         "id": "dce692d6.26705",\r
873         "type": "get-resource",\r
874         "name": "get-resource dst pnf",\r
875         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
876         "comments": "",\r
877         "outputs": 1,\r
878         "x": 3781.566665649414,\r
879         "y": 1794.566665649414,\r
880         "z": "33354834.16c3b8",\r
881         "wires": [\r
882             [\r
883                 "20c07b90.5b79e4",\r
884                 "d792ecbe.f58c98",\r
885                 "c2d6e25d.4e48e"\r
886             ]\r
887         ]\r
888     },\r
889     {\r
890         "id": "20c07b90.5b79e4",\r
891         "type": "success",\r
892         "name": "success",\r
893         "xml": "<outcome value='success'>\n",\r
894         "comments": "",\r
895         "outputs": 1,\r
896         "x": 3984.0667877197266,\r
897         "y": 1747.566665649414,\r
898         "z": "33354834.16c3b8",\r
899         "wires": [\r
900             [\r
901                 "89d1ed.e4ef561"\r
902             ]\r
903         ]\r
904     },\r
905     {\r
906         "id": "d792ecbe.f58c98",\r
907         "type": "not-found",\r
908         "name": "not-found",\r
909         "xml": "<outcome value='not-found'>\n",\r
910         "comments": "",\r
911         "outputs": 1,\r
912         "x": 3976.0667877197266,\r
913         "y": 1802.566665649414,\r
914         "z": "33354834.16c3b8",\r
915         "wires": [\r
916             [\r
917                 "b9bab20f.a76c4"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "89d1ed.e4ef561",\r
923         "type": "block",\r
924         "name": "block",\r
925         "xml": "<block>\n",\r
926         "atomic": "false",\r
927         "comments": "",\r
928         "outputs": 1,\r
929         "x": 4128.449111938477,\r
930         "y": 1745.2223358154297,\r
931         "z": "33354834.16c3b8",\r
932         "wires": [\r
933             [\r
934                 "c9698e5e.6f47e8"\r
935             ]\r
936         ]\r
937     },\r
938     {\r
939         "id": "c9698e5e.6f47e8",\r
940         "type": "for",\r
941         "name": "for each relationship",\r
942         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
943         "comments": "",\r
944         "outputs": 1,\r
945         "x": 4312.566665649414,\r
946         "y": 1759.566665649414,\r
947         "z": "33354834.16c3b8",\r
948         "wires": [\r
949             [\r
950                 "ba34540d.aed56"\r
951             ]\r
952         ]\r
953     },\r
954     {\r
955         "id": "c2d6e25d.4e48e",\r
956         "type": "other",\r
957         "name": "other",\r
958         "xml": "<outcome value='Other'>\n",\r
959         "comments": "",\r
960         "outputs": 1,\r
961         "x": 3981.0667877197266,\r
962         "y": 1859.566665649414,\r
963         "z": "33354834.16c3b8",\r
964         "wires": [\r
965             [\r
966                 "4767f1dc.5f98f"\r
967             ]\r
968         ]\r
969     },\r
970     {\r
971         "id": "4767f1dc.5f98f",\r
972         "type": "returnFailure",\r
973         "name": "return failure",\r
974         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
975         "comments": "",\r
976         "x": 4133.066787719727,\r
977         "y": 1860.566665649414,\r
978         "z": "33354834.16c3b8",\r
979         "wires": []\r
980     },\r
981     {\r
982         "id": "b9bab20f.a76c4",\r
983         "type": "returnFailure",\r
984         "name": "return failure",\r
985         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
986         "comments": "",\r
987         "x": 4144.066787719727,\r
988         "y": 1805.566665649414,\r
989         "z": "33354834.16c3b8",\r
990         "wires": []\r
991     },\r
992     {\r
993         "id": "7f94f6a1.089328",\r
994         "type": "outcome",\r
995         "name": "esr-thirdparty-sdnc",\r
996         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
997         "comments": "",\r
998         "outputs": 1,\r
999         "x": 4710.566665649414,\r
1000         "y": 1763.566665649414,\r
1001         "z": "33354834.16c3b8",\r
1002         "wires": [\r
1003             [\r
1004                 "c702a308.63c03"\r
1005             ]\r
1006         ]\r
1007     },\r
1008     {\r
1009         "id": "ba34540d.aed56",\r
1010         "type": "switchNode",\r
1011         "name": "switch related-to",\r
1012         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
1013         "comments": "",\r
1014         "outputs": 1,\r
1015         "x": 4507.566665649414,\r
1016         "y": 1759.566665649414,\r
1017         "z": "33354834.16c3b8",\r
1018         "wires": [\r
1019             [\r
1020                 "7f94f6a1.089328"\r
1021             ]\r
1022         ]\r
1023     },\r
1024     {\r
1025         "id": "6943fd0d.83e3ac",\r
1026         "type": "execute",\r
1027         "name": "get esr-thirdparty-sdnc",\r
1028         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
1029         "comments": "",\r
1030         "outputs": 1,\r
1031         "x": 5095.566665649414,\r
1032         "y": 1762.566665649414,\r
1033         "z": "33354834.16c3b8",\r
1034         "wires": [\r
1035             [\r
1036                 "708333aa.3b759c",\r
1037                 "4e0cc838.81e228",\r
1038                 "29a9be9f.036812"\r
1039             ]\r
1040         ]\r
1041     },\r
1042     {\r
1043         "id": "c702a308.63c03",\r
1044         "type": "block",\r
1045         "name": "block : atomic",\r
1046         "xml": "<block atomic=\"true\">",\r
1047         "atomic": "true",\r
1048         "outputs": 1,\r
1049         "x": 4887.566665649414,\r
1050         "y": 1755.566665649414,\r
1051         "z": "33354834.16c3b8",\r
1052         "wires": [\r
1053             [\r
1054                 "c3389354.588f68",\r
1055                 "6943fd0d.83e3ac"\r
1056             ]\r
1057         ]\r
1058     },\r
1059     {\r
1060         "id": "c3389354.588f68",\r
1061         "type": "set",\r
1062         "name": "set esr-thirdparty-sdnc domainB id",\r
1063         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
1064         "comments": "",\r
1065         "x": 5125.566665649414,\r
1066         "y": 1710.566665649414,\r
1067         "z": "33354834.16c3b8",\r
1068         "wires": []\r
1069     },\r
1070     {\r
1071         "id": "6e37f843.94e3c",\r
1072         "type": "returnFailure",\r
1073         "name": "return failure",\r
1074         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1075         "comments": "",\r
1076         "x": 5454.566665649414,\r
1077         "y": 1866.566665649414,\r
1078         "z": "33354834.16c3b8",\r
1079         "wires": []\r
1080     },\r
1081     {\r
1082         "id": "dd8e2b89.1af3f8",\r
1083         "type": "returnFailure",\r
1084         "name": "return failure",\r
1085         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1086         "comments": "",\r
1087         "x": 5465.566665649414,\r
1088         "y": 1811.566665649414,\r
1089         "z": "33354834.16c3b8",\r
1090         "wires": []\r
1091     },\r
1092     {\r
1093         "id": "ab654ac.84c6838",\r
1094         "type": "block",\r
1095         "name": "block",\r
1096         "xml": "<block>\n",\r
1097         "atomic": "false",\r
1098         "comments": "",\r
1099         "outputs": 1,\r
1100         "x": 5449.948989868164,\r
1101         "y": 1751.2223358154297,\r
1102         "z": "33354834.16c3b8",\r
1103         "wires": [\r
1104             [\r
1105                 "f1731e20.0070f8"\r
1106             ]\r
1107         ]\r
1108     },\r
1109     {\r
1110         "id": "f1731e20.0070f8",\r
1111         "type": "set",\r
1112         "name": "set controller domainB data",\r
1113         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
1114         "comments": "",\r
1115         "x": 5664.566665649414,\r
1116         "y": 1747.566665649414,\r
1117         "z": "33354834.16c3b8",\r
1118         "wires": []\r
1119     },\r
1120     {\r
1121         "id": "708333aa.3b759c",\r
1122         "type": "success",\r
1123         "name": "success",\r
1124         "xml": "<outcome value='success'>\n",\r
1125         "comments": "",\r
1126         "outputs": 1,\r
1127         "x": 5305.566665649414,\r
1128         "y": 1753.566665649414,\r
1129         "z": "33354834.16c3b8",\r
1130         "wires": [\r
1131             [\r
1132                 "ab654ac.84c6838"\r
1133             ]\r
1134         ]\r
1135     },\r
1136     {\r
1137         "id": "4e0cc838.81e228",\r
1138         "type": "not-found",\r
1139         "name": "not-found",\r
1140         "xml": "<outcome value='not-found'>\n",\r
1141         "comments": "",\r
1142         "outputs": 1,\r
1143         "x": 5297.566665649414,\r
1144         "y": 1808.566665649414,\r
1145         "z": "33354834.16c3b8",\r
1146         "wires": [\r
1147             [\r
1148                 "dd8e2b89.1af3f8"\r
1149             ]\r
1150         ]\r
1151     },\r
1152     {\r
1153         "id": "29a9be9f.036812",\r
1154         "type": "other",\r
1155         "name": "other",\r
1156         "xml": "<outcome value='Other'>\n",\r
1157         "comments": "",\r
1158         "outputs": 1,\r
1159         "x": 5302.566665649414,\r
1160         "y": 1865.566665649414,\r
1161         "z": "33354834.16c3b8",\r
1162         "wires": [\r
1163             [\r
1164                 "6e37f843.94e3c"\r
1165             ]\r
1166         ]\r
1167     },\r
1168     {\r
1169         "id": "a62a2704.25f8d8",\r
1170         "type": "save",\r
1171         "name": "get connectivity from aai",\r
1172         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
1173         "comments": "",\r
1174         "outputs": 1,\r
1175         "x": 1755.5667114257812,\r
1176         "y": 385.56663513183594,\r
1177         "z": "33354834.16c3b8",\r
1178         "wires": [\r
1179             [\r
1180                 "89759382.78fc28",\r
1181                 "6073b91a.46b8d8",\r
1182                 "1561e008.8fdf5"\r
1183             ]\r
1184         ]\r
1185     },\r
1186     {\r
1187         "id": "89759382.78fc28",\r
1188         "type": "success",\r
1189         "name": "success",\r
1190         "xml": "<outcome value='success'>\n",\r
1191         "comments": "",\r
1192         "outputs": 1,\r
1193         "x": 1963.5667114257812,\r
1194         "y": 349.56663513183594,\r
1195         "z": "33354834.16c3b8",\r
1196         "wires": [\r
1197             [\r
1198                 "37909c7a.4f488c"\r
1199             ]\r
1200         ]\r
1201     },\r
1202     {\r
1203         "id": "6073b91a.46b8d8",\r
1204         "type": "not-found",\r
1205         "name": "not-found",\r
1206         "xml": "<outcome value='not-found'>\n",\r
1207         "comments": "",\r
1208         "outputs": 1,\r
1209         "x": 1964.0576782226562,\r
1210         "y": 395.1406707763672,\r
1211         "z": "33354834.16c3b8",\r
1212         "wires": [\r
1213             [\r
1214                 "593c848.7fab97c"\r
1215             ]\r
1216         ]\r
1217     },\r
1218     {\r
1219         "id": "1561e008.8fdf5",\r
1220         "type": "failure",\r
1221         "name": "failure",\r
1222         "xml": "<outcome value='failure'>\n",\r
1223         "comments": "",\r
1224         "outputs": 1,\r
1225         "x": 1961.5667114257812,\r
1226         "y": 438.56663513183594,\r
1227         "z": "33354834.16c3b8",\r
1228         "wires": [\r
1229             [\r
1230                 "f8a1a536.821978"\r
1231             ]\r
1232         ]\r
1233     },\r
1234     {\r
1235         "id": "593c848.7fab97c",\r
1236         "type": "returnFailure",\r
1237         "name": "return failure",\r
1238         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1239         "comments": "",\r
1240         "x": 2131.6289672851562,\r
1241         "y": 395.4264373779297,\r
1242         "z": "33354834.16c3b8",\r
1243         "wires": []\r
1244     },\r
1245     {\r
1246         "id": "f8a1a536.821978",\r
1247         "type": "returnFailure",\r
1248         "name": "return failure",\r
1249         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1250         "comments": "",\r
1251         "x": 2135.5665893554688,\r
1252         "y": 439.56666564941406,\r
1253         "z": "33354834.16c3b8",\r
1254         "wires": []\r
1255     },\r
1256     {\r
1257         "id": "d62cc4aa.0dacf8",\r
1258         "type": "save",\r
1259         "name": "get vpn-binding from aai",\r
1260         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
1261         "comments": "",\r
1262         "outputs": 1,\r
1263         "x": 2515.566665649414,\r
1264         "y": 522.5666656494141,\r
1265         "z": "33354834.16c3b8",\r
1266         "wires": [\r
1267             [\r
1268                 "4f7704ef.c67464",\r
1269                 "75e7413d.db94a8",\r
1270                 "9b74dfdc.0fcfa8"\r
1271             ]\r
1272         ]\r
1273     },\r
1274     {\r
1275         "id": "7ec784b8.19253c",\r
1276         "type": "block",\r
1277         "name": "block : atomic",\r
1278         "xml": "<block atomic=\"true\">",\r
1279         "atomic": "true",\r
1280         "outputs": 1,\r
1281         "x": 2895.566665649414,\r
1282         "y": 610.5666656494141,\r
1283         "z": "33354834.16c3b8",\r
1284         "wires": [\r
1285             [\r
1286                 "707dc165.f11cc"\r
1287             ]\r
1288         ]\r
1289     },\r
1290     {\r
1291         "id": "4f7704ef.c67464",\r
1292         "type": "success",\r
1293         "name": "success",\r
1294         "xml": "<outcome value='success'>\n",\r
1295         "comments": "",\r
1296         "outputs": 1,\r
1297         "x": 2726.566665649414,\r
1298         "y": 611.5666656494141,\r
1299         "z": "33354834.16c3b8",\r
1300         "wires": [\r
1301             [\r
1302                 "7ec784b8.19253c"\r
1303             ]\r
1304         ]\r
1305     },\r
1306     {\r
1307         "id": "75e7413d.db94a8",\r
1308         "type": "not-found",\r
1309         "name": "not-found",\r
1310         "xml": "<outcome value='not-found'>\n",\r
1311         "comments": "",\r
1312         "outputs": 1,\r
1313         "x": 2729.057632446289,\r
1314         "y": 507.1407012939453,\r
1315         "z": "33354834.16c3b8",\r
1316         "wires": [\r
1317             [\r
1318                 "ef36654.465dc18"\r
1319             ]\r
1320         ]\r
1321     },\r
1322     {\r
1323         "id": "9b74dfdc.0fcfa8",\r
1324         "type": "failure",\r
1325         "name": "failure",\r
1326         "xml": "<outcome value='failure'>\n",\r
1327         "comments": "",\r
1328         "outputs": 1,\r
1329         "x": 2724.566665649414,\r
1330         "y": 551.5666656494141,\r
1331         "z": "33354834.16c3b8",\r
1332         "wires": [\r
1333             [\r
1334                 "c5d97f0c.6d92a8"\r
1335             ]\r
1336         ]\r
1337     },\r
1338     {\r
1339         "id": "c5d97f0c.6d92a8",\r
1340         "type": "returnFailure",\r
1341         "name": "return failure",\r
1342         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1343         "comments": "",\r
1344         "x": 2892.566665649414,\r
1345         "y": 551.5666656494141,\r
1346         "z": "33354834.16c3b8",\r
1347         "wires": []\r
1348     },\r
1349     {\r
1350         "id": "ef36654.465dc18",\r
1351         "type": "returnFailure",\r
1352         "name": "return failure",\r
1353         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1354         "comments": "",\r
1355         "x": 2891.629165649414,\r
1356         "y": 506.42640686035156,\r
1357         "z": "33354834.16c3b8",\r
1358         "wires": []\r
1359     },\r
1360     {\r
1361         "id": "c1f994fa.7ebb78",\r
1362         "type": "for",\r
1363         "name": "for each relationship",\r
1364         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
1365         "comments": "",\r
1366         "outputs": 1,\r
1367         "x": 2381.5664672851562,\r
1368         "y": 352.56663513183594,\r
1369         "z": "33354834.16c3b8",\r
1370         "wires": [\r
1371             [\r
1372                 "f95d2666.111718"\r
1373             ]\r
1374         ]\r
1375     },\r
1376     {\r
1377         "id": "f95d2666.111718",\r
1378         "type": "switchNode",\r
1379         "name": "switch related-to",\r
1380         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
1381         "comments": "",\r
1382         "outputs": 1,\r
1383         "x": 2448.566665649414,\r
1384         "y": 428.56666564941406,\r
1385         "z": "33354834.16c3b8",\r
1386         "wires": [\r
1387             [\r
1388                 "b1b638b8.90f52"\r
1389             ]\r
1390         ]\r
1391     },\r
1392     {\r
1393         "id": "b1b638b8.90f52",\r
1394         "type": "outcome",\r
1395         "name": "vpn-binding",\r
1396         "xml": "<outcome value='vpn-binding'>\n",\r
1397         "comments": "",\r
1398         "outputs": 1,\r
1399         "x": 2614.566665649414,\r
1400         "y": 428.56666564941406,\r
1401         "z": "33354834.16c3b8",\r
1402         "wires": [\r
1403             [\r
1404                 "9380412.542cac"\r
1405             ]\r
1406         ]\r
1407     },\r
1408     {\r
1409         "id": "9380412.542cac",\r
1410         "type": "block",\r
1411         "name": "block : atomic",\r
1412         "xml": "<block atomic=\"true\">",\r
1413         "atomic": "true",\r
1414         "outputs": 1,\r
1415         "x": 2777.566665649414,\r
1416         "y": 428.56666564941406,\r
1417         "z": "33354834.16c3b8",\r
1418         "wires": [\r
1419             [\r
1420                 "d62cc4aa.0dacf8",\r
1421                 "f73cf3dc.062078"\r
1422             ]\r
1423         ]\r
1424     },\r
1425     {\r
1426         "id": "f2b45fb6.a0f76",\r
1427         "type": "switchNode",\r
1428         "name": "switch vpn-binding has dst-access-ltp",\r
1429         "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",\r
1430         "comments": "",\r
1431         "outputs": 1,\r
1432         "x": 3336.566665649414,\r
1433         "y": 711.5666656494141,\r
1434         "z": "33354834.16c3b8",\r
1435         "wires": [\r
1436             [\r
1437                 "f1a8e611.58e15",\r
1438                 "e15b01ae.08b0a8"\r
1439             ]\r
1440         ]\r
1441     },\r
1442     {\r
1443         "id": "f1a8e611.58e15",\r
1444         "type": "outcome",\r
1445         "name": "Null",\r
1446         "xml": "<outcome value=''>\n",\r
1447         "comments": "",\r
1448         "outputs": 1,\r
1449         "x": 3550.566665649414,\r
1450         "y": 748.5666656494141,\r
1451         "z": "33354834.16c3b8",\r
1452         "wires": [\r
1453             [\r
1454                 "27573b1a.b0f27c"\r
1455             ]\r
1456         ]\r
1457     },\r
1458     {\r
1459         "id": "e15b01ae.08b0a8",\r
1460         "type": "other",\r
1461         "name": "other",\r
1462         "xml": "<outcome value='Other'>\n",\r
1463         "comments": "",\r
1464         "outputs": 1,\r
1465         "x": 3552.566665649414,\r
1466         "y": 686.5666656494141,\r
1467         "z": "33354834.16c3b8",\r
1468         "wires": [\r
1469             [\r
1470                 "edfafa5d.45c53"\r
1471             ]\r
1472         ]\r
1473     },\r
1474     {\r
1475         "id": "27573b1a.b0f27c",\r
1476         "type": "switchNode",\r
1477         "name": "switch vpn-binding has src-access-ltp",\r
1478         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
1479         "comments": "",\r
1480         "outputs": 1,\r
1481         "x": 3130.566665649414,\r
1482         "y": 1991.566665649414,\r
1483         "z": "33354834.16c3b8",\r
1484         "wires": [\r
1485             [\r
1486                 "a50f8795.52de28",\r
1487                 "eaade4fd.98f0c8"\r
1488             ]\r
1489         ]\r
1490     },\r
1491     {\r
1492         "id": "a50f8795.52de28",\r
1493         "type": "outcome",\r
1494         "name": "Null",\r
1495         "xml": "<outcome value=''>\n",\r
1496         "comments": "",\r
1497         "outputs": 1,\r
1498         "x": 3383.566665649414,\r
1499         "y": 2025.566665649414,\r
1500         "z": "33354834.16c3b8",\r
1501         "wires": [\r
1502             [\r
1503                 "983a1464.1933a8"\r
1504             ]\r
1505         ]\r
1506     },\r
1507     {\r
1508         "id": "eaade4fd.98f0c8",\r
1509         "type": "other",\r
1510         "name": "other",\r
1511         "xml": "<outcome value='Other'>\n",\r
1512         "comments": "",\r
1513         "outputs": 1,\r
1514         "x": 3383.566665649414,\r
1515         "y": 1969.566665649414,\r
1516         "z": "33354834.16c3b8",\r
1517         "wires": [\r
1518             [\r
1519                 "759c5346.c1b5fc"\r
1520             ]\r
1521         ]\r
1522     },\r
1523     {\r
1524         "id": "983a1464.1933a8",\r
1525         "type": "returnFailure",\r
1526         "name": "return failure",\r
1527         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1528         "comments": "",\r
1529         "x": 3534.566665649414,\r
1530         "y": 2025.566665649414,\r
1531         "z": "33354834.16c3b8",\r
1532         "wires": []\r
1533     },\r
1534     {\r
1535         "id": "2dd94684.236aba",\r
1536         "type": "set",\r
1537         "name": "set vpn-bindingA and connectivityA",\r
1538         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
1539         "comments": "",\r
1540         "x": 4410.566665649414,\r
1541         "y": 123.56666564941406,\r
1542         "z": "33354834.16c3b8",\r
1543         "wires": []\r
1544     },\r
1545     {\r
1546         "id": "c4286ac1.cbc618",\r
1547         "type": "set",\r
1548         "name": "set vpn-bindingB and connectivityB",\r
1549         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingB.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityB.' value=\"`$tmp.aai.connectivity.`\" />\n\n",\r
1550         "comments": "",\r
1551         "x": 3818.566665649414,\r
1552         "y": 1582.566665649414,\r
1553         "z": "33354834.16c3b8",\r
1554         "wires": []\r
1555     },\r
1556     {\r
1557         "id": "db75345a.2aef48",\r
1558         "type": "block",\r
1559         "name": "block : atomic",\r
1560         "xml": "<block atomic=\"true\">",\r
1561         "atomic": "true",\r
1562         "comments": "",\r
1563         "outputs": 1,\r
1564         "x": 4101.566665649414,\r
1565         "y": 380.56666564941406,\r
1566         "z": "33354834.16c3b8",\r
1567         "wires": [\r
1568             [\r
1569                 "2dd94684.236aba",\r
1570                 "44bcd2e8.a3bb64",\r
1571                 "44c284d2.4d6d3c",\r
1572                 "55fb0c25.47026c",\r
1573                 "af922307.c203c8",\r
1574                 "4cfae106.244c4",\r
1575                 "235bcd4f.ba7e9a"\r
1576             ]\r
1577         ]\r
1578     },\r
1579     {\r
1580         "id": "759c5346.c1b5fc",\r
1581         "type": "block",\r
1582         "name": "block : atomic",\r
1583         "xml": "<block atomic=\"true\">",\r
1584         "atomic": "true",\r
1585         "outputs": 1,\r
1586         "x": 3534.566665649414,\r
1587         "y": 1968.566665649414,\r
1588         "z": "33354834.16c3b8",\r
1589         "wires": [\r
1590             [\r
1591                 "c4286ac1.cbc618",\r
1592                 "d36679f1.a0d8a",\r
1593                 "36fc5af8.9e293e",\r
1594                 "dce692d6.26705",\r
1595                 "2c2876b1.2b5332",\r
1596                 "48b1af9a.8cccf",\r
1597                 "80ae8816.7a8d9"\r
1598             ]\r
1599         ]\r
1600     },\r
1601     {\r
1602         "id": "48b1af9a.8cccf",\r
1603         "type": "set",\r
1604         "name": "set sotn_value",\r
1605         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityB.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityB.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityB.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityB.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityB.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityB.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingB.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityB.cvlan`' />\n\n",\r
1606         "comments": "",\r
1607         "x": 3763.566665649414,\r
1608         "y": 2111.566665649414,\r
1609         "z": "33354834.16c3b8",\r
1610         "wires": []\r
1611     },\r
1612     {\r
1613         "id": "80ae8816.7a8d9",\r
1614         "type": "execute",\r
1615         "name": "execute RestApiCallNode Create ethernet Service without token",\r
1616         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />-->\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileNameForEthSrv`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
1617         "comments": "",\r
1618         "outputs": 1,\r
1619         "x": 3917.566665649414,\r
1620         "y": 2159.566665649414,\r
1621         "z": "33354834.16c3b8",\r
1622         "wires": [\r
1623             [\r
1624                 "6a81983c.fef378",\r
1625                 "d2e0dc51.a1f3a8"\r
1626             ]\r
1627         ]\r
1628     },\r
1629     {\r
1630         "id": "6a81983c.fef378",\r
1631         "type": "failure",\r
1632         "name": "failure",\r
1633         "xml": "<outcome value='failure'>\n",\r
1634         "comments": "",\r
1635         "outputs": 1,\r
1636         "x": 4263.066665649414,\r
1637         "y": 2140.566665649414,\r
1638         "z": "33354834.16c3b8",\r
1639         "wires": [\r
1640             [\r
1641                 "928d39b9.50d03"\r
1642             ]\r
1643         ]\r
1644     },\r
1645     {\r
1646         "id": "d2e0dc51.a1f3a8",\r
1647         "type": "success",\r
1648         "name": "success",\r
1649         "xml": "<outcome value='success'>\n",\r
1650         "comments": "",\r
1651         "outputs": 1,\r
1652         "x": 4267.066665649414,\r
1653         "y": 2180.566665649414,\r
1654         "z": "33354834.16c3b8",\r
1655         "wires": [\r
1656             [\r
1657                 "74f00f6c.50f0b"\r
1658             ]\r
1659         ]\r
1660     },\r
1661     {\r
1662         "id": "928d39b9.50d03",\r
1663         "type": "returnFailure",\r
1664         "name": "return failure",\r
1665         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
1666         "comments": "",\r
1667         "x": 4421.066665649414,\r
1668         "y": 2140.566665649414,\r
1669         "z": "33354834.16c3b8",\r
1670         "wires": []\r
1671     },\r
1672     {\r
1673         "id": "74f00f6c.50f0b",\r
1674         "type": "block",\r
1675         "name": "block : atomic",\r
1676         "xml": "<block atomic=\"true\">",\r
1677         "atomic": "true",\r
1678         "comments": "",\r
1679         "outputs": 1,\r
1680         "x": 4424.566665649414,\r
1681         "y": 2180.566665649414,\r
1682         "z": "33354834.16c3b8",\r
1683         "wires": [\r
1684             [\r
1685                 "ec0fb3de.e13b68",\r
1686                 "830b8de9.a8f3c",\r
1687                 "fcd6e091.3a931"\r
1688             ]\r
1689         ]\r
1690     },\r
1691     {\r
1692         "id": "60004e7.5d0113",\r
1693         "type": "comment",\r
1694         "name": "TODO: FIXME:",\r
1695         "info": "put proper values based on connectivity resource retrieved from AAI",\r
1696         "comments": "",\r
1697         "x": 3761.066665649414,\r
1698         "y": 2067.566665649414,\r
1699         "z": "33354834.16c3b8",\r
1700         "wires": []\r
1701     },\r
1702     {\r
1703         "id": "ec0fb3de.e13b68",\r
1704         "type": "save",\r
1705         "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
1706         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingB.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingB.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingB.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
1707         "comments": "",\r
1708         "outputs": 1,\r
1709         "x": 4764.566665649414,\r
1710         "y": 2179.566665649414,\r
1711         "z": "33354834.16c3b8",\r
1712         "wires": [\r
1713             []\r
1714         ]\r
1715     },\r
1716     {\r
1717         "id": "33af8787.6d436",\r
1718         "type": "comment",\r
1719         "name": "TODO: FIXME",\r
1720         "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
1721         "comments": "",\r
1722         "x": 4622.566665649414,\r
1723         "y": 2137.566665649414,\r
1724         "z": "33354834.16c3b8",\r
1725         "wires": []\r
1726     },\r
1727     {\r
1728         "id": "830b8de9.a8f3c",\r
1729         "type": "save",\r
1730         "name": "update connectivity resource in AAI",\r
1731         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityB.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityB.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
1732         "comments": "",\r
1733         "outputs": 1,\r
1734         "x": 4693.566665649414,\r
1735         "y": 2228.566665649414,\r
1736         "z": "33354834.16c3b8",\r
1737         "wires": [\r
1738             []\r
1739         ]\r
1740     },\r
1741     {\r
1742         "id": "8f77bab8.b50688",\r
1743         "type": "set",\r
1744         "name": "set attachment_param (gfp-n) for OTN",\r
1745         "xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",\r
1746         "comments": "",\r
1747         "x": 3327.566665649414,\r
1748         "y": 651.5666656494141,\r
1749         "z": "33354834.16c3b8",\r
1750         "wires": []\r
1751     },\r
1752     {\r
1753         "id": "f73cf3dc.062078",\r
1754         "type": "set",\r
1755         "name": "unset tmp.aai.vpn-binding",\r
1756         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
1757         "comments": "",\r
1758         "x": 2998.5664672851562,\r
1759         "y": 355.56666564941406,\r
1760         "z": "33354834.16c3b8",\r
1761         "wires": []\r
1762     },\r
1763     {\r
1764         "id": "aa7aa07.5d3eb6",\r
1765         "type": "comment",\r
1766         "name": "only dst ttp exists. No src",\r
1767         "info": "",\r
1768         "comments": "",\r
1769         "x": 3922.566665649414,\r
1770         "y": 337.56666564941406,\r
1771         "z": "33354834.16c3b8",\r
1772         "wires": []\r
1773     },\r
1774     {\r
1775         "id": "fd11b1d2.3cd248",\r
1776         "type": "comment",\r
1777         "name": "only src ttp exists. No dst",\r
1778         "info": "",\r
1779         "comments": "",\r
1780         "x": 3479.566665649414,\r
1781         "y": 1915.566665649414,\r
1782         "z": "33354834.16c3b8",\r
1783         "wires": []\r
1784     },\r
1785     {\r
1786         "id": "edfafa5d.45c53",\r
1787         "type": "switchNode",\r
1788         "name": "switch vpn-binding has src-access-ltp",\r
1789         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
1790         "comments": "",\r
1791         "outputs": 1,\r
1792         "x": 3658.566665649414,\r
1793         "y": 499.56666564941406,\r
1794         "z": "33354834.16c3b8",\r
1795         "wires": [\r
1796             [\r
1797                 "c218e346.9ea4d",\r
1798                 "e33565a1.63d6b"\r
1799             ]\r
1800         ]\r
1801     },\r
1802     {\r
1803         "id": "e33565a1.63d6b",\r
1804         "type": "other",\r
1805         "name": "other",\r
1806         "xml": "<outcome value='Other'>\n",\r
1807         "comments": "",\r
1808         "outputs": 1,\r
1809         "x": 3900.566665649414,\r
1810         "y": 1088.566665649414,\r
1811         "z": "33354834.16c3b8",\r
1812         "wires": [\r
1813             [\r
1814                 "9097ee15.fd393"\r
1815             ]\r
1816         ]\r
1817     },\r
1818     {\r
1819         "id": "c218e346.9ea4d",\r
1820         "type": "outcome",\r
1821         "name": "Null",\r
1822         "xml": "<outcome value=''>\n",\r
1823         "comments": "",\r
1824         "outputs": 1,\r
1825         "x": 3894.566665649414,\r
1826         "y": 379.56666564941406,\r
1827         "z": "33354834.16c3b8",\r
1828         "wires": [\r
1829             [\r
1830                 "db75345a.2aef48"\r
1831             ]\r
1832         ]\r
1833     },\r
1834     {\r
1835         "id": "9097ee15.fd393",\r
1836         "type": "block",\r
1837         "name": "block : atomic",\r
1838         "xml": "<block atomic=\"true\">",\r
1839         "atomic": "true",\r
1840         "outputs": 1,\r
1841         "x": 4058.566665649414,\r
1842         "y": 1087.566665649414,\r
1843         "z": "33354834.16c3b8",\r
1844         "wires": [\r
1845             [\r
1846                 "ac8e986.b5ee5e8",\r
1847                 "85348a3.bdf60f8",\r
1848                 "89dbacde.e6345",\r
1849                 "eef2514e.974cd8",\r
1850                 "6b8d5f2b.b2cd68",\r
1851                 "34c10c78.6bbca4",\r
1852                 "3a7dccd3.a56e8c"\r
1853             ]\r
1854         ]\r
1855     },\r
1856     {\r
1857         "id": "85348a3.bdf60f8",\r
1858         "type": "set",\r
1859         "name": "set attachment_param for OTN G",\r
1860         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='src-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingG.customer-vpn-id`' />\n<parameter name='src-ttp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-domainG' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingG.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingG.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingG.access-topology-id`' />\n",\r
1861         "comments": "",\r
1862         "x": 4322.566665649414,\r
1863         "y": 970.5666656494141,\r
1864         "z": "33354834.16c3b8",\r
1865         "wires": []\r
1866     },\r
1867     {\r
1868         "id": "6b8d5f2b.b2cd68",\r
1869         "type": "execute",\r
1870         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
1871         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te/tunnels'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />-->",\r
1872         "comments": "",\r
1873         "outputs": 1,\r
1874         "x": 4403.566665649414,\r
1875         "y": 1285.566665649414,\r
1876         "z": "33354834.16c3b8",\r
1877         "wires": [\r
1878             [\r
1879                 "d6b99940.16b5a8",\r
1880                 "3c3cb614.e99f12"\r
1881             ]\r
1882         ]\r
1883     },\r
1884     {\r
1885         "id": "d6b99940.16b5a8",\r
1886         "type": "failure",\r
1887         "name": "failure",\r
1888         "xml": "<outcome value='failure'>\n",\r
1889         "comments": "",\r
1890         "outputs": 1,\r
1891         "x": 4713.066665649414,\r
1892         "y": 1254.566665649414,\r
1893         "z": "33354834.16c3b8",\r
1894         "wires": [\r
1895             [\r
1896                 "482c1494.4d9c14"\r
1897             ]\r
1898         ]\r
1899     },\r
1900     {\r
1901         "id": "3c3cb614.e99f12",\r
1902         "type": "success",\r
1903         "name": "success",\r
1904         "xml": "<outcome value='success'>\n",\r
1905         "comments": "",\r
1906         "outputs": 1,\r
1907         "x": 4718.066665649414,\r
1908         "y": 1319.566665649414,\r
1909         "z": "33354834.16c3b8",\r
1910         "wires": [\r
1911             [\r
1912                 "1fe4c4ca.7d003b"\r
1913             ]\r
1914         ]\r
1915     },\r
1916     {\r
1917         "id": "482c1494.4d9c14",\r
1918         "type": "returnFailure",\r
1919         "name": "return failure",\r
1920         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create OTN tunnel rest api\" />\n",\r
1921         "comments": "",\r
1922         "x": 4889.066665649414,\r
1923         "y": 1254.566665649414,\r
1924         "z": "33354834.16c3b8",\r
1925         "wires": []\r
1926     },\r
1927     {\r
1928         "id": "1fe4c4ca.7d003b",\r
1929         "type": "block",\r
1930         "name": "block : atomic",\r
1931         "xml": "<block atomic=\"true\">",\r
1932         "atomic": "true",\r
1933         "comments": "",\r
1934         "outputs": 1,\r
1935         "x": 4884.566665649414,\r
1936         "y": 1319.566665649414,\r
1937         "z": "33354834.16c3b8",\r
1938         "wires": [\r
1939             []\r
1940         ]\r
1941     },\r
1942     {\r
1943         "id": "89dbacde.e6345",\r
1944         "type": "set",\r
1945         "name": "set pnf-name",\r
1946         "xml": "<set>\n<parameter name='tmp.domainG.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingG.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingG.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingG.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingG.src-access-node-id`\" />\n",\r
1947         "comments": "",\r
1948         "x": 4260.566665649414,\r
1949         "y": 1018.5666656494141,\r
1950         "z": "33354834.16c3b8",\r
1951         "wires": []\r
1952     },\r
1953     {\r
1954         "id": "eef2514e.974cd8",\r
1955         "type": "get-resource",\r
1956         "name": "get-resource src pnf",\r
1957         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domainG.pnf-name\"\n        pfx='tmp.aai.domainG-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
1958         "comments": "",\r
1959         "outputs": 1,\r
1960         "x": 4286.566665649414,\r
1961         "y": 1135.566665649414,\r
1962         "z": "33354834.16c3b8",\r
1963         "wires": [\r
1964             [\r
1965                 "1840b00f.6633b",\r
1966                 "52eb1a29.ab6b94",\r
1967                 "a2e1a20c.caccc8"\r
1968             ]\r
1969         ]\r
1970     },\r
1971     {\r
1972         "id": "1840b00f.6633b",\r
1973         "type": "success",\r
1974         "name": "success",\r
1975         "xml": "<outcome value='success'>\n",\r
1976         "comments": "",\r
1977         "outputs": 1,\r
1978         "x": 4482.066787719727,\r
1979         "y": 1087.566665649414,\r
1980         "z": "33354834.16c3b8",\r
1981         "wires": [\r
1982             [\r
1983                 "2e32cb6a.42056c"\r
1984             ]\r
1985         ]\r
1986     },\r
1987     {\r
1988         "id": "52eb1a29.ab6b94",\r
1989         "type": "not-found",\r
1990         "name": "not-found",\r
1991         "xml": "<outcome value='not-found'>\n",\r
1992         "comments": "",\r
1993         "outputs": 1,\r
1994         "x": 4474.066787719727,\r
1995         "y": 1142.566665649414,\r
1996         "z": "33354834.16c3b8",\r
1997         "wires": [\r
1998             [\r
1999                 "e0704884.2a8ec8"\r
2000             ]\r
2001         ]\r
2002     },\r
2003     {\r
2004         "id": "2e32cb6a.42056c",\r
2005         "type": "block",\r
2006         "name": "block",\r
2007         "xml": "<block>\n",\r
2008         "atomic": "false",\r
2009         "comments": "",\r
2010         "outputs": 1,\r
2011         "x": 4626.449111938477,\r
2012         "y": 1087.2223358154297,\r
2013         "z": "33354834.16c3b8",\r
2014         "wires": [\r
2015             [\r
2016                 "e6880649.657e78"\r
2017             ]\r
2018         ]\r
2019     },\r
2020     {\r
2021         "id": "e6880649.657e78",\r
2022         "type": "for",\r
2023         "name": "for each relationship",\r
2024         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",\r
2025         "comments": "",\r
2026         "outputs": 1,\r
2027         "x": 4810.566665649414,\r
2028         "y": 1085.566665649414,\r
2029         "z": "33354834.16c3b8",\r
2030         "wires": [\r
2031             [\r
2032                 "f47d5963.a5aae8"\r
2033             ]\r
2034         ]\r
2035     },\r
2036     {\r
2037         "id": "f47d5963.a5aae8",\r
2038         "type": "switchNode",\r
2039         "name": "switch related-to",\r
2040         "xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2041         "comments": "",\r
2042         "outputs": 1,\r
2043         "x": 5005.566665649414,\r
2044         "y": 1085.566665649414,\r
2045         "z": "33354834.16c3b8",\r
2046         "wires": [\r
2047             [\r
2048                 "d71be6fc.54edc"\r
2049             ]\r
2050         ]\r
2051     },\r
2052     {\r
2053         "id": "a2e1a20c.caccc8",\r
2054         "type": "other",\r
2055         "name": "other",\r
2056         "xml": "<outcome value='Other'>\n",\r
2057         "comments": "",\r
2058         "outputs": 1,\r
2059         "x": 4479.066787719727,\r
2060         "y": 1199.566665649414,\r
2061         "z": "33354834.16c3b8",\r
2062         "wires": [\r
2063             [\r
2064                 "7860eb3c.e26464"\r
2065             ]\r
2066         ]\r
2067     },\r
2068     {\r
2069         "id": "7860eb3c.e26464",\r
2070         "type": "returnFailure",\r
2071         "name": "return failure",\r
2072         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2073         "comments": "",\r
2074         "x": 4631.066787719727,\r
2075         "y": 1200.566665649414,\r
2076         "z": "33354834.16c3b8",\r
2077         "wires": []\r
2078     },\r
2079     {\r
2080         "id": "e0704884.2a8ec8",\r
2081         "type": "returnFailure",\r
2082         "name": "return failure",\r
2083         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2084         "comments": "",\r
2085         "x": 4642.066787719727,\r
2086         "y": 1143.566665649414,\r
2087         "z": "33354834.16c3b8",\r
2088         "wires": []\r
2089     },\r
2090     {\r
2091         "id": "ac8e986.b5ee5e8",\r
2092         "type": "set",\r
2093         "name": "set vpn-bindingG and connectivityG",\r
2094         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingG.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityG.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
2095         "comments": "",\r
2096         "x": 4317.566665649414,\r
2097         "y": 910.5666656494141,\r
2098         "z": "33354834.16c3b8",\r
2099         "wires": []\r
2100     },\r
2101     {\r
2102         "id": "d71be6fc.54edc",\r
2103         "type": "outcome",\r
2104         "name": "esr-thirdparty-sdnc",\r
2105         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2106         "comments": "",\r
2107         "outputs": 1,\r
2108         "x": 5208.566665649414,\r
2109         "y": 1089.566665649414,\r
2110         "z": "33354834.16c3b8",\r
2111         "wires": [\r
2112             [\r
2113                 "8e865c0a.70e028"\r
2114             ]\r
2115         ]\r
2116     },\r
2117     {\r
2118         "id": "e2bcdd39.f6521",\r
2119         "type": "execute",\r
2120         "name": "get esr-thirdparty-sdnc",\r
2121         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
2122         "comments": "",\r
2123         "outputs": 1,\r
2124         "x": 5593.566665649414,\r
2125         "y": 1102.566665649414,\r
2126         "z": "33354834.16c3b8",\r
2127         "wires": [\r
2128             [\r
2129                 "d9ae01a2.e3b6f8",\r
2130                 "51f52094.f625d",\r
2131                 "4c1978aa.65c53"\r
2132             ]\r
2133         ]\r
2134     },\r
2135     {\r
2136         "id": "8e865c0a.70e028",\r
2137         "type": "block",\r
2138         "name": "block : atomic",\r
2139         "xml": "<block atomic=\"true\">",\r
2140         "atomic": "true",\r
2141         "outputs": 1,\r
2142         "x": 5387.566665649414,\r
2143         "y": 1089.566665649414,\r
2144         "z": "33354834.16c3b8",\r
2145         "wires": [\r
2146             [\r
2147                 "4f0d3390.ddd854",\r
2148                 "e2bcdd39.f6521"\r
2149             ]\r
2150         ]\r
2151     },\r
2152     {\r
2153         "id": "4f0d3390.ddd854",\r
2154         "type": "set",\r
2155         "name": "set esr-thirdparty-sdnc domainG id",\r
2156         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2157         "comments": "",\r
2158         "x": 5623.566665649414,\r
2159         "y": 1050.566665649414,\r
2160         "z": "33354834.16c3b8",\r
2161         "wires": []\r
2162     },\r
2163     {\r
2164         "id": "d9ae01a2.e3b6f8",\r
2165         "type": "success",\r
2166         "name": "success",\r
2167         "xml": "<outcome value='success'>\n",\r
2168         "comments": "",\r
2169         "outputs": 1,\r
2170         "x": 5803.566665649414,\r
2171         "y": 1093.566665649414,\r
2172         "z": "33354834.16c3b8",\r
2173         "wires": [\r
2174             [\r
2175                 "8b89bfe6.b56ec8"\r
2176             ]\r
2177         ]\r
2178     },\r
2179     {\r
2180         "id": "51f52094.f625d",\r
2181         "type": "not-found",\r
2182         "name": "not-found",\r
2183         "xml": "<outcome value='not-found'>\n",\r
2184         "comments": "",\r
2185         "outputs": 1,\r
2186         "x": 5795.566665649414,\r
2187         "y": 1148.566665649414,\r
2188         "z": "33354834.16c3b8",\r
2189         "wires": [\r
2190             [\r
2191                 "1d4624ff.2e16fb"\r
2192             ]\r
2193         ]\r
2194     },\r
2195     {\r
2196         "id": "4c1978aa.65c53",\r
2197         "type": "other",\r
2198         "name": "other",\r
2199         "xml": "<outcome value='Other'>\n",\r
2200         "comments": "",\r
2201         "outputs": 1,\r
2202         "x": 5800.566665649414,\r
2203         "y": 1205.566665649414,\r
2204         "z": "33354834.16c3b8",\r
2205         "wires": [\r
2206             [\r
2207                 "441a8d9a.7f119c"\r
2208             ]\r
2209         ]\r
2210     },\r
2211     {\r
2212         "id": "441a8d9a.7f119c",\r
2213         "type": "returnFailure",\r
2214         "name": "return failure",\r
2215         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2216         "comments": "",\r
2217         "x": 5952.566665649414,\r
2218         "y": 1206.566665649414,\r
2219         "z": "33354834.16c3b8",\r
2220         "wires": []\r
2221     },\r
2222     {\r
2223         "id": "1d4624ff.2e16fb",\r
2224         "type": "returnFailure",\r
2225         "name": "return failure",\r
2226         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2227         "comments": "",\r
2228         "x": 5963.566665649414,\r
2229         "y": 1151.566665649414,\r
2230         "z": "33354834.16c3b8",\r
2231         "wires": []\r
2232     },\r
2233     {\r
2234         "id": "8b89bfe6.b56ec8",\r
2235         "type": "block",\r
2236         "name": "block",\r
2237         "xml": "<block>\n",\r
2238         "atomic": "false",\r
2239         "comments": "",\r
2240         "outputs": 1,\r
2241         "x": 5947.948989868164,\r
2242         "y": 1091.2223358154297,\r
2243         "z": "33354834.16c3b8",\r
2244         "wires": [\r
2245             [\r
2246                 "ec42c031.0db228"\r
2247             ]\r
2248         ]\r
2249     },\r
2250     {\r
2251         "id": "ec42c031.0db228",\r
2252         "type": "set",\r
2253         "name": "set controller domainG data",\r
2254         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2255         "comments": "",\r
2256         "x": 6162.566665649414,\r
2257         "y": 1087.566665649414,\r
2258         "z": "33354834.16c3b8",\r
2259         "wires": []\r
2260     },\r
2261     {\r
2262         "id": "41dbff35.8798f",\r
2263         "type": "comment",\r
2264         "name": "both src and dst exist",\r
2265         "info": "",\r
2266         "comments": "",\r
2267         "x": 3936.566665649414,\r
2268         "y": 1028.566665649414,\r
2269         "z": "33354834.16c3b8",\r
2270         "wires": []\r
2271     },\r
2272     {\r
2273         "id": "707dc165.f11cc",\r
2274         "type": "switchNode",\r
2275         "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",\r
2276         "xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",\r
2277         "comments": "",\r
2278         "outputs": 1,\r
2279         "x": 2498.566665649414,\r
2280         "y": 755.5666656494141,\r
2281         "z": "33354834.16c3b8",\r
2282         "wires": [\r
2283             [\r
2284                 "3b50aa73.698686",\r
2285                 "889b206a.5a5c18"\r
2286             ]\r
2287         ]\r
2288     },\r
2289     {\r
2290         "id": "889b206a.5a5c18",\r
2291         "type": "outcomeFalse",\r
2292         "name": "false",\r
2293         "xml": "<outcome value='false'>\n",\r
2294         "comments": "",\r
2295         "outputs": 1,\r
2296         "x": 2905.566665649414,\r
2297         "y": 773.5666656494141,\r
2298         "z": "33354834.16c3b8",\r
2299         "wires": [\r
2300             [\r
2301                 "90c4533d.860e78"\r
2302             ]\r
2303         ]\r
2304     },\r
2305     {\r
2306         "id": "3b50aa73.698686",\r
2307         "type": "outcomeTrue",\r
2308         "name": "true",\r
2309         "xml": "<outcome value='true'>\n",\r
2310         "comments": "",\r
2311         "outputs": 1,\r
2312         "x": 2905.566665649414,\r
2313         "y": 718.5666656494141,\r
2314         "z": "33354834.16c3b8",\r
2315         "wires": [\r
2316             [\r
2317                 "faf60520.cd56a8"\r
2318             ]\r
2319         ]\r
2320     },\r
2321     {\r
2322         "id": "faf60520.cd56a8",\r
2323         "type": "block",\r
2324         "name": "block : atomic",\r
2325         "xml": "<block atomic=\"true\">",\r
2326         "atomic": "true",\r
2327         "outputs": 1,\r
2328         "x": 3061.566665649414,\r
2329         "y": 716.5666656494141,\r
2330         "z": "33354834.16c3b8",\r
2331         "wires": [\r
2332             [\r
2333                 "8f77bab8.b50688",\r
2334                 "f2b45fb6.a0f76"\r
2335             ]\r
2336         ]\r
2337     },\r
2338     {\r
2339         "id": "90c4533d.860e78",\r
2340         "type": "block",\r
2341         "name": "block",\r
2342         "xml": "<block>",\r
2343         "atomic": "false",\r
2344         "comments": "",\r
2345         "outputs": 1,\r
2346         "x": 3038.566665649414,\r
2347         "y": 774.5666656494141,\r
2348         "z": "33354834.16c3b8",\r
2349         "wires": [\r
2350             []\r
2351         ]\r
2352     },\r
2353     {\r
2354         "id": "e634d16b.4c8208",\r
2355         "type": "save",\r
2356         "name": "update service-instance resource in AAI",\r
2357         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'>\n<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",\r
2358         "comments": "",\r
2359         "outputs": 1,\r
2360         "x": 5488.316909790039,\r
2361         "y": 702.0666656494141,\r
2362         "z": "33354834.16c3b8",\r
2363         "wires": [\r
2364             []\r
2365         ]\r
2366     },\r
2367     {\r
2368         "id": "fcd6e091.3a931",\r
2369         "type": "save",\r
2370         "name": "update service-instance resource in AAI",\r
2371         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'>\n<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",\r
2372         "comments": "",\r
2373         "outputs": 1,\r
2374         "x": 4713.066665649414,\r
2375         "y": 2294.816665649414,\r
2376         "z": "33354834.16c3b8",\r
2377         "wires": [\r
2378             []\r
2379         ]\r
2380     },\r
2381     {\r
2382         "id": "885127f5.787348",\r
2383         "type": "execute",\r
2384         "name": "execute RestApiCallNode Create Performance Monitoring Data",\r
2385         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-create-pm-data.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-service-pm:performance-monitoring'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
2386         "comments": "",\r
2387         "outputs": 1,\r
2388         "x": 5560.483901977539,\r
2389         "y": 781.1499786376953,\r
2390         "z": "33354834.16c3b8",\r
2391         "wires": [\r
2392             []\r
2393         ]\r
2394     },\r
2395     {\r
2396         "id": "52b5128c.e4a6ec",\r
2397         "type": "execute",\r
2398         "name": "execute RestconfDiscoveryNode establishSubscription",\r
2399         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscriptionOnly' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<!--<parameter name=\"deviceIp\" value=\"192.168.198.6\" />-->\n<!--<parameter name=\"devicePort\" value=\"18181\" />-->\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
2400         "comments": "",\r
2401         "outputs": 1,\r
2402         "x": 5533.483657836914,\r
2403         "y": 840.1498565673828,\r
2404         "z": "33354834.16c3b8",\r
2405         "wires": [\r
2406             []\r
2407         ]\r
2408     },\r
2409     {\r
2410         "id": "c8c41250.a5653",\r
2411         "type": "execute",\r
2412         "name": "execute RestconfDiscoveryNode establishPersistentConnection",\r
2413         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishPersistentSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"get\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"notification-get-result\"/>\n",\r
2414         "comments": "",\r
2415         "outputs": 1,\r
2416         "x": 5559.483901977539,\r
2417         "y": 894.1498565673828,\r
2418         "z": "33354834.16c3b8",\r
2419         "wires": [\r
2420             []\r
2421         ]\r
2422     },\r
2423     {\r
2424         "id": "bbe7a2ae.e5a38",\r
2425         "type": "execute",\r
2426         "name": "execute RestApiCallNode Create Performance Monitoring Data",\r
2427         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-create-pm-data.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/data/ietf-service-pm:performance-monitoring'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
2428         "comments": "",\r
2429         "outputs": 1,\r
2430         "x": 4786.483657836914,\r
2431         "y": 2397.150161743164,\r
2432         "z": "33354834.16c3b8",\r
2433         "wires": [\r
2434             []\r
2435         ]\r
2436     },\r
2437     {\r
2438         "id": "5abf5b3a.734eb4",\r
2439         "type": "execute",\r
2440         "name": "execute RestconfDiscoveryNode establishSubscription",\r
2441         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscriptionOnly' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<!--<parameter name=\"deviceIp\" value=\"192.168.198.6\" />-->\n<!--<parameter name=\"devicePort\" value=\"18181\" />-->\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
2442         "comments": "",\r
2443         "outputs": 1,\r
2444         "x": 4759.483413696289,\r
2445         "y": 2456.1500396728516,\r
2446         "z": "33354834.16c3b8",\r
2447         "wires": [\r
2448             []\r
2449         ]\r
2450     },\r
2451     {\r
2452         "id": "f8459fc1.c514a",\r
2453         "type": "execute",\r
2454         "name": "execute RestconfDiscoveryNode establishPersistentConnection",\r
2455         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishPersistentSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"get\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"777\" />\n<parameter name=\"mode\" value=\"sync\" />\n<!--<parameter name=\"version\" value=\"sync\" />-->\n<!--<parameter name=\"mode\" value=\"777\" />-->\n<parameter name=\"responsePrefix\" value=\"notification-get-result\"/>\n",\r
2456         "comments": "",\r
2457         "outputs": 1,\r
2458         "x": 4785.483657836914,\r
2459         "y": 2510.1500396728516,\r
2460         "z": "33354834.16c3b8",\r
2461         "wires": [\r
2462             []\r
2463         ]\r
2464     },\r
2465     {\r
2466         "id": "fd35c490.b8d1d",\r
2467         "type": "save",\r
2468         "name": "update vpn-binding G resource (aka. OTN domainA) in AAI",\r
2469         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingG.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingG.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
2470         "comments": "",\r
2471         "outputs": 1,\r
2472         "x": 5459.500427246094,\r
2473         "y": 1318.533432006836,\r
2474         "z": "33354834.16c3b8",\r
2475         "wires": [\r
2476             []\r
2477         ]\r
2478     },\r
2479     {\r
2480         "id": "2a3498ca.88543",\r
2481         "type": "save",\r
2482         "name": "update connectivity resource in AAI",\r
2483         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityG.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityG.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
2484         "comments": "",\r
2485         "outputs": 1,\r
2486         "x": 5386.500427246094,\r
2487         "y": 1364.533432006836,\r
2488         "z": "33354834.16c3b8",\r
2489         "wires": [\r
2490             []\r
2491         ]\r
2492     },\r
2493     {\r
2494         "id": "f3d97964.1c0ad8",\r
2495         "type": "save",\r
2496         "name": "update service-instance resource in AAI",\r
2497         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'>\n<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",\r
2498         "comments": "",\r
2499         "outputs": 1,\r
2500         "x": 5406.250427246094,\r
2501         "y": 1425.033432006836,\r
2502         "z": "33354834.16c3b8",\r
2503         "wires": [\r
2504             []\r
2505         ]\r
2506     },\r
2507     {\r
2508         "id": "1f4aee67.ee1e82",\r
2509         "type": "execute",\r
2510         "name": "execute PeriodicDiscoveryNode establishSubscription",\r
2511         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='establishSubscriptionOnly' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/operations/ietf-eth-service-oam:configure-oam'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<!--<parameter name=\"deviceIp\" value=\"192.168.198.6\" />-->\n<!--<parameter name=\"devicePort\" value=\"18181\" />-->\n<!--<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.url + '/restconf/streams/yang-push-json'`\" />-->\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"888\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
2512         "comments": "",\r
2513         "outputs": 1,\r
2514         "x": 5460.416931152344,\r
2515         "y": 1497.116683959961,\r
2516         "z": "33354834.16c3b8",\r
2517         "wires": [\r
2518             []\r
2519         ]\r
2520     },\r
2521     {\r
2522         "id": "78eec8fa.d8a828",\r
2523         "type": "execute",\r
2524         "name": "execute PeriodicDiscoveryNode establishPeriodicPullConnection",\r
2525         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='establishPeriodicPullConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-subscribe-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $eth-service-name`\" />\n<!--<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/streams/yang-push-json'`\" />-->\n<parameter name=\"periodicPullURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $eth-service-name`\" />\n<parameter name=\"ethServiceName\" value=\"`$eth-service-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"get\" />\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"888\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"notification-get-result\"/>\n",\r
2526         "comments": "",\r
2527         "outputs": 1,\r
2528         "x": 5477.417419433594,\r
2529         "y": 1617.1166229248047,\r
2530         "z": "33354834.16c3b8",\r
2531         "wires": [\r
2532             []\r
2533         ]\r
2534     },\r
2535     {\r
2536         "id": "34c10c78.6bbca4",\r
2537         "type": "set",\r
2538         "name": "set sotn_value",\r
2539         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityG.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityG.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityG.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityG.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingG.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityG.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityG.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityG.access-ltp-id`' />\n<parameter name='CIR' value='`$tmp.aai.vpn-bindingG.route-distinguisher *1000000`' />\n<parameter name='EIR' value='`$tmp.aai.vpn-bindingG.route-distinguisher *1000000`' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityG.cvlan`' />\n\n<parameter name='eth-src-node-id' value='`$tmp.aai.vpn-bindingG.src-access-node-id`' />\n<parameter name='eth-src-ltp-id' value='`$tmp.aai.vpn-bindingG.src-access-ltp-id`' />\n<parameter name='eth-dst-node-id' value='`$tmp.aai.vpn-bindingG.dst-access-node-id`' />\n<parameter name='eth-dst-ltp-id' value='`$tmp.aai.vpn-bindingG.dst-access-ltp-id`' />\n",\r
2540         "comments": "",\r
2541         "x": 4281.000183105469,\r
2542         "y": 1409.533432006836,\r
2543         "z": "33354834.16c3b8",\r
2544         "wires": []\r
2545     },\r
2546     {\r
2547         "id": "3a7dccd3.a56e8c",\r
2548         "type": "execute",\r
2549         "name": "execute RestApiCallNode Create ethernet Service without token",\r
2550         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service-same-domain.templatefile`\" />\n<!--<parameter name=\"templateFileName\" value=\"`$tmp.templateFileNameForEthSrv`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2551         "comments": "",\r
2552         "outputs": 1,\r
2553         "x": 4435.000183105469,\r
2554         "y": 1457.533432006836,\r
2555         "z": "33354834.16c3b8",\r
2556         "wires": [\r
2557             [\r
2558                 "4b952b8e.113f54",\r
2559                 "a5fb7d58.4426f"\r
2560             ]\r
2561         ]\r
2562     },\r
2563     {\r
2564         "id": "4b952b8e.113f54",\r
2565         "type": "failure",\r
2566         "name": "failure",\r
2567         "xml": "<outcome value='failure'>\n",\r
2568         "comments": "",\r
2569         "outputs": 1,\r
2570         "x": 4780.500183105469,\r
2571         "y": 1438.533432006836,\r
2572         "z": "33354834.16c3b8",\r
2573         "wires": [\r
2574             [\r
2575                 "55af739d.c7b194"\r
2576             ]\r
2577         ]\r
2578     },\r
2579     {\r
2580         "id": "a5fb7d58.4426f",\r
2581         "type": "success",\r
2582         "name": "success",\r
2583         "xml": "<outcome value='success'>\n",\r
2584         "comments": "",\r
2585         "outputs": 1,\r
2586         "x": 4784.500183105469,\r
2587         "y": 1478.533432006836,\r
2588         "z": "33354834.16c3b8",\r
2589         "wires": [\r
2590             [\r
2591                 "6e44f65e.9c29e8"\r
2592             ]\r
2593         ]\r
2594     },\r
2595     {\r
2596         "id": "55af739d.c7b194",\r
2597         "type": "returnFailure",\r
2598         "name": "return failure",\r
2599         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create ethernet service rest api\" />\n",\r
2600         "comments": "",\r
2601         "x": 4938.500183105469,\r
2602         "y": 1438.533432006836,\r
2603         "z": "33354834.16c3b8",\r
2604         "wires": []\r
2605     },\r
2606     {\r
2607         "id": "6e44f65e.9c29e8",\r
2608         "type": "block",\r
2609         "name": "block : atomic",\r
2610         "xml": "<block atomic=\"true\">",\r
2611         "atomic": "true",\r
2612         "comments": "",\r
2613         "outputs": 1,\r
2614         "x": 4942.000183105469,\r
2615         "y": 1478.533432006836,\r
2616         "z": "33354834.16c3b8",\r
2617         "wires": [\r
2618             [\r
2619                 "fd35c490.b8d1d",\r
2620                 "2a3498ca.88543",\r
2621                 "f3d97964.1c0ad8",\r
2622                 "1f4aee67.ee1e82",\r
2623                 "78eec8fa.d8a828",\r
2624                 "eb126609.241a48"\r
2625             ]\r
2626         ]\r
2627     },\r
2628     {\r
2629         "id": "88048959.7c814",\r
2630         "type": "comment",\r
2631         "name": "TODO: FIXME:",\r
2632         "info": "put proper values based on connectivity resource retrieved from AAI",\r
2633         "comments": "",\r
2634         "x": 4278.500183105469,\r
2635         "y": 1365.533432006836,\r
2636         "z": "33354834.16c3b8",\r
2637         "wires": []\r
2638     },\r
2639     {\r
2640         "id": "eb126609.241a48",\r
2641         "type": "execute",\r
2642         "name": "execute RestApiCallNode Create Performance Monitoring Data",\r
2643         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-create-pm-data.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-service-pm:performance-monitoring'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2644         "comments": "",\r
2645         "outputs": 1,\r
2646         "x": 5491.233337402344,\r
2647         "y": 1549.7335052490234,\r
2648         "z": "33354834.16c3b8",\r
2649         "wires": [\r
2650             []\r
2651         ]\r
2652     },\r
2653     {\r
2654         "id": "1e040c4d.50392c",\r
2655         "type": "switchNode",\r
2656         "name": "switch tmp.aai.connectivity.cbs == null",\r
2657         "xml": "<switch test=\"`length($tmp.aai.connectivity.cbs) == 0`\">\n",\r
2658         "comments": "",\r
2659         "outputs": 1,\r
2660         "x": 2197.6331176757812,\r
2661         "y": 253.1333465576172,\r
2662         "z": "33354834.16c3b8",\r
2663         "wires": [\r
2664             [\r
2665                 "2e4f00ca.c58f3",\r
2666                 "7a3cd7b3.bb0298"\r
2667             ]\r
2668         ]\r
2669     },\r
2670     {\r
2671         "id": "2e4f00ca.c58f3",\r
2672         "type": "outcomeTrue",\r
2673         "name": "true",\r
2674         "xml": "<outcome value='true'>\n",\r
2675         "comments": "",\r
2676         "outputs": 1,\r
2677         "x": 2441.6331176757812,\r
2678         "y": 182.13336181640625,\r
2679         "z": "33354834.16c3b8",\r
2680         "wires": [\r
2681             [\r
2682                 "68c81580.7a1dfc"\r
2683             ]\r
2684         ]\r
2685     },\r
2686     {\r
2687         "id": "68c81580.7a1dfc",\r
2688         "type": "block",\r
2689         "name": "block",\r
2690         "xml": "<block>\n",\r
2691         "atomic": "false",\r
2692         "comments": "",\r
2693         "outputs": 1,\r
2694         "x": 2562.6331176757812,\r
2695         "y": 183.13336181640625,\r
2696         "z": "33354834.16c3b8",\r
2697         "wires": [\r
2698             [\r
2699                 "e19b6a3d.635b2",\r
2700                 "e3be8d7a.fa711"\r
2701             ]\r
2702         ]\r
2703     },\r
2704     {\r
2705         "id": "e19b6a3d.635b2",\r
2706         "type": "set",\r
2707         "name": "set templateFileNameForEthSrv",\r
2708         "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />\n<parameter name='vlan-translation' value=\"\" />\n",\r
2709         "comments": "",\r
2710         "x": 2787.6332397460938,\r
2711         "y": 182.5333251953125,\r
2712         "z": "33354834.16c3b8",\r
2713         "wires": []\r
2714     },\r
2715     {\r
2716         "id": "37909c7a.4f488c",\r
2717         "type": "block",\r
2718         "name": "block : atomic",\r
2719         "xml": "<block atomic=\"true\">",\r
2720         "atomic": "true",\r
2721         "outputs": 1,\r
2722         "x": 2139.6331176757812,\r
2723         "y": 347.1333465576172,\r
2724         "z": "33354834.16c3b8",\r
2725         "wires": [\r
2726             [\r
2727                 "1e040c4d.50392c",\r
2728                 "c1f994fa.7ebb78"\r
2729             ]\r
2730         ]\r
2731     },\r
2732     {\r
2733         "id": "7a3cd7b3.bb0298",\r
2734         "type": "outcomeTrue",\r
2735         "name": "false",\r
2736         "xml": "<outcome value='false'>\n",\r
2737         "comments": "",\r
2738         "outputs": 1,\r
2739         "x": 2472.4999389648438,\r
2740         "y": 241.1333465576172,\r
2741         "z": "33354834.16c3b8",\r
2742         "wires": [\r
2743             [\r
2744                 "80c861e8.a5bbb8"\r
2745             ]\r
2746         ]\r
2747     },\r
2748     {\r
2749         "id": "80c861e8.a5bbb8",\r
2750         "type": "block",\r
2751         "name": "block",\r
2752         "xml": "<block>\n",\r
2753         "atomic": "false",\r
2754         "comments": "",\r
2755         "outputs": 1,\r
2756         "x": 2593.4999389648438,\r
2757         "y": 242.1333465576172,\r
2758         "z": "33354834.16c3b8",\r
2759         "wires": [\r
2760             [\r
2761                 "29ed907a.c93f68",\r
2762                 "f77d6a7b.ede4c8"\r
2763             ]\r
2764         ]\r
2765     },\r
2766     {\r
2767         "id": "29ed907a.c93f68",\r
2768         "type": "set",\r
2769         "name": "set templateFileNameForEthSrv",\r
2770         "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service-vlan.templatefile`\" />\n<parameter name='vlan-translation' value=\"`$tmp.aai.connectivity.cbs`\" />\n\n",\r
2771         "comments": "",\r
2772         "x": 2811.4998168945312,\r
2773         "y": 284.53330993652344,\r
2774         "z": "33354834.16c3b8",\r
2775         "wires": []\r
2776     },\r
2777     {\r
2778         "id": "e3be8d7a.fa711",\r
2779         "type": "set",\r
2780         "name": "unset templateFileNameForEthSrv",\r
2781         "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"\" />\n<parameter name='vlan-translation' value=\"\" />\n",\r
2782         "comments": "",\r
2783         "x": 2784.7665405273438,\r
2784         "y": 131.93336486816406,\r
2785         "z": "33354834.16c3b8",\r
2786         "wires": []\r
2787     },\r
2788     {\r
2789         "id": "f77d6a7b.ede4c8",\r
2790         "type": "set",\r
2791         "name": "unset templateFileNameForEthSrv",\r
2792         "xml": "<set>\n<parameter name='tmp.templateFileNameForEthSrv' value=\"\" />\n<parameter name='vlan-translation' value=\"\" />\n",\r
2793         "comments": "",\r
2794         "x": 2814.7665405273438,\r
2795         "y": 235.93336486816406,\r
2796         "z": "33354834.16c3b8",\r
2797         "wires": []\r
2798     }\r
2799 ]