Connecting SOTN sub DGs to network DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json
1 [
2   {
3     "id": "139a6e7f.35f132",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 103.01040649414062,
8     "y": 78.2888806159608,
9     "z": "13b9846a.014e4c",
10     "wires": [
11       [
12         "5165cd92.df7bd4"
13       ]
14     ]
15   },
16   {
17     "id": "5165cd92.df7bd4",
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": 357.5104064941406,
26     "y": 78.2888806159608,
27     "z": "13b9846a.014e4c",
28     "wires": [
29       [
30         "a7444b33.7d1f48"
31       ]
32     ]
33   },
34   {
35     "id": "a7444b33.7d1f48",
36     "type": "method",
37     "name": "sotn-network-topology-operation-create",
38     "xml": "<method rpc='sotn-network-topology-operation-create' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 356.5104064941406,
42     "y": 178.2888806159608,
43     "z": "13b9846a.014e4c",
44     "wires": [
45       [
46         "a19a8247.a1622"
47       ]
48     ]
49   },
50   {
51     "id": "a19a8247.a1622",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 496.5104064941406,
59     "y": 278.2888806159608,
60     "z": "13b9846a.014e4c",
61     "wires": [
62       [
63         "9690673f.c35c38",
64         "9090896d.431318",
65         "1b9ab03d.d8994",
66         "611901b5.6b6e9",
67         "64f0eb98.ddb424",
68         "22fd42de.86c53e",
69         "cc42b05c.ab9b4",
70         "b37c9027.58eb3",
71         "3085f08f.eacbb",
72         "27379959.fccb76",
73         "2ad70cde.edce44",
74         "3e882683.7d50ea"
75       ]
76     ]
77   },
78   {
79     "id": "9690673f.c35c38",
80     "type": "call",
81     "name": "call GENERIC-RESOURCE-API:validate-sotn-network-input-parameters",
82     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sotn-network-input-parameters' mode='sync' >\n",
83     "comments": "",
84     "outputs": 1,
85     "x": 926.5104179382324,
86     "y": 96.06663253856823,
87     "z": "13b9846a.014e4c",
88     "wires": [
89       [
90         
91       ]
92     ]
93   },
94   {
95     "id": "9090896d.431318",
96     "type": "record",
97     "name": "record",
98     "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=\"sotn-network-topology-operation-create\"/>\n<parameter name=\"field3\" value=\"SOTN-Config\"/>\n",
99     "comments": "",
100     "outputs": 1,
101     "x": 720.0660629272461,
102     "y": 273.5110924243927,
103     "z": "13b9846a.014e4c",
104     "wires": [
105       [
106         
107       ]
108     ]
109   },
110   {
111     "id": "1b9ab03d.d8994",
112     "type": "execute",
113     "name": "execute generate-sotn-vpn-network-id",
114     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.sotn.network-id\"/>\n",
115     "comments": "",
116     "outputs": 1,
117     "x": 820.5104179382324,
118     "y": 136.06663253856823,
119     "z": "13b9846a.014e4c",
120     "wires": [
121       [
122         
123       ]
124     ]
125   },
126   {
127     "id": "611901b5.6b6e9",
128     "type": "switchNode",
129     "name": "switch service-data.networks_length",
130     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
131     "comments": "",
132     "outputs": 1,
133     "x": 811.0660629272461,
134     "y": 233.5110924243927,
135     "z": "13b9846a.014e4c",
136     "wires": [
137       [
138         "6504f13e.cb942",
139         "f06b01d1.5ae64"
140       ]
141     ]
142   },
143   {
144     "id": "6504f13e.cb942",
145     "type": "other",
146     "name": "Null",
147     "xml": "<outcome value=''>\n",
148     "comments": "",
149     "outputs": 1,
150     "x": 1040.066062927246,
151     "y": 213.5110924243927,
152     "z": "13b9846a.014e4c",
153     "wires": [
154       [
155         "80cc460d.6062a8"
156       ]
157     ]
158   },
159   {
160     "id": "f06b01d1.5ae64",
161     "type": "other",
162     "name": "other",
163     "xml": "<outcome value='Other'>\n",
164     "comments": "",
165     "outputs": 1,
166     "x": 1040.066062927246,
167     "y": 253.5110924243927,
168     "z": "13b9846a.014e4c",
169     "wires": [
170       [
171         "cc9b4b29.340cf8"
172       ]
173     ]
174   },
175   {
176     "id": "80cc460d.6062a8",
177     "type": "set",
178     "name": "set nidx",
179     "xml": "<set>\n<parameter name='nidx' value='0' />\n",
180     "comments": "",
181     "x": 1182.566062927246,
182     "y": 213.5110924243927,
183     "z": "13b9846a.014e4c",
184     "wires": [
185       
186     ]
187   },
188   {
189     "id": "8ea707fc.e9fc98",
190     "type": "set",
191     "name": "set nidx",
192     "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
193     "comments": "",
194     "x": 1316.12158203125,
195     "y": 215.06670212745667,
196     "z": "13b9846a.014e4c",
197     "wires": [
198       
199     ]
200   },
201   {
202     "id": "64f0eb98.ddb424",
203     "type": "set",
204     "name": "set network in service-data",
205     "xml": "<set>\n<parameter name='service-data.networks.network[$nidx].network-id' value='`$prop.sotn.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",
206     "comments": "",
207     "x": 781.5660629272461,
208     "y": 313.5110924243927,
209     "z": "13b9846a.014e4c",
210     "wires": [
211       
212     ]
213   },
214   {
215     "id": "22fd42de.86c53e",
216     "type": "set",
217     "name": "set networkId and network-object-path",
218     "xml": "<set>\n<parameter name='networkId' value='`$prop.sotn.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.sotn.network-id  + '/network-data/'` \" />",
219     "comments": "",
220     "x": 817.0660629272461,
221     "y": 353.5110924243927,
222     "z": "13b9846a.014e4c",
223     "wires": [
224       
225     ]
226   },
227   {
228     "id": "cc42b05c.ab9b4",
229     "type": "returnSuccess",
230     "name": "return success",
231     "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",
232     "comments": "",
233     "x": 743.7329025268555,
234     "y": 580.1777954101562,
235     "z": "13b9846a.014e4c",
236     "wires": [
237       
238     ]
239   },
240   {
241     "id": "b37c9027.58eb3",
242     "type": "set",
243     "name": "set network-level-oper-status",
244     "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`' />",
245     "comments": "",
246     "x": 788.5660629272461,
247     "y": 393.5110924243927,
248     "z": "13b9846a.014e4c",
249     "wires": [
250       
251     ]
252   },
253   {
254     "id": "3085f08f.eacbb",
255     "type": "save",
256     "name": "save SOTN connectivity resource in AAI",
257     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n      key='configuration.configuration-id = $prop.sotn.network-id' >\n<parameter name='configuration-id' value='`$prop.sotn.network-id`' />\n<parameter name='configuration-name' value='`$prop.sotn.client-svc-name`' />\n<parameter name='configuration-type' value='`$prop.sotn.client-svc-descr`' />\n<parameter name='configuration-sub-type' value='`$prop.sotn.tenantId`' />\n<parameter name='orchestration-status' value='`$prop.sotn.vpnType`' />\n<parameter name='management-option' value='`$prop.sotn.cir`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\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.sotn.network-id  + '/network-data/'` \" />",
258     "comments": "",
259     "outputs": 1,
260     "x": 821.0660629272461,
261     "y": 440.1777813434601,
262     "z": "13b9846a.014e4c",
263     "wires": [
264       [
265         
266       ]
267     ]
268   },
269   {
270     "id": "27379959.fccb76",
271     "type": "save",
272     "name": "save service relationship in AAI",
273     "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.sotn.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.sotn.network-id`\" />",
274     "comments": "",
275     "outputs": 1,
276     "x": 796.0660743713379,
277     "y": 477.9555332660675,
278     "z": "13b9846a.014e4c",
279     "wires": [
280       [
281         
282       ]
283     ]
284   },
285   {
286     "id": "56dd0abe.1511b4",
287     "type": "for",
288     "name": "for each existing network",
289     "xml": "<for index='idx' start='0' end='`$nidx`' >\n",
290     "comments": "",
291     "outputs": 1,
292     "x": 1185.5501251220703,
293     "y": 358.28884431766346,
294     "z": "13b9846a.014e4c",
295     "wires": [
296       [
297         "a637d096.3728c"
298       ]
299     ]
300   },
301   {
302     "id": "cc9b4b29.340cf8",
303     "type": "block",
304     "name": "block",
305     "xml": "<block>\n",
306     "atomic": "false",
307     "comments": "",
308     "outputs": 1,
309     "x": 1184.4231071472168,
310     "y": 253.4476044178009,
311     "z": "13b9846a.014e4c",
312     "wires": [
313       [
314         "56dd0abe.1511b4",
315         "8ea707fc.e9fc98"
316       ]
317     ]
318   },
319   {
320     "id": "a637d096.3728c",
321     "type": "switchNode",
322     "name": "switch networkid found",
323     "xml": "<switch test=\"`$service-data.networks.network[$idx].network-id == $network-topology-operation-input.network-information.network-id`\">\n",
324     "comments": "",
325     "outputs": 1,
326     "x": 1460.8358459472656,
327     "y": 357.86034700321034,
328     "z": "13b9846a.014e4c",
329     "wires": [
330       [
331         "29edb34.33bc74c"
332       ]
333     ]
334   },
335   {
336     "id": "29edb34.33bc74c",
337     "type": "outcomeTrue",
338     "name": "true",
339     "xml": "<outcome value='true'>\n",
340     "comments": "",
341     "outputs": 1,
342     "x": 1361.5660438537598,
343     "y": 416.4317781631835,
344     "z": "13b9846a.014e4c",
345     "wires": [
346       [
347         "fb222058.5489a"
348       ]
349     ]
350   },
351   {
352     "id": "e2502908.30a4f8",
353     "type": "comment",
354     "name": "make sure this network doesn't exist already",
355     "info": "",
356     "comments": "",
357     "x": 1409.200855255127,
358     "y": 316.5429017250426,
359     "z": "13b9846a.014e4c",
360     "wires": [
361       
362     ]
363   },
364   {
365     "id": "fb222058.5489a",
366     "type": "returnFailure",
367     "name": "return failure",
368     "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-topology-operation-input.network-request-input.network-id already found in service-data\" />\n",
369     "comments": "",
370     "x": 1509.316146850586,
371     "y": 416.2889702320099,
372     "z": "13b9846a.014e4c",
373     "wires": [
374       
375     ]
376   },
377   {
378     "id": "5c98a39b.1a248c",
379     "type": "block",
380     "name": "block",
381     "xml": "<block>\n",
382     "atomic": "false",
383     "comments": "",
384     "outputs": 1,
385     "x": 1475.9676399230957,
386     "y": 186.06668972969055,
387     "z": "13b9846a.014e4c",
388     "wires": [
389       [
390         "eb10737a.973ea",
391         "20241118.87993e",
392         "8f9a601f.f6c31",
393         "2f4693cf.5c48bc",
394         "a92d3efb.9a862",
395         "8921689e.0cc458",
396         "23d4de8a.cdb1a2",
397         "c9294e5e.af421",
398         "f05d31ef.6d9f2",
399         "3ac5e719.7cdd08",
400         "36127ed4.d4df92",
401         "f5195bd8.3c84a8",
402         "ef3f5059.2d4ea",
403         "cd1b68b3.245ce8",
404         "43611249.362dac",
405         "c4de2cef.1053e"
406       ]
407     ]
408   },
409   {
410     "id": "eb10737a.973ea",
411     "type": "switchNode",
412     "name": "switch name",
413     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
414     "comments": "",
415     "outputs": 1,
416     "x": 1734.1893844604492,
417     "y": 43.39999318122864,
418     "z": "13b9846a.014e4c",
419     "wires": [
420       [
421         "d0562182.0b394"
422       ]
423     ]
424   },
425   {
426     "id": "d0562182.0b394",
427     "type": "outcomeTrue",
428     "name": "true",
429     "xml": "<outcome value='true'>\n",
430     "comments": "",
431     "outputs": 1,
432     "x": 1921.1893844604492,
433     "y": 39.39999318122864,
434     "z": "13b9846a.014e4c",
435     "wires": [
436       [
437         "85ea5b3a.80fc78"
438       ]
439     ]
440   },
441   {
442     "id": "85ea5b3a.80fc78",
443     "type": "set",
444     "name": "set name",
445     "xml": "<set>\n<parameter name='prop.sotn.etht-svc-name' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
446     "comments": "",
447     "x": 2071.1895141601562,
448     "y": 37.99999976158142,
449     "z": "13b9846a.014e4c",
450     "wires": [
451       
452     ]
453   },
454   {
455     "id": "20241118.87993e",
456     "type": "switchNode",
457     "name": "switch description",
458     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'description'`\">\n",
459     "comments": "",
460     "outputs": 1,
461     "x": 1745.0290451049805,
462     "y": 83.39999127388,
463     "z": "13b9846a.014e4c",
464     "wires": [
465       [
466         "aec8775b.d30d08"
467       ]
468     ]
469   },
470   {
471     "id": "aec8775b.d30d08",
472     "type": "outcomeTrue",
473     "name": "true",
474     "xml": "<outcome value='true'>\n",
475     "comments": "",
476     "outputs": 1,
477     "x": 1915.0290451049805,
478     "y": 79.39999127388,
479     "z": "13b9846a.014e4c",
480     "wires": [
481       [
482         "6a968958.282fd8"
483       ]
484     ]
485   },
486   {
487     "id": "6a968958.282fd8",
488     "type": "set",
489     "name": "set etht-svc-descr",
490     "xml": "<set>\n<parameter name='prop.sotn.etht-svc-descr' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
491     "comments": "",
492     "x": 2102.36248588562,
493     "y": 77.86114811897278,
494     "z": "13b9846a.014e4c",
495     "wires": [
496       
497     ]
498   },
499   {
500     "id": "2ad70cde.edce44",
501     "type": "for",
502     "name": "for loop i - Network input parameters",
503     "xml": "<for index=\"idx\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
504     "comments": "",
505     "outputs": 1,
506     "x": 813.7448043823242,
507     "y": 183.844420671463,
508     "z": "13b9846a.014e4c",
509     "wires": [
510       [
511         "5c98a39b.1a248c"
512       ]
513     ]
514   },
515   {
516     "id": "8f9a601f.f6c31",
517     "type": "switchNode",
518     "name": "switch tenantId",
519     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tenantId'`\">\n",
520     "comments": "",
521     "outputs": 1,
522     "x": 1735.4114265441895,
523     "y": 126.733318567276,
524     "z": "13b9846a.014e4c",
525     "wires": [
526       [
527         "bc2214ce.6d70f8"
528       ]
529     ]
530   },
531   {
532     "id": "bc2214ce.6d70f8",
533     "type": "outcomeTrue",
534     "name": "true",
535     "xml": "<outcome value='true'>\n",
536     "comments": "",
537     "outputs": 1,
538     "x": 1922.4114265441895,
539     "y": 122.733318567276,
540     "z": "13b9846a.014e4c",
541     "wires": [
542       [
543         "46fa1cce.7d92e4"
544       ]
545     ]
546   },
547   {
548     "id": "46fa1cce.7d92e4",
549     "type": "set",
550     "name": "set tenantId",
551     "xml": "<set>\n<parameter name='prop.sotn.tenantId' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
552     "comments": "",
553     "x": 2090.4114265441895,
554     "y": 123.33332467079163,
555     "z": "13b9846a.014e4c",
556     "wires": [
557       
558     ]
559   },
560   {
561     "id": "2f4693cf.5c48bc",
562     "type": "switchNode",
563     "name": "switch CIR",
564     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'CIR'`\">\n",
565     "comments": "",
566     "outputs": 1,
567     "x": 1717.2510833740234,
568     "y": 216.7333767414093,
569     "z": "13b9846a.014e4c",
570     "wires": [
571       [
572         "6dc3af21.b1bfa"
573       ]
574     ]
575   },
576   {
577     "id": "6dc3af21.b1bfa",
578     "type": "outcomeTrue",
579     "name": "true",
580     "xml": "<outcome value='true'>\n",
581     "comments": "",
582     "outputs": 1,
583     "x": 1925.2511520385742,
584     "y": 212.73339009284973,
585     "z": "13b9846a.014e4c",
586     "wires": [
587       [
588         "8bfeab9d.acab98"
589       ]
590     ]
591   },
592   {
593     "id": "8bfeab9d.acab98",
594     "type": "set",
595     "name": "set cir",
596     "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
597     "comments": "",
598     "x": 2074.58447265625,
599     "y": 211.19453740119934,
600     "z": "13b9846a.014e4c",
601     "wires": [
602       
603     ]
604   },
605   {
606     "id": "a92d3efb.9a862",
607     "type": "switchNode",
608     "name": "switch vpnType",
609     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vpnType'`\">\n",
610     "comments": "",
611     "outputs": 1,
612     "x": 1736.559555053711,
613     "y": 170.5110957622528,
614     "z": "13b9846a.014e4c",
615     "wires": [
616       [
617         "4f2e612c.866ed"
618       ]
619     ]
620   },
621   {
622     "id": "4f2e612c.866ed",
623     "type": "outcomeTrue",
624     "name": "true",
625     "xml": "<outcome value='true'>\n",
626     "comments": "",
627     "outputs": 1,
628     "x": 1923.559555053711,
629     "y": 166.5110957622528,
630     "z": "13b9846a.014e4c",
631     "wires": [
632       [
633         "a5f469fe.1f7fb8"
634       ]
635     ]
636   },
637   {
638     "id": "a5f469fe.1f7fb8",
639     "type": "set",
640     "name": "set vpnType",
641     "xml": "<set>\n<parameter name='prop.sotn.vpnType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
642     "comments": "",
643     "x": 2092.8931884765625,
644     "y": 163.97226071357727,
645     "z": "13b9846a.014e4c",
646     "wires": [
647       
648     ]
649   },
650   {
651     "id": "8921689e.0cc458",
652     "type": "switchNode",
653     "name": "switch access-provider-id",
654     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-provider-id'`\">\n",
655     "comments": "",
656     "outputs": 1,
657     "x": 1758.0411911010742,
658     "y": 492.9556143283844,
659     "z": "13b9846a.014e4c",
660     "wires": [
661       [
662         "db262e87.3b64a"
663       ]
664     ]
665   },
666   {
667     "id": "23d4de8a.cdb1a2",
668     "type": "switchNode",
669     "name": "switch access-client-id",
670     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-client-id'`\">\n",
671     "comments": "",
672     "outputs": 1,
673     "x": 1750.5966720581055,
674     "y": 538.288943529129,
675     "z": "13b9846a.014e4c",
676     "wires": [
677       [
678         "fd7a8c1c.3cc36"
679       ]
680     ]
681   },
682   {
683     "id": "c9294e5e.af421",
684     "type": "switchNode",
685     "name": "switch access-topology-id",
686     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-topology-id'`\">\n",
687     "comments": "",
688     "outputs": 1,
689     "x": 1755.041130065918,
690     "y": 577.1778290271759,
691     "z": "13b9846a.014e4c",
692     "wires": [
693       [
694         "131fe813.7d7c68"
695       ]
696     ]
697   },
698   {
699     "id": "db262e87.3b64a",
700     "type": "outcomeTrue",
701     "name": "true",
702     "xml": "<outcome value='true'>\n",
703     "comments": "",
704     "outputs": 1,
705     "x": 1942.0411911010742,
706     "y": 491.95562958717346,
707     "z": "13b9846a.014e4c",
708     "wires": [
709       [
710         "34d62c4c.27c844"
711       ]
712     ]
713   },
714   {
715     "id": "fd7a8c1c.3cc36",
716     "type": "outcomeTrue",
717     "name": "true",
718     "xml": "<outcome value='true'>\n",
719     "comments": "",
720     "outputs": 1,
721     "x": 1937.5966720581055,
722     "y": 534.288943529129,
723     "z": "13b9846a.014e4c",
724     "wires": [
725       [
726         "98f0aeff.0649d"
727       ]
728     ]
729   },
730   {
731     "id": "131fe813.7d7c68",
732     "type": "outcomeTrue",
733     "name": "true",
734     "xml": "<outcome value='true'>\n",
735     "comments": "",
736     "outputs": 1,
737     "x": 1942.041130065918,
738     "y": 573.1778290271759,
739     "z": "13b9846a.014e4c",
740     "wires": [
741       [
742         "7da4534a.aa3dbc"
743       ]
744     ]
745   },
746   {
747     "id": "34d62c4c.27c844",
748     "type": "set",
749     "name": "set access-provider-id",
750     "xml": "<set>\n<parameter name='prop.sotn.access-provider-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
751     "comments": "",
752     "x": 2125.2635498046875,
753     "y": 491.0668137073517,
754     "z": "13b9846a.014e4c",
755     "wires": [
756       
757     ]
758   },
759   {
760     "id": "98f0aeff.0649d",
761     "type": "set",
762     "name": "set access-client-id",
763     "xml": "<set>\n<parameter name='prop.sotn.access-client-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
764     "comments": "",
765     "x": 2114.152587890625,
766     "y": 532.2994201183319,
767     "z": "13b9846a.014e4c",
768     "wires": [
769       
770     ]
771   },
772   {
773     "id": "7da4534a.aa3dbc",
774     "type": "set",
775     "name": "set access-topology-id",
776     "xml": "<set>\n<parameter name='prop.sotn.access-topology-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
777     "comments": "",
778     "x": 2124.04150390625,
779     "y": 571.1882765293121,
780     "z": "13b9846a.014e4c",
781     "wires": [
782       
783     ]
784   },
785   {
786     "id": "f05d31ef.6d9f2",
787     "type": "switchNode",
788     "name": "switch access-node-id",
789     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-node-id'`\">\n",
790     "comments": "",
791     "outputs": 1,
792     "x": 1755.8558883666992,
793     "y": 623.8444726467133,
794     "z": "13b9846a.014e4c",
795     "wires": [
796       [
797         "b31c7b7f.9ced68"
798       ]
799     ]
800   },
801   {
802     "id": "b31c7b7f.9ced68",
803     "type": "outcomeTrue",
804     "name": "true",
805     "xml": "<outcome value='true'>\n",
806     "comments": "",
807     "outputs": 1,
808     "x": 1942.8558883666992,
809     "y": 619.8444726467133,
810     "z": "13b9846a.014e4c",
811     "wires": [
812       [
813         "76abc59c.8e0adc"
814       ]
815     ]
816   },
817   {
818     "id": "3ac5e719.7cdd08",
819     "type": "switchNode",
820     "name": "switch access-ltp-id",
821     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-ltp-id'`\">\n",
822     "comments": "",
823     "outputs": 1,
824     "x": 1752.633659362793,
825     "y": 666.2889492511749,
826     "z": "13b9846a.014e4c",
827     "wires": [
828       [
829         "848bd038.a1fd2"
830       ]
831     ]
832   },
833   {
834     "id": "848bd038.a1fd2",
835     "type": "outcomeTrue",
836     "name": "true",
837     "xml": "<outcome value='true'>\n",
838     "comments": "",
839     "outputs": 1,
840     "x": 1939.633659362793,
841     "y": 662.2889492511749,
842     "z": "13b9846a.014e4c",
843     "wires": [
844       [
845         "33b13d79.1d69b2"
846       ]
847     ]
848   },
849   {
850     "id": "76abc59c.8e0adc",
851     "type": "set",
852     "name": "set access-node-id",
853     "xml": "<set>\n<parameter name='prop.sotn.access-node-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
854     "comments": "",
855     "x": 2114.856201171875,
856     "y": 618.5216066837311,
857     "z": "13b9846a.014e4c",
858     "wires": [
859       
860     ]
861   },
862   {
863     "id": "33b13d79.1d69b2",
864     "type": "set",
865     "name": "set access-ltp-id",
866     "xml": "<set>\n<parameter name='prop.sotn.access-ltp-id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
867     "comments": "",
868     "x": 2105.3003540039062,
869     "y": 661.2993786334991,
870     "z": "13b9846a.014e4c",
871     "wires": [
872       
873     ]
874   },
875   {
876     "id": "3e882683.7d50ea",
877     "type": "set",
878     "name": "set unique-src-ltpId",
879     "xml": "<set>\n<parameter name='unique-src-ltpId' value=\"`'nodeId-' + $prop.sotn.src-access-node-id + '-ltpId-' + $prop.sotn.src-access-ltp-id`\" />",
880     "comments": "",
881     "x": 758.670768737793,
882     "y": 525.39999127388,
883     "z": "13b9846a.014e4c",
884     "wires": [
885       
886     ]
887   },
888   {
889     "id": "36127ed4.d4df92",
890     "type": "switchNode",
891     "name": "switch EIR",
892     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'EIR'`\">\n",
893     "comments": "",
894     "outputs": 1,
895     "x": 1718.5415344238281,
896     "y": 259.43124318122864,
897     "z": "13b9846a.014e4c",
898     "wires": [
899       [
900         "f8180ca.c5aedf"
901       ]
902     ]
903   },
904   {
905     "id": "f8180ca.c5aedf",
906     "type": "outcomeTrue",
907     "name": "true",
908     "xml": "<outcome value='true'>\n",
909     "comments": "",
910     "outputs": 1,
911     "x": 1920.5414962768555,
912     "y": 254.43126320838928,
913     "z": "13b9846a.014e4c",
914     "wires": [
915       [
916         "5b0895e4.66408c"
917       ]
918     ]
919   },
920   {
921     "id": "5b0895e4.66408c",
922     "type": "set",
923     "name": "set eir",
924     "xml": "<set>\n<parameter name='prop.sotn.eir' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
925     "comments": "",
926     "x": 2076.875,
927     "y": 253.8923990726471,
928     "z": "13b9846a.014e4c",
929     "wires": [
930       
931     ]
932   },
933   {
934     "id": "f5195bd8.3c84a8",
935     "type": "switchNode",
936     "name": "switch CBS",
937     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'CBS'`\">\n",
938     "comments": "",
939     "outputs": 1,
940     "x": 1718.5415344238281,
941     "y": 308.43124318122864,
942     "z": "13b9846a.014e4c",
943     "wires": [
944       [
945         "c725a9a8.031f88"
946       ]
947     ]
948   },
949   {
950     "id": "c725a9a8.031f88",
951     "type": "outcomeTrue",
952     "name": "true",
953     "xml": "<outcome value='true'>\n",
954     "comments": "",
955     "outputs": 1,
956     "x": 1917.5414962768555,
957     "y": 304.43124985694885,
958     "z": "13b9846a.014e4c",
959     "wires": [
960       [
961         "9ce1ba29.f6ec68"
962       ]
963     ]
964   },
965   {
966     "id": "9ce1ba29.f6ec68",
967     "type": "set",
968     "name": "set cbs",
969     "xml": "<set>\n<parameter name='prop.sotn.cbs' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
970     "comments": "",
971     "x": 2075.8750610351562,
972     "y": 302.8924095630646,
973     "z": "13b9846a.014e4c",
974     "wires": [
975       
976     ]
977   },
978   {
979     "id": "ef3f5059.2d4ea",
980     "type": "switchNode",
981     "name": "switch PBS",
982     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'PBS'`\">\n",
983     "comments": "",
984     "outputs": 1,
985     "x": 1718.5415344238281,
986     "y": 353.43124318122864,
987     "z": "13b9846a.014e4c",
988     "wires": [
989       [
990         "205ee4a2.b994ec"
991       ]
992     ]
993   },
994   {
995     "id": "205ee4a2.b994ec",
996     "type": "outcomeTrue",
997     "name": "true",
998     "xml": "<outcome value='true'>\n",
999     "comments": "",
1000     "outputs": 1,
1001     "x": 1917.5414962768555,
1002     "y": 346.43125081062317,
1003     "z": "13b9846a.014e4c",
1004     "wires": [
1005       [
1006         "547b372e.cb4fb8"
1007       ]
1008     ]
1009   },
1010   {
1011     "id": "547b372e.cb4fb8",
1012     "type": "set",
1013     "name": "set pbs",
1014     "xml": "<set>\n<parameter name='prop.sotn.pbs' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1015     "comments": "",
1016     "x": 2078.8750610351562,
1017     "y": 347.8924095630646,
1018     "z": "13b9846a.014e4c",
1019     "wires": [
1020       
1021     ]
1022   },
1023   {
1024     "id": "cd1b68b3.245ce8",
1025     "type": "switchNode",
1026     "name": "switch color-aware",
1027     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'color-aware'`\">\n",
1028     "comments": "",
1029     "outputs": 1,
1030     "x": 1740.541618347168,
1031     "y": 400.43126034736633,
1032     "z": "13b9846a.014e4c",
1033     "wires": [
1034       [
1035         "5d9f9f32.e6f9f"
1036       ]
1037     ]
1038   },
1039   {
1040     "id": "5d9f9f32.e6f9f",
1041     "type": "outcomeTrue",
1042     "name": "true",
1043     "xml": "<outcome value='true'>\n",
1044     "comments": "",
1045     "outputs": 1,
1046     "x": 1918.5416221618652,
1047     "y": 394.4312527179718,
1048     "z": "13b9846a.014e4c",
1049     "wires": [
1050       [
1051         "38ebf92a.f170a6"
1052       ]
1053     ]
1054   },
1055   {
1056     "id": "38ebf92a.f170a6",
1057     "type": "set",
1058     "name": "set colorAware",
1059     "xml": "<set>\n<parameter name='prop.sotn.colorAware' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1060     "comments": "",
1061     "x": 2099.875,
1062     "y": 393.8924114704132,
1063     "z": "13b9846a.014e4c",
1064     "wires": [
1065       
1066     ]
1067   },
1068   {
1069     "id": "43611249.362dac",
1070     "type": "switchNode",
1071     "name": "switch coupling-flag",
1072     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'coupling-flag'`\">\n",
1073     "comments": "",
1074     "outputs": 1,
1075     "x": 1740.5416259765625,
1076     "y": 446.43128514289856,
1077     "z": "13b9846a.014e4c",
1078     "wires": [
1079       [
1080         "bd25ef93.0d4f4"
1081       ]
1082     ]
1083   },
1084   {
1085     "id": "bd25ef93.0d4f4",
1086     "type": "outcomeTrue",
1087     "name": "true",
1088     "xml": "<outcome value='true'>\n",
1089     "comments": "",
1090     "outputs": 1,
1091     "x": 1918.541618347168,
1092     "y": 438.4312536716461,
1093     "z": "13b9846a.014e4c",
1094     "wires": [
1095       [
1096         "fd007702.45b298"
1097       ]
1098     ]
1099   },
1100   {
1101     "id": "fd007702.45b298",
1102     "type": "set",
1103     "name": "set couplingFlag",
1104     "xml": "<set>\n<parameter name='prop.sotn.couplingFlag' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1105     "comments": "",
1106     "x": 2103.875,
1107     "y": 438.89243626594543,
1108     "z": "13b9846a.014e4c",
1109     "wires": [
1110       
1111     ]
1112   },
1113   {
1114     "id": "c4de2cef.1053e",
1115     "type": "switchNode",
1116     "name": "switch cVLAN",
1117     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'cVLAN'`\">\n",
1118     "comments": "",
1119     "outputs": 1,
1120     "x": 1731.5415649414062,
1121     "y": 711.4312927722931,
1122     "z": "13b9846a.014e4c",
1123     "wires": [
1124       [
1125         "2a41f958.80fe56"
1126       ]
1127     ]
1128   },
1129   {
1130     "id": "2a41f958.80fe56",
1131     "type": "outcomeTrue",
1132     "name": "true",
1133     "xml": "<outcome value='true'>\n",
1134     "comments": "",
1135     "outputs": 1,
1136     "x": 1936.5415344238281,
1137     "y": 712.4312431812286,
1138     "z": "13b9846a.014e4c",
1139     "wires": [
1140       [
1141         "3e76d5dc.97935a"
1142       ]
1143     ]
1144   },
1145   {
1146     "id": "3e76d5dc.97935a",
1147     "type": "set",
1148     "name": "set cVLAN",
1149     "xml": "<set>\n<parameter name='prop.sotn.cVLAN' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1150     "comments": "",
1151     "x": 2090.2083740234375,
1152     "y": 711.4417145252228,
1153     "z": "13b9846a.014e4c",
1154     "wires": [
1155       
1156     ]
1157   },
1158   {
1159     "id": "97828cf6.96e35",
1160     "type": "comment",
1161     "name": "TODO: Recheck AAI schemas",
1162     "info": "",
1163     "comments": "",
1164     "x": 785.0416870117188,
1165     "y": 42.43131947517395,
1166     "z": "13b9846a.014e4c",
1167     "wires": [
1168       
1169     ]
1170   }
1171 ]