Fix underlay DG testing issues
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation-create.json
1 [
2   {
3     "id": "c755dc6.4fb532",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 98,
8     "y": 69,
9     "z": "d1c71750.37b338",
10     "wires": [
11       [
12         "80264a38.3fce88"
13       ]
14     ]
15   },
16   {
17     "id": "80264a38.3fce88",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
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}'>",
24     "outputs": 1,
25     "x": 310.00000381469727,
26     "y": 141.0000171661377,
27     "z": "d1c71750.37b338",
28     "wires": [
29       [
30         "8d5d312f.9d9cd"
31       ]
32     ]
33   },
34   {
35     "id": "8d5d312f.9d9cd",
36     "type": "method",
37     "name": "method network-topology-operation-create",
38     "xml": "<method rpc='network-topology-operation-create' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 298.0001220703125,
42     "y": 229,
43     "z": "d1c71750.37b338",
44     "wires": [
45       [
46         "b2241a21.76a97"
47       ]
48     ]
49   },
50   {
51     "id": "b2241a21.76a97",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 374,
59     "y": 627.0000305175781,
60     "z": "d1c71750.37b338",
61     "wires": [
62       [
63         "5f4a6be2.122adc",
64         "3b31c47b.b0ee54",
65         "bde939b5.904ee8",
66         "e986dd0a.7fdf58",
67         "ba17de0c.0ea5e",
68         "39b02aa1.204f3e",
69         "eb55ec0a.7da3a8",
70         "bee6a021.504aa8",
71         "f7d82967.39b968",
72         "e292252a.39cff8",
73         "31c5a0ea.7876c",
74         "f41c462f.8589a",
75         "58848908.ffbbb",
76         "7b14c9f6.80d72",
77         "a66c7c7d.376898",
78         "30879b4d.be3994",
79         "dd6bc2bc.fdc89",
80         "d54c20dc.cf6128",
81         "b11968d4.007e68",
82         "725ceec3.c5b2"
83       ]
84     ]
85   },
86   {
87     "id": "ec4c3437.b9425",
88     "type": "execute",
89     "name": "execute RestApiCallNode Create IPWAN L3VPN",
90     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/l3smvpntemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
91     "comments": "",
92     "outputs": 1,
93     "x": 1121.0001831054688,
94     "y": 1000,
95     "z": "d1c71750.37b338",
96     "wires": [
97       [
98         "d40cc8a7.624908",
99         "550c17e5.cfd818"
100       ]
101     ]
102   },
103   {
104     "id": "715951e.aa50f3",
105     "type": "set",
106     "name": "set controller data",
107     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
108     "comments": "",
109     "x": 1275.0000610351562,
110     "y": 274,
111     "z": "d1c71750.37b338",
112     "wires": []
113   },
114   {
115     "id": "bde939b5.904ee8",
116     "type": "for",
117     "name": "for each network-input-parameters",
118     "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
119     "comments": "",
120     "outputs": 1,
121     "x": 816.6666259765625,
122     "y": 189.66665649414062,
123     "z": "d1c71750.37b338",
124     "wires": [
125       [
126         "d3d6530.ff1843"
127       ]
128     ]
129   },
130   {
131     "id": "257293b6.92d5cc",
132     "type": "execute",
133     "name": "execute RestApiCallNode Create SPTN L3VPN",
134     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.restapi.templateDir +'/sptn-l3vpn-template.json'\"/>\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
135     "comments": "",
136     "outputs": 1,
137     "x": 1157.6668701171875,
138     "y": 1239.666748046875,
139     "z": "d1c71750.37b338",
140     "wires": [
141       []
142     ]
143   },
144   {
145     "id": "3b31c47b.b0ee54",
146     "type": "execute",
147     "name": "execute vpn-policy1-id",
148     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy1-id\"/>\n",
149     "comments": "",
150     "outputs": 1,
151     "x": 819.6666259765625,
152     "y": 462.66668701171875,
153     "z": "d1c71750.37b338",
154     "wires": [
155       [
156         "c0078e33.2f6078"
157       ]
158     ]
159   },
160   {
161     "id": "c0078e33.2f6078",
162     "type": "failure",
163     "name": "failure",
164     "xml": "<outcome value='failure'>\n",
165     "comments": "",
166     "outputs": 1,
167     "x": 1044.6666259765625,
168     "y": 465.6666564941406,
169     "z": "d1c71750.37b338",
170     "wires": [
171       [
172         "c5ccda76.692ed"
173       ]
174     ]
175   },
176   {
177     "id": "c5ccda76.692ed",
178     "type": "returnFailure",
179     "name": "return failure",
180     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
181     "comments": "",
182     "x": 1225.6666259765625,
183     "y": 463.6666564941406,
184     "z": "d1c71750.37b338",
185     "wires": []
186   },
187   {
188     "id": "5f4a6be2.122adc",
189     "type": "call",
190     "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
191     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
192     "comments": "",
193     "outputs": 1,
194     "x": 871.5,
195     "y": 106,
196     "z": "d1c71750.37b338",
197     "wires": [
198       []
199     ]
200   },
201   {
202     "id": "dd6bc2bc.fdc89",
203     "type": "get-resource",
204     "name": "get-resource esr-thirdparty-sdnc",
205     "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.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
206     "comments": "",
207     "outputs": 1,
208     "x": 832.5,
209     "y": 340,
210     "z": "d1c71750.37b338",
211     "wires": [
212       [
213         "8dbd8bc6.d1cbd8",
214         "4c28930c.3740a4",
215         "e399b426.d74ce"
216       ]
217     ]
218   },
219   {
220     "id": "8dbd8bc6.d1cbd8",
221     "type": "success",
222     "name": "success",
223     "xml": "<outcome value='success'>\n",
224     "comments": "",
225     "outputs": 1,
226     "x": 1077.5,
227     "y": 286,
228     "z": "d1c71750.37b338",
229     "wires": [
230       [
231         "715951e.aa50f3"
232       ]
233     ]
234   },
235   {
236     "id": "4c28930c.3740a4",
237     "type": "not-found",
238     "name": "not-found",
239     "xml": "<outcome value='not-found'>\n",
240     "comments": "",
241     "outputs": 1,
242     "x": 1080.990966796875,
243     "y": 333.57403564453125,
244     "z": "d1c71750.37b338",
245     "wires": [
246       [
247         "ed8f061.2ee11f8"
248       ]
249     ]
250   },
251   {
252     "id": "e399b426.d74ce",
253     "type": "other",
254     "name": "other",
255     "xml": "<outcome value='Other'>\n",
256     "comments": "",
257     "outputs": 1,
258     "x": 1076.323974609375,
259     "y": 374.9073486328125,
260     "z": "d1c71750.37b338",
261     "wires": [
262       [
263         "37b86197.b131ae"
264       ]
265     ]
266   },
267   {
268     "id": "ed8f061.2ee11f8",
269     "type": "returnFailure",
270     "name": "return failure",
271     "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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
272     "comments": "",
273     "x": 1257.5623779296875,
274     "y": 321.8597717285156,
275     "z": "d1c71750.37b338",
276     "wires": []
277   },
278   {
279     "id": "37b86197.b131ae",
280     "type": "returnFailure",
281     "name": "return failure",
282     "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 esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
283     "comments": "",
284     "x": 1264.0965309143066,
285     "y": 370.3465414047241,
286     "z": "d1c71750.37b338",
287     "wires": []
288   },
289   {
290     "id": "79980939.27992",
291     "type": "switchNode",
292     "name": "switch name",
293     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
294     "comments": "",
295     "outputs": 1,
296     "x": 1609.5,
297     "y": 40.000030517578125,
298     "z": "d1c71750.37b338",
299     "wires": [
300       [
301         "485e0689.38ce3"
302       ]
303     ]
304   },
305   {
306     "id": "6566447b.cd16fc",
307     "type": "switchNode",
308     "name": "switch service-type",
309     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'serviceType'`\">\n",
310     "comments": "",
311     "outputs": 1,
312     "x": 1613.4999389648438,
313     "y": 97.60000610351562,
314     "z": "d1c71750.37b338",
315     "wires": [
316       [
317         "95810552.2e3558"
318       ]
319     ]
320   },
321   {
322     "id": "485e0689.38ce3",
323     "type": "outcomeTrue",
324     "name": "true",
325     "xml": "<outcome value='true'>\n",
326     "comments": "",
327     "outputs": 1,
328     "x": 1796.5,
329     "y": 36.000030517578125,
330     "z": "d1c71750.37b338",
331     "wires": [
332       [
333         "8905bcbf.11f838"
334       ]
335     ]
336   },
337   {
338     "id": "95810552.2e3558",
339     "type": "outcomeTrue",
340     "name": "true",
341     "xml": "<outcome value='true'>\n",
342     "comments": "",
343     "outputs": 1,
344     "x": 1798.4999389648438,
345     "y": 95.60000610351562,
346     "z": "d1c71750.37b338",
347     "wires": [
348       [
349         "4a110462.b2e7b4"
350       ]
351     ]
352   },
353   {
354     "id": "8905bcbf.11f838",
355     "type": "set",
356     "name": "set name",
357     "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
358     "comments": "",
359     "x": 1964.5,
360     "y": 36.60003662109375,
361     "z": "d1c71750.37b338",
362     "wires": []
363   },
364   {
365     "id": "4a110462.b2e7b4",
366     "type": "set",
367     "name": "set service-type",
368     "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
369     "comments": "",
370     "x": 1967.4999389648438,
371     "y": 93.60000610351562,
372     "z": "d1c71750.37b338",
373     "wires": []
374   },
375   {
376     "id": "db1ad825.26052",
377     "type": "switchNode",
378     "name": "switch topology",
379     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n",
380     "comments": "",
381     "outputs": 1,
382     "x": 1612.5,
383     "y": 159,
384     "z": "d1c71750.37b338",
385     "wires": [
386       [
387         "8e30a166.dc4c3"
388       ]
389     ]
390   },
391   {
392     "id": "612a1bef.8a1a9c",
393     "type": "switchNode",
394     "name": "switch technology",
395     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'technology'`\">\n",
396     "comments": "",
397     "outputs": 1,
398     "x": 1615.5,
399     "y": 212,
400     "z": "d1c71750.37b338",
401     "wires": [
402       [
403         "4a904aae.350a04"
404       ]
405     ]
406   },
407   {
408     "id": "32815667.56769a",
409     "type": "switchNode",
410     "name": "switch site1_name",
411     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n",
412     "comments": "",
413     "outputs": 1,
414     "x": 1620.5,
415     "y": 274,
416     "z": "d1c71750.37b338",
417     "wires": [
418       [
419         "8796222c.6fa77"
420       ]
421     ]
422   },
423   {
424     "id": "d99350c4.40314",
425     "type": "switchNode",
426     "name": "switch site2_name",
427     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_name'`\">\n",
428     "comments": "",
429     "outputs": 1,
430     "x": 1615.5,
431     "y": 337,
432     "z": "d1c71750.37b338",
433     "wires": [
434       [
435         "f4f0e78c.aadc4"
436       ]
437     ]
438   },
439   {
440     "id": "e54a4b77.575f08",
441     "type": "switchNode",
442     "name": "switch sna1_name",
443     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna1_name'`\">\n",
444     "comments": "",
445     "outputs": 1,
446     "x": 1620.5,
447     "y": 397,
448     "z": "d1c71750.37b338",
449     "wires": [
450       [
451         "877c7d0f.86dd"
452       ]
453     ]
454   },
455   {
456     "id": "a16ad1af.30669",
457     "type": "switchNode",
458     "name": "switch sna2_name",
459     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna2_name'`\">\n",
460     "comments": "",
461     "outputs": 1,
462     "x": 1615.5,
463     "y": 461,
464     "z": "d1c71750.37b338",
465     "wires": [
466       [
467         "d7e263ff.d62088"
468       ]
469     ]
470   },
471   {
472     "id": "a9d432.f245a3d",
473     "type": "switchNode",
474     "name": "switch pe1_id",
475     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
476     "comments": "",
477     "outputs": 1,
478     "x": 1620.5,
479     "y": 523,
480     "z": "d1c71750.37b338",
481     "wires": [
482       [
483         "d8f67746.e97618"
484       ]
485     ]
486   },
487   {
488     "id": "89f7d244.7bed58",
489     "type": "switchNode",
490     "name": "switch pe2_id",
491     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe2_id'`\">\n",
492     "comments": "",
493     "outputs": 1,
494     "x": 1635.5,
495     "y": 583,
496     "z": "d1c71750.37b338",
497     "wires": [
498       [
499         "1af5cef.1a18eb1"
500       ]
501     ]
502   },
503   {
504     "id": "9e107c02.44f758",
505     "type": "switchNode",
506     "name": "switch ac1_id",
507     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_id'`\">\n",
508     "comments": "",
509     "outputs": 1,
510     "x": 1630.5,
511     "y": 655,
512     "z": "d1c71750.37b338",
513     "wires": [
514       [
515         "837e8793.ef9c9"
516       ]
517     ]
518   },
519   {
520     "id": "37c58153.b2998e",
521     "type": "switchNode",
522     "name": "switch ac2_id",
523     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_id'`\">\n",
524     "comments": "",
525     "outputs": 1,
526     "x": 1629.5,
527     "y": 714,
528     "z": "d1c71750.37b338",
529     "wires": [
530       [
531         "cc628d9.cda75f"
532       ]
533     ]
534   },
535   {
536     "id": "9ab7bd24.8d06c8",
537     "type": "switchNode",
538     "name": "switch ac1_ip",
539     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_ip'`\">\n",
540     "comments": "",
541     "outputs": 1,
542     "x": 1606.5,
543     "y": 777,
544     "z": "d1c71750.37b338",
545     "wires": [
546       [
547         "b6eb1b8b.204bb"
548       ]
549     ]
550   },
551   {
552     "id": "c98044e2.7a0fd",
553     "type": "switchNode",
554     "name": "switch ac2_ip",
555     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_ip'`\">\n",
556     "comments": "",
557     "outputs": 1,
558     "x": 1609.5,
559     "y": 834,
560     "z": "d1c71750.37b338",
561     "wires": [
562       [
563         "67413744.703078"
564       ]
565     ]
566   },
567   {
568     "id": "9c377089.4d9f3",
569     "type": "switchNode",
570     "name": "switch ac1_peer_ip",
571     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_peer_ip'`\">\n",
572     "comments": "",
573     "outputs": 1,
574     "x": 1615.5,
575     "y": 886,
576     "z": "d1c71750.37b338",
577     "wires": [
578       [
579         "762be29b.5e95bc"
580       ]
581     ]
582   },
583   {
584     "id": "6227130a.b283dc",
585     "type": "switchNode",
586     "name": "switch ac2_peer_ip",
587     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_peer_ip'`\">\n",
588     "comments": "",
589     "outputs": 1,
590     "x": 1616.5,
591     "y": 941,
592     "z": "d1c71750.37b338",
593     "wires": [
594       [
595         "b47203e8.02223"
596       ]
597     ]
598   },
599   {
600     "id": "87656c47.a73838",
601     "type": "switchNode",
602     "name": "switch ac1_svlan",
603     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_svlan'`\">\n",
604     "comments": "",
605     "outputs": 1,
606     "x": 1628.5,
607     "y": 990,
608     "z": "d1c71750.37b338",
609     "wires": [
610       [
611         "f47a7f0.182ed8"
612       ]
613     ]
614   },
615   {
616     "id": "9d6a7f28.4304b",
617     "type": "switchNode",
618     "name": "switch ac2_svlan",
619     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_svlan'`\">\n",
620     "comments": "",
621     "outputs": 1,
622     "x": 1621.5,
623     "y": 1041,
624     "z": "d1c71750.37b338",
625     "wires": [
626       [
627         "88ef93af.1ec22"
628       ]
629     ]
630   },
631   {
632     "id": "b0373753.70f0a",
633     "type": "switchNode",
634     "name": "switch ac1_protocol",
635     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol'`\">\n",
636     "comments": "",
637     "outputs": 1,
638     "x": 1614.5,
639     "y": 1099,
640     "z": "d1c71750.37b338",
641     "wires": [
642       [
643         "b0c70aaf.aa196"
644       ]
645     ]
646   },
647   {
648     "id": "a53453dd.69ab28",
649     "type": "switchNode",
650     "name": "switch ac2_protocol",
651     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol'`\">\n",
652     "comments": "",
653     "outputs": 1,
654     "x": 1615.5,
655     "y": 1159,
656     "z": "d1c71750.37b338",
657     "wires": [
658       [
659         "6f144e4b.8ca8a"
660       ]
661     ]
662   },
663   {
664     "id": "9abdda02.3e776",
665     "type": "switchNode",
666     "name": "switch ac1_protocol_bgp_as",
667     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol_bgp_as'`\">\n",
668     "comments": "",
669     "outputs": 1,
670     "x": 1609.5,
671     "y": 1345,
672     "z": "d1c71750.37b338",
673     "wires": [
674       [
675         "7db2780.3608008"
676       ]
677     ]
678   },
679   {
680     "id": "e12d824c.4650c8",
681     "type": "switchNode",
682     "name": "switch ac2_protocol_bgp_as",
683     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol_bgp_as'`\">\n",
684     "comments": "",
685     "outputs": 1,
686     "x": 1615.5,
687     "y": 1396,
688     "z": "d1c71750.37b338",
689     "wires": [
690       [
691         "7f6622dd.022f64"
692       ]
693     ]
694   },
695   {
696     "id": "46a813fb.9bd0f4",
697     "type": "switchNode",
698     "name": "switch af_type",
699     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'af_type'`\">\n",
700     "comments": "",
701     "outputs": 1,
702     "x": 1582.5,
703     "y": 1487,
704     "z": "d1c71750.37b338",
705     "wires": [
706       [
707         "b96483f6.45c738"
708       ]
709     ]
710   },
711   {
712     "id": "8e30a166.dc4c3",
713     "type": "outcomeTrue",
714     "name": "true",
715     "xml": "<outcome value='true'>\n",
716     "comments": "",
717     "outputs": 1,
718     "x": 1787.5,
719     "y": 155,
720     "z": "d1c71750.37b338",
721     "wires": [
722       [
723         "5c246487.156d2c"
724       ]
725     ]
726   },
727   {
728     "id": "4a904aae.350a04",
729     "type": "outcomeTrue",
730     "name": "true",
731     "xml": "<outcome value='true'>\n",
732     "comments": "",
733     "outputs": 1,
734     "x": 1793.5,
735     "y": 208,
736     "z": "d1c71750.37b338",
737     "wires": [
738       [
739         "aef4e4d3.e357c"
740       ]
741     ]
742   },
743   {
744     "id": "8796222c.6fa77",
745     "type": "outcomeTrue",
746     "name": "true",
747     "xml": "<outcome value='true'>\n",
748     "comments": "",
749     "outputs": 1,
750     "x": 1802.5,
751     "y": 270,
752     "z": "d1c71750.37b338",
753     "wires": [
754       [
755         "913fcc28.6f8338"
756       ]
757     ]
758   },
759   {
760     "id": "f4f0e78c.aadc4",
761     "type": "outcomeTrue",
762     "name": "true",
763     "xml": "<outcome value='true'>\n",
764     "comments": "",
765     "outputs": 1,
766     "x": 1800.5,
767     "y": 333,
768     "z": "d1c71750.37b338",
769     "wires": [
770       [
771         "785ee992.13114"
772       ]
773     ]
774   },
775   {
776     "id": "877c7d0f.86dd",
777     "type": "outcomeTrue",
778     "name": "true",
779     "xml": "<outcome value='true'>\n",
780     "comments": "",
781     "outputs": 1,
782     "x": 1805.5,
783     "y": 395,
784     "z": "d1c71750.37b338",
785     "wires": [
786       [
787         "e33dfd5b.4d737"
788       ]
789     ]
790   },
791   {
792     "id": "d7e263ff.d62088",
793     "type": "outcomeTrue",
794     "name": "true",
795     "xml": "<outcome value='true'>\n",
796     "comments": "",
797     "outputs": 1,
798     "x": 1797.5,
799     "y": 453,
800     "z": "d1c71750.37b338",
801     "wires": [
802       [
803         "a4ccc339.77b078"
804       ]
805     ]
806   },
807   {
808     "id": "d8f67746.e97618",
809     "type": "outcomeTrue",
810     "name": "true",
811     "xml": "<outcome value='true'>\n",
812     "comments": "",
813     "outputs": 1,
814     "x": 1798.5,
815     "y": 516,
816     "z": "d1c71750.37b338",
817     "wires": [
818       [
819         "5f722601.0dd94"
820       ]
821     ]
822   },
823   {
824     "id": "1af5cef.1a18eb1",
825     "type": "outcomeTrue",
826     "name": "true",
827     "xml": "<outcome value='true'>\n",
828     "comments": "",
829     "outputs": 1,
830     "x": 1797.5,
831     "y": 585,
832     "z": "d1c71750.37b338",
833     "wires": [
834       [
835         "f5aa06de.054208"
836       ]
837     ]
838   },
839   {
840     "id": "837e8793.ef9c9",
841     "type": "outcomeTrue",
842     "name": "true",
843     "xml": "<outcome value='true'>\n",
844     "comments": "",
845     "outputs": 1,
846     "x": 1794.5,
847     "y": 653,
848     "z": "d1c71750.37b338",
849     "wires": [
850       [
851         "96cf4bf8.bd2d6"
852       ]
853     ]
854   },
855   {
856     "id": "cc628d9.cda75f",
857     "type": "outcomeTrue",
858     "name": "true",
859     "xml": "<outcome value='true'>\n",
860     "comments": "",
861     "outputs": 1,
862     "x": 1793.5,
863     "y": 717,
864     "z": "d1c71750.37b338",
865     "wires": [
866       [
867         "514c2d04.fd52e4"
868       ]
869     ]
870   },
871   {
872     "id": "b6eb1b8b.204bb",
873     "type": "outcomeTrue",
874     "name": "true",
875     "xml": "<outcome value='true'>\n",
876     "comments": "",
877     "outputs": 1,
878     "x": 1766.5,
879     "y": 775,
880     "z": "d1c71750.37b338",
881     "wires": [
882       [
883         "78158e69.19003"
884       ]
885     ]
886   },
887   {
888     "id": "67413744.703078",
889     "type": "outcomeTrue",
890     "name": "true",
891     "xml": "<outcome value='true'>\n",
892     "comments": "",
893     "outputs": 1,
894     "x": 1768.5,
895     "y": 832,
896     "z": "d1c71750.37b338",
897     "wires": [
898       [
899         "a78b99c4.9438d"
900       ]
901     ]
902   },
903   {
904     "id": "762be29b.5e95bc",
905     "type": "outcomeTrue",
906     "name": "true",
907     "xml": "<outcome value='true'>\n",
908     "comments": "",
909     "outputs": 1,
910     "x": 1804.5,
911     "y": 883,
912     "z": "d1c71750.37b338",
913     "wires": [
914       [
915         "71f0b03f.45cda"
916       ]
917     ]
918   },
919   {
920     "id": "b47203e8.02223",
921     "type": "outcomeTrue",
922     "name": "true",
923     "xml": "<outcome value='true'>\n",
924     "comments": "",
925     "outputs": 1,
926     "x": 1809.5,
927     "y": 946,
928     "z": "d1c71750.37b338",
929     "wires": [
930       [
931         "89aee34.3120ea"
932       ]
933     ]
934   },
935   {
936     "id": "f47a7f0.182ed8",
937     "type": "outcomeTrue",
938     "name": "true",
939     "xml": "<outcome value='true'>\n",
940     "comments": "",
941     "outputs": 1,
942     "x": 1805.5,
943     "y": 995,
944     "z": "d1c71750.37b338",
945     "wires": [
946       [
947         "767f5368.9e89f4"
948       ]
949     ]
950   },
951   {
952     "id": "88ef93af.1ec22",
953     "type": "outcomeTrue",
954     "name": "true",
955     "xml": "<outcome value='true'>\n",
956     "comments": "",
957     "outputs": 1,
958     "x": 1789.5,
959     "y": 1044,
960     "z": "d1c71750.37b338",
961     "wires": [
962       [
963         "84e8e875.de3c78"
964       ]
965     ]
966   },
967   {
968     "id": "b0c70aaf.aa196",
969     "type": "outcomeTrue",
970     "name": "true",
971     "xml": "<outcome value='true'>\n",
972     "comments": "",
973     "outputs": 1,
974     "x": 1786.5,
975     "y": 1097,
976     "z": "d1c71750.37b338",
977     "wires": [
978       [
979         "6928b887.0efe58"
980       ]
981     ]
982   },
983   {
984     "id": "6f144e4b.8ca8a",
985     "type": "outcomeTrue",
986     "name": "true",
987     "xml": "<outcome value='true'>\n",
988     "comments": "",
989     "outputs": 1,
990     "x": 1799.5,
991     "y": 1156,
992     "z": "d1c71750.37b338",
993     "wires": [
994       [
995         "1d3a4115.7746c7"
996       ]
997     ]
998   },
999   {
1000     "id": "7db2780.3608008",
1001     "type": "outcomeTrue",
1002     "name": "true",
1003     "xml": "<outcome value='true'>\n",
1004     "comments": "",
1005     "outputs": 1,
1006     "x": 1817.5,
1007     "y": 1342,
1008     "z": "d1c71750.37b338",
1009     "wires": [
1010       [
1011         "6cea4c1f.ab47ac"
1012       ]
1013     ]
1014   },
1015   {
1016     "id": "7f6622dd.022f64",
1017     "type": "outcomeTrue",
1018     "name": "true",
1019     "xml": "<outcome value='true'>\n",
1020     "comments": "",
1021     "outputs": 1,
1022     "x": 1824.5,
1023     "y": 1392,
1024     "z": "d1c71750.37b338",
1025     "wires": [
1026       [
1027         "e150d4b3.e7c148"
1028       ]
1029     ]
1030   },
1031   {
1032     "id": "b96483f6.45c738",
1033     "type": "outcomeTrue",
1034     "name": "true",
1035     "xml": "<outcome value='true'>\n",
1036     "comments": "",
1037     "outputs": 1,
1038     "x": 1786.5,
1039     "y": 1496,
1040     "z": "d1c71750.37b338",
1041     "wires": [
1042       [
1043         "637cf71c.1ca77"
1044       ]
1045     ]
1046   },
1047   {
1048     "id": "5c246487.156d2c",
1049     "type": "set",
1050     "name": "set topology",
1051     "xml": "<set>\n<parameter name='prop.l3vpn.topology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1052     "comments": "",
1053     "x": 1982.5,
1054     "y": 156,
1055     "z": "d1c71750.37b338",
1056     "wires": []
1057   },
1058   {
1059     "id": "aef4e4d3.e357c",
1060     "type": "set",
1061     "name": "set technology",
1062     "xml": "<set>\n<parameter name='prop.l3vpn.technology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1063     "comments": "",
1064     "x": 1972.5,
1065     "y": 210,
1066     "z": "d1c71750.37b338",
1067     "wires": []
1068   },
1069   {
1070     "id": "913fcc28.6f8338",
1071     "type": "set",
1072     "name": "set site1_name",
1073     "xml": "<set>\n<parameter name='prop.l3vpn.site1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1074     "comments": "",
1075     "x": 1976.5,
1076     "y": 267,
1077     "z": "d1c71750.37b338",
1078     "wires": []
1079   },
1080   {
1081     "id": "785ee992.13114",
1082     "type": "set",
1083     "name": "set site2_name",
1084     "xml": "<set>\n<parameter name='prop.l3vpn.site2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1085     "comments": "",
1086     "x": 1979.5,
1087     "y": 326,
1088     "z": "d1c71750.37b338",
1089     "wires": []
1090   },
1091   {
1092     "id": "e33dfd5b.4d737",
1093     "type": "set",
1094     "name": "set sna1_name",
1095     "xml": "<set>\n<parameter name='prop.l3vpn.sna1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1096     "comments": "",
1097     "x": 1987.5,
1098     "y": 388,
1099     "z": "d1c71750.37b338",
1100     "wires": []
1101   },
1102   {
1103     "id": "a4ccc339.77b078",
1104     "type": "set",
1105     "name": "set sna2_name",
1106     "xml": "<set>\n<parameter name='prop.l3vpn.sna2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1107     "comments": "",
1108     "x": 1979.5,
1109     "y": 448,
1110     "z": "d1c71750.37b338",
1111     "wires": []
1112   },
1113   {
1114     "id": "5f722601.0dd94",
1115     "type": "set",
1116     "name": "set pe1_id",
1117     "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1118     "comments": "",
1119     "x": 1976.5,
1120     "y": 508,
1121     "z": "d1c71750.37b338",
1122     "wires": []
1123   },
1124   {
1125     "id": "f5aa06de.054208",
1126     "type": "set",
1127     "name": "set pe2_id",
1128     "xml": "<set>\n<parameter name='prop.l3vpn.pe2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1129     "comments": "",
1130     "x": 1972.5,
1131     "y": 579,
1132     "z": "d1c71750.37b338",
1133     "wires": []
1134   },
1135   {
1136     "id": "96cf4bf8.bd2d6",
1137     "type": "set",
1138     "name": "set ac1_id",
1139     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1140     "comments": "",
1141     "x": 1965.5,
1142     "y": 645,
1143     "z": "d1c71750.37b338",
1144     "wires": []
1145   },
1146   {
1147     "id": "514c2d04.fd52e4",
1148     "type": "set",
1149     "name": "set ac2_id",
1150     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1151     "comments": "",
1152     "x": 1968.5,
1153     "y": 712,
1154     "z": "d1c71750.37b338",
1155     "wires": []
1156   },
1157   {
1158     "id": "78158e69.19003",
1159     "type": "set",
1160     "name": "set ac1_ip",
1161     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1162     "comments": "",
1163     "x": 1944.5,
1164     "y": 778,
1165     "z": "d1c71750.37b338",
1166     "wires": []
1167   },
1168   {
1169     "id": "a78b99c4.9438d",
1170     "type": "set",
1171     "name": "set ac2_ip",
1172     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1173     "comments": "",
1174     "x": 1948.5,
1175     "y": 832,
1176     "z": "d1c71750.37b338",
1177     "wires": []
1178   },
1179   {
1180     "id": "71f0b03f.45cda",
1181     "type": "set",
1182     "name": "set ac1_peer_ip",
1183     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1184     "comments": "",
1185     "x": 1996.5,
1186     "y": 887,
1187     "z": "d1c71750.37b338",
1188     "wires": []
1189   },
1190   {
1191     "id": "89aee34.3120ea",
1192     "type": "set",
1193     "name": "set ac2_peer_ip",
1194     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_peer_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1195     "comments": "",
1196     "x": 1992.5,
1197     "y": 942,
1198     "z": "d1c71750.37b338",
1199     "wires": []
1200   },
1201   {
1202     "id": "767f5368.9e89f4",
1203     "type": "set",
1204     "name": "set ac1_svlan",
1205     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1206     "comments": "",
1207     "x": 1986.5,
1208     "y": 997,
1209     "z": "d1c71750.37b338",
1210     "wires": []
1211   },
1212   {
1213     "id": "84e8e875.de3c78",
1214     "type": "set",
1215     "name": "set ac2_svlan",
1216     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1217     "comments": "",
1218     "x": 1983.5,
1219     "y": 1050,
1220     "z": "d1c71750.37b338",
1221     "wires": []
1222   },
1223   {
1224     "id": "6928b887.0efe58",
1225     "type": "set",
1226     "name": "set ac1_protocol",
1227     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1228     "comments": "",
1229     "x": 1981.5,
1230     "y": 1107,
1231     "z": "d1c71750.37b338",
1232     "wires": []
1233   },
1234   {
1235     "id": "1d3a4115.7746c7",
1236     "type": "set",
1237     "name": "set ac2_protocol",
1238     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1239     "comments": "",
1240     "x": 1990.5,
1241     "y": 1159,
1242     "z": "d1c71750.37b338",
1243     "wires": []
1244   },
1245   {
1246     "id": "6cea4c1f.ab47ac",
1247     "type": "set",
1248     "name": "set ac1_protocol_bgp_as",
1249     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer1-ip' value='`$prop.l3vpn.ac1_ip`' />\n",
1250     "comments": "",
1251     "x": 2084.5,
1252     "y": 1363,
1253     "z": "d1c71750.37b338",
1254     "wires": []
1255   },
1256   {
1257     "id": "e150d4b3.e7c148",
1258     "type": "set",
1259     "name": "set ac2_protocol_bgp_as",
1260     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol_bgp_as' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.l3vpn.peer2-ip' value='`$prop.l3vpn.ac2_ip`' />\n",
1261     "comments": "",
1262     "x": 2096.5,
1263     "y": 1412,
1264     "z": "d1c71750.37b338",
1265     "wires": []
1266   },
1267   {
1268     "id": "637cf71c.1ca77",
1269     "type": "set",
1270     "name": "set af_type",
1271     "xml": "<set>\n<parameter name='prop.l3vpn.af_type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1272     "comments": "",
1273     "x": 1980.5,
1274     "y": 1506,
1275     "z": "d1c71750.37b338",
1276     "wires": []
1277   },
1278   {
1279     "id": "e986dd0a.7fdf58",
1280     "type": "record",
1281     "name": "record",
1282     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation-create\"/>\n<parameter name=\"field3\" value=\"L3VPN-Config\"/>\n<parameter name=\"field4\" value=\"`l3vpn.name`\"/>\n<parameter name=\"field5\" value=\"`$prop.l3vpn.name`\"/>\n<parameter name=\"field6\" value=\"`l3vpn.topology`\"/>\n<parameter name=\"field7\" value=\"`$prop.l3vpn.topology`\"/>\n<parameter name=\"field8\" value=\"`l3vpn.site1_name`\"/>\n<parameter name=\"field9\" value=\"`$prop.l3vpn.site1_name`\"/>\n<parameter name=\"field10\" value=\"`l3vpn.vpn-policy1-id`\"/>\n<parameter name=\"field11\" value=\"`$prop.l3vpn.vpn-policy1-id`\"/>\n<parameter name=\"field12\" value=\"`l3vpn.entry1-id`\"/>\n<parameter name=\"field13\" value=\"`$prop.l3vpn.entry1-id`\"/>\n<parameter name=\"field14\" value=\"`l3vpn.sna1_name`\"/>\n<parameter name=\"field15\" value=\"`$prop.l3vpn.sna1_name`\"/>\n<parameter name=\"field16\" value=\"`l3vpn.pe1_id`\"/>\n<parameter name=\"field17\" value=\"`$prop.l3vpn.pe1_id`\"/>\n<parameter name=\"field18\" value=\"`l3vpn.ac1_id`\"/>\n<parameter name=\"field19\" value=\"`$prop.l3vpn.ac1_id`\"/>\n<parameter name=\"field20\" value=\"`l3vpn.sna1_svlan`\"/>\n<parameter name=\"field21\" value=\"`$prop.l3vpn.sna1_svlan`\"/>\n<parameter name=\"field22\" value=\"`l3vpn.ac1-peer-ip`\"/>\n<parameter name=\"field23\" value=\"`$prop.l3vpn.ac1-peer-ip`\"/>\n<parameter name=\"field24\" value=\"`l3vpn.ac1-ip`\"/>\n<parameter name=\"field25\" value=\"`$prop.l3vpn.ac1-ip`\"/>\n<parameter name=\"field26\" value=\"`l3vpn.ac1_protocol`\"/>\n<parameter name=\"field27\" value=\"`$prop.l3vpn.ac1_protocol`\"/>\n<parameter name=\"field28\" value=\"`l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"field29\" value=\"`$prop.l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"field30\" value=\"`l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"field31\" value=\"`$prop.l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"field32\" value=\"`l3vpn.peer1-ip`\"/>\n<parameter name=\"field33\" value=\"`$prop.l3vpn.peer1-ip`\"/>\n<parameter name=\"field34\" value=\"`l3vpn.ac1_protocol_bgp_as`\"/>\n<parameter name=\"field35\" value=\"`$prop.l3vpn.ac1_protocol_bgp_as`\"/>\n<parameter name=\"field36\" value=\"`l3vpn.vrf1-id`\"/>\n<parameter name=\"field37\" value=\"`$prop.l3vpn.vrf1-id`\"/>\n<parameter name=\"field38\" value=\"`l3vpn.site2_name`\"/>\n<parameter name=\"field39\" value=\"`$prop.l3vpn.site2_name`\"/>\n<parameter name=\"field40\" value=\"`l3vpn.vpn-policy2-id`\"/>\n<parameter name=\"field41\" value=\"`$prop.l3vpn.vpn-policy2-id`\"/>\n<parameter name=\"field42\" value=\"`l3vpn.entry2-id`\"/>\n<parameter name=\"field43\" value=\"`$prop.l3vpn.entry2-id`\"/>\n<parameter name=\"field44\" value=\"`l3vpn.sna2_name`\"/>\n<parameter name=\"field45\" value=\"`$prop.l3vpn.sna2_name`\"/>\n<parameter name=\"field46\" value=\"`l3vpn.pe2_id`\"/>\n<parameter name=\"field47\" value=\"`$prop.l3vpn.pe2_id`\"/>\n<parameter name=\"field48\" value=\"`l3vpn.ac2_id`\"/>\n<parameter name=\"field49\" value=\"`$prop.l3vpn.ac2_id`\"/>\n<parameter name=\"field50\" value=\"`l3vpn.sna2_svlan`\"/>\n<parameter name=\"field51\" value=\"`$prop.l3vpn.sna2_svlan`\"/>\n<parameter name=\"field52\" value=\"`l3vpn.ac2-peer-ip`\"/>\n<parameter name=\"field53\" value=\"`$prop.l3vpn.ac2-peer-ip`\"/>\n<parameter name=\"field54\" value=\"`l3vpn.ac2-ip`\"/>\n<parameter name=\"field55\" value=\"`$prop.l3vpn.ac2-ip`\"/>\n<parameter name=\"field56\" value=\"`l3vpn.ac2_protocol`\"/>\n<parameter name=\"field57\" value=\"`$prop.l3vpn.ac2_protocol`\"/>\n<parameter name=\"field58\" value=\"`l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"field59\" value=\"`$prop.l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"field60\" value=\"`l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"field61\" value=\"`$prop.l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"field62\" value=\"`l3vpn.peer2-ip`\"/>\n<parameter name=\"field63\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"field64\" value=\"`l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"field65\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"field66\" value=\"`l3vpn.vrf2-id`\"/>\n<parameter name=\"field67\" value=\"`$prop.l3vpn.vrf2-id`\"/>\n<parameter name=\"field68\" value=\"`l3vpn.af_type`\"/>\n<parameter name=\"field69\" value=\"`$prop.l3vpn.af_type`\"/>",
1283     "comments": "",
1284     "outputs": 1,
1285     "x": 726,
1286     "y": 929.0000305175781,
1287     "z": "d1c71750.37b338",
1288     "wires": [
1289       []
1290     ]
1291   },
1292   {
1293     "id": "ba17de0c.0ea5e",
1294     "type": "switchNode",
1295     "name": "switch service-type",
1296     "xml": "<switch test=\"`$prop.l3vpn.service-type`\">\n",
1297     "comments": "",
1298     "outputs": 1,
1299     "x": 712,
1300     "y": 1143.0000305175781,
1301     "z": "d1c71750.37b338",
1302     "wires": [
1303       [
1304         "5b3da62a.021bd8",
1305         "a74379d2.de6ee8",
1306         "74148b1.9b52c74"
1307       ]
1308     ]
1309   },
1310   {
1311     "id": "5b3da62a.021bd8",
1312     "type": "outcomeTrue",
1313     "name": "l3vpn-ipwan",
1314     "xml": "<outcome value='l3vpn-ipwan'>\n",
1315     "comments": "",
1316     "outputs": 1,
1317     "x": 667,
1318     "y": 1060,
1319     "z": "d1c71750.37b338",
1320     "wires": [
1321       [
1322         "e670cc16.d9893"
1323       ]
1324     ]
1325   },
1326   {
1327     "id": "a74379d2.de6ee8",
1328     "type": "outcomeTrue",
1329     "name": "l3vpn-sptn",
1330     "xml": "<outcome value='l3vpn-sptn'>\n",
1331     "comments": "",
1332     "outputs": 1,
1333     "x": 856,
1334     "y": 1247,
1335     "z": "d1c71750.37b338",
1336     "wires": [
1337       [
1338         "257293b6.92d5cc"
1339       ]
1340     ]
1341   },
1342   {
1343     "id": "74148b1.9b52c74",
1344     "type": "outcomeTrue",
1345     "name": "other",
1346     "xml": "<outcome value='Other'>\n",
1347     "comments": "",
1348     "outputs": 1,
1349     "x": 852,
1350     "y": 1291,
1351     "z": "d1c71750.37b338",
1352     "wires": [
1353       [
1354         "884fb0f6.de86a8"
1355       ]
1356     ]
1357   },
1358   {
1359     "id": "884fb0f6.de86a8",
1360     "type": "returnFailure",
1361     "name": "return failure",
1362     "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 retrieving vpn binding\" />\n\n",
1363     "comments": "",
1364     "x": 1035,
1365     "y": 1290,
1366     "z": "d1c71750.37b338",
1367     "wires": []
1368   },
1369   {
1370     "id": "39b02aa1.204f3e",
1371     "type": "execute",
1372     "name": "execute vpn-policy2-id",
1373     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy2-id\"/>\n",
1374     "comments": "",
1375     "outputs": 1,
1376     "x": 820,
1377     "y": 521,
1378     "z": "d1c71750.37b338",
1379     "wires": [
1380       [
1381         "3541c627.27ccaa"
1382       ]
1383     ]
1384   },
1385   {
1386     "id": "3541c627.27ccaa",
1387     "type": "failure",
1388     "name": "failure",
1389     "xml": "<outcome value='failure'>\n",
1390     "comments": "",
1391     "outputs": 1,
1392     "x": 1045,
1393     "y": 523.9999694824219,
1394     "z": "d1c71750.37b338",
1395     "wires": [
1396       [
1397         "8d7e37e4.d397f8"
1398       ]
1399     ]
1400   },
1401   {
1402     "id": "8d7e37e4.d397f8",
1403     "type": "returnFailure",
1404     "name": "return failure",
1405     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
1406     "comments": "",
1407     "x": 1226,
1408     "y": 521.9999694824219,
1409     "z": "d1c71750.37b338",
1410     "wires": []
1411   },
1412   {
1413     "id": "eb55ec0a.7da3a8",
1414     "type": "set",
1415     "name": "set policy entry",
1416     "xml": "<set>\n<parameter name='prop.l3vpn.entry1-id' value='1' />\n<parameter name='prop.l3vpn.entry2-id' value='1' />\n\n",
1417     "comments": "",
1418     "x": 806,
1419     "y": 569,
1420     "z": "d1c71750.37b338",
1421     "wires": []
1422   },
1423   {
1424     "id": "521ff026.a9cd98",
1425     "type": "execute",
1426     "name": "execute split ac1-route",
1427     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac1-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n",
1428     "comments": "",
1429     "outputs": 1,
1430     "x": 2210,
1431     "y": 1219,
1432     "z": "d1c71750.37b338",
1433     "wires": [
1434       [
1435         "3c1faef4.86a26a",
1436         "9a25c35e.1e45a8"
1437       ]
1438     ]
1439   },
1440   {
1441     "id": "5e4ee4bb.9cbae4",
1442     "type": "switchNode",
1443     "name": "switch ac2_route",
1444     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_route'`\">\n",
1445     "comments": "",
1446     "outputs": 1,
1447     "x": 1611,
1448     "y": 1267,
1449     "z": "d1c71750.37b338",
1450     "wires": [
1451       [
1452         "991718ef.73c5f8"
1453       ]
1454     ]
1455   },
1456   {
1457     "id": "f615e32b.689a18",
1458     "type": "switchNode",
1459     "name": "switch ac1_route",
1460     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_route'`\">\n",
1461     "comments": "",
1462     "outputs": 1,
1463     "x": 1612,
1464     "y": 1218,
1465     "z": "d1c71750.37b338",
1466     "wires": [
1467       [
1468         "3aadf8aa.0f045"
1469       ]
1470     ]
1471   },
1472   {
1473     "id": "3aadf8aa.0f045",
1474     "type": "outcomeTrue",
1475     "name": "true",
1476     "xml": "<outcome value='true'>\n",
1477     "comments": "",
1478     "outputs": 1,
1479     "x": 1784,
1480     "y": 1216,
1481     "z": "d1c71750.37b338",
1482     "wires": [
1483       [
1484         "5557f8d.caac508"
1485       ]
1486     ]
1487   },
1488   {
1489     "id": "991718ef.73c5f8",
1490     "type": "outcomeTrue",
1491     "name": "true",
1492     "xml": "<outcome value='true'>\n",
1493     "comments": "",
1494     "outputs": 1,
1495     "x": 1797,
1496     "y": 1275,
1497     "z": "d1c71750.37b338",
1498     "wires": [
1499       [
1500         "1b368566.979a53"
1501       ]
1502     ]
1503   },
1504   {
1505     "id": "b7b10f53.f8112",
1506     "type": "set",
1507     "name": "set ac1_route",
1508     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1509     "comments": "",
1510     "x": 2181,
1511     "y": 1167,
1512     "z": "d1c71750.37b338",
1513     "wires": []
1514   },
1515   {
1516     "id": "963bac78.3bad6",
1517     "type": "set",
1518     "name": "set ac2_route",
1519     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1520     "comments": "",
1521     "x": 2179,
1522     "y": 1267,
1523     "z": "d1c71750.37b338",
1524     "wires": []
1525   },
1526   {
1527     "id": "e2a6c5f2.23e27",
1528     "type": "execute",
1529     "name": "execute split ac2-route",
1530     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.l3vpn.ac2-route`'/>\n<parameter name=\"regex\" value=\" ## \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route2\"/>\n",
1531     "comments": "",
1532     "outputs": 1,
1533     "x": 2203,
1534     "y": 1312,
1535     "z": "d1c71750.37b338",
1536     "wires": [
1537       [
1538         "152bd8c5.a555ff",
1539         "11ed22fb.50a315"
1540       ]
1541     ]
1542   },
1543   {
1544     "id": "5557f8d.caac508",
1545     "type": "block",
1546     "name": "block atomic",
1547     "xml": "<block atomic=\"true\">\n",
1548     "atomic": "false",
1549     "comments": "",
1550     "outputs": 1,
1551     "x": 1935,
1552     "y": 1216,
1553     "z": "d1c71750.37b338",
1554     "wires": [
1555       [
1556         "b7b10f53.f8112",
1557         "521ff026.a9cd98"
1558       ]
1559     ]
1560   },
1561   {
1562     "id": "1b368566.979a53",
1563     "type": "block",
1564     "name": "block atomic",
1565     "xml": "<block atomic=\"true\">\n",
1566     "atomic": "false",
1567     "comments": "",
1568     "outputs": 1,
1569     "x": 1936,
1570     "y": 1275,
1571     "z": "d1c71750.37b338",
1572     "wires": [
1573       [
1574         "963bac78.3bad6",
1575         "e2a6c5f2.23e27"
1576       ]
1577     ]
1578   },
1579   {
1580     "id": "bee6a021.504aa8",
1581     "type": "execute",
1582     "name": "execute vrf1-id",
1583     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf1-id\"/>\n",
1584     "comments": "",
1585     "outputs": 1,
1586     "x": 805,
1587     "y": 622.0000305175781,
1588     "z": "d1c71750.37b338",
1589     "wires": [
1590       [
1591         "10ac73af.2eb80c"
1592       ]
1593     ]
1594   },
1595   {
1596     "id": "f7d82967.39b968",
1597     "type": "execute",
1598     "name": "execute vrf2-id",
1599     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf2-id\"/>\n",
1600     "comments": "",
1601     "outputs": 1,
1602     "x": 802.3333740234375,
1603     "y": 679.3332824707031,
1604     "z": "d1c71750.37b338",
1605     "wires": [
1606       [
1607         "49f55adf.c6c134"
1608       ]
1609     ]
1610   },
1611   {
1612     "id": "49f55adf.c6c134",
1613     "type": "failure",
1614     "name": "failure",
1615     "xml": "<outcome value='failure'>\n",
1616     "comments": "",
1617     "outputs": 1,
1618     "x": 1052.3333740234375,
1619     "y": 685.3332824707031,
1620     "z": "d1c71750.37b338",
1621     "wires": [
1622       [
1623         "5fc81484.4dffac"
1624       ]
1625     ]
1626   },
1627   {
1628     "id": "10ac73af.2eb80c",
1629     "type": "failure",
1630     "name": "failure",
1631     "xml": "<outcome value='failure'>\n",
1632     "comments": "",
1633     "outputs": 1,
1634     "x": 1052,
1635     "y": 626.9999694824219,
1636     "z": "d1c71750.37b338",
1637     "wires": [
1638       [
1639         "36fdab86.85bda4"
1640       ]
1641     ]
1642   },
1643   {
1644     "id": "36fdab86.85bda4",
1645     "type": "returnFailure",
1646     "name": "return failure",
1647     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
1648     "comments": "",
1649     "x": 1233,
1650     "y": 624.9999694824219,
1651     "z": "d1c71750.37b338",
1652     "wires": []
1653   },
1654   {
1655     "id": "5fc81484.4dffac",
1656     "type": "returnFailure",
1657     "name": "return failure",
1658     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation vpn policy ID\" />\n",
1659     "comments": "",
1660     "x": 1233.3333740234375,
1661     "y": 683.3332824707031,
1662     "z": "d1c71750.37b338",
1663     "wires": []
1664   },
1665   {
1666     "id": "e670cc16.d9893",
1667     "type": "block",
1668     "name": "block : atomic",
1669     "xml": "<block atomic=\"true\">\n",
1670     "atomic": "false",
1671     "comments": "",
1672     "outputs": 1,
1673     "x": 834,
1674     "y": 1060,
1675     "z": "d1c71750.37b338",
1676     "wires": [
1677       [
1678         "ec4c3437.b9425",
1679         "c47fb352.4e0cc",
1680         "59489a1b.74de3c",
1681         "e652cb3f.9ae0d"
1682       ]
1683     ]
1684   },
1685   {
1686     "id": "c47fb352.4e0cc",
1687     "type": "execute",
1688     "name": "execute RestApiCallNode IPWAN Site Config",
1689     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3smsitetemplate.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/sites'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"site-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1690     "comments": "",
1691     "outputs": 1,
1692     "x": 1111,
1693     "y": 1181.0000305175781,
1694     "z": "d1c71750.37b338",
1695     "wires": [
1696       [
1697         "d40cc8a7.624908",
1698         "550c17e5.cfd818"
1699       ]
1700     ]
1701   },
1702   {
1703     "id": "59489a1b.74de3c",
1704     "type": "execute",
1705     "name": "execute RestApiCallNode IPWAN VRF Config",
1706     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir +'/l3smvrftemplate.json'`\"/>\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url +'/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vrf-attributes'`\"/>\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vrf-result\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1707     "comments": "",
1708     "outputs": 1,
1709     "x": 1091,
1710     "y": 1121.0000305175781,
1711     "z": "d1c71750.37b338",
1712     "wires": [
1713       [
1714         "d40cc8a7.624908",
1715         "550c17e5.cfd818"
1716       ]
1717     ]
1718   },
1719   {
1720     "id": "3c1faef4.86a26a",
1721     "type": "failure",
1722     "name": "failure",
1723     "xml": "<outcome value='failure'>\n",
1724     "comments": "",
1725     "outputs": 1,
1726     "x": 2428,
1727     "y": 1211,
1728     "z": "d1c71750.37b338",
1729     "wires": [
1730       [
1731         "d2c4705e.e17128"
1732       ]
1733     ]
1734   },
1735   {
1736     "id": "d2c4705e.e17128",
1737     "type": "returnFailure",
1738     "name": "return failure",
1739     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1740     "comments": "",
1741     "x": 2609,
1742     "y": 1209,
1743     "z": "d1c71750.37b338",
1744     "wires": []
1745   },
1746   {
1747     "id": "152bd8c5.a555ff",
1748     "type": "failure",
1749     "name": "failure",
1750     "xml": "<outcome value='failure'>\n",
1751     "comments": "",
1752     "outputs": 1,
1753     "x": 2426,
1754     "y": 1313,
1755     "z": "d1c71750.37b338",
1756     "wires": [
1757       [
1758         "5215918e.cf6238"
1759       ]
1760     ]
1761   },
1762   {
1763     "id": "5215918e.cf6238",
1764     "type": "returnFailure",
1765     "name": "return failure",
1766     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1767     "comments": "",
1768     "x": 2607,
1769     "y": 1311,
1770     "z": "d1c71750.37b338",
1771     "wires": []
1772   },
1773   {
1774     "id": "9a25c35e.1e45a8",
1775     "type": "failure",
1776     "name": "success",
1777     "xml": "<outcome value='success'>\n",
1778     "comments": "",
1779     "outputs": 1,
1780     "x": 2427,
1781     "y": 1145,
1782     "z": "d1c71750.37b338",
1783     "wires": [
1784       [
1785         "2af54113.06bac6"
1786       ]
1787     ]
1788   },
1789   {
1790     "id": "11ed22fb.50a315",
1791     "type": "failure",
1792     "name": "success",
1793     "xml": "<outcome value='success'>\n",
1794     "comments": "",
1795     "outputs": 1,
1796     "x": 2423,
1797     "y": 1265,
1798     "z": "d1c71750.37b338",
1799     "wires": [
1800       [
1801         "9994d830.e649d"
1802       ]
1803     ]
1804   },
1805   {
1806     "id": "2af54113.06bac6",
1807     "type": "set",
1808     "name": "set route1 ip-prefix next-hop",
1809     "xml": "<set>\n<parameter name='prop.l3vpn.sna1-route.ip-prefix' value='`$route1[0]`' />\n<parameter name='prop.l3vpn.sna1-route.next-hop' value='`$route1[1]`' />\n",
1810     "comments": "",
1811     "x": 2634,
1812     "y": 1139,
1813     "z": "d1c71750.37b338",
1814     "wires": []
1815   },
1816   {
1817     "id": "9994d830.e649d",
1818     "type": "set",
1819     "name": "set route2 ip-prefix next-hop",
1820     "xml": "<set>\n<parameter name='prop.l3vpn.sna2-route.ip-prefix' value='`$route2[0]`' />\n<parameter name='prop.l3vpn.sna2-route.next-hop' value='`$route2[1]`' />",
1821     "comments": "",
1822     "x": 2634,
1823     "y": 1258,
1824     "z": "d1c71750.37b338",
1825     "wires": []
1826   },
1827   {
1828     "id": "e292252a.39cff8",
1829     "type": "execute",
1830     "name": "execute generate-underlay-network-id",
1831     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.network-id\"/>\n",
1832     "comments": "",
1833     "outputs": 1,
1834     "x": 861,
1835     "y": 773.0000305175781,
1836     "z": "d1c71750.37b338",
1837     "wires": [
1838       []
1839     ]
1840   },
1841   {
1842     "id": "31c5a0ea.7876c",
1843     "type": "switchNode",
1844     "name": "switch service-data.networks_length",
1845     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1846     "comments": "",
1847     "outputs": 1,
1848     "x": 819,
1849     "y": 854.0000305175781,
1850     "z": "d1c71750.37b338",
1851     "wires": [
1852       [
1853         "e20b349f.c8503",
1854         "816d3d6d.6345a8"
1855       ]
1856     ]
1857   },
1858   {
1859     "id": "e20b349f.c8503",
1860     "type": "other",
1861     "name": "Null",
1862     "xml": "<outcome value=''>\n",
1863     "comments": "",
1864     "outputs": 1,
1865     "x": 1092.8095703125,
1866     "y": 822.9524230957031,
1867     "z": "d1c71750.37b338",
1868     "wires": [
1869       [
1870         "4ecd5064.971558"
1871       ]
1872     ]
1873   },
1874   {
1875     "id": "816d3d6d.6345a8",
1876     "type": "other",
1877     "name": "other",
1878     "xml": "<outcome value='Other'>\n",
1879     "comments": "",
1880     "outputs": 1,
1881     "x": 1087.666748046875,
1882     "y": 868.6667175292969,
1883     "z": "d1c71750.37b338",
1884     "wires": [
1885       [
1886         "947799f0.0e982"
1887       ]
1888     ]
1889   },
1890   {
1891     "id": "4ecd5064.971558",
1892     "type": "set",
1893     "name": "set nidx",
1894     "xml": "<set>\n<parameter name='nidx' value='0' />\n",
1895     "comments": "",
1896     "x": 1245.8095703125,
1897     "y": 822.5238342285156,
1898     "z": "d1c71750.37b338",
1899     "wires": []
1900   },
1901   {
1902     "id": "947799f0.0e982",
1903     "type": "set",
1904     "name": "set nidx",
1905     "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
1906     "comments": "",
1907     "x": 1247.2381591796875,
1908     "y": 867.5238952636719,
1909     "z": "d1c71750.37b338",
1910     "wires": []
1911   },
1912   {
1913     "id": "f41c462f.8589a",
1914     "type": "set",
1915     "name": "set network in service-data",
1916     "xml": "<set>\n<parameter name=\"service-data.networks.network[$nidx].network-id\" value='`$prop.l3vpn.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name=\"service-data.networks.network_length\" value='`$nidx+1`' />\n\n",
1917     "comments": "",
1918     "x": 733,
1919     "y": 1342.0000305175781,
1920     "z": "d1c71750.37b338",
1921     "wires": []
1922   },
1923   {
1924     "id": "58848908.ffbbb",
1925     "type": "set",
1926     "name": "set networkId and network-object-path",
1927     "xml": "<set>\n<parameter name='networkId' value='`$prop.l3vpn.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.l3vpn.network-id  + '/network-data/'` \" />",
1928     "comments": "",
1929     "x": 762,
1930     "y": 1387.0000305175781,
1931     "z": "d1c71750.37b338",
1932     "wires": []
1933   },
1934   {
1935     "id": "7b14c9f6.80d72",
1936     "type": "returnSuccess",
1937     "name": "return success",
1938     "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",
1939     "comments": "",
1940     "x": 709,
1941     "y": 1576.0000305175781,
1942     "z": "d1c71750.37b338",
1943     "wires": []
1944   },
1945   {
1946     "id": "a66c7c7d.376898",
1947     "type": "set",
1948     "name": "set network-level-oper-status",
1949     "xml": "<set>\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />",
1950     "comments": "",
1951     "x": 735,
1952     "y": 1434.0000305175781,
1953     "z": "d1c71750.37b338",
1954     "wires": []
1955   },
1956   {
1957     "id": "30879b4d.be3994",
1958     "type": "get-resource",
1959     "name": "get-resource pnf",
1960     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $prop.l3vpn.pe1_id AND \n\t\t     depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n",
1961     "comments": "",
1962     "outputs": 1,
1963     "x": 810,
1964     "y": 260.0000305175781,
1965     "z": "d1c71750.37b338",
1966     "wires": [
1967       [
1968         "48cba823.32bfc",
1969         "fe778394.3d9298",
1970         "a675b2b2.a64298"
1971       ]
1972     ]
1973   },
1974   {
1975     "id": "48cba823.32bfc",
1976     "type": "success",
1977     "name": "success",
1978     "xml": "<outcome value='success'>\n",
1979     "comments": "",
1980     "outputs": 1,
1981     "x": 1132,
1982     "y": 150.00003051757812,
1983     "z": "d1c71750.37b338",
1984     "wires": [
1985       [
1986         "8bb789cd.2a1608"
1987       ]
1988     ]
1989   },
1990   {
1991     "id": "fe778394.3d9298",
1992     "type": "not-found",
1993     "name": "not-found",
1994     "xml": "<outcome value='not-found'>\n",
1995     "comments": "",
1996     "outputs": 1,
1997     "x": 1135.490966796875,
1998     "y": 197.57406616210938,
1999     "z": "d1c71750.37b338",
2000     "wires": [
2001       [
2002         "8f58e126.403b1"
2003       ]
2004     ]
2005   },
2006   {
2007     "id": "a675b2b2.a64298",
2008     "type": "other",
2009     "name": "other",
2010     "xml": "<outcome value='Other'>\n",
2011     "comments": "",
2012     "outputs": 1,
2013     "x": 1130.823974609375,
2014     "y": 238.90737915039062,
2015     "z": "d1c71750.37b338",
2016     "wires": [
2017       [
2018         "8d89cc4d.eb7678"
2019       ]
2020     ]
2021   },
2022   {
2023     "id": "8f58e126.403b1",
2024     "type": "returnFailure",
2025     "name": "return failure",
2026     "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",
2027     "comments": "",
2028     "x": 1312.0623779296875,
2029     "y": 185.85980224609375,
2030     "z": "d1c71750.37b338",
2031     "wires": []
2032   },
2033   {
2034     "id": "8d89cc4d.eb7678",
2035     "type": "returnFailure",
2036     "name": "return failure",
2037     "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.l3vpn.pe1_id`\" />\n\n",
2038     "comments": "",
2039     "x": 1318.5965309143066,
2040     "y": 234.34657192230225,
2041     "z": "d1c71750.37b338",
2042     "wires": []
2043   },
2044   {
2045     "id": "8bb789cd.2a1608",
2046     "type": "set",
2047     "name": "set tmp.thirdparty-sdnc-id",
2048     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
2049     "comments": "",
2050     "x": 1336,
2051     "y": 137.00003051757812,
2052     "z": "d1c71750.37b338",
2053     "wires": []
2054   },
2055   {
2056     "id": "d54c20dc.cf6128",
2057     "type": "save",
2058     "name": "save underlay configuration in AAI",
2059     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n      key='configuration.configuration-id = $prop.l3vpn.network-id' >\n<parameter name='configuration-id' value='`$prop.l3vpn.network-id`' />\n<parameter name='configuration-type' value='underlay' />\n<parameter name='configuration-sub-type' value='l3vpn' />\n<parameter name='orchestration-status' value='Created' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$prop.l3vpn.network-id`' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.l3vpn.network-id  + '/network-data/'` \" />\n",
2060     "comments": "",
2061     "outputs": 1,
2062     "x": 754,
2063     "y": 1484.0000305175781,
2064     "z": "d1c71750.37b338",
2065     "wires": [
2066       []
2067     ]
2068   },
2069   {
2070     "id": "b11968d4.007e68",
2071     "type": "save",
2072     "name": "save service relationship in AAI",
2073     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id \n         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/configurations/configuration/' + $prop.l3vpn.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"configuration.configuration-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.l3vpn.network-id`\" />",
2074     "comments": "",
2075     "outputs": 1,
2076     "x": 746,
2077     "y": 1530.0000305175781,
2078     "z": "d1c71750.37b338",
2079     "wires": [
2080       []
2081     ]
2082   },
2083   {
2084     "id": "d3d6530.ff1843",
2085     "type": "block",
2086     "name": "block",
2087     "xml": "<block>\n",
2088     "atomic": "false",
2089     "comments": "",
2090     "outputs": 1,
2091     "x": 1258.5,
2092     "y": 412,
2093     "z": "d1c71750.37b338",
2094     "wires": [
2095       [
2096         "79980939.27992",
2097         "6566447b.cd16fc",
2098         "db1ad825.26052",
2099         "612a1bef.8a1a9c",
2100         "32815667.56769a",
2101         "d99350c4.40314",
2102         "e54a4b77.575f08",
2103         "a16ad1af.30669",
2104         "a9d432.f245a3d",
2105         "89f7d244.7bed58",
2106         "9e107c02.44f758",
2107         "37c58153.b2998e",
2108         "9ab7bd24.8d06c8",
2109         "c98044e2.7a0fd",
2110         "9c377089.4d9f3",
2111         "6227130a.b283dc",
2112         "87656c47.a73838",
2113         "9d6a7f28.4304b",
2114         "b0373753.70f0a",
2115         "a53453dd.69ab28",
2116         "9abdda02.3e776",
2117         "e12d824c.4650c8",
2118         "46a813fb.9bd0f4",
2119         "f615e32b.689a18",
2120         "5e4ee4bb.9cbae4"
2121       ]
2122     ]
2123   },
2124   {
2125     "id": "e652cb3f.9ae0d",
2126     "type": "execute",
2127     "name": "execute RestApiCallNode Get token",
2128     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>",
2129     "comments": "",
2130     "outputs": 1,
2131     "x": 979,
2132     "y": 927,
2133     "z": "d1c71750.37b338",
2134     "wires": [
2135       [
2136         "5108fa21.828c5c",
2137         "4ae0e1c.42791a"
2138       ]
2139     ]
2140   },
2141   {
2142     "id": "5108fa21.828c5c",
2143     "type": "success",
2144     "name": "success",
2145     "xml": "<outcome value='success'>\n",
2146     "comments": "",
2147     "outputs": 1,
2148     "x": 1214,
2149     "y": 905,
2150     "z": "d1c71750.37b338",
2151     "wires": [
2152       [
2153         "8a3a1639.1431d"
2154       ]
2155     ]
2156   },
2157   {
2158     "id": "4ae0e1c.42791a",
2159     "type": "failure",
2160     "name": "failure",
2161     "xml": "<outcome value='failure'>\n",
2162     "comments": "",
2163     "outputs": 1,
2164     "x": 1206.25,
2165     "y": 958.6428833007812,
2166     "z": "d1c71750.37b338",
2167     "wires": [
2168       [
2169         "a0998cd9.40253"
2170       ]
2171     ]
2172   },
2173   {
2174     "id": "a0998cd9.40253",
2175     "type": "returnFailure",
2176     "name": "return failure",
2177     "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 get token rest api\" />\n",
2178     "comments": "",
2179     "x": 1359,
2180     "y": 958.3929443359375,
2181     "z": "d1c71750.37b338",
2182     "wires": []
2183   },
2184   {
2185     "id": "8a3a1639.1431d",
2186     "type": "set",
2187     "name": "set token-id",
2188     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
2189     "comments": "",
2190     "x": 1368,
2191     "y": 906,
2192     "z": "d1c71750.37b338",
2193     "wires": []
2194   },
2195   {
2196     "id": "d40cc8a7.624908",
2197     "type": "success",
2198     "name": "success",
2199     "xml": "<outcome value='success'>\n",
2200     "comments": "",
2201     "outputs": 1,
2202     "x": 1394,
2203     "y": 1078,
2204     "z": "d1c71750.37b338",
2205     "wires": [
2206       []
2207     ]
2208   },
2209   {
2210     "id": "550c17e5.cfd818",
2211     "type": "failure",
2212     "name": "failure",
2213     "xml": "<outcome value='failure'>\n",
2214     "comments": "",
2215     "outputs": 1,
2216     "x": 1401.25,
2217     "y": 1172.642822265625,
2218     "z": "d1c71750.37b338",
2219     "wires": [
2220       [
2221         "d57e2b04.e0fea"
2222       ]
2223     ]
2224   },
2225   {
2226     "id": "d57e2b04.e0fea",
2227     "type": "returnFailure",
2228     "name": "return failure",
2229     "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 3rd party controller rest api\" />\n",
2230     "comments": "",
2231     "x": 1373,
2232     "y": 1357.3929443359375,
2233     "z": "d1c71750.37b338",
2234     "wires": []
2235   },
2236   {
2237     "id": "725ceec3.c5b2",
2238     "type": "execute",
2239     "name": "execute Properties",
2240     "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' />\n",
2241     "comments": "",
2242     "outputs": 1,
2243     "x": 702.96875,
2244     "y": 998.0000305175781,
2245     "z": "d1c71750.37b338",
2246     "wires": [
2247       []
2248     ]
2249   }
2250 ]