Some bug fixing for E-Line based Cloud Leased-Line service support in CCVPN use-case.
[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": "94b540c9.238618",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 149.75,\r
8         "y": 94.75,\r
9         "z": "30d84baa.6f57bc",\r
10         "wires": [\r
11             [\r
12                 "dda31e25.b7e27"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "dda31e25.b7e27",\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": 281.0356903076172,\r
26         "y": 143.98810863494873,\r
27         "z": "30d84baa.6f57bc",\r
28         "wires": [\r
29             [\r
30                 "a1958103.ff3f88"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "a1958103.ff3f88",\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": 284.1786193847656,\r
42         "y": 228.75003242492676,\r
43         "z": "30d84baa.6f57bc",\r
44         "wires": [\r
45             [\r
46                 "a73db057.8ff74"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "a73db057.8ff74",\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": 433.988037109375,\r
58         "y": 358.4166564941406,\r
59         "z": "30d84baa.6f57bc",\r
60         "wires": [\r
61             [\r
62                 "91bdee0e.c7f15",\r
63                 "957a18ba.9d8e",\r
64                 "11da7ad8.21f09d"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "91bdee0e.c7f15",\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": 702.3216552734375,\r
75         "y": 745.34716796875,\r
76         "z": "30d84baa.6f57bc",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "1d1c9d38.a24823",\r
81         "type": "comment",\r
82         "name": "new for TransportSlicing",\r
83         "info": "",\r
84         "comments": "",\r
85         "x": 733.75,\r
86         "y": 419.75,\r
87         "z": "30d84baa.6f57bc",\r
88         "wires": []\r
89     },\r
90     {\r
91         "id": "957a18ba.9d8e",\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": 753.75,\r
98         "y": 515.75,\r
99         "z": "30d84baa.6f57bc",\r
100         "wires": [\r
101             [\r
102                 "255854de.861404",\r
103                 "fd908507.674308",\r
104                 "4a62dd9f.61cdac"\r
105             ]\r
106         ]\r
107     },\r
108     {\r
109         "id": "255854de.861404",\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": 972.75,\r
116         "y": 453.75,\r
117         "z": "30d84baa.6f57bc",\r
118         "wires": [\r
119             [\r
120                 "622587e3.99be58"\r
121             ]\r
122         ]\r
123     },\r
124     {\r
125         "id": "fd908507.674308",\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": 982.240966796875,\r
132         "y": 496.32403564453125,\r
133         "z": "30d84baa.6f57bc",\r
134         "wires": [\r
135             [\r
136                 "d8fc9dc9.3e6cf"\r
137             ]\r
138         ]\r
139     },\r
140     {\r
141         "id": "4a62dd9f.61cdac",\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": 970.75,\r
148         "y": 542.75,\r
149         "z": "30d84baa.6f57bc",\r
150         "wires": [\r
151             [\r
152                 "5e548c85.32cd14"\r
153             ]\r
154         ]\r
155     },\r
156     {\r
157         "id": "d8fc9dc9.3e6cf",\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": 1135.8123779296875,\r
163         "y": 499.6097717285156,\r
164         "z": "30d84baa.6f57bc",\r
165         "wires": []\r
166     },\r
167     {\r
168         "id": "5e548c85.32cd14",\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": 1139.75,\r
174         "y": 543.75,\r
175         "z": "30d84baa.6f57bc",\r
176         "wires": []\r
177     },\r
178     {\r
179         "id": "622587e3.99be58",\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": 1169.75,\r
186         "y": 449.75,\r
187         "z": "30d84baa.6f57bc",\r
188         "wires": [\r
189             [\r
190                 "439a3ae3.2ab694"\r
191             ]\r
192         ]\r
193     },\r
194     {\r
195         "id": "439a3ae3.2ab694",\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": 1393.08349609375,\r
202         "y": 449.74993896484375,\r
203         "z": "30d84baa.6f57bc",\r
204         "wires": [\r
205             [\r
206                 "1016c8ba.b6da07"\r
207             ]\r
208         ]\r
209     },\r
210     {\r
211         "id": "1016c8ba.b6da07",\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": 1593.7501335144043,\r
218         "y": 450.75002098083496,\r
219         "z": "30d84baa.6f57bc",\r
220         "wires": [\r
221             [\r
222                 "f655b129.6c8e3"\r
223             ]\r
224         ]\r
225     },\r
226     {\r
227         "id": "7d98821b.e6839c",\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": 4412.75,\r
233         "y": 166.75,\r
234         "z": "30d84baa.6f57bc",\r
235         "wires": []\r
236     },\r
237     {\r
238         "id": "c978ce8f.5eb918",\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.ts-otn-src-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-te:te'`\" />\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=\"patch\"/>\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
242         "comments": "",\r
243         "outputs": 1,\r
244         "x": 4493.75,\r
245         "y": 481.75,\r
246         "z": "30d84baa.6f57bc",\r
247         "wires": [\r
248             [\r
249                 "c08a95fe.6696f8",\r
250                 "b0f4c0f5.92a118"\r
251             ]\r
252         ]\r
253     },\r
254     {\r
255         "id": "c08a95fe.6696f8",\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": 4803.25,\r
262         "y": 450.75,\r
263         "z": "30d84baa.6f57bc",\r
264         "wires": [\r
265             [\r
266                 "f00f23ff.750aa8"\r
267             ]\r
268         ]\r
269     },\r
270     {\r
271         "id": "b0f4c0f5.92a118",\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": 4808.25,\r
278         "y": 515.75,\r
279         "z": "30d84baa.6f57bc",\r
280         "wires": [\r
281             [\r
282                 "c22d4e2c.b8095"\r
283             ]\r
284         ]\r
285     },\r
286     {\r
287         "id": "f00f23ff.750aa8",\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": 4979.25,\r
293         "y": 450.75,\r
294         "z": "30d84baa.6f57bc",\r
295         "wires": []\r
296     },\r
297     {\r
298         "id": "c22d4e2c.b8095",\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": 4974.75,\r
306         "y": 515.75,\r
307         "z": "30d84baa.6f57bc",\r
308         "wires": [\r
309             []\r
310         ]\r
311     },\r
312     {\r
313         "id": "d1f1dcb6.1fec3",\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": 4360.25,\r
319         "y": 669.75,\r
320         "z": "30d84baa.6f57bc",\r
321         "wires": []\r
322     },\r
323     {\r
324         "id": "251b183d.cbc77",\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.ts-ethernet-service.templatefile`\" />\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=\"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
328         "comments": "",\r
329         "outputs": 1,\r
330         "x": 4514.25,\r
331         "y": 717.75,\r
332         "z": "30d84baa.6f57bc",\r
333         "wires": [\r
334             [\r
335                 "be60985c.4fbc58",\r
336                 "b84a3cc3.684a28"\r
337             ]\r
338         ]\r
339     },\r
340     {\r
341         "id": "be60985c.4fbc58",\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": 4859.75,\r
348         "y": 698.75,\r
349         "z": "30d84baa.6f57bc",\r
350         "wires": [\r
351             [\r
352                 "305db122.d214ee"\r
353             ]\r
354         ]\r
355     },\r
356     {\r
357         "id": "b84a3cc3.684a28",\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": 4863.75,\r
364         "y": 738.75,\r
365         "z": "30d84baa.6f57bc",\r
366         "wires": [\r
367             [\r
368                 "d6fb6749.eab338"\r
369             ]\r
370         ]\r
371     },\r
372     {\r
373         "id": "305db122.d214ee",\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": 5017.75,\r
379         "y": 698.75,\r
380         "z": "30d84baa.6f57bc",\r
381         "wires": []\r
382     },\r
383     {\r
384         "id": "d6fb6749.eab338",\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": 5021.25,\r
392         "y": 738.75,\r
393         "z": "30d84baa.6f57bc",\r
394         "wires": [\r
395             [\r
396                 "4fa6f4cb.4aa39c",\r
397                 "f065baf1.f73c4",\r
398                 "677bc6cc.c2278",\r
399                 "fce678f7.abc0e",\r
400                 "c53e4466.6aae58",\r
401                 "4b53c1cb.8fea68"\r
402             ]\r
403         ]\r
404     },\r
405     {\r
406         "id": "d7ddb4d7.9c1b5",\r
407         "type": "comment",\r
408         "name": "TODO: FIXME:",\r
409         "info": "put proper values based on connectivity resource retrieved from AAI",\r
410         "comments": "",\r
411         "x": 4357.75,\r
412         "y": 625.75,\r
413         "z": "30d84baa.6f57bc",\r
414         "wires": []\r
415     },\r
416     {\r
417         "id": "4fa6f4cb.4aa39c",\r
418         "type": "save",\r
419         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
420         "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
421         "comments": "",\r
422         "outputs": 1,\r
423         "x": 5538.750244140625,\r
424         "y": 578.75,\r
425         "z": "30d84baa.6f57bc",\r
426         "wires": [\r
427             []\r
428         ]\r
429     },\r
430     {\r
431         "id": "e1a352b3.d1c22",\r
432         "type": "comment",\r
433         "name": "TODO: FIXME",\r
434         "info": "use proper vpn-binding id and connectivity id\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
435         "comments": "",\r
436         "x": 5402.750244140625,\r
437         "y": 537.75,\r
438         "z": "30d84baa.6f57bc",\r
439         "wires": []\r
440     },\r
441     {\r
442         "id": "f065baf1.f73c4",\r
443         "type": "save",\r
444         "name": "update connectivity resource in AAI",\r
445         "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
446         "comments": "",\r
447         "outputs": 1,\r
448         "x": 5465.750244140625,\r
449         "y": 624.75,\r
450         "z": "30d84baa.6f57bc",\r
451         "wires": [\r
452             []\r
453         ]\r
454     },\r
455     {\r
456         "id": "d8047beb.a120a",\r
457         "type": "set",\r
458         "name": "set pnf-name",\r
459         "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
460         "comments": "",\r
461         "x": 4350.75,\r
462         "y": 214.75,\r
463         "z": "30d84baa.6f57bc",\r
464         "wires": []\r
465     },\r
466     {\r
467         "id": "c0003a50.a00b1",\r
468         "type": "get-resource",\r
469         "name": "get-resource src pnf",\r
470         "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
471         "comments": "",\r
472         "outputs": 1,\r
473         "x": 4376.75,\r
474         "y": 331.75,\r
475         "z": "30d84baa.6f57bc",\r
476         "wires": [\r
477             [\r
478                 "767b670a.725628",\r
479                 "8de69881.7810c",\r
480                 "dbb97564.e7a91"\r
481             ]\r
482         ]\r
483     },\r
484     {\r
485         "id": "767b670a.725628",\r
486         "type": "success",\r
487         "name": "success",\r
488         "xml": "<outcome value='success'>\n",\r
489         "comments": "",\r
490         "outputs": 1,\r
491         "x": 4572.2501220703125,\r
492         "y": 283.75,\r
493         "z": "30d84baa.6f57bc",\r
494         "wires": [\r
495             [\r
496                 "9fa9eef6.966618"\r
497             ]\r
498         ]\r
499     },\r
500     {\r
501         "id": "8de69881.7810c",\r
502         "type": "not-found",\r
503         "name": "not-found",\r
504         "xml": "<outcome value='not-found'>\n",\r
505         "comments": "",\r
506         "outputs": 1,\r
507         "x": 4564.2501220703125,\r
508         "y": 338.75,\r
509         "z": "30d84baa.6f57bc",\r
510         "wires": [\r
511             [\r
512                 "2b81f91f.bfddb6"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "9fa9eef6.966618",\r
518         "type": "block",\r
519         "name": "block",\r
520         "xml": "<block>\n",\r
521         "atomic": "false",\r
522         "comments": "",\r
523         "outputs": 1,\r
524         "x": 4716.6324462890625,\r
525         "y": 283.4056701660156,\r
526         "z": "30d84baa.6f57bc",\r
527         "wires": [\r
528             [\r
529                 "33a206d2.a6527a"\r
530             ]\r
531         ]\r
532     },\r
533     {\r
534         "id": "4f3c702b.c83bb",\r
535         "type": "outcome",\r
536         "name": "esr-thirdparty-sdnc",\r
537         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
538         "comments": "",\r
539         "outputs": 1,\r
540         "x": 5298.75,\r
541         "y": 285.75,\r
542         "z": "30d84baa.6f57bc",\r
543         "wires": [\r
544             [\r
545                 "cb134ba5.74bf48"\r
546             ]\r
547         ]\r
548     },\r
549     {\r
550         "id": "33a206d2.a6527a",\r
551         "type": "for",\r
552         "name": "for each relationship",\r
553         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
554         "comments": "",\r
555         "outputs": 1,\r
556         "x": 4900.75,\r
557         "y": 281.75,\r
558         "z": "30d84baa.6f57bc",\r
559         "wires": [\r
560             [\r
561                 "893da1cb.bc091"\r
562             ]\r
563         ]\r
564     },\r
565     {\r
566         "id": "893da1cb.bc091",\r
567         "type": "switchNode",\r
568         "name": "switch related-to",\r
569         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
570         "comments": "",\r
571         "outputs": 1,\r
572         "x": 5095.75,\r
573         "y": 281.75,\r
574         "z": "30d84baa.6f57bc",\r
575         "wires": [\r
576             [\r
577                 "4f3c702b.c83bb"\r
578             ]\r
579         ]\r
580     },\r
581     {\r
582         "id": "dbb97564.e7a91",\r
583         "type": "other",\r
584         "name": "other",\r
585         "xml": "<outcome value='Other'>\n",\r
586         "comments": "",\r
587         "outputs": 1,\r
588         "x": 4569.2501220703125,\r
589         "y": 395.75,\r
590         "z": "30d84baa.6f57bc",\r
591         "wires": [\r
592             [\r
593                 "b75e061e.d5ec88"\r
594             ]\r
595         ]\r
596     },\r
597     {\r
598         "id": "b75e061e.d5ec88",\r
599         "type": "returnFailure",\r
600         "name": "return failure",\r
601         "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
602         "comments": "",\r
603         "x": 4721.2501220703125,\r
604         "y": 396.75,\r
605         "z": "30d84baa.6f57bc",\r
606         "wires": []\r
607     },\r
608     {\r
609         "id": "2b81f91f.bfddb6",\r
610         "type": "returnFailure",\r
611         "name": "return failure",\r
612         "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
613         "comments": "",\r
614         "x": 4732.2501220703125,\r
615         "y": 339.75,\r
616         "z": "30d84baa.6f57bc",\r
617         "wires": []\r
618     },\r
619     {\r
620         "id": "848a4c57.f2a3d",\r
621         "type": "execute",\r
622         "name": "get esr-thirdparty-sdnc",\r
623         "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
624         "comments": "",\r
625         "outputs": 1,\r
626         "x": 5683.75,\r
627         "y": 298.75,\r
628         "z": "30d84baa.6f57bc",\r
629         "wires": [\r
630             [\r
631                 "2e1535a4.41297a",\r
632                 "1778db70.6907f5",\r
633                 "72b5f7c.70da408"\r
634             ]\r
635         ]\r
636     },\r
637     {\r
638         "id": "cb134ba5.74bf48",\r
639         "type": "block",\r
640         "name": "block : atomic",\r
641         "xml": "<block atomic=\"true\">",\r
642         "atomic": "true",\r
643         "outputs": 1,\r
644         "x": 5477.75,\r
645         "y": 285.75,\r
646         "z": "30d84baa.6f57bc",\r
647         "wires": [\r
648             [\r
649                 "19fba605.f323fa",\r
650                 "848a4c57.f2a3d"\r
651             ]\r
652         ]\r
653     },\r
654     {\r
655         "id": "19fba605.f323fa",\r
656         "type": "set",\r
657         "name": "set esr-thirdparty-sdnc domainA id",\r
658         "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
659         "comments": "",\r
660         "x": 5713.75,\r
661         "y": 246.75,\r
662         "z": "30d84baa.6f57bc",\r
663         "wires": []\r
664     },\r
665     {\r
666         "id": "2e1535a4.41297a",\r
667         "type": "success",\r
668         "name": "success",\r
669         "xml": "<outcome value='success'>\n",\r
670         "comments": "",\r
671         "outputs": 1,\r
672         "x": 5893.75,\r
673         "y": 289.75,\r
674         "z": "30d84baa.6f57bc",\r
675         "wires": [\r
676             [\r
677                 "780f3b99.e0b614"\r
678             ]\r
679         ]\r
680     },\r
681     {\r
682         "id": "1778db70.6907f5",\r
683         "type": "not-found",\r
684         "name": "not-found",\r
685         "xml": "<outcome value='not-found'>\n",\r
686         "comments": "",\r
687         "outputs": 1,\r
688         "x": 5885.75,\r
689         "y": 344.75,\r
690         "z": "30d84baa.6f57bc",\r
691         "wires": [\r
692             [\r
693                 "142c73b0.fb0d8c"\r
694             ]\r
695         ]\r
696     },\r
697     {\r
698         "id": "72b5f7c.70da408",\r
699         "type": "other",\r
700         "name": "other",\r
701         "xml": "<outcome value='Other'>\n",\r
702         "comments": "",\r
703         "outputs": 1,\r
704         "x": 5890.75,\r
705         "y": 401.75,\r
706         "z": "30d84baa.6f57bc",\r
707         "wires": [\r
708             [\r
709                 "4764feda.35a838"\r
710             ]\r
711         ]\r
712     },\r
713     {\r
714         "id": "4764feda.35a838",\r
715         "type": "returnFailure",\r
716         "name": "return failure",\r
717         "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
718         "comments": "",\r
719         "x": 6042.75,\r
720         "y": 402.75,\r
721         "z": "30d84baa.6f57bc",\r
722         "wires": []\r
723     },\r
724     {\r
725         "id": "142c73b0.fb0d8c",\r
726         "type": "returnFailure",\r
727         "name": "return failure",\r
728         "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
729         "comments": "",\r
730         "x": 6053.75,\r
731         "y": 347.75,\r
732         "z": "30d84baa.6f57bc",\r
733         "wires": []\r
734     },\r
735     {\r
736         "id": "780f3b99.e0b614",\r
737         "type": "block",\r
738         "name": "block",\r
739         "xml": "<block>\n",\r
740         "atomic": "false",\r
741         "comments": "",\r
742         "outputs": 1,\r
743         "x": 6038.13232421875,\r
744         "y": 287.4056701660156,\r
745         "z": "30d84baa.6f57bc",\r
746         "wires": [\r
747             [\r
748                 "bba0e779.8df588"\r
749             ]\r
750         ]\r
751     },\r
752     {\r
753         "id": "bba0e779.8df588",\r
754         "type": "set",\r
755         "name": "set controller domainA data",\r
756         "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
757         "comments": "",\r
758         "x": 6252.75,\r
759         "y": 283.75,\r
760         "z": "30d84baa.6f57bc",\r
761         "wires": []\r
762     },\r
763     {\r
764         "id": "11da7ad8.21f09d",\r
765         "type": "execute",\r
766         "name": "execute properties",\r
767         "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
768         "comments": "",\r
769         "outputs": 1,\r
770         "x": 719.75,\r
771         "y": 463.75,\r
772         "z": "30d84baa.6f57bc",\r
773         "wires": [\r
774             []\r
775         ]\r
776     },\r
777     {\r
778         "id": "97981e3f.7665d",\r
779         "type": "set",\r
780         "name": "set attachment_param for OTN B",\r
781         "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
782         "comments": "",\r
783         "x": 3819.75,\r
784         "y": 1623.75,\r
785         "z": "30d84baa.6f57bc",\r
786         "wires": []\r
787     },\r
788     {\r
789         "id": "1bef475b.0876b9",\r
790         "type": "execute",\r
791         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
792         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-dst-domain-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-te:te'`\" />\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=\"patch\"/>\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
793         "comments": "",\r
794         "outputs": 1,\r
795         "x": 3882.75,\r
796         "y": 1952.75,\r
797         "z": "30d84baa.6f57bc",\r
798         "wires": [\r
799             [\r
800                 "a5d1d793.c9259",\r
801                 "24fe1da2.474a9a"\r
802             ]\r
803         ]\r
804     },\r
805     {\r
806         "id": "a5d1d793.c9259",\r
807         "type": "failure",\r
808         "name": "failure",\r
809         "xml": "<outcome value='failure'>\n",\r
810         "comments": "",\r
811         "outputs": 1,\r
812         "x": 4178.25,\r
813         "y": 1919.75,\r
814         "z": "30d84baa.6f57bc",\r
815         "wires": [\r
816             [\r
817                 "b911fc3e.201c1"\r
818             ]\r
819         ]\r
820     },\r
821     {\r
822         "id": "24fe1da2.474a9a",\r
823         "type": "success",\r
824         "name": "success",\r
825         "xml": "<outcome value='success'>\n",\r
826         "comments": "",\r
827         "outputs": 1,\r
828         "x": 4183.25,\r
829         "y": 1984.75,\r
830         "z": "30d84baa.6f57bc",\r
831         "wires": [\r
832             [\r
833                 "467082f5.e654ac"\r
834             ]\r
835         ]\r
836     },\r
837     {\r
838         "id": "b911fc3e.201c1",\r
839         "type": "returnFailure",\r
840         "name": "return failure",\r
841         "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
842         "comments": "",\r
843         "x": 4346.25,\r
844         "y": 1919.75,\r
845         "z": "30d84baa.6f57bc",\r
846         "wires": []\r
847     },\r
848     {\r
849         "id": "467082f5.e654ac",\r
850         "type": "block",\r
851         "name": "block : atomic",\r
852         "xml": "<block atomic=\"true\">",\r
853         "atomic": "true",\r
854         "comments": "",\r
855         "outputs": 1,\r
856         "x": 4356.75,\r
857         "y": 1984.75,\r
858         "z": "30d84baa.6f57bc",\r
859         "wires": [\r
860             []\r
861         ]\r
862     },\r
863     {\r
864         "id": "ace90237.5528b8",\r
865         "type": "set",\r
866         "name": "set pnf-name",\r
867         "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
868         "comments": "",\r
869         "x": 3758.75,\r
870         "y": 1680.75,\r
871         "z": "30d84baa.6f57bc",\r
872         "wires": []\r
873     },\r
874     {\r
875         "id": "e4aaac37.9b5738",\r
876         "type": "get-resource",\r
877         "name": "get-resource dst pnf",\r
878         "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
879         "comments": "",\r
880         "outputs": 1,\r
881         "x": 3778.75,\r
882         "y": 1777.75,\r
883         "z": "30d84baa.6f57bc",\r
884         "wires": [\r
885             [\r
886                 "57142ea4.bc3bb",\r
887                 "cc1afb43.a5676",\r
888                 "86a15efe.377578"\r
889             ]\r
890         ]\r
891     },\r
892     {\r
893         "id": "57142ea4.bc3bb",\r
894         "type": "success",\r
895         "name": "success",\r
896         "xml": "<outcome value='success'>\n",\r
897         "comments": "",\r
898         "outputs": 1,\r
899         "x": 3981.2501220703125,\r
900         "y": 1730.75,\r
901         "z": "30d84baa.6f57bc",\r
902         "wires": [\r
903             [\r
904                 "19ef9dfe.b1b91a"\r
905             ]\r
906         ]\r
907     },\r
908     {\r
909         "id": "cc1afb43.a5676",\r
910         "type": "not-found",\r
911         "name": "not-found",\r
912         "xml": "<outcome value='not-found'>\n",\r
913         "comments": "",\r
914         "outputs": 1,\r
915         "x": 3973.2501220703125,\r
916         "y": 1785.75,\r
917         "z": "30d84baa.6f57bc",\r
918         "wires": [\r
919             [\r
920                 "fc294828.8c7aa"\r
921             ]\r
922         ]\r
923     },\r
924     {\r
925         "id": "19ef9dfe.b1b91a",\r
926         "type": "block",\r
927         "name": "block",\r
928         "xml": "<block>\n",\r
929         "atomic": "false",\r
930         "comments": "",\r
931         "outputs": 1,\r
932         "x": 4125.6324462890625,\r
933         "y": 1728.4056701660156,\r
934         "z": "30d84baa.6f57bc",\r
935         "wires": [\r
936             [\r
937                 "a34e91d1.6b4f48"\r
938             ]\r
939         ]\r
940     },\r
941     {\r
942         "id": "a34e91d1.6b4f48",\r
943         "type": "for",\r
944         "name": "for each relationship",\r
945         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
946         "comments": "",\r
947         "outputs": 1,\r
948         "x": 4309.75,\r
949         "y": 1742.75,\r
950         "z": "30d84baa.6f57bc",\r
951         "wires": [\r
952             [\r
953                 "bcf409d1.2bca88"\r
954             ]\r
955         ]\r
956     },\r
957     {\r
958         "id": "86a15efe.377578",\r
959         "type": "other",\r
960         "name": "other",\r
961         "xml": "<outcome value='Other'>\n",\r
962         "comments": "",\r
963         "outputs": 1,\r
964         "x": 3978.2501220703125,\r
965         "y": 1842.75,\r
966         "z": "30d84baa.6f57bc",\r
967         "wires": [\r
968             [\r
969                 "9228ece.bfbed9"\r
970             ]\r
971         ]\r
972     },\r
973     {\r
974         "id": "9228ece.bfbed9",\r
975         "type": "returnFailure",\r
976         "name": "return failure",\r
977         "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
978         "comments": "",\r
979         "x": 4130.2501220703125,\r
980         "y": 1843.75,\r
981         "z": "30d84baa.6f57bc",\r
982         "wires": []\r
983     },\r
984     {\r
985         "id": "fc294828.8c7aa",\r
986         "type": "returnFailure",\r
987         "name": "return failure",\r
988         "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
989         "comments": "",\r
990         "x": 4141.2501220703125,\r
991         "y": 1788.75,\r
992         "z": "30d84baa.6f57bc",\r
993         "wires": []\r
994     },\r
995     {\r
996         "id": "8fd77208.a2c738",\r
997         "type": "outcome",\r
998         "name": "esr-thirdparty-sdnc",\r
999         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
1000         "comments": "",\r
1001         "outputs": 1,\r
1002         "x": 4707.75,\r
1003         "y": 1746.75,\r
1004         "z": "30d84baa.6f57bc",\r
1005         "wires": [\r
1006             [\r
1007                 "2b23a5a1.db882a"\r
1008             ]\r
1009         ]\r
1010     },\r
1011     {\r
1012         "id": "bcf409d1.2bca88",\r
1013         "type": "switchNode",\r
1014         "name": "switch related-to",\r
1015         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
1016         "comments": "",\r
1017         "outputs": 1,\r
1018         "x": 4504.75,\r
1019         "y": 1742.75,\r
1020         "z": "30d84baa.6f57bc",\r
1021         "wires": [\r
1022             [\r
1023                 "8fd77208.a2c738"\r
1024             ]\r
1025         ]\r
1026     },\r
1027     {\r
1028         "id": "ee733a11.b10eb8",\r
1029         "type": "execute",\r
1030         "name": "get esr-thirdparty-sdnc",\r
1031         "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
1032         "comments": "",\r
1033         "outputs": 1,\r
1034         "x": 5092.75,\r
1035         "y": 1745.75,\r
1036         "z": "30d84baa.6f57bc",\r
1037         "wires": [\r
1038             [\r
1039                 "8e9e736e.ee5478",\r
1040                 "98c4188c.f20b2",\r
1041                 "454707d0.8a14d8"\r
1042             ]\r
1043         ]\r
1044     },\r
1045     {\r
1046         "id": "2b23a5a1.db882a",\r
1047         "type": "block",\r
1048         "name": "block : atomic",\r
1049         "xml": "<block atomic=\"true\">",\r
1050         "atomic": "true",\r
1051         "outputs": 1,\r
1052         "x": 4884.75,\r
1053         "y": 1738.75,\r
1054         "z": "30d84baa.6f57bc",\r
1055         "wires": [\r
1056             [\r
1057                 "923bc8de.eb024",\r
1058                 "ee733a11.b10eb8"\r
1059             ]\r
1060         ]\r
1061     },\r
1062     {\r
1063         "id": "923bc8de.eb024",\r
1064         "type": "set",\r
1065         "name": "set esr-thirdparty-sdnc domainB id",\r
1066         "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
1067         "comments": "",\r
1068         "x": 5122.75,\r
1069         "y": 1693.75,\r
1070         "z": "30d84baa.6f57bc",\r
1071         "wires": []\r
1072     },\r
1073     {\r
1074         "id": "35e39fbb.1f604",\r
1075         "type": "returnFailure",\r
1076         "name": "return failure",\r
1077         "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
1078         "comments": "",\r
1079         "x": 5451.75,\r
1080         "y": 1849.75,\r
1081         "z": "30d84baa.6f57bc",\r
1082         "wires": []\r
1083     },\r
1084     {\r
1085         "id": "13ebe3ed.f2247c",\r
1086         "type": "returnFailure",\r
1087         "name": "return failure",\r
1088         "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
1089         "comments": "",\r
1090         "x": 5462.75,\r
1091         "y": 1794.75,\r
1092         "z": "30d84baa.6f57bc",\r
1093         "wires": []\r
1094     },\r
1095     {\r
1096         "id": "b78b9bfd.914f38",\r
1097         "type": "block",\r
1098         "name": "block",\r
1099         "xml": "<block>\n",\r
1100         "atomic": "false",\r
1101         "comments": "",\r
1102         "outputs": 1,\r
1103         "x": 5447.13232421875,\r
1104         "y": 1734.4056701660156,\r
1105         "z": "30d84baa.6f57bc",\r
1106         "wires": [\r
1107             [\r
1108                 "4076fb5b.40dc5c"\r
1109             ]\r
1110         ]\r
1111     },\r
1112     {\r
1113         "id": "4076fb5b.40dc5c",\r
1114         "type": "set",\r
1115         "name": "set controller domainB data",\r
1116         "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
1117         "comments": "",\r
1118         "x": 5661.75,\r
1119         "y": 1730.75,\r
1120         "z": "30d84baa.6f57bc",\r
1121         "wires": []\r
1122     },\r
1123     {\r
1124         "id": "8e9e736e.ee5478",\r
1125         "type": "success",\r
1126         "name": "success",\r
1127         "xml": "<outcome value='success'>\n",\r
1128         "comments": "",\r
1129         "outputs": 1,\r
1130         "x": 5302.75,\r
1131         "y": 1736.75,\r
1132         "z": "30d84baa.6f57bc",\r
1133         "wires": [\r
1134             [\r
1135                 "b78b9bfd.914f38"\r
1136             ]\r
1137         ]\r
1138     },\r
1139     {\r
1140         "id": "98c4188c.f20b2",\r
1141         "type": "not-found",\r
1142         "name": "not-found",\r
1143         "xml": "<outcome value='not-found'>\n",\r
1144         "comments": "",\r
1145         "outputs": 1,\r
1146         "x": 5294.75,\r
1147         "y": 1791.75,\r
1148         "z": "30d84baa.6f57bc",\r
1149         "wires": [\r
1150             [\r
1151                 "13ebe3ed.f2247c"\r
1152             ]\r
1153         ]\r
1154     },\r
1155     {\r
1156         "id": "454707d0.8a14d8",\r
1157         "type": "other",\r
1158         "name": "other",\r
1159         "xml": "<outcome value='Other'>\n",\r
1160         "comments": "",\r
1161         "outputs": 1,\r
1162         "x": 5299.75,\r
1163         "y": 1848.75,\r
1164         "z": "30d84baa.6f57bc",\r
1165         "wires": [\r
1166             [\r
1167                 "35e39fbb.1f604"\r
1168             ]\r
1169         ]\r
1170     },\r
1171     {\r
1172         "id": "f655b129.6c8e3",\r
1173         "type": "save",\r
1174         "name": "get connectivity from aai",\r
1175         "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
1176         "comments": "",\r
1177         "outputs": 1,\r
1178         "x": 1831.75,\r
1179         "y": 452.75,\r
1180         "z": "30d84baa.6f57bc",\r
1181         "wires": [\r
1182             [\r
1183                 "d8fbecfc.eada5",\r
1184                 "70aafcb6.3ffce4",\r
1185                 "18daf882.cb46e7"\r
1186             ]\r
1187         ]\r
1188     },\r
1189     {\r
1190         "id": "d8fbecfc.eada5",\r
1191         "type": "success",\r
1192         "name": "success",\r
1193         "xml": "<outcome value='success'>\n",\r
1194         "comments": "",\r
1195         "outputs": 1,\r
1196         "x": 2039.75,\r
1197         "y": 416.75,\r
1198         "z": "30d84baa.6f57bc",\r
1199         "wires": [\r
1200             [\r
1201                 "92d3d22d.c618f8"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "70aafcb6.3ffce4",\r
1207         "type": "not-found",\r
1208         "name": "not-found",\r
1209         "xml": "<outcome value='not-found'>\n",\r
1210         "comments": "",\r
1211         "outputs": 1,\r
1212         "x": 2040.240966796875,\r
1213         "y": 462.32403564453125,\r
1214         "z": "30d84baa.6f57bc",\r
1215         "wires": [\r
1216             [\r
1217                 "de1e5ed.546bf2"\r
1218             ]\r
1219         ]\r
1220     },\r
1221     {\r
1222         "id": "18daf882.cb46e7",\r
1223         "type": "failure",\r
1224         "name": "failure",\r
1225         "xml": "<outcome value='failure'>\n",\r
1226         "comments": "",\r
1227         "outputs": 1,\r
1228         "x": 2037.75,\r
1229         "y": 505.75,\r
1230         "z": "30d84baa.6f57bc",\r
1231         "wires": [\r
1232             [\r
1233                 "b369c83a.de60d8"\r
1234             ]\r
1235         ]\r
1236     },\r
1237     {\r
1238         "id": "de1e5ed.546bf2",\r
1239         "type": "returnFailure",\r
1240         "name": "return failure",\r
1241         "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
1242         "comments": "",\r
1243         "x": 2202.8123779296875,\r
1244         "y": 462.6097717285156,\r
1245         "z": "30d84baa.6f57bc",\r
1246         "wires": []\r
1247     },\r
1248     {\r
1249         "id": "b369c83a.de60d8",\r
1250         "type": "returnFailure",\r
1251         "name": "return failure",\r
1252         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1253         "comments": "",\r
1254         "x": 2206.75,\r
1255         "y": 506.75,\r
1256         "z": "30d84baa.6f57bc",\r
1257         "wires": []\r
1258     },\r
1259     {\r
1260         "id": "98b87635.4ab2",\r
1261         "type": "save",\r
1262         "name": "get vpn-binding from aai",\r
1263         "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
1264         "comments": "",\r
1265         "outputs": 1,\r
1266         "x": 2512.75,\r
1267         "y": 505.75,\r
1268         "z": "30d84baa.6f57bc",\r
1269         "wires": [\r
1270             [\r
1271                 "133fd3a1.d9493c",\r
1272                 "1efd7812.84eb68",\r
1273                 "be58cccd.20957"\r
1274             ]\r
1275         ]\r
1276     },\r
1277     {\r
1278         "id": "c3829b9e.475158",\r
1279         "type": "block",\r
1280         "name": "block : atomic",\r
1281         "xml": "<block atomic=\"true\">",\r
1282         "atomic": "true",\r
1283         "outputs": 1,\r
1284         "x": 2892.75,\r
1285         "y": 593.75,\r
1286         "z": "30d84baa.6f57bc",\r
1287         "wires": [\r
1288             [\r
1289                 "52401003.e54ba8"\r
1290             ]\r
1291         ]\r
1292     },\r
1293     {\r
1294         "id": "133fd3a1.d9493c",\r
1295         "type": "success",\r
1296         "name": "success",\r
1297         "xml": "<outcome value='success'>\n",\r
1298         "comments": "",\r
1299         "outputs": 1,\r
1300         "x": 2723.75,\r
1301         "y": 594.75,\r
1302         "z": "30d84baa.6f57bc",\r
1303         "wires": [\r
1304             [\r
1305                 "c3829b9e.475158"\r
1306             ]\r
1307         ]\r
1308     },\r
1309     {\r
1310         "id": "1efd7812.84eb68",\r
1311         "type": "not-found",\r
1312         "name": "not-found",\r
1313         "xml": "<outcome value='not-found'>\n",\r
1314         "comments": "",\r
1315         "outputs": 1,\r
1316         "x": 2726.240966796875,\r
1317         "y": 490.32403564453125,\r
1318         "z": "30d84baa.6f57bc",\r
1319         "wires": [\r
1320             [\r
1321                 "3a938444.bd8bbc"\r
1322             ]\r
1323         ]\r
1324     },\r
1325     {\r
1326         "id": "be58cccd.20957",\r
1327         "type": "failure",\r
1328         "name": "failure",\r
1329         "xml": "<outcome value='failure'>\n",\r
1330         "comments": "",\r
1331         "outputs": 1,\r
1332         "x": 2721.75,\r
1333         "y": 534.75,\r
1334         "z": "30d84baa.6f57bc",\r
1335         "wires": [\r
1336             [\r
1337                 "9589b818.4000b"\r
1338             ]\r
1339         ]\r
1340     },\r
1341     {\r
1342         "id": "9589b818.4000b",\r
1343         "type": "returnFailure",\r
1344         "name": "return failure",\r
1345         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1346         "comments": "",\r
1347         "x": 2889.75,\r
1348         "y": 534.75,\r
1349         "z": "30d84baa.6f57bc",\r
1350         "wires": []\r
1351     },\r
1352     {\r
1353         "id": "3a938444.bd8bbc",\r
1354         "type": "returnFailure",\r
1355         "name": "return failure",\r
1356         "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
1357         "comments": "",\r
1358         "x": 2888.8125,\r
1359         "y": 489.6097412109375,\r
1360         "z": "30d84baa.6f57bc",\r
1361         "wires": []\r
1362     },\r
1363     {\r
1364         "id": "92d3d22d.c618f8",\r
1365         "type": "for",\r
1366         "name": "for each relationship",\r
1367         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
1368         "comments": "",\r
1369         "outputs": 1,\r
1370         "x": 2240.75,\r
1371         "y": 411.75,\r
1372         "z": "30d84baa.6f57bc",\r
1373         "wires": [\r
1374             [\r
1375                 "7db3ded6.deaf"\r
1376             ]\r
1377         ]\r
1378     },\r
1379     {\r
1380         "id": "7db3ded6.deaf",\r
1381         "type": "switchNode",\r
1382         "name": "switch related-to",\r
1383         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
1384         "comments": "",\r
1385         "outputs": 1,\r
1386         "x": 2445.75,\r
1387         "y": 411.75,\r
1388         "z": "30d84baa.6f57bc",\r
1389         "wires": [\r
1390             [\r
1391                 "cfbe6a35.f2fd5"\r
1392             ]\r
1393         ]\r
1394     },\r
1395     {\r
1396         "id": "cfbe6a35.f2fd5",\r
1397         "type": "outcome",\r
1398         "name": "vpn-binding",\r
1399         "xml": "<outcome value='vpn-binding'>\n",\r
1400         "comments": "",\r
1401         "outputs": 1,\r
1402         "x": 2611.75,\r
1403         "y": 411.75,\r
1404         "z": "30d84baa.6f57bc",\r
1405         "wires": [\r
1406             [\r
1407                 "66d97a83.58a794"\r
1408             ]\r
1409         ]\r
1410     },\r
1411     {\r
1412         "id": "66d97a83.58a794",\r
1413         "type": "block",\r
1414         "name": "block : atomic",\r
1415         "xml": "<block atomic=\"true\">",\r
1416         "atomic": "true",\r
1417         "outputs": 1,\r
1418         "x": 2774.75,\r
1419         "y": 411.75,\r
1420         "z": "30d84baa.6f57bc",\r
1421         "wires": [\r
1422             [\r
1423                 "98b87635.4ab2",\r
1424                 "eec13dad.1221b"\r
1425             ]\r
1426         ]\r
1427     },\r
1428     {\r
1429         "id": "ae8dd7ac.9cc1d",\r
1430         "type": "switchNode",\r
1431         "name": "switch vpn-binding has dst-access-ltp",\r
1432         "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id`'>\n",\r
1433         "comments": "",\r
1434         "outputs": 1,\r
1435         "x": 3333.75,\r
1436         "y": 694.75,\r
1437         "z": "30d84baa.6f57bc",\r
1438         "wires": [\r
1439             [\r
1440                 "8935f293.cb1e78",\r
1441                 "f32e6b37.4758a8"\r
1442             ]\r
1443         ]\r
1444     },\r
1445     {\r
1446         "id": "8935f293.cb1e78",\r
1447         "type": "outcome",\r
1448         "name": "Null",\r
1449         "xml": "<outcome value=''>\n",\r
1450         "comments": "",\r
1451         "outputs": 1,\r
1452         "x": 3547.75,\r
1453         "y": 731.75,\r
1454         "z": "30d84baa.6f57bc",\r
1455         "wires": [\r
1456             [\r
1457                 "394930dc.1bf1c"\r
1458             ]\r
1459         ]\r
1460     },\r
1461     {\r
1462         "id": "f32e6b37.4758a8",\r
1463         "type": "other",\r
1464         "name": "other",\r
1465         "xml": "<outcome value='Other'>\n",\r
1466         "comments": "",\r
1467         "outputs": 1,\r
1468         "x": 3549.75,\r
1469         "y": 669.75,\r
1470         "z": "30d84baa.6f57bc",\r
1471         "wires": [\r
1472             [\r
1473                 "d8995170.21ddb"\r
1474             ]\r
1475         ]\r
1476     },\r
1477     {\r
1478         "id": "394930dc.1bf1c",\r
1479         "type": "switchNode",\r
1480         "name": "switch vpn-binding has src-access-ltp",\r
1481         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
1482         "comments": "",\r
1483         "outputs": 1,\r
1484         "x": 3127.75,\r
1485         "y": 1974.75,\r
1486         "z": "30d84baa.6f57bc",\r
1487         "wires": [\r
1488             [\r
1489                 "2a89d450.3404ec",\r
1490                 "667fc503.5791f4"\r
1491             ]\r
1492         ]\r
1493     },\r
1494     {\r
1495         "id": "2a89d450.3404ec",\r
1496         "type": "outcome",\r
1497         "name": "Null",\r
1498         "xml": "<outcome value=''>\n",\r
1499         "comments": "",\r
1500         "outputs": 1,\r
1501         "x": 3380.75,\r
1502         "y": 2008.75,\r
1503         "z": "30d84baa.6f57bc",\r
1504         "wires": [\r
1505             [\r
1506                 "566098c5.d0033"\r
1507             ]\r
1508         ]\r
1509     },\r
1510     {\r
1511         "id": "667fc503.5791f4",\r
1512         "type": "other",\r
1513         "name": "other",\r
1514         "xml": "<outcome value='Other'>\n",\r
1515         "comments": "",\r
1516         "outputs": 1,\r
1517         "x": 3380.75,\r
1518         "y": 1952.75,\r
1519         "z": "30d84baa.6f57bc",\r
1520         "wires": [\r
1521             [\r
1522                 "4eef4aff.e3dcc4"\r
1523             ]\r
1524         ]\r
1525     },\r
1526     {\r
1527         "id": "566098c5.d0033",\r
1528         "type": "returnFailure",\r
1529         "name": "return failure",\r
1530         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1531         "comments": "",\r
1532         "x": 3531.75,\r
1533         "y": 2008.75,\r
1534         "z": "30d84baa.6f57bc",\r
1535         "wires": []\r
1536     },\r
1537     {\r
1538         "id": "72ddf5d3.8c5f4c",\r
1539         "type": "set",\r
1540         "name": "set vpn-bindingA and connectivityA",\r
1541         "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
1542         "comments": "",\r
1543         "x": 4407.75,\r
1544         "y": 106.75,\r
1545         "z": "30d84baa.6f57bc",\r
1546         "wires": []\r
1547     },\r
1548     {\r
1549         "id": "be167b48.23b5b",\r
1550         "type": "set",\r
1551         "name": "set vpn-bindingB and connectivityB",\r
1552         "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
1553         "comments": "",\r
1554         "x": 3815.75,\r
1555         "y": 1565.75,\r
1556         "z": "30d84baa.6f57bc",\r
1557         "wires": []\r
1558     },\r
1559     {\r
1560         "id": "65804ebf.2b9b08",\r
1561         "type": "block",\r
1562         "name": "block : atomic",\r
1563         "xml": "<block atomic=\"true\">",\r
1564         "atomic": "true",\r
1565         "comments": "",\r
1566         "outputs": 1,\r
1567         "x": 4098.75,\r
1568         "y": 363.75,\r
1569         "z": "30d84baa.6f57bc",\r
1570         "wires": [\r
1571             [\r
1572                 "72ddf5d3.8c5f4c",\r
1573                 "7d98821b.e6839c",\r
1574                 "d8047beb.a120a",\r
1575                 "c0003a50.a00b1",\r
1576                 "d1f1dcb6.1fec3",\r
1577                 "251b183d.cbc77",\r
1578                 "c978ce8f.5eb918"\r
1579             ]\r
1580         ]\r
1581     },\r
1582     {\r
1583         "id": "4eef4aff.e3dcc4",\r
1584         "type": "block",\r
1585         "name": "block : atomic",\r
1586         "xml": "<block atomic=\"true\">",\r
1587         "atomic": "true",\r
1588         "outputs": 1,\r
1589         "x": 3531.75,\r
1590         "y": 1951.75,\r
1591         "z": "30d84baa.6f57bc",\r
1592         "wires": [\r
1593             [\r
1594                 "be167b48.23b5b",\r
1595                 "97981e3f.7665d",\r
1596                 "ace90237.5528b8",\r
1597                 "e4aaac37.9b5738",\r
1598                 "1bef475b.0876b9",\r
1599                 "8a69ea43.cdd878",\r
1600                 "bacb99d3.7d15e8"\r
1601             ]\r
1602         ]\r
1603     },\r
1604     {\r
1605         "id": "8a69ea43.cdd878",\r
1606         "type": "set",\r
1607         "name": "set sotn_value",\r
1608         "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
1609         "comments": "",\r
1610         "x": 3760.75,\r
1611         "y": 2094.75,\r
1612         "z": "30d84baa.6f57bc",\r
1613         "wires": []\r
1614     },\r
1615     {\r
1616         "id": "bacb99d3.7d15e8",\r
1617         "type": "execute",\r
1618         "name": "execute RestApiCallNode Create ethernet Service without token",\r
1619         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-ethernet-service.templatefile`\" />\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=\"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
1620         "comments": "",\r
1621         "outputs": 1,\r
1622         "x": 3914.75,\r
1623         "y": 2142.75,\r
1624         "z": "30d84baa.6f57bc",\r
1625         "wires": [\r
1626             [\r
1627                 "17e90060.f79b78",\r
1628                 "52bf852c.fdb45c"\r
1629             ]\r
1630         ]\r
1631     },\r
1632     {\r
1633         "id": "17e90060.f79b78",\r
1634         "type": "failure",\r
1635         "name": "failure",\r
1636         "xml": "<outcome value='failure'>\n",\r
1637         "comments": "",\r
1638         "outputs": 1,\r
1639         "x": 4260.25,\r
1640         "y": 2123.75,\r
1641         "z": "30d84baa.6f57bc",\r
1642         "wires": [\r
1643             [\r
1644                 "ea0fe23c.016da8"\r
1645             ]\r
1646         ]\r
1647     },\r
1648     {\r
1649         "id": "52bf852c.fdb45c",\r
1650         "type": "success",\r
1651         "name": "success",\r
1652         "xml": "<outcome value='success'>\n",\r
1653         "comments": "",\r
1654         "outputs": 1,\r
1655         "x": 4264.25,\r
1656         "y": 2163.75,\r
1657         "z": "30d84baa.6f57bc",\r
1658         "wires": [\r
1659             [\r
1660                 "e4c3d59d.96b0f8"\r
1661             ]\r
1662         ]\r
1663     },\r
1664     {\r
1665         "id": "ea0fe23c.016da8",\r
1666         "type": "returnFailure",\r
1667         "name": "return failure",\r
1668         "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
1669         "comments": "",\r
1670         "x": 4418.25,\r
1671         "y": 2123.75,\r
1672         "z": "30d84baa.6f57bc",\r
1673         "wires": []\r
1674     },\r
1675     {\r
1676         "id": "e4c3d59d.96b0f8",\r
1677         "type": "block",\r
1678         "name": "block : atomic",\r
1679         "xml": "<block atomic=\"true\">",\r
1680         "atomic": "true",\r
1681         "comments": "",\r
1682         "outputs": 1,\r
1683         "x": 4421.75,\r
1684         "y": 2163.75,\r
1685         "z": "30d84baa.6f57bc",\r
1686         "wires": [\r
1687             [\r
1688                 "22d7dd70.1841ea",\r
1689                 "3dfc3096.80b288",\r
1690                 "d67d1410.76b2b8",\r
1691                 "d6603080.c5623",\r
1692                 "31942261.57ab16",\r
1693                 "99f2f22d.ceb08"\r
1694             ]\r
1695         ]\r
1696     },\r
1697     {\r
1698         "id": "d5f7c980.553e1",\r
1699         "type": "comment",\r
1700         "name": "TODO: FIXME:",\r
1701         "info": "put proper values based on connectivity resource retrieved from AAI",\r
1702         "comments": "",\r
1703         "x": 3758.25,\r
1704         "y": 2050.75,\r
1705         "z": "30d84baa.6f57bc",\r
1706         "wires": []\r
1707     },\r
1708     {\r
1709         "id": "22d7dd70.1841ea",\r
1710         "type": "save",\r
1711         "name": "update vpn-binding B resource (aka. OTN domainB) in AAI",\r
1712         "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
1713         "comments": "",\r
1714         "outputs": 1,\r
1715         "x": 4761.75,\r
1716         "y": 2162.75,\r
1717         "z": "30d84baa.6f57bc",\r
1718         "wires": [\r
1719             []\r
1720         ]\r
1721     },\r
1722     {\r
1723         "id": "e6c0853.c278578",\r
1724         "type": "comment",\r
1725         "name": "TODO: FIXME",\r
1726         "info": "use proper vpn-binding id and connectivity\n\nAlso, does CCSDK support \"update\" operation for vpn-binding and connectivity?",\r
1727         "comments": "",\r
1728         "x": 4619.75,\r
1729         "y": 2120.75,\r
1730         "z": "30d84baa.6f57bc",\r
1731         "wires": []\r
1732     },\r
1733     {\r
1734         "id": "3dfc3096.80b288",\r
1735         "type": "save",\r
1736         "name": "update connectivity resource in AAI",\r
1737         "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
1738         "comments": "",\r
1739         "outputs": 1,\r
1740         "x": 4690.75,\r
1741         "y": 2211.75,\r
1742         "z": "30d84baa.6f57bc",\r
1743         "wires": [\r
1744             []\r
1745         ]\r
1746     },\r
1747     {\r
1748         "id": "d6d9459c.52e34",\r
1749         "type": "set",\r
1750         "name": "set attachment_param (gfp-n) for OTN",\r
1751         "xml": "<set>\n<parameter name='gfp-n' value='`$tmp.aai.vpn-binding.route-distinguisher`' />\n",\r
1752         "comments": "",\r
1753         "x": 3324.75,\r
1754         "y": 634.75,\r
1755         "z": "30d84baa.6f57bc",\r
1756         "wires": []\r
1757     },\r
1758     {\r
1759         "id": "eec13dad.1221b",\r
1760         "type": "set",\r
1761         "name": "unset tmp.aai.vpn-binding",\r
1762         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
1763         "comments": "",\r
1764         "x": 2958.75,\r
1765         "y": 282.75,\r
1766         "z": "30d84baa.6f57bc",\r
1767         "wires": []\r
1768     },\r
1769     {\r
1770         "id": "6859175e.358ec8",\r
1771         "type": "comment",\r
1772         "name": "only dst ttp exists. No src",\r
1773         "info": "",\r
1774         "comments": "",\r
1775         "x": 3919.75,\r
1776         "y": 320.75,\r
1777         "z": "30d84baa.6f57bc",\r
1778         "wires": []\r
1779     },\r
1780     {\r
1781         "id": "cf1e5b9b.e9493",\r
1782         "type": "comment",\r
1783         "name": "only src ttp exists. No dst",\r
1784         "info": "",\r
1785         "comments": "",\r
1786         "x": 3476.75,\r
1787         "y": 1898.75,\r
1788         "z": "30d84baa.6f57bc",\r
1789         "wires": []\r
1790     },\r
1791     {\r
1792         "id": "d8995170.21ddb",\r
1793         "type": "switchNode",\r
1794         "name": "switch vpn-binding has src-access-ltp",\r
1795         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id`'>\n",\r
1796         "comments": "",\r
1797         "outputs": 1,\r
1798         "x": 3655.75,\r
1799         "y": 482.75,\r
1800         "z": "30d84baa.6f57bc",\r
1801         "wires": [\r
1802             [\r
1803                 "f7ea2bd8.a0e408",\r
1804                 "d911a9d9.6b12a8"\r
1805             ]\r
1806         ]\r
1807     },\r
1808     {\r
1809         "id": "d911a9d9.6b12a8",\r
1810         "type": "other",\r
1811         "name": "other",\r
1812         "xml": "<outcome value='Other'>\n",\r
1813         "comments": "",\r
1814         "outputs": 1,\r
1815         "x": 3897.75,\r
1816         "y": 1071.75,\r
1817         "z": "30d84baa.6f57bc",\r
1818         "wires": [\r
1819             [\r
1820                 "60ce8d2.37a5f74"\r
1821             ]\r
1822         ]\r
1823     },\r
1824     {\r
1825         "id": "f7ea2bd8.a0e408",\r
1826         "type": "outcome",\r
1827         "name": "Null",\r
1828         "xml": "<outcome value=''>\n",\r
1829         "comments": "",\r
1830         "outputs": 1,\r
1831         "x": 3891.75,\r
1832         "y": 362.75,\r
1833         "z": "30d84baa.6f57bc",\r
1834         "wires": [\r
1835             [\r
1836                 "65804ebf.2b9b08"\r
1837             ]\r
1838         ]\r
1839     },\r
1840     {\r
1841         "id": "60ce8d2.37a5f74",\r
1842         "type": "block",\r
1843         "name": "block : atomic",\r
1844         "xml": "<block atomic=\"true\">",\r
1845         "atomic": "true",\r
1846         "outputs": 1,\r
1847         "x": 4055.75,\r
1848         "y": 1070.75,\r
1849         "z": "30d84baa.6f57bc",\r
1850         "wires": [\r
1851             [\r
1852                 "250c851.82c85fa",\r
1853                 "3a8c3466.1fa784",\r
1854                 "44e0a0bb.d00d2",\r
1855                 "17d8e4eb.b52ccb",\r
1856                 "dd94b2c2.353ff8"\r
1857             ]\r
1858         ]\r
1859     },\r
1860     {\r
1861         "id": "3a8c3466.1fa784",\r
1862         "type": "set",\r
1863         "name": "set attachment_param for OTN G",\r
1864         "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
1865         "comments": "",\r
1866         "x": 4319.75,\r
1867         "y": 953.75,\r
1868         "z": "30d84baa.6f57bc",\r
1869         "wires": []\r
1870     },\r
1871     {\r
1872         "id": "dd94b2c2.353ff8",\r
1873         "type": "execute",\r
1874         "name": "execute RestApiCallNode Create OTN tunnel with token",\r
1875         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-domainG-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainG.url + '/restconf/data/ietf-te:te'`\" />\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=\"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
1876         "comments": "",\r
1877         "outputs": 1,\r
1878         "x": 4400.75,\r
1879         "y": 1268.75,\r
1880         "z": "30d84baa.6f57bc",\r
1881         "wires": [\r
1882             [\r
1883                 "d78a59cb.d6e7a",\r
1884                 "667608aa.9739d"\r
1885             ]\r
1886         ]\r
1887     },\r
1888     {\r
1889         "id": "d78a59cb.d6e7a",\r
1890         "type": "failure",\r
1891         "name": "failure",\r
1892         "xml": "<outcome value='failure'>\n",\r
1893         "comments": "",\r
1894         "outputs": 1,\r
1895         "x": 4710.25,\r
1896         "y": 1237.75,\r
1897         "z": "30d84baa.6f57bc",\r
1898         "wires": [\r
1899             [\r
1900                 "790b52bf.2108ec"\r
1901             ]\r
1902         ]\r
1903     },\r
1904     {\r
1905         "id": "667608aa.9739d",\r
1906         "type": "success",\r
1907         "name": "success",\r
1908         "xml": "<outcome value='success'>\n",\r
1909         "comments": "",\r
1910         "outputs": 1,\r
1911         "x": 4715.25,\r
1912         "y": 1302.75,\r
1913         "z": "30d84baa.6f57bc",\r
1914         "wires": [\r
1915             [\r
1916                 "5fb9f65f.6d5da"\r
1917             ]\r
1918         ]\r
1919     },\r
1920     {\r
1921         "id": "790b52bf.2108ec",\r
1922         "type": "returnFailure",\r
1923         "name": "return failure",\r
1924         "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
1925         "comments": "",\r
1926         "x": 4886.25,\r
1927         "y": 1237.75,\r
1928         "z": "30d84baa.6f57bc",\r
1929         "wires": []\r
1930     },\r
1931     {\r
1932         "id": "5fb9f65f.6d5da",\r
1933         "type": "block",\r
1934         "name": "block : atomic",\r
1935         "xml": "<block atomic=\"true\">",\r
1936         "atomic": "true",\r
1937         "comments": "",\r
1938         "outputs": 1,\r
1939         "x": 4881.75,\r
1940         "y": 1302.75,\r
1941         "z": "30d84baa.6f57bc",\r
1942         "wires": [\r
1943             []\r
1944         ]\r
1945     },\r
1946     {\r
1947         "id": "44e0a0bb.d00d2",\r
1948         "type": "set",\r
1949         "name": "set pnf-name",\r
1950         "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
1951         "comments": "",\r
1952         "x": 4257.75,\r
1953         "y": 1001.75,\r
1954         "z": "30d84baa.6f57bc",\r
1955         "wires": []\r
1956     },\r
1957     {\r
1958         "id": "17d8e4eb.b52ccb",\r
1959         "type": "get-resource",\r
1960         "name": "get-resource src pnf",\r
1961         "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
1962         "comments": "",\r
1963         "outputs": 1,\r
1964         "x": 4283.75,\r
1965         "y": 1118.75,\r
1966         "z": "30d84baa.6f57bc",\r
1967         "wires": [\r
1968             [\r
1969                 "a8ae3ef3.33406",\r
1970                 "fcb06d11.9b839",\r
1971                 "1567721b.17fbc6"\r
1972             ]\r
1973         ]\r
1974     },\r
1975     {\r
1976         "id": "a8ae3ef3.33406",\r
1977         "type": "success",\r
1978         "name": "success",\r
1979         "xml": "<outcome value='success'>\n",\r
1980         "comments": "",\r
1981         "outputs": 1,\r
1982         "x": 4479.2501220703125,\r
1983         "y": 1070.75,\r
1984         "z": "30d84baa.6f57bc",\r
1985         "wires": [\r
1986             [\r
1987                 "dc6575fd.da6538"\r
1988             ]\r
1989         ]\r
1990     },\r
1991     {\r
1992         "id": "fcb06d11.9b839",\r
1993         "type": "not-found",\r
1994         "name": "not-found",\r
1995         "xml": "<outcome value='not-found'>\n",\r
1996         "comments": "",\r
1997         "outputs": 1,\r
1998         "x": 4471.2501220703125,\r
1999         "y": 1125.75,\r
2000         "z": "30d84baa.6f57bc",\r
2001         "wires": [\r
2002             [\r
2003                 "9508c711.df3318"\r
2004             ]\r
2005         ]\r
2006     },\r
2007     {\r
2008         "id": "dc6575fd.da6538",\r
2009         "type": "block",\r
2010         "name": "block",\r
2011         "xml": "<block>\n",\r
2012         "atomic": "false",\r
2013         "comments": "",\r
2014         "outputs": 1,\r
2015         "x": 4623.6324462890625,\r
2016         "y": 1070.4056701660156,\r
2017         "z": "30d84baa.6f57bc",\r
2018         "wires": [\r
2019             [\r
2020                 "5887f01d.382f28"\r
2021             ]\r
2022         ]\r
2023     },\r
2024     {\r
2025         "id": "5887f01d.382f28",\r
2026         "type": "for",\r
2027         "name": "for each relationship",\r
2028         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.domainG-pnf.relationship-list.relationship_length`' >\n",\r
2029         "comments": "",\r
2030         "outputs": 1,\r
2031         "x": 4807.75,\r
2032         "y": 1068.75,\r
2033         "z": "30d84baa.6f57bc",\r
2034         "wires": [\r
2035             [\r
2036                 "7c993206.50f554"\r
2037             ]\r
2038         ]\r
2039     },\r
2040     {\r
2041         "id": "7c993206.50f554",\r
2042         "type": "switchNode",\r
2043         "name": "switch related-to",\r
2044         "xml": "<switch test='`$tmp.aai.domainG-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2045         "comments": "",\r
2046         "outputs": 1,\r
2047         "x": 5002.75,\r
2048         "y": 1068.75,\r
2049         "z": "30d84baa.6f57bc",\r
2050         "wires": [\r
2051             [\r
2052                 "f4906a1c.c87a88"\r
2053             ]\r
2054         ]\r
2055     },\r
2056     {\r
2057         "id": "1567721b.17fbc6",\r
2058         "type": "other",\r
2059         "name": "other",\r
2060         "xml": "<outcome value='Other'>\n",\r
2061         "comments": "",\r
2062         "outputs": 1,\r
2063         "x": 4476.2501220703125,\r
2064         "y": 1182.75,\r
2065         "z": "30d84baa.6f57bc",\r
2066         "wires": [\r
2067             [\r
2068                 "9c97fc0c.fac84"\r
2069             ]\r
2070         ]\r
2071     },\r
2072     {\r
2073         "id": "9c97fc0c.fac84",\r
2074         "type": "returnFailure",\r
2075         "name": "return failure",\r
2076         "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
2077         "comments": "",\r
2078         "x": 4628.2501220703125,\r
2079         "y": 1183.75,\r
2080         "z": "30d84baa.6f57bc",\r
2081         "wires": []\r
2082     },\r
2083     {\r
2084         "id": "9508c711.df3318",\r
2085         "type": "returnFailure",\r
2086         "name": "return failure",\r
2087         "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
2088         "comments": "",\r
2089         "x": 4639.2501220703125,\r
2090         "y": 1126.75,\r
2091         "z": "30d84baa.6f57bc",\r
2092         "wires": []\r
2093     },\r
2094     {\r
2095         "id": "250c851.82c85fa",\r
2096         "type": "set",\r
2097         "name": "set vpn-bindingG and connectivityG",\r
2098         "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
2099         "comments": "",\r
2100         "x": 4314.75,\r
2101         "y": 893.75,\r
2102         "z": "30d84baa.6f57bc",\r
2103         "wires": []\r
2104     },\r
2105     {\r
2106         "id": "f4906a1c.c87a88",\r
2107         "type": "outcome",\r
2108         "name": "esr-thirdparty-sdnc",\r
2109         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2110         "comments": "",\r
2111         "outputs": 1,\r
2112         "x": 5205.75,\r
2113         "y": 1072.75,\r
2114         "z": "30d84baa.6f57bc",\r
2115         "wires": [\r
2116             [\r
2117                 "f2ceb67e.1c0c"\r
2118             ]\r
2119         ]\r
2120     },\r
2121     {\r
2122         "id": "d6942a62.437338",\r
2123         "type": "execute",\r
2124         "name": "get esr-thirdparty-sdnc",\r
2125         "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
2126         "comments": "",\r
2127         "outputs": 1,\r
2128         "x": 5590.75,\r
2129         "y": 1085.75,\r
2130         "z": "30d84baa.6f57bc",\r
2131         "wires": [\r
2132             [\r
2133                 "2bfb5437.ab1884",\r
2134                 "14e65a71.083eb6",\r
2135                 "1ec347c1.300068"\r
2136             ]\r
2137         ]\r
2138     },\r
2139     {\r
2140         "id": "f2ceb67e.1c0c",\r
2141         "type": "block",\r
2142         "name": "block : atomic",\r
2143         "xml": "<block atomic=\"true\">",\r
2144         "atomic": "true",\r
2145         "outputs": 1,\r
2146         "x": 5384.75,\r
2147         "y": 1072.75,\r
2148         "z": "30d84baa.6f57bc",\r
2149         "wires": [\r
2150             [\r
2151                 "e257c8b7.b2bd68",\r
2152                 "d6942a62.437338"\r
2153             ]\r
2154         ]\r
2155     },\r
2156     {\r
2157         "id": "e257c8b7.b2bd68",\r
2158         "type": "set",\r
2159         "name": "set esr-thirdparty-sdnc domainG id",\r
2160         "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
2161         "comments": "",\r
2162         "x": 5620.75,\r
2163         "y": 1033.75,\r
2164         "z": "30d84baa.6f57bc",\r
2165         "wires": []\r
2166     },\r
2167     {\r
2168         "id": "2bfb5437.ab1884",\r
2169         "type": "success",\r
2170         "name": "success",\r
2171         "xml": "<outcome value='success'>\n",\r
2172         "comments": "",\r
2173         "outputs": 1,\r
2174         "x": 5800.75,\r
2175         "y": 1076.75,\r
2176         "z": "30d84baa.6f57bc",\r
2177         "wires": [\r
2178             [\r
2179                 "c27aaf5c.aef2b8"\r
2180             ]\r
2181         ]\r
2182     },\r
2183     {\r
2184         "id": "14e65a71.083eb6",\r
2185         "type": "not-found",\r
2186         "name": "not-found",\r
2187         "xml": "<outcome value='not-found'>\n",\r
2188         "comments": "",\r
2189         "outputs": 1,\r
2190         "x": 5792.75,\r
2191         "y": 1131.75,\r
2192         "z": "30d84baa.6f57bc",\r
2193         "wires": [\r
2194             [\r
2195                 "d07e83df.f79d38"\r
2196             ]\r
2197         ]\r
2198     },\r
2199     {\r
2200         "id": "1ec347c1.300068",\r
2201         "type": "other",\r
2202         "name": "other",\r
2203         "xml": "<outcome value='Other'>\n",\r
2204         "comments": "",\r
2205         "outputs": 1,\r
2206         "x": 5797.75,\r
2207         "y": 1188.75,\r
2208         "z": "30d84baa.6f57bc",\r
2209         "wires": [\r
2210             [\r
2211                 "d1674575.d6f7d8"\r
2212             ]\r
2213         ]\r
2214     },\r
2215     {\r
2216         "id": "d1674575.d6f7d8",\r
2217         "type": "returnFailure",\r
2218         "name": "return failure",\r
2219         "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
2220         "comments": "",\r
2221         "x": 5949.75,\r
2222         "y": 1189.75,\r
2223         "z": "30d84baa.6f57bc",\r
2224         "wires": []\r
2225     },\r
2226     {\r
2227         "id": "d07e83df.f79d38",\r
2228         "type": "returnFailure",\r
2229         "name": "return failure",\r
2230         "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
2231         "comments": "",\r
2232         "x": 5960.75,\r
2233         "y": 1134.75,\r
2234         "z": "30d84baa.6f57bc",\r
2235         "wires": []\r
2236     },\r
2237     {\r
2238         "id": "c27aaf5c.aef2b8",\r
2239         "type": "block",\r
2240         "name": "block",\r
2241         "xml": "<block>\n",\r
2242         "atomic": "false",\r
2243         "comments": "",\r
2244         "outputs": 1,\r
2245         "x": 5945.13232421875,\r
2246         "y": 1074.4056701660156,\r
2247         "z": "30d84baa.6f57bc",\r
2248         "wires": [\r
2249             [\r
2250                 "1298a74.3cdd059"\r
2251             ]\r
2252         ]\r
2253     },\r
2254     {\r
2255         "id": "1298a74.3cdd059",\r
2256         "type": "set",\r
2257         "name": "set controller domainG data",\r
2258         "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
2259         "comments": "",\r
2260         "x": 6159.75,\r
2261         "y": 1070.75,\r
2262         "z": "30d84baa.6f57bc",\r
2263         "wires": []\r
2264     },\r
2265     {\r
2266         "id": "8ad3b61d.5ba128",\r
2267         "type": "comment",\r
2268         "name": "both src and dst exist",\r
2269         "info": "",\r
2270         "comments": "",\r
2271         "x": 3933.75,\r
2272         "y": 1011.75,\r
2273         "z": "30d84baa.6f57bc",\r
2274         "wires": []\r
2275     },\r
2276     {\r
2277         "id": "52401003.e54ba8",\r
2278         "type": "switchNode",\r
2279         "name": "switch vpn-binding is not already Activated (i.e. is either Created or Modified)",\r
2280         "xml": "<switch test=\"`$tmp.aai.vpn-binding.operational-status != 'Activated' `\">\n",\r
2281         "comments": "",\r
2282         "outputs": 1,\r
2283         "x": 2495.75,\r
2284         "y": 738.75,\r
2285         "z": "30d84baa.6f57bc",\r
2286         "wires": [\r
2287             [\r
2288                 "84b154c7.dcfaf",\r
2289                 "d81b7512.e15008"\r
2290             ]\r
2291         ]\r
2292     },\r
2293     {\r
2294         "id": "d81b7512.e15008",\r
2295         "type": "outcomeFalse",\r
2296         "name": "false",\r
2297         "xml": "<outcome value='false'>\n",\r
2298         "comments": "",\r
2299         "outputs": 1,\r
2300         "x": 2902.75,\r
2301         "y": 756.75,\r
2302         "z": "30d84baa.6f57bc",\r
2303         "wires": [\r
2304             [\r
2305                 "cf7d3373.5ca978"\r
2306             ]\r
2307         ]\r
2308     },\r
2309     {\r
2310         "id": "84b154c7.dcfaf",\r
2311         "type": "outcomeTrue",\r
2312         "name": "true",\r
2313         "xml": "<outcome value='true'>\n",\r
2314         "comments": "",\r
2315         "outputs": 1,\r
2316         "x": 2902.75,\r
2317         "y": 701.75,\r
2318         "z": "30d84baa.6f57bc",\r
2319         "wires": [\r
2320             [\r
2321                 "37e2ea9b.dd967e"\r
2322             ]\r
2323         ]\r
2324     },\r
2325     {\r
2326         "id": "37e2ea9b.dd967e",\r
2327         "type": "block",\r
2328         "name": "block : atomic",\r
2329         "xml": "<block atomic=\"true\">",\r
2330         "atomic": "true",\r
2331         "outputs": 1,\r
2332         "x": 3058.75,\r
2333         "y": 699.75,\r
2334         "z": "30d84baa.6f57bc",\r
2335         "wires": [\r
2336             [\r
2337                 "d6d9459c.52e34",\r
2338                 "ae8dd7ac.9cc1d"\r
2339             ]\r
2340         ]\r
2341     },\r
2342     {\r
2343         "id": "cf7d3373.5ca978",\r
2344         "type": "block",\r
2345         "name": "block",\r
2346         "xml": "<block>",\r
2347         "atomic": "false",\r
2348         "comments": "",\r
2349         "outputs": 1,\r
2350         "x": 3035.75,\r
2351         "y": 757.75,\r
2352         "z": "30d84baa.6f57bc",\r
2353         "wires": [\r
2354             []\r
2355         ]\r
2356     },\r
2357     {\r
2358         "id": "677bc6cc.c2278",\r
2359         "type": "save",\r
2360         "name": "update service-instance resource in AAI",\r
2361         "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
2362         "comments": "",\r
2363         "outputs": 1,\r
2364         "x": 5485.500244140625,\r
2365         "y": 685.25,\r
2366         "z": "30d84baa.6f57bc",\r
2367         "wires": [\r
2368             []\r
2369         ]\r
2370     },\r
2371     {\r
2372         "id": "d67d1410.76b2b8",\r
2373         "type": "save",\r
2374         "name": "update service-instance resource in AAI",\r
2375         "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
2376         "comments": "",\r
2377         "outputs": 1,\r
2378         "x": 4710.25,\r
2379         "y": 2278,\r
2380         "z": "30d84baa.6f57bc",\r
2381         "wires": [\r
2382             []\r
2383         ]\r
2384     },\r
2385     {\r
2386         "id": "fce678f7.abc0e",\r
2387         "type": "execute",\r
2388         "name": "execute RestApiCallNode Create Performance Monitoring Data",\r
2389         "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
2390         "comments": "",\r
2391         "outputs": 1,\r
2392         "x": 5557.667236328125,\r
2393         "y": 764.3333129882812,\r
2394         "z": "30d84baa.6f57bc",\r
2395         "wires": [\r
2396             []\r
2397         ]\r
2398     },\r
2399     {\r
2400         "id": "c53e4466.6aae58",\r
2401         "type": "execute",\r
2402         "name": "execute RestconfDiscoveryNode establishSubscription",\r
2403         "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
2404         "comments": "",\r
2405         "outputs": 1,\r
2406         "x": 5530.6669921875,\r
2407         "y": 823.3331909179688,\r
2408         "z": "30d84baa.6f57bc",\r
2409         "wires": [\r
2410             []\r
2411         ]\r
2412     },\r
2413     {\r
2414         "id": "4b53c1cb.8fea68",\r
2415         "type": "execute",\r
2416         "name": "execute RestconfDiscoveryNode establishPersistentConnection",\r
2417         "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
2418         "comments": "",\r
2419         "outputs": 1,\r
2420         "x": 5556.667236328125,\r
2421         "y": 877.3331909179688,\r
2422         "z": "30d84baa.6f57bc",\r
2423         "wires": [\r
2424             []\r
2425         ]\r
2426     },\r
2427     {\r
2428         "id": "d6603080.c5623",\r
2429         "type": "execute",\r
2430         "name": "execute RestApiCallNode Create Performance Monitoring Data",\r
2431         "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
2432         "comments": "",\r
2433         "outputs": 1,\r
2434         "x": 4783.6669921875,\r
2435         "y": 2380.33349609375,\r
2436         "z": "30d84baa.6f57bc",\r
2437         "wires": [\r
2438             []\r
2439         ]\r
2440     },\r
2441     {\r
2442         "id": "31942261.57ab16",\r
2443         "type": "execute",\r
2444         "name": "execute RestconfDiscoveryNode establishSubscription",\r
2445         "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
2446         "comments": "",\r
2447         "outputs": 1,\r
2448         "x": 4756.666748046875,\r
2449         "y": 2439.3333740234375,\r
2450         "z": "30d84baa.6f57bc",\r
2451         "wires": [\r
2452             []\r
2453         ]\r
2454     },\r
2455     {\r
2456         "id": "99f2f22d.ceb08",\r
2457         "type": "execute",\r
2458         "name": "execute RestconfDiscoveryNode establishPersistentConnection",\r
2459         "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
2460         "comments": "",\r
2461         "outputs": 1,\r
2462         "x": 4782.6669921875,\r
2463         "y": 2493.3333740234375,\r
2464         "z": "30d84baa.6f57bc",\r
2465         "wires": [\r
2466             []\r
2467         ]\r
2468     }\r
2469 ]