Update underlay DG for VoLTE use case
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation-create.json
1 [
2   {
3     "id": "6c6bc16c.ca3e3",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 77,
8     "y": 53,
9     "z": "f29dedb6.fec708",
10     "wires": [
11       [
12         "537702a4.cc8034"
13       ]
14     ]
15   },
16   {
17     "id": "537702a4.cc8034",
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": 289.00000381469727,
26     "y": 125.0000171661377,
27     "z": "f29dedb6.fec708",
28     "wires": [
29       [
30         "be1e8309.4bc4c8"
31       ]
32     ]
33   },
34   {
35     "id": "be1e8309.4bc4c8",
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": 277.0001220703125,
42     "y": 213,
43     "z": "f29dedb6.fec708",
44     "wires": [
45       [
46         "15842b75.da07e5"
47       ]
48     ]
49   },
50   {
51     "id": "15842b75.da07e5",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 553.0000305175781,
59     "y": 221.00001335144043,
60     "z": "f29dedb6.fec708",
61     "wires": [
62       [
63         "35d46a8d.e7edce",
64         "861f67a.7920b18",
65         "38a3e2ad.559ce6",
66         "39c4a2ad.6290be",
67         "56d07259.1d8cbc",
68         "5c9ca6e0.e239a",
69         "e21a9c92.1f2a28",
70         "151a4cba.fa33e3",
71         "be047f99.592428",
72         "1460f5c7.7bf212",
73         "e2d35c41.dd6f5"
74       ]
75     ]
76   },
77   {
78     "id": "d2fcc9e7.aec75",
79     "type": "execute",
80     "name": "execute RestApiCallNode Create IPWAN L3VPN",
81     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/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=\"restapi-result\"/>",
82     "comments": "",
83     "outputs": 1,
84     "x": 1149.0001831054688,
85     "y": 737,
86     "z": "f29dedb6.fec708",
87     "wires": [
88       []
89     ]
90   },
91   {
92     "id": "35d46a8d.e7edce",
93     "type": "set",
94     "name": "set controller data",
95     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n",
96     "comments": "",
97     "x": 781.0000610351562,
98     "y": 293,
99     "z": "f29dedb6.fec708",
100     "wires": []
101   },
102   {
103     "id": "56d07259.1d8cbc",
104     "type": "for",
105     "name": "for each network-input-parameters",
106     "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
107     "comments": "",
108     "outputs": 1,
109     "x": 838.6666259765625,
110     "y": 389.6666564941406,
111     "z": "f29dedb6.fec708",
112     "wires": [
113       [
114         "b2478f4e.7cd8b"
115       ]
116     ]
117   },
118   {
119     "id": "6b6b65e4.027114",
120     "type": "execute",
121     "name": "execute RestApiCallNode Create SPTN L3VPN",
122     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/l3smsitetemplate.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\"/>",
123     "comments": "",
124     "outputs": 1,
125     "x": 1120.6668701171875,
126     "y": 939.6666870117188,
127     "z": "f29dedb6.fec708",
128     "wires": [
129       []
130     ]
131   },
132   {
133     "id": "39c4a2ad.6290be",
134     "type": "execute",
135     "name": "execute vpn-policy1-id",
136     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy1-id\"/>\n",
137     "comments": "",
138     "outputs": 1,
139     "x": 798.6666259765625,
140     "y": 446.66668701171875,
141     "z": "f29dedb6.fec708",
142     "wires": [
143       [
144         "96af0d.cf3c10f"
145       ]
146     ]
147   },
148   {
149     "id": "96af0d.cf3c10f",
150     "type": "failure",
151     "name": "failure",
152     "xml": "<outcome value='failure'>\n",
153     "comments": "",
154     "outputs": 1,
155     "x": 1023.6666259765625,
156     "y": 449.6666564941406,
157     "z": "f29dedb6.fec708",
158     "wires": [
159       [
160         "7438ecb9.4567f4"
161       ]
162     ]
163   },
164   {
165     "id": "7438ecb9.4567f4",
166     "type": "returnFailure",
167     "name": "return failure",
168     "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",
169     "comments": "",
170     "x": 1204.6666259765625,
171     "y": 447.6666564941406,
172     "z": "f29dedb6.fec708",
173     "wires": []
174   },
175   {
176     "id": "861f67a.7920b18",
177     "type": "call",
178     "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
179     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
180     "comments": "",
181     "outputs": 1,
182     "x": 850.5,
183     "y": 90,
184     "z": "f29dedb6.fec708",
185     "wires": [
186       []
187     ]
188   },
189   {
190     "id": "38a3e2ad.559ce6",
191     "type": "get-resource",
192     "name": "get-resource esr-thirdparty-sdnc",
193     "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",
194     "comments": "",
195     "outputs": 1,
196     "x": 820.5,
197     "y": 207,
198     "z": "f29dedb6.fec708",
199     "wires": [
200       [
201         "747be621.ebaa68",
202         "e28c7994.72931",
203         "5f530a05.e03c5c"
204       ]
205     ]
206   },
207   {
208     "id": "747be621.ebaa68",
209     "type": "success",
210     "name": "success",
211     "xml": "<outcome value='success'>\n",
212     "comments": "",
213     "outputs": 1,
214     "x": 1145.5,
215     "y": 138,
216     "z": "f29dedb6.fec708",
217     "wires": [
218       [
219         "270f57b4.7e9228"
220       ]
221     ]
222   },
223   {
224     "id": "e28c7994.72931",
225     "type": "not-found",
226     "name": "not-found",
227     "xml": "<outcome value='not-found'>\n",
228     "comments": "",
229     "outputs": 1,
230     "x": 1148.990966796875,
231     "y": 185.57403564453125,
232     "z": "f29dedb6.fec708",
233     "wires": [
234       [
235         "b482495d.0483a"
236       ]
237     ]
238   },
239   {
240     "id": "5f530a05.e03c5c",
241     "type": "other",
242     "name": "other",
243     "xml": "<outcome value='Other'>\n",
244     "comments": "",
245     "outputs": 1,
246     "x": 1144.323974609375,
247     "y": 226.9073486328125,
248     "z": "f29dedb6.fec708",
249     "wires": [
250       [
251         "552e5145.a20188"
252       ]
253     ]
254   },
255   {
256     "id": "b482495d.0483a",
257     "type": "returnFailure",
258     "name": "return failure",
259     "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=\"Network model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n",
260     "comments": "",
261     "x": 1325.5623779296875,
262     "y": 173.85977172851562,
263     "z": "f29dedb6.fec708",
264     "wires": []
265   },
266   {
267     "id": "552e5145.a20188",
268     "type": "returnFailure",
269     "name": "return failure",
270     "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",
271     "comments": "",
272     "x": 1332.0965309143066,
273     "y": 222.34654140472412,
274     "z": "f29dedb6.fec708",
275     "wires": []
276   },
277   {
278     "id": "270f57b4.7e9228",
279     "type": "block",
280     "name": "block : atomic",
281     "xml": "<block atomic=\"true\">",
282     "atomic": "true",
283     "outputs": 1,
284     "x": 1323.705322265625,
285     "y": 130.57403564453125,
286     "z": "f29dedb6.fec708",
287     "wires": [
288       []
289     ]
290   },
291   {
292     "id": "b2478f4e.7cd8b",
293     "type": "block",
294     "name": "block",
295     "xml": "<block>\n",
296     "atomic": "false",
297     "comments": "",
298     "outputs": 1,
299     "x": 1237.5,
300     "y": 396,
301     "z": "f29dedb6.fec708",
302     "wires": [
303       [
304         "92f693f1.fbeac8",
305         "fa654c60.33fc7",
306         "3c75f999.d8df1e",
307         "399d4af.75d7f36",
308         "f1384917.ec5db8",
309         "b487b0d3.26ff08",
310         "507ab3c0.3b67f4",
311         "b36084e3.ed78c",
312         "43267259.9b3cb4",
313         "2536a52a.61b14a",
314         "7ec07647.4a18e8",
315         "cc9729b3.35c9a8",
316         "72f85ed8.f54e68",
317         "b028194c.b3b988",
318         "b0ea6a25.f32ed",
319         "b7bb055e.312e1",
320         "d25d1bce.304f78",
321         "49087f87.ab7e78",
322         "6e2762a6.8272c4",
323         "5f3b0791.9b6e88",
324         "1aacfbe9.a7c6bc",
325         "f2101f18.ae2b68",
326         "ca43c6ae.b67f4",
327         "5a7334fb.eef58c",
328         "bf6d8b73.1d1d2"
329       ]
330     ]
331   },
332   {
333     "id": "92f693f1.fbeac8",
334     "type": "switchNode",
335     "name": "switch name",
336     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
337     "comments": "",
338     "outputs": 1,
339     "x": 1588.5,
340     "y": 20.000030517578125,
341     "z": "f29dedb6.fec708",
342     "wires": [
343       [
344         "6d73e8b1.07061"
345       ]
346     ]
347   },
348   {
349     "id": "fa654c60.33fc7",
350     "type": "switchNode",
351     "name": "switch service-type",
352     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
353     "comments": "",
354     "outputs": 1,
355     "x": 1592.4999389648438,
356     "y": 81.60000610351562,
357     "z": "f29dedb6.fec708",
358     "wires": [
359       [
360         "2301d600.a73462"
361       ]
362     ]
363   },
364   {
365     "id": "6d73e8b1.07061",
366     "type": "outcomeTrue",
367     "name": "true",
368     "xml": "<outcome value='true'>\n",
369     "comments": "",
370     "outputs": 1,
371     "x": 1775.5,
372     "y": 20.000030517578125,
373     "z": "f29dedb6.fec708",
374     "wires": [
375       [
376         "1d383b47.d3c90d"
377       ]
378     ]
379   },
380   {
381     "id": "2301d600.a73462",
382     "type": "outcomeTrue",
383     "name": "true",
384     "xml": "<outcome value='true'>\n",
385     "comments": "",
386     "outputs": 1,
387     "x": 1777.4999389648438,
388     "y": 79.60000610351562,
389     "z": "f29dedb6.fec708",
390     "wires": [
391       [
392         "f95d177d.930be"
393       ]
394     ]
395   },
396   {
397     "id": "1d383b47.d3c90d",
398     "type": "set",
399     "name": "set name",
400     "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
401     "comments": "",
402     "x": 1943.5,
403     "y": 20.60003662109375,
404     "z": "f29dedb6.fec708",
405     "wires": []
406   },
407   {
408     "id": "f95d177d.930be",
409     "type": "set",
410     "name": "set service-type",
411     "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
412     "comments": "",
413     "x": 1946.4999389648438,
414     "y": 77.60000610351562,
415     "z": "f29dedb6.fec708",
416     "wires": []
417   },
418   {
419     "id": "3c75f999.d8df1e",
420     "type": "switchNode",
421     "name": "switch topology",
422     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n",
423     "comments": "",
424     "outputs": 1,
425     "x": 1591.5,
426     "y": 143,
427     "z": "f29dedb6.fec708",
428     "wires": [
429       [
430         "64ec1f5c.cd7588"
431       ]
432     ]
433   },
434   {
435     "id": "399d4af.75d7f36",
436     "type": "switchNode",
437     "name": "switch technology",
438     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'technology'`\">\n",
439     "comments": "",
440     "outputs": 1,
441     "x": 1594.5,
442     "y": 196,
443     "z": "f29dedb6.fec708",
444     "wires": [
445       [
446         "30608684.1fa91a"
447       ]
448     ]
449   },
450   {
451     "id": "f1384917.ec5db8",
452     "type": "switchNode",
453     "name": "switch site1_name",
454     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_name'`\">\n",
455     "comments": "",
456     "outputs": 1,
457     "x": 1599.5,
458     "y": 258,
459     "z": "f29dedb6.fec708",
460     "wires": [
461       [
462         "7b6affba.2f1ea8"
463       ]
464     ]
465   },
466   {
467     "id": "b487b0d3.26ff08",
468     "type": "switchNode",
469     "name": "switch site2_name",
470     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site2_name'`\">\n",
471     "comments": "",
472     "outputs": 1,
473     "x": 1594.5,
474     "y": 321,
475     "z": "f29dedb6.fec708",
476     "wires": [
477       [
478         "e7d8abc.3397ed8"
479       ]
480     ]
481   },
482   {
483     "id": "507ab3c0.3b67f4",
484     "type": "switchNode",
485     "name": "switch sna1_name",
486     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna1_name'`\">\n",
487     "comments": "",
488     "outputs": 1,
489     "x": 1599.5,
490     "y": 381,
491     "z": "f29dedb6.fec708",
492     "wires": [
493       [
494         "ccbb4e0a.e4624"
495       ]
496     ]
497   },
498   {
499     "id": "b36084e3.ed78c",
500     "type": "switchNode",
501     "name": "switch sna2_name",
502     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'sna2_name'`\">\n",
503     "comments": "",
504     "outputs": 1,
505     "x": 1594.5,
506     "y": 445,
507     "z": "f29dedb6.fec708",
508     "wires": [
509       [
510         "5e7b746e.c31ebc"
511       ]
512     ]
513   },
514   {
515     "id": "43267259.9b3cb4",
516     "type": "switchNode",
517     "name": "switch pe1_id",
518     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
519     "comments": "",
520     "outputs": 1,
521     "x": 1599.5,
522     "y": 507,
523     "z": "f29dedb6.fec708",
524     "wires": [
525       [
526         "cd97fc49.ef9428"
527       ]
528     ]
529   },
530   {
531     "id": "2536a52a.61b14a",
532     "type": "switchNode",
533     "name": "switch pe2_id",
534     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'pe2_id'`\">\n",
535     "comments": "",
536     "outputs": 1,
537     "x": 1614.5,
538     "y": 567,
539     "z": "f29dedb6.fec708",
540     "wires": [
541       [
542         "b43f1ee2.b85a2"
543       ]
544     ]
545   },
546   {
547     "id": "7ec07647.4a18e8",
548     "type": "switchNode",
549     "name": "switch ac1_id",
550     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_id'`\">\n",
551     "comments": "",
552     "outputs": 1,
553     "x": 1609.5,
554     "y": 639,
555     "z": "f29dedb6.fec708",
556     "wires": [
557       [
558         "b4d9a4d.005d958"
559       ]
560     ]
561   },
562   {
563     "id": "cc9729b3.35c9a8",
564     "type": "switchNode",
565     "name": "switch ac2_id",
566     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_id'`\">\n",
567     "comments": "",
568     "outputs": 1,
569     "x": 1608.5,
570     "y": 698,
571     "z": "f29dedb6.fec708",
572     "wires": [
573       [
574         "7dfb851.0b49cfc"
575       ]
576     ]
577   },
578   {
579     "id": "72f85ed8.f54e68",
580     "type": "switchNode",
581     "name": "switch ac1_ip",
582     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_ip'`\">\n",
583     "comments": "",
584     "outputs": 1,
585     "x": 1585.5,
586     "y": 761,
587     "z": "f29dedb6.fec708",
588     "wires": [
589       [
590         "d713e906.7f455"
591       ]
592     ]
593   },
594   {
595     "id": "b028194c.b3b988",
596     "type": "switchNode",
597     "name": "switch ac2_ip",
598     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_ip'`\">\n",
599     "comments": "",
600     "outputs": 1,
601     "x": 1588.5,
602     "y": 818,
603     "z": "f29dedb6.fec708",
604     "wires": [
605       [
606         "973837ca.190aa8"
607       ]
608     ]
609   },
610   {
611     "id": "b0ea6a25.f32ed",
612     "type": "switchNode",
613     "name": "switch ac1_peer_ip",
614     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_peer_ip'`\">\n",
615     "comments": "",
616     "outputs": 1,
617     "x": 1594.5,
618     "y": 870,
619     "z": "f29dedb6.fec708",
620     "wires": [
621       [
622         "6ccb4ca1.2cd06c"
623       ]
624     ]
625   },
626   {
627     "id": "b7bb055e.312e1",
628     "type": "switchNode",
629     "name": "switch ac2_peer_ip",
630     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_peer_ip'`\">\n",
631     "comments": "",
632     "outputs": 1,
633     "x": 1595.5,
634     "y": 925,
635     "z": "f29dedb6.fec708",
636     "wires": [
637       [
638         "b9aa2fd2.814f48"
639       ]
640     ]
641   },
642   {
643     "id": "d25d1bce.304f78",
644     "type": "switchNode",
645     "name": "switch ac1_svlan",
646     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_svlan'`\">\n",
647     "comments": "",
648     "outputs": 1,
649     "x": 1607.5,
650     "y": 974,
651     "z": "f29dedb6.fec708",
652     "wires": [
653       [
654         "7df19f10.00d63"
655       ]
656     ]
657   },
658   {
659     "id": "49087f87.ab7e78",
660     "type": "switchNode",
661     "name": "switch ac2_svlan",
662     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_svlan'`\">\n",
663     "comments": "",
664     "outputs": 1,
665     "x": 1600.5,
666     "y": 1025,
667     "z": "f29dedb6.fec708",
668     "wires": [
669       [
670         "deb16fb4.873d88"
671       ]
672     ]
673   },
674   {
675     "id": "6e2762a6.8272c4",
676     "type": "switchNode",
677     "name": "switch ac1_protocol",
678     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol'`\">\n",
679     "comments": "",
680     "outputs": 1,
681     "x": 1593.5,
682     "y": 1083,
683     "z": "f29dedb6.fec708",
684     "wires": [
685       [
686         "d9a405e5.0fbd78"
687       ]
688     ]
689   },
690   {
691     "id": "5f3b0791.9b6e88",
692     "type": "switchNode",
693     "name": "switch ac2_protocol",
694     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol'`\">\n",
695     "comments": "",
696     "outputs": 1,
697     "x": 1594.5,
698     "y": 1143,
699     "z": "f29dedb6.fec708",
700     "wires": [
701       [
702         "f17cdf9a.1f70e"
703       ]
704     ]
705   },
706   {
707     "id": "1aacfbe9.a7c6bc",
708     "type": "switchNode",
709     "name": "switch ac1_protocol_bgp_as",
710     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_protocol_bgp_as'`\">\n",
711     "comments": "",
712     "outputs": 1,
713     "x": 1588.5,
714     "y": 1329,
715     "z": "f29dedb6.fec708",
716     "wires": [
717       [
718         "3676d16.bff3dae"
719       ]
720     ]
721   },
722   {
723     "id": "f2101f18.ae2b68",
724     "type": "switchNode",
725     "name": "switch ac2_protocol_bgp_as",
726     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_protocol_bgp_as'`\">\n",
727     "comments": "",
728     "outputs": 1,
729     "x": 1594.5,
730     "y": 1380,
731     "z": "f29dedb6.fec708",
732     "wires": [
733       [
734         "43e3c11a.4b0498"
735       ]
736     ]
737   },
738   {
739     "id": "ca43c6ae.b67f4",
740     "type": "switchNode",
741     "name": "switch af_type",
742     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'af_type'`\">\n",
743     "comments": "",
744     "outputs": 1,
745     "x": 1561.5,
746     "y": 1471,
747     "z": "f29dedb6.fec708",
748     "wires": [
749       [
750         "ab13048a.b0a2"
751       ]
752     ]
753   },
754   {
755     "id": "64ec1f5c.cd7588",
756     "type": "outcomeTrue",
757     "name": "true",
758     "xml": "<outcome value='true'>\n",
759     "comments": "",
760     "outputs": 1,
761     "x": 1766.5,
762     "y": 139,
763     "z": "f29dedb6.fec708",
764     "wires": [
765       [
766         "f1c21eed.4c6488"
767       ]
768     ]
769   },
770   {
771     "id": "30608684.1fa91a",
772     "type": "outcomeTrue",
773     "name": "true",
774     "xml": "<outcome value='true'>\n",
775     "comments": "",
776     "outputs": 1,
777     "x": 1772.5,
778     "y": 192,
779     "z": "f29dedb6.fec708",
780     "wires": [
781       [
782         "db52bb2.d3cc7c8"
783       ]
784     ]
785   },
786   {
787     "id": "7b6affba.2f1ea8",
788     "type": "outcomeTrue",
789     "name": "true",
790     "xml": "<outcome value='true'>\n",
791     "comments": "",
792     "outputs": 1,
793     "x": 1781.5,
794     "y": 254,
795     "z": "f29dedb6.fec708",
796     "wires": [
797       [
798         "7c0e170d.30b1d"
799       ]
800     ]
801   },
802   {
803     "id": "e7d8abc.3397ed8",
804     "type": "outcomeTrue",
805     "name": "true",
806     "xml": "<outcome value='true'>\n",
807     "comments": "",
808     "outputs": 1,
809     "x": 1779.5,
810     "y": 317,
811     "z": "f29dedb6.fec708",
812     "wires": [
813       [
814         "947c8730.9c4b48"
815       ]
816     ]
817   },
818   {
819     "id": "ccbb4e0a.e4624",
820     "type": "outcomeTrue",
821     "name": "true",
822     "xml": "<outcome value='true'>\n",
823     "comments": "",
824     "outputs": 1,
825     "x": 1784.5,
826     "y": 379,
827     "z": "f29dedb6.fec708",
828     "wires": [
829       [
830         "a06ad2cd.275448"
831       ]
832     ]
833   },
834   {
835     "id": "5e7b746e.c31ebc",
836     "type": "outcomeTrue",
837     "name": "true",
838     "xml": "<outcome value='true'>\n",
839     "comments": "",
840     "outputs": 1,
841     "x": 1776.5,
842     "y": 437,
843     "z": "f29dedb6.fec708",
844     "wires": [
845       [
846         "b2aa581c.5af32"
847       ]
848     ]
849   },
850   {
851     "id": "cd97fc49.ef9428",
852     "type": "outcomeTrue",
853     "name": "true",
854     "xml": "<outcome value='true'>\n",
855     "comments": "",
856     "outputs": 1,
857     "x": 1777.5,
858     "y": 500,
859     "z": "f29dedb6.fec708",
860     "wires": [
861       [
862         "72cbbe8e.f6925"
863       ]
864     ]
865   },
866   {
867     "id": "b43f1ee2.b85a2",
868     "type": "outcomeTrue",
869     "name": "true",
870     "xml": "<outcome value='true'>\n",
871     "comments": "",
872     "outputs": 1,
873     "x": 1776.5,
874     "y": 569,
875     "z": "f29dedb6.fec708",
876     "wires": [
877       [
878         "d9091182.9c0dc8"
879       ]
880     ]
881   },
882   {
883     "id": "b4d9a4d.005d958",
884     "type": "outcomeTrue",
885     "name": "true",
886     "xml": "<outcome value='true'>\n",
887     "comments": "",
888     "outputs": 1,
889     "x": 1773.5,
890     "y": 637,
891     "z": "f29dedb6.fec708",
892     "wires": [
893       [
894         "ae505877.71061"
895       ]
896     ]
897   },
898   {
899     "id": "7dfb851.0b49cfc",
900     "type": "outcomeTrue",
901     "name": "true",
902     "xml": "<outcome value='true'>\n",
903     "comments": "",
904     "outputs": 1,
905     "x": 1772.5,
906     "y": 701,
907     "z": "f29dedb6.fec708",
908     "wires": [
909       [
910         "2f24e7f6.a11b28"
911       ]
912     ]
913   },
914   {
915     "id": "d713e906.7f455",
916     "type": "outcomeTrue",
917     "name": "true",
918     "xml": "<outcome value='true'>\n",
919     "comments": "",
920     "outputs": 1,
921     "x": 1745.5,
922     "y": 759,
923     "z": "f29dedb6.fec708",
924     "wires": [
925       [
926         "42443b38.340f8c"
927       ]
928     ]
929   },
930   {
931     "id": "973837ca.190aa8",
932     "type": "outcomeTrue",
933     "name": "true",
934     "xml": "<outcome value='true'>\n",
935     "comments": "",
936     "outputs": 1,
937     "x": 1747.5,
938     "y": 816,
939     "z": "f29dedb6.fec708",
940     "wires": [
941       [
942         "e3ce9d5.2cdf36"
943       ]
944     ]
945   },
946   {
947     "id": "6ccb4ca1.2cd06c",
948     "type": "outcomeTrue",
949     "name": "true",
950     "xml": "<outcome value='true'>\n",
951     "comments": "",
952     "outputs": 1,
953     "x": 1783.5,
954     "y": 867,
955     "z": "f29dedb6.fec708",
956     "wires": [
957       [
958         "7054b5f4.206a54"
959       ]
960     ]
961   },
962   {
963     "id": "b9aa2fd2.814f48",
964     "type": "outcomeTrue",
965     "name": "true",
966     "xml": "<outcome value='true'>\n",
967     "comments": "",
968     "outputs": 1,
969     "x": 1788.5,
970     "y": 930,
971     "z": "f29dedb6.fec708",
972     "wires": [
973       [
974         "784b972f.0e3428"
975       ]
976     ]
977   },
978   {
979     "id": "7df19f10.00d63",
980     "type": "outcomeTrue",
981     "name": "true",
982     "xml": "<outcome value='true'>\n",
983     "comments": "",
984     "outputs": 1,
985     "x": 1784.5,
986     "y": 979,
987     "z": "f29dedb6.fec708",
988     "wires": [
989       [
990         "206c366c.675522"
991       ]
992     ]
993   },
994   {
995     "id": "deb16fb4.873d88",
996     "type": "outcomeTrue",
997     "name": "true",
998     "xml": "<outcome value='true'>\n",
999     "comments": "",
1000     "outputs": 1,
1001     "x": 1768.5,
1002     "y": 1028,
1003     "z": "f29dedb6.fec708",
1004     "wires": [
1005       [
1006         "10227f41.369851"
1007       ]
1008     ]
1009   },
1010   {
1011     "id": "d9a405e5.0fbd78",
1012     "type": "outcomeTrue",
1013     "name": "true",
1014     "xml": "<outcome value='true'>\n",
1015     "comments": "",
1016     "outputs": 1,
1017     "x": 1765.5,
1018     "y": 1081,
1019     "z": "f29dedb6.fec708",
1020     "wires": [
1021       [
1022         "1799ee09.bb8ffa"
1023       ]
1024     ]
1025   },
1026   {
1027     "id": "f17cdf9a.1f70e",
1028     "type": "outcomeTrue",
1029     "name": "true",
1030     "xml": "<outcome value='true'>\n",
1031     "comments": "",
1032     "outputs": 1,
1033     "x": 1778.5,
1034     "y": 1140,
1035     "z": "f29dedb6.fec708",
1036     "wires": [
1037       [
1038         "a6d260a1.f58c48"
1039       ]
1040     ]
1041   },
1042   {
1043     "id": "3676d16.bff3dae",
1044     "type": "outcomeTrue",
1045     "name": "true",
1046     "xml": "<outcome value='true'>\n",
1047     "comments": "",
1048     "outputs": 1,
1049     "x": 1796.5,
1050     "y": 1326,
1051     "z": "f29dedb6.fec708",
1052     "wires": [
1053       [
1054         "8bd5be57.1da07"
1055       ]
1056     ]
1057   },
1058   {
1059     "id": "43e3c11a.4b0498",
1060     "type": "outcomeTrue",
1061     "name": "true",
1062     "xml": "<outcome value='true'>\n",
1063     "comments": "",
1064     "outputs": 1,
1065     "x": 1803.5,
1066     "y": 1376,
1067     "z": "f29dedb6.fec708",
1068     "wires": [
1069       [
1070         "b62f8a75.a94a88"
1071       ]
1072     ]
1073   },
1074   {
1075     "id": "ab13048a.b0a2",
1076     "type": "outcomeTrue",
1077     "name": "true",
1078     "xml": "<outcome value='true'>\n",
1079     "comments": "",
1080     "outputs": 1,
1081     "x": 1765.5,
1082     "y": 1480,
1083     "z": "f29dedb6.fec708",
1084     "wires": [
1085       [
1086         "d6461dbb.9360e8"
1087       ]
1088     ]
1089   },
1090   {
1091     "id": "f1c21eed.4c6488",
1092     "type": "set",
1093     "name": "set topology",
1094     "xml": "<set>\n<parameter name='prop.l3vpn.topology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1095     "comments": "",
1096     "x": 1961.5,
1097     "y": 140,
1098     "z": "f29dedb6.fec708",
1099     "wires": []
1100   },
1101   {
1102     "id": "db52bb2.d3cc7c8",
1103     "type": "set",
1104     "name": "set technology",
1105     "xml": "<set>\n<parameter name='prop.l3vpn.technology' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1106     "comments": "",
1107     "x": 1951.5,
1108     "y": 194,
1109     "z": "f29dedb6.fec708",
1110     "wires": []
1111   },
1112   {
1113     "id": "7c0e170d.30b1d",
1114     "type": "set",
1115     "name": "set site1_name",
1116     "xml": "<set>\n<parameter name='prop.l3vpn.site1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1117     "comments": "",
1118     "x": 1955.5,
1119     "y": 251,
1120     "z": "f29dedb6.fec708",
1121     "wires": []
1122   },
1123   {
1124     "id": "947c8730.9c4b48",
1125     "type": "set",
1126     "name": "set site2_name",
1127     "xml": "<set>\n<parameter name='prop.l3vpn.site2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1128     "comments": "",
1129     "x": 1958.5,
1130     "y": 310,
1131     "z": "f29dedb6.fec708",
1132     "wires": []
1133   },
1134   {
1135     "id": "a06ad2cd.275448",
1136     "type": "set",
1137     "name": "set sna1_name",
1138     "xml": "<set>\n<parameter name='prop.l3vpn.sna1_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1139     "comments": "",
1140     "x": 1966.5,
1141     "y": 372,
1142     "z": "f29dedb6.fec708",
1143     "wires": []
1144   },
1145   {
1146     "id": "b2aa581c.5af32",
1147     "type": "set",
1148     "name": "set sna2_name",
1149     "xml": "<set>\n<parameter name='prop.l3vpn.sna2_name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1150     "comments": "",
1151     "x": 1958.5,
1152     "y": 432,
1153     "z": "f29dedb6.fec708",
1154     "wires": []
1155   },
1156   {
1157     "id": "72cbbe8e.f6925",
1158     "type": "set",
1159     "name": "set pe1_id",
1160     "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1161     "comments": "",
1162     "x": 1955.5,
1163     "y": 492,
1164     "z": "f29dedb6.fec708",
1165     "wires": []
1166   },
1167   {
1168     "id": "d9091182.9c0dc8",
1169     "type": "set",
1170     "name": "set pe2_id",
1171     "xml": "<set>\n<parameter name='prop.l3vpn.pe2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1172     "comments": "",
1173     "x": 1951.5,
1174     "y": 563,
1175     "z": "f29dedb6.fec708",
1176     "wires": []
1177   },
1178   {
1179     "id": "ae505877.71061",
1180     "type": "set",
1181     "name": "set ac1_id",
1182     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1183     "comments": "",
1184     "x": 1944.5,
1185     "y": 629,
1186     "z": "f29dedb6.fec708",
1187     "wires": []
1188   },
1189   {
1190     "id": "2f24e7f6.a11b28",
1191     "type": "set",
1192     "name": "set ac2_id",
1193     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1194     "comments": "",
1195     "x": 1947.5,
1196     "y": 696,
1197     "z": "f29dedb6.fec708",
1198     "wires": []
1199   },
1200   {
1201     "id": "42443b38.340f8c",
1202     "type": "set",
1203     "name": "set ac1_ip",
1204     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1205     "comments": "",
1206     "x": 1923.5,
1207     "y": 762,
1208     "z": "f29dedb6.fec708",
1209     "wires": []
1210   },
1211   {
1212     "id": "e3ce9d5.2cdf36",
1213     "type": "set",
1214     "name": "set ac2_ip",
1215     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_ip' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1216     "comments": "",
1217     "x": 1927.5,
1218     "y": 816,
1219     "z": "f29dedb6.fec708",
1220     "wires": []
1221   },
1222   {
1223     "id": "7054b5f4.206a54",
1224     "type": "set",
1225     "name": "set ac1_peer_ip",
1226     "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",
1227     "comments": "",
1228     "x": 1975.5,
1229     "y": 871,
1230     "z": "f29dedb6.fec708",
1231     "wires": []
1232   },
1233   {
1234     "id": "784b972f.0e3428",
1235     "type": "set",
1236     "name": "set ac2_peer_ip",
1237     "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",
1238     "comments": "",
1239     "x": 1971.5,
1240     "y": 926,
1241     "z": "f29dedb6.fec708",
1242     "wires": []
1243   },
1244   {
1245     "id": "206c366c.675522",
1246     "type": "set",
1247     "name": "set ac1_svlan",
1248     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1249     "comments": "",
1250     "x": 1965.5,
1251     "y": 981,
1252     "z": "f29dedb6.fec708",
1253     "wires": []
1254   },
1255   {
1256     "id": "10227f41.369851",
1257     "type": "set",
1258     "name": "set ac2_svlan",
1259     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_svlan' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1260     "comments": "",
1261     "x": 1962.5,
1262     "y": 1034,
1263     "z": "f29dedb6.fec708",
1264     "wires": []
1265   },
1266   {
1267     "id": "1799ee09.bb8ffa",
1268     "type": "set",
1269     "name": "set ac1_protocol",
1270     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1271     "comments": "",
1272     "x": 1960.5,
1273     "y": 1091,
1274     "z": "f29dedb6.fec708",
1275     "wires": []
1276   },
1277   {
1278     "id": "a6d260a1.f58c48",
1279     "type": "set",
1280     "name": "set ac2_protocol",
1281     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_protocol' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1282     "comments": "",
1283     "x": 1969.5,
1284     "y": 1143,
1285     "z": "f29dedb6.fec708",
1286     "wires": []
1287   },
1288   {
1289     "id": "8bd5be57.1da07",
1290     "type": "set",
1291     "name": "set ac1_protocol_bgp_as",
1292     "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",
1293     "comments": "",
1294     "x": 2063.5,
1295     "y": 1347,
1296     "z": "f29dedb6.fec708",
1297     "wires": []
1298   },
1299   {
1300     "id": "b62f8a75.a94a88",
1301     "type": "set",
1302     "name": "set ac2_protocol_bgp_as",
1303     "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",
1304     "comments": "",
1305     "x": 2075.5,
1306     "y": 1396,
1307     "z": "f29dedb6.fec708",
1308     "wires": []
1309   },
1310   {
1311     "id": "d6461dbb.9360e8",
1312     "type": "set",
1313     "name": "set af_type",
1314     "xml": "<set>\n<parameter name='prop.l3vpn.af_type' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1315     "comments": "",
1316     "x": 1959.5,
1317     "y": 1490,
1318     "z": "f29dedb6.fec708",
1319     "wires": []
1320   },
1321   {
1322     "id": "5c9ca6e0.e239a",
1323     "type": "record",
1324     "name": "record",
1325     "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=\"Time\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"Method\" value=\"network-topology-operation-create\"/>\n<parameter name=\"SubMethod\" value=\"L3VPN-Config\"/>\n<parameter name=\"l3vpn_name\" value=\"`$prop.l3vpn.name`\"/>\n<parameter name=\"topology\" value=\"`$prop.l3vpn.topology`\"/>\n<parameter name=\"site1_name\" value=\"`$prop.l3vpn.site1_name`\"/>\n<parameter name=\"vpn-policy1-id\" value=\"`$prop.l3vpn.vpn-policy1-id}`\"/>\n<parameter name=\"l3vpn.entry1-id\" value=\"`$prop.l3vpn.entry1-id`\"/>\n<parameter name=\"sna1_name\" value=\"`$prop.l3vpn.sna1_name`\"/>\n<parameter name=\"pe1_id\" value=\"`$prop.l3vpn.pe1_id`\"/>\n<parameter name=\"ac1_id\" value=\"`$prop.l3vpn.ac1_id`\"/>\n<parameter name=\"sna1_svlan\" value=\"`$prop.l3vpn.sna1_svlan`\"/>\n<parameter name=\"ac1-peer-ip\" value=\"`$prop.l3vpn.ac1-peer-ip`\"/>\n<parameter name=\"ac1-ip\" value=\"`$prop.l3vpn.ac1-ip`\"/>\n<parameter name=\"ac1_protocol\" value=\"`$prop.l3vpn.ac1_protocol`\"/>\n<parameter name=\"sna1-route-ip-prefix\" value=\"`$prop.l3vpn.sna1-route-ip-prefix`\"/>\n<parameter name=\"sna1-route-next-hop\" value=\"`$prop.l3vpn.sna1-route-next-hop`\"/>\n<parameter name=\"peer2-ip\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"ac2_protocol_bgp_as\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"vrf1-id\" value=\"`$prop.l3vpn.vrf1-id`\"/>\n<parameter name=\"site2_name\" value=\"`$prop.l3vpn.site2_name`\"/>\n<parameter name=\"vpn-policy2-id\" value=\"`$prop.l3vpn.vpn-policy2-id}`\"/>\n<parameter name=\"l3vpn.entry2-id\" value=\"`$prop.l3vpn.entry2-id`\"/>\n<parameter name=\"sna2_name\" value=\"`$prop.l3vpn.sna2_name`\"/>\n<parameter name=\"pe2_id\" value=\"`$prop.l3vpn.pe2_id`\"/>\n<parameter name=\"ac2_id\" value=\"`$prop.l3vpn.ac2_id`\"/>\n<parameter name=\"sna2_svlan\" value=\"`$prop.l3vpn.sna2_svlan`\"/>\n<parameter name=\"ac2-peer-ip\" value=\"`$prop.l3vpn.ac2-peer-ip`\"/>\n<parameter name=\"ac2-ip\" value=\"`$prop.l3vpn.ac2-ip`\"/>\n<parameter name=\"ac2_protocol\" value=\"`$prop.l3vpn.ac2_protocol`\"/>\n<parameter name=\"sna2-route-ip-prefix\" value=\"`$prop.l3vpn.sna2-route-ip-prefix`\"/>\n<parameter name=\"sna2-route-next-hop\" value=\"`$prop.l3vpn.sna2-route-next-hop`\"/>\n<parameter name=\"peer2-ip\" value=\"`$prop.l3vpn.peer2-ip`\"/>\n<parameter name=\"ac2_protocol_bgp_as\" value=\"`$prop.l3vpn.ac2_protocol_bgp_as`\"/>\n<parameter name=\"vrf2-id\" value=\"`$prop.l3vpn.vrf2-id`\"/>\n<parameter name=\"af_type\" value=\"`$prop.l3vpn.af_type`\"/>\n",
1326     "comments": "",
1327     "outputs": 1,
1328     "x": 758,
1329     "y": 741,
1330     "z": "f29dedb6.fec708",
1331     "wires": [
1332       []
1333     ]
1334   },
1335   {
1336     "id": "e21a9c92.1f2a28",
1337     "type": "switchNode",
1338     "name": "switch service-type",
1339     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
1340     "comments": "",
1341     "outputs": 1,
1342     "x": 683,
1343     "y": 881,
1344     "z": "f29dedb6.fec708",
1345     "wires": [
1346       [
1347         "35f4cd65.09f49a",
1348         "75d7a8fd.a7b578",
1349         "8c0ace1c.3759a8"
1350       ]
1351     ]
1352   },
1353   {
1354     "id": "35f4cd65.09f49a",
1355     "type": "outcomeTrue",
1356     "name": "l3vpn-ipwan",
1357     "xml": "<outcome value='l3vpn-ipwan'>\n",
1358     "comments": "",
1359     "outputs": 1,
1360     "x": 669,
1361     "y": 806,
1362     "z": "f29dedb6.fec708",
1363     "wires": [
1364       [
1365         "97e69226.8d874"
1366       ]
1367     ]
1368   },
1369   {
1370     "id": "75d7a8fd.a7b578",
1371     "type": "outcomeTrue",
1372     "name": "l3vpn-sptn",
1373     "xml": "<outcome value='true'>\n",
1374     "comments": "",
1375     "outputs": 1,
1376     "x": 827,
1377     "y": 949,
1378     "z": "f29dedb6.fec708",
1379     "wires": [
1380       [
1381         "6b6b65e4.027114"
1382       ]
1383     ]
1384   },
1385   {
1386     "id": "8c0ace1c.3759a8",
1387     "type": "outcomeTrue",
1388     "name": "other",
1389     "xml": "<outcome value='Other'>\n",
1390     "comments": "",
1391     "outputs": 1,
1392     "x": 825,
1393     "y": 1028,
1394     "z": "f29dedb6.fec708",
1395     "wires": [
1396       [
1397         "942583bd.a55fc8"
1398       ]
1399     ]
1400   },
1401   {
1402     "id": "942583bd.a55fc8",
1403     "type": "returnFailure",
1404     "name": "return failure",
1405     "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",
1406     "comments": "",
1407     "x": 1008,
1408     "y": 1027,
1409     "z": "f29dedb6.fec708",
1410     "wires": []
1411   },
1412   {
1413     "id": "151a4cba.fa33e3",
1414     "type": "execute",
1415     "name": "execute vpn-policy2-id",
1416     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vpn-policy2-id\"/>\n",
1417     "comments": "",
1418     "outputs": 1,
1419     "x": 799,
1420     "y": 505,
1421     "z": "f29dedb6.fec708",
1422     "wires": [
1423       [
1424         "e0623ae9.6063c"
1425       ]
1426     ]
1427   },
1428   {
1429     "id": "e0623ae9.6063c",
1430     "type": "failure",
1431     "name": "failure",
1432     "xml": "<outcome value='failure'>\n",
1433     "comments": "",
1434     "outputs": 1,
1435     "x": 1024,
1436     "y": 507.9999694824219,
1437     "z": "f29dedb6.fec708",
1438     "wires": [
1439       [
1440         "25b266b0.918a82"
1441       ]
1442     ]
1443   },
1444   {
1445     "id": "25b266b0.918a82",
1446     "type": "returnFailure",
1447     "name": "return failure",
1448     "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",
1449     "comments": "",
1450     "x": 1205,
1451     "y": 505.9999694824219,
1452     "z": "f29dedb6.fec708",
1453     "wires": []
1454   },
1455   {
1456     "id": "be047f99.592428",
1457     "type": "set",
1458     "name": "set policy entry",
1459     "xml": "<set>\n<parameter name='prop.l3vpn.entry1-id' value='1' />\n<parameter name='prop.l3vpn.entry2-id' value='1' />\n\n",
1460     "comments": "",
1461     "x": 785,
1462     "y": 553,
1463     "z": "f29dedb6.fec708",
1464     "wires": []
1465   },
1466   {
1467     "id": "98526d9c.6760b",
1468     "type": "execute",
1469     "name": "execute split ac1-route",
1470     "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",
1471     "comments": "",
1472     "outputs": 1,
1473     "x": 2189,
1474     "y": 1203,
1475     "z": "f29dedb6.fec708",
1476     "wires": [
1477       [
1478         "b220812e.109778",
1479         "351eda30.07db16"
1480       ]
1481     ]
1482   },
1483   {
1484     "id": "bf6d8b73.1d1d2",
1485     "type": "switchNode",
1486     "name": "switch ac2_route",
1487     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac2_route'`\">\n",
1488     "comments": "",
1489     "outputs": 1,
1490     "x": 1590,
1491     "y": 1251,
1492     "z": "f29dedb6.fec708",
1493     "wires": [
1494       [
1495         "7a9c17fc.2f1e08"
1496       ]
1497     ]
1498   },
1499   {
1500     "id": "5a7334fb.eef58c",
1501     "type": "switchNode",
1502     "name": "switch ac1_route",
1503     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'ac1_route'`\">\n",
1504     "comments": "",
1505     "outputs": 1,
1506     "x": 1591,
1507     "y": 1202,
1508     "z": "f29dedb6.fec708",
1509     "wires": [
1510       [
1511         "56e3cd9c.43986c"
1512       ]
1513     ]
1514   },
1515   {
1516     "id": "56e3cd9c.43986c",
1517     "type": "outcomeTrue",
1518     "name": "true",
1519     "xml": "<outcome value='true'>\n",
1520     "comments": "",
1521     "outputs": 1,
1522     "x": 1763,
1523     "y": 1200,
1524     "z": "f29dedb6.fec708",
1525     "wires": [
1526       [
1527         "477adf42.483428"
1528       ]
1529     ]
1530   },
1531   {
1532     "id": "7a9c17fc.2f1e08",
1533     "type": "outcomeTrue",
1534     "name": "true",
1535     "xml": "<outcome value='true'>\n",
1536     "comments": "",
1537     "outputs": 1,
1538     "x": 1776,
1539     "y": 1259,
1540     "z": "f29dedb6.fec708",
1541     "wires": [
1542       [
1543         "fc261e72.93fdd8"
1544       ]
1545     ]
1546   },
1547   {
1548     "id": "54fbb9e9.bfa918",
1549     "type": "set",
1550     "name": "set ac1_route",
1551     "xml": "<set>\n<parameter name='prop.l3vpn.ac1_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1552     "comments": "",
1553     "x": 2160,
1554     "y": 1151,
1555     "z": "f29dedb6.fec708",
1556     "wires": []
1557   },
1558   {
1559     "id": "d7d47e9f.d291a8",
1560     "type": "set",
1561     "name": "set ac2_route",
1562     "xml": "<set>\n<parameter name='prop.l3vpn.ac2_route' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1563     "comments": "",
1564     "x": 2158,
1565     "y": 1251,
1566     "z": "f29dedb6.fec708",
1567     "wires": []
1568   },
1569   {
1570     "id": "8d93fa75.d66f9",
1571     "type": "execute",
1572     "name": "execute split ac2-route",
1573     "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",
1574     "comments": "",
1575     "outputs": 1,
1576     "x": 2182,
1577     "y": 1296,
1578     "z": "f29dedb6.fec708",
1579     "wires": [
1580       [
1581         "ff5e6e80.75b3d",
1582         "b6c5cd5f.5be15"
1583       ]
1584     ]
1585   },
1586   {
1587     "id": "477adf42.483428",
1588     "type": "block",
1589     "name": "block atomic",
1590     "xml": "<block atomic=\"true\">\n",
1591     "atomic": "false",
1592     "comments": "",
1593     "outputs": 1,
1594     "x": 1914,
1595     "y": 1200,
1596     "z": "f29dedb6.fec708",
1597     "wires": [
1598       [
1599         "54fbb9e9.bfa918",
1600         "98526d9c.6760b"
1601       ]
1602     ]
1603   },
1604   {
1605     "id": "fc261e72.93fdd8",
1606     "type": "block",
1607     "name": "block atomic",
1608     "xml": "<block atomic=\"true\">\n",
1609     "atomic": "false",
1610     "comments": "",
1611     "outputs": 1,
1612     "x": 1915,
1613     "y": 1259,
1614     "z": "f29dedb6.fec708",
1615     "wires": [
1616       [
1617         "d7d47e9f.d291a8",
1618         "8d93fa75.d66f9"
1619       ]
1620     ]
1621   },
1622   {
1623     "id": "1460f5c7.7bf212",
1624     "type": "execute",
1625     "name": "execute vrf1-id",
1626     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf1-id\"/>\n",
1627     "comments": "",
1628     "outputs": 1,
1629     "x": 806,
1630     "y": 608,
1631     "z": "f29dedb6.fec708",
1632     "wires": [
1633       [
1634         "d4cb6331.d1fce8"
1635       ]
1636     ]
1637   },
1638   {
1639     "id": "e2d35c41.dd6f5",
1640     "type": "execute",
1641     "name": "execute vrf2-id",
1642     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.l3vpn.vrf2-id\"/>\n",
1643     "comments": "",
1644     "outputs": 1,
1645     "x": 806.3333740234375,
1646     "y": 666.3333129882812,
1647     "z": "f29dedb6.fec708",
1648     "wires": [
1649       [
1650         "aa4153ec.2a7508"
1651       ]
1652     ]
1653   },
1654   {
1655     "id": "aa4153ec.2a7508",
1656     "type": "failure",
1657     "name": "failure",
1658     "xml": "<outcome value='failure'>\n",
1659     "comments": "",
1660     "outputs": 1,
1661     "x": 1031.3333740234375,
1662     "y": 669.3332824707031,
1663     "z": "f29dedb6.fec708",
1664     "wires": [
1665       [
1666         "4a3bd02b.dd7f6"
1667       ]
1668     ]
1669   },
1670   {
1671     "id": "d4cb6331.d1fce8",
1672     "type": "failure",
1673     "name": "failure",
1674     "xml": "<outcome value='failure'>\n",
1675     "comments": "",
1676     "outputs": 1,
1677     "x": 1031,
1678     "y": 610.9999694824219,
1679     "z": "f29dedb6.fec708",
1680     "wires": [
1681       [
1682         "34c6dafd.7466b6"
1683       ]
1684     ]
1685   },
1686   {
1687     "id": "34c6dafd.7466b6",
1688     "type": "returnFailure",
1689     "name": "return failure",
1690     "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",
1691     "comments": "",
1692     "x": 1212,
1693     "y": 608.9999694824219,
1694     "z": "f29dedb6.fec708",
1695     "wires": []
1696   },
1697   {
1698     "id": "4a3bd02b.dd7f6",
1699     "type": "returnFailure",
1700     "name": "return failure",
1701     "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",
1702     "comments": "",
1703     "x": 1212.3333740234375,
1704     "y": 667.3332824707031,
1705     "z": "f29dedb6.fec708",
1706     "wires": []
1707   },
1708   {
1709     "id": "97e69226.8d874",
1710     "type": "block",
1711     "name": "block : atomic",
1712     "xml": "<block atomic=\"true\">\n",
1713     "atomic": "false",
1714     "comments": "",
1715     "outputs": 1,
1716     "x": 848,
1717     "y": 806,
1718     "z": "f29dedb6.fec708",
1719     "wires": [
1720       [
1721         "d2fcc9e7.aec75",
1722         "29a0e3d5.f4d32c",
1723         "c946ab83.d974f8"
1724       ]
1725     ]
1726   },
1727   {
1728     "id": "29a0e3d5.f4d32c",
1729     "type": "execute",
1730     "name": "execute RestApiCallNode IPWAN Site Config",
1731     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/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=\"restapi-result\"/>",
1732     "comments": "",
1733     "outputs": 1,
1734     "x": 1156,
1735     "y": 801,
1736     "z": "f29dedb6.fec708",
1737     "wires": [
1738       []
1739     ]
1740   },
1741   {
1742     "id": "c946ab83.d974f8",
1743     "type": "execute",
1744     "name": "execute RestApiCallNode IPWAN VRF Config",
1745     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"$prop.sdncRestApi.tempDir +'/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=\"restapi-result\"/>",
1746     "comments": "",
1747     "outputs": 1,
1748     "x": 1154,
1749     "y": 872,
1750     "z": "f29dedb6.fec708",
1751     "wires": [
1752       []
1753     ]
1754   },
1755   {
1756     "id": "b220812e.109778",
1757     "type": "failure",
1758     "name": "failure",
1759     "xml": "<outcome value='failure'>\n",
1760     "comments": "",
1761     "outputs": 1,
1762     "x": 2407,
1763     "y": 1195,
1764     "z": "f29dedb6.fec708",
1765     "wires": [
1766       [
1767         "c61ec37b.6cd3b8"
1768       ]
1769     ]
1770   },
1771   {
1772     "id": "c61ec37b.6cd3b8",
1773     "type": "returnFailure",
1774     "name": "return failure",
1775     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1776     "comments": "",
1777     "x": 2588,
1778     "y": 1193,
1779     "z": "f29dedb6.fec708",
1780     "wires": []
1781   },
1782   {
1783     "id": "ff5e6e80.75b3d",
1784     "type": "failure",
1785     "name": "failure",
1786     "xml": "<outcome value='failure'>\n",
1787     "comments": "",
1788     "outputs": 1,
1789     "x": 2405,
1790     "y": 1297,
1791     "z": "f29dedb6.fec708",
1792     "wires": [
1793       [
1794         "73eb8615.8d24d8"
1795       ]
1796     ]
1797   },
1798   {
1799     "id": "73eb8615.8d24d8",
1800     "type": "returnFailure",
1801     "name": "return failure",
1802     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1803     "comments": "",
1804     "x": 2586,
1805     "y": 1295,
1806     "z": "f29dedb6.fec708",
1807     "wires": []
1808   },
1809   {
1810     "id": "351eda30.07db16",
1811     "type": "failure",
1812     "name": "success",
1813     "xml": "<outcome value='success'>\n",
1814     "comments": "",
1815     "outputs": 1,
1816     "x": 2406,
1817     "y": 1129,
1818     "z": "f29dedb6.fec708",
1819     "wires": [
1820       [
1821         "581ab8c9.51da4"
1822       ]
1823     ]
1824   },
1825   {
1826     "id": "b6c5cd5f.5be15",
1827     "type": "failure",
1828     "name": "success",
1829     "xml": "<outcome value='success'>\n",
1830     "comments": "",
1831     "outputs": 1,
1832     "x": 2402,
1833     "y": 1249,
1834     "z": "f29dedb6.fec708",
1835     "wires": [
1836       [
1837         "f0e238af.ae0bf8"
1838       ]
1839     ]
1840   },
1841   {
1842     "id": "581ab8c9.51da4",
1843     "type": "set",
1844     "name": "set route1 ip-prefix next-hop",
1845     "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",
1846     "comments": "",
1847     "x": 2613,
1848     "y": 1123,
1849     "z": "f29dedb6.fec708",
1850     "wires": []
1851   },
1852   {
1853     "id": "f0e238af.ae0bf8",
1854     "type": "set",
1855     "name": "set route2 ip-prefix next-hop",
1856     "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]`' />",
1857     "comments": "",
1858     "x": 2613,
1859     "y": 1242,
1860     "z": "f29dedb6.fec708",
1861     "wires": []
1862   }
1863 ]