49437c77df55f82a0bce1bc03cf3f1b471effa26
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sotn-network-topology-operation-create.json
1 [
2   {
3     "id": "81cd1a9a.ed4778",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 104.00390625,
8     "y": 120.28887966228649,
9     "z": "7cf7d682.dbbec8",
10     "wires": [
11       [
12         "1bef31e6.92d38e"
13       ]
14     ]
15   },
16   {
17     "id": "1bef31e6.92d38e",
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": 358.50390625,
26     "y": 120.28887966228649,
27     "z": "7cf7d682.dbbec8",
28     "wires": [
29       [
30         "22d8cb0f.1fe844"
31       ]
32     ]
33   },
34   {
35     "id": "22d8cb0f.1fe844",
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": 357.50390625,
42     "y": 220.2888796622865,
43     "z": "7cf7d682.dbbec8",
44     "wires": [
45       [
46         "1ac6ec58.6cc8c4"
47       ]
48     ]
49   },
50   {
51     "id": "1ac6ec58.6cc8c4",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 497.50390625,
59     "y": 320.2888796622865,
60     "z": "7cf7d682.dbbec8",
61     "wires": [
62       [
63         "dccba4bb.ec45e8",
64         "8d26ff9f.61d6",
65         "9cc5feac.c16eb",
66         "611e5fda.9173",
67         "493b5551.491c0c",
68         "7896c4df.77216c",
69         "cade84ce.caa788",
70         "d2e2bb0e.8628c8",
71         "dc47979f.672478",
72         "949f871e.3694a8",
73         "2d8bf094.04a15"
74       ]
75     ]
76   },
77   {
78     "id": "dccba4bb.ec45e8",
79     "type": "call",
80     "name": "call GENERIC-RESOURCE-API:validate-sotn-network-input-parameters",
81     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sotn-network-input-parameters' mode='sync' >\n",
82     "comments": "",
83     "outputs": 1,
84     "x": 927.5039176940918,
85     "y": 138.0666315848939,
86     "z": "7cf7d682.dbbec8",
87     "wires": [
88       [
89         
90       ]
91     ]
92   },
93   {
94     "id": "8d26ff9f.61d6",
95     "type": "record",
96     "name": "record",
97     "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",
98     "comments": "",
99     "outputs": 1,
100     "x": 721.0595626831055,
101     "y": 315.5110914707184,
102     "z": "7cf7d682.dbbec8",
103     "wires": [
104       [
105         
106       ]
107     ]
108   },
109   {
110     "id": "9cc5feac.c16eb",
111     "type": "execute",
112     "name": "execute generate-sotn-vpn-network-id",
113     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.sotn.network-id\"/>\n",
114     "comments": "",
115     "outputs": 1,
116     "x": 821.5039176940918,
117     "y": 178.0666315848939,
118     "z": "7cf7d682.dbbec8",
119     "wires": [
120       [
121         
122       ]
123     ]
124   },
125   {
126     "id": "611e5fda.9173",
127     "type": "switchNode",
128     "name": "switch service-data.networks_length",
129     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
130     "comments": "",
131     "outputs": 1,
132     "x": 812.0595626831055,
133     "y": 275.5110914707184,
134     "z": "7cf7d682.dbbec8",
135     "wires": [
136       [
137         "73a5159b.c3206c",
138         "82bb8d63.17326"
139       ]
140     ]
141   },
142   {
143     "id": "73a5159b.c3206c",
144     "type": "other",
145     "name": "Null",
146     "xml": "<outcome value=''>\n",
147     "comments": "",
148     "outputs": 1,
149     "x": 1041.0595626831055,
150     "y": 255.51109147071838,
151     "z": "7cf7d682.dbbec8",
152     "wires": [
153       [
154         "b454d6b2.ed7f78"
155       ]
156     ]
157   },
158   {
159     "id": "82bb8d63.17326",
160     "type": "other",
161     "name": "other",
162     "xml": "<outcome value='Other'>\n",
163     "comments": "",
164     "outputs": 1,
165     "x": 1041.0595626831055,
166     "y": 295.5110914707184,
167     "z": "7cf7d682.dbbec8",
168     "wires": [
169       [
170         "1c6a631d.a6467d"
171       ]
172     ]
173   },
174   {
175     "id": "b454d6b2.ed7f78",
176     "type": "set",
177     "name": "set nidx",
178     "xml": "<set>\n<parameter name='nidx' value='0' />\n",
179     "comments": "",
180     "x": 1183.5595626831055,
181     "y": 255.51109147071838,
182     "z": "7cf7d682.dbbec8",
183     "wires": [
184       
185     ]
186   },
187   {
188     "id": "29335226.4cde8e",
189     "type": "set",
190     "name": "set nidx",
191     "xml": "<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />\n",
192     "comments": "",
193     "x": 1317.1150817871094,
194     "y": 257.06670117378235,
195     "z": "7cf7d682.dbbec8",
196     "wires": [
197       
198     ]
199   },
200   {
201     "id": "493b5551.491c0c",
202     "type": "set",
203     "name": "set network in service-data",
204     "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",
205     "comments": "",
206     "x": 782.5595626831055,
207     "y": 355.5110914707184,
208     "z": "7cf7d682.dbbec8",
209     "wires": [
210       
211     ]
212   },
213   {
214     "id": "7896c4df.77216c",
215     "type": "set",
216     "name": "set networkId and network-object-path",
217     "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/'` \" />",
218     "comments": "",
219     "x": 818.0595626831055,
220     "y": 395.5110914707184,
221     "z": "7cf7d682.dbbec8",
222     "wires": [
223       
224     ]
225   },
226   {
227     "id": "cade84ce.caa788",
228     "type": "returnSuccess",
229     "name": "return success",
230     "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",
231     "comments": "",
232     "x": 741.7264022827148,
233     "y": 562.1778182983398,
234     "z": "7cf7d682.dbbec8",
235     "wires": [
236       
237     ]
238   },
239   {
240     "id": "d2e2bb0e.8628c8",
241     "type": "set",
242     "name": "set network-level-oper-status",
243     "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`' />",
244     "comments": "",
245     "x": 789.5595626831055,
246     "y": 435.5110914707184,
247     "z": "7cf7d682.dbbec8",
248     "wires": [
249       
250     ]
251   },
252   {
253     "id": "dc47979f.672478",
254     "type": "save",
255     "name": "save SOTN connectivity resource in AAI",
256     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.sotn.network-id' >\n<parameter name='connectivity-id' value='`$prop.sotn.network-id`' />\n<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<parameter name='color-aware' value='`$prop.sotn.colorAware`' />\n<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />\n<parameter name='access-provider-id' value='`$prop.sotn.access-provider-id`' />\n<parameter name='access-client-id' value='`$prop.sotn.access-client-id`' />\n<parameter name='access-topology-id' value='`$prop.sotn.access-topology-id`' />\n<parameter name='access-node-id' value='`$prop.sotn.access-node-id`' />\n<parameter name='access-ltp-id' value='`$prop.sotn.access-ltp-id`' />\n<parameter name='cvlan-tag-entry' value='`$prop.sotn.cVLAN`' />\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='connectivity-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/'` \" />",
257     "comments": "",
258     "outputs": 1,
259     "x": 822.0595626831055,
260     "y": 482.17778038978577,
261     "z": "7cf7d682.dbbec8",
262     "wires": [
263       [
264         
265       ]
266     ]
267   },
268   {
269     "id": "949f871e.3694a8",
270     "type": "save",
271     "name": "save service relationship in AAI",
272     "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=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />",
273     "comments": "",
274     "outputs": 1,
275     "x": 797.0595741271973,
276     "y": 519.9555323123932,
277     "z": "7cf7d682.dbbec8",
278     "wires": [
279       [
280         
281       ]
282     ]
283   },
284   {
285     "id": "bcdf0e05.a3fa2",
286     "type": "for",
287     "name": "for each existing network",
288     "xml": "<for index='idx' start='0' end='`$nidx`' >\n",
289     "comments": "",
290     "outputs": 1,
291     "x": 1186.5436248779297,
292     "y": 400.28884336398914,
293     "z": "7cf7d682.dbbec8",
294     "wires": [
295       [
296         "c6c47ed0.cb847"
297       ]
298     ]
299   },
300   {
301     "id": "1c6a631d.a6467d",
302     "type": "block",
303     "name": "block",
304     "xml": "<block>\n",
305     "atomic": "false",
306     "comments": "",
307     "outputs": 1,
308     "x": 1185.4166069030762,
309     "y": 295.4476034641266,
310     "z": "7cf7d682.dbbec8",
311     "wires": [
312       [
313         "bcdf0e05.a3fa2",
314         "29335226.4cde8e"
315       ]
316     ]
317   },
318   {
319     "id": "c6c47ed0.cb847",
320     "type": "switchNode",
321     "name": "switch networkid found",
322     "xml": "<switch test=\"`$service-data.networks.network[$idx].network-id == $network-topology-operation-input.network-information.network-id`\">\n",
323     "comments": "",
324     "outputs": 1,
325     "x": 1461.829345703125,
326     "y": 399.860346049536,
327     "z": "7cf7d682.dbbec8",
328     "wires": [
329       [
330         "af281df5.a00a9"
331       ]
332     ]
333   },
334   {
335     "id": "af281df5.a00a9",
336     "type": "outcomeTrue",
337     "name": "true",
338     "xml": "<outcome value='true'>\n",
339     "comments": "",
340     "outputs": 1,
341     "x": 1362.5595436096191,
342     "y": 458.43177720950916,
343     "z": "7cf7d682.dbbec8",
344     "wires": [
345       [
346         "6774871.c3ba278"
347       ]
348     ]
349   },
350   {
351     "id": "ec60dbfe.f45f08",
352     "type": "comment",
353     "name": "make sure this network doesn't exist already",
354     "info": "",
355     "comments": "",
356     "x": 1410.1943550109863,
357     "y": 358.5429007713683,
358     "z": "7cf7d682.dbbec8",
359     "wires": [
360       
361     ]
362   },
363   {
364     "id": "6774871.c3ba278",
365     "type": "returnFailure",
366     "name": "return failure",
367     "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",
368     "comments": "",
369     "x": 1510.3096466064453,
370     "y": 458.28896927833557,
371     "z": "7cf7d682.dbbec8",
372     "wires": [
373       
374     ]
375   },
376   {
377     "id": "fa710c0b.f8f7f",
378     "type": "block",
379     "name": "block",
380     "xml": "<block>\n",
381     "atomic": "false",
382     "comments": "",
383     "outputs": 1,
384     "x": 1476.961139678955,
385     "y": 228.06668877601624,
386     "z": "7cf7d682.dbbec8",
387     "wires": [
388       [
389         "3da7e963.953786",
390         "ea8c87f0.c92e88",
391         "f149851b.9a9dd8",
392         "74ce1a73.a6b444",
393         "a5724e6b.3f9f1",
394         "53daad6a.5244e4",
395         "8867a34e.4671a",
396         "3149ec04.0b57f4",
397         "1e784180.8a488f",
398         "ca14452f.51d7b8",
399         "600f2d8b.ac1e64",
400         "f8776a5f.dd77d8",
401         "6867734f.34178c",
402         "e09fe051.1cbb8",
403         "1d14a0da.1e8adf",
404         "8cf376b5.6cba28"
405       ]
406     ]
407   },
408   {
409     "id": "3da7e963.953786",
410     "type": "switchNode",
411     "name": "switch name",
412     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
413     "comments": "",
414     "outputs": 1,
415     "x": 1735.1828842163086,
416     "y": 85.39999222755432,
417     "z": "7cf7d682.dbbec8",
418     "wires": [
419       [
420         "42c647fe.f59548"
421       ]
422     ]
423   },
424   {
425     "id": "42c647fe.f59548",
426     "type": "outcomeTrue",
427     "name": "true",
428     "xml": "<outcome value='true'>\n",
429     "comments": "",
430     "outputs": 1,
431     "x": 1922.1828842163086,
432     "y": 81.39999222755432,
433     "z": "7cf7d682.dbbec8",
434     "wires": [
435       [
436         "22eef4c4.58190c"
437       ]
438     ]
439   },
440   {
441     "id": "22eef4c4.58190c",
442     "type": "set",
443     "name": "set name",
444     "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",
445     "comments": "",
446     "x": 2072.1830139160156,
447     "y": 79.9999988079071,
448     "z": "7cf7d682.dbbec8",
449     "wires": [
450       
451     ]
452   },
453   {
454     "id": "ea8c87f0.c92e88",
455     "type": "switchNode",
456     "name": "switch description",
457     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'description'`\">\n",
458     "comments": "",
459     "outputs": 1,
460     "x": 1746.0225448608398,
461     "y": 125.39999032020569,
462     "z": "7cf7d682.dbbec8",
463     "wires": [
464       [
465         "3266ff0a.32d5c"
466       ]
467     ]
468   },
469   {
470     "id": "3266ff0a.32d5c",
471     "type": "outcomeTrue",
472     "name": "true",
473     "xml": "<outcome value='true'>\n",
474     "comments": "",
475     "outputs": 1,
476     "x": 1916.0225448608398,
477     "y": 121.39999032020569,
478     "z": "7cf7d682.dbbec8",
479     "wires": [
480       [
481         "e4bed62.ba99828"
482       ]
483     ]
484   },
485   {
486     "id": "e4bed62.ba99828",
487     "type": "set",
488     "name": "set etht-svc-descr",
489     "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",
490     "comments": "",
491     "x": 2103.3559856414795,
492     "y": 119.86114716529846,
493     "z": "7cf7d682.dbbec8",
494     "wires": [
495       
496     ]
497   },
498   {
499     "id": "2d8bf094.04a15",
500     "type": "for",
501     "name": "for loop i - Network input parameters",
502     "xml": "<for index=\"idx\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
503     "comments": "",
504     "outputs": 1,
505     "x": 814.7383041381836,
506     "y": 225.8444197177887,
507     "z": "7cf7d682.dbbec8",
508     "wires": [
509       [
510         "fa710c0b.f8f7f"
511       ]
512     ]
513   },
514   {
515     "id": "f149851b.9a9dd8",
516     "type": "switchNode",
517     "name": "switch tenantId",
518     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'tenantId'`\">\n",
519     "comments": "",
520     "outputs": 1,
521     "x": 1736.4049263000488,
522     "y": 168.73331761360168,
523     "z": "7cf7d682.dbbec8",
524     "wires": [
525       [
526         "776be651.50d848"
527       ]
528     ]
529   },
530   {
531     "id": "776be651.50d848",
532     "type": "outcomeTrue",
533     "name": "true",
534     "xml": "<outcome value='true'>\n",
535     "comments": "",
536     "outputs": 1,
537     "x": 1923.4049263000488,
538     "y": 164.73331761360168,
539     "z": "7cf7d682.dbbec8",
540     "wires": [
541       [
542         "a00211ac.55fa"
543       ]
544     ]
545   },
546   {
547     "id": "a00211ac.55fa",
548     "type": "set",
549     "name": "set tenantId",
550     "xml": "<set>\n<parameter name='prop.sotn.tenantId' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
551     "comments": "",
552     "x": 2091.404926300049,
553     "y": 165.3333237171173,
554     "z": "7cf7d682.dbbec8",
555     "wires": [
556       
557     ]
558   },
559   {
560     "id": "74ce1a73.a6b444",
561     "type": "switchNode",
562     "name": "switch CIR",
563     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'CIR'`\">\n",
564     "comments": "",
565     "outputs": 1,
566     "x": 1718.2445831298828,
567     "y": 258.733375787735,
568     "z": "7cf7d682.dbbec8",
569     "wires": [
570       [
571         "701ee64a.e717f8"
572       ]
573     ]
574   },
575   {
576     "id": "701ee64a.e717f8",
577     "type": "outcomeTrue",
578     "name": "true",
579     "xml": "<outcome value='true'>\n",
580     "comments": "",
581     "outputs": 1,
582     "x": 1926.2446517944336,
583     "y": 254.73338913917542,
584     "z": "7cf7d682.dbbec8",
585     "wires": [
586       [
587         "c0353e87.7a345"
588       ]
589     ]
590   },
591   {
592     "id": "c0353e87.7a345",
593     "type": "set",
594     "name": "set cir",
595     "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
596     "comments": "",
597     "x": 2075.5779724121094,
598     "y": 253.19453644752502,
599     "z": "7cf7d682.dbbec8",
600     "wires": [
601       
602     ]
603   },
604   {
605     "id": "a5724e6b.3f9f1",
606     "type": "switchNode",
607     "name": "switch vpnType",
608     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vpnType'`\">\n",
609     "comments": "",
610     "outputs": 1,
611     "x": 1737.5530548095703,
612     "y": 212.5110948085785,
613     "z": "7cf7d682.dbbec8",
614     "wires": [
615       [
616         "89501c3c.39e65"
617       ]
618     ]
619   },
620   {
621     "id": "89501c3c.39e65",
622     "type": "outcomeTrue",
623     "name": "true",
624     "xml": "<outcome value='true'>\n",
625     "comments": "",
626     "outputs": 1,
627     "x": 1924.5530548095703,
628     "y": 208.5110948085785,
629     "z": "7cf7d682.dbbec8",
630     "wires": [
631       [
632         "2f537b9c.402a54"
633       ]
634     ]
635   },
636   {
637     "id": "2f537b9c.402a54",
638     "type": "set",
639     "name": "set vpnType",
640     "xml": "<set>\n<parameter name='prop.sotn.vpnType' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
641     "comments": "",
642     "x": 2093.886688232422,
643     "y": 205.97225975990295,
644     "z": "7cf7d682.dbbec8",
645     "wires": [
646       
647     ]
648   },
649   {
650     "id": "53daad6a.5244e4",
651     "type": "switchNode",
652     "name": "switch access-provider-id",
653     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-provider-id'`\">\n",
654     "comments": "",
655     "outputs": 1,
656     "x": 1759.0346908569336,
657     "y": 534.9556133747101,
658     "z": "7cf7d682.dbbec8",
659     "wires": [
660       [
661         "c9908bde.d3d748"
662       ]
663     ]
664   },
665   {
666     "id": "8867a34e.4671a",
667     "type": "switchNode",
668     "name": "switch access-client-id",
669     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-client-id'`\">\n",
670     "comments": "",
671     "outputs": 1,
672     "x": 1751.5901718139648,
673     "y": 580.2889425754547,
674     "z": "7cf7d682.dbbec8",
675     "wires": [
676       [
677         "8bdcf612.c4ddd8"
678       ]
679     ]
680   },
681   {
682     "id": "3149ec04.0b57f4",
683     "type": "switchNode",
684     "name": "switch access-topology-id",
685     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-topology-id'`\">\n",
686     "comments": "",
687     "outputs": 1,
688     "x": 1756.0346298217773,
689     "y": 619.1778280735016,
690     "z": "7cf7d682.dbbec8",
691     "wires": [
692       [
693         "3417d7e.4ccb528"
694       ]
695     ]
696   },
697   {
698     "id": "c9908bde.d3d748",
699     "type": "outcomeTrue",
700     "name": "true",
701     "xml": "<outcome value='true'>\n",
702     "comments": "",
703     "outputs": 1,
704     "x": 1943.0346908569336,
705     "y": 533.9556286334991,
706     "z": "7cf7d682.dbbec8",
707     "wires": [
708       [
709         "39defa6f.d38fd6"
710       ]
711     ]
712   },
713   {
714     "id": "8bdcf612.c4ddd8",
715     "type": "outcomeTrue",
716     "name": "true",
717     "xml": "<outcome value='true'>\n",
718     "comments": "",
719     "outputs": 1,
720     "x": 1938.5901718139648,
721     "y": 576.2889425754547,
722     "z": "7cf7d682.dbbec8",
723     "wires": [
724       [
725         "f50e4f7e.4a67d"
726       ]
727     ]
728   },
729   {
730     "id": "3417d7e.4ccb528",
731     "type": "outcomeTrue",
732     "name": "true",
733     "xml": "<outcome value='true'>\n",
734     "comments": "",
735     "outputs": 1,
736     "x": 1943.0346298217773,
737     "y": 615.1778280735016,
738     "z": "7cf7d682.dbbec8",
739     "wires": [
740       [
741         "53d7cb35.9e4a94"
742       ]
743     ]
744   },
745   {
746     "id": "39defa6f.d38fd6",
747     "type": "set",
748     "name": "set access-provider-id",
749     "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",
750     "comments": "",
751     "x": 2126.257049560547,
752     "y": 533.0668127536774,
753     "z": "7cf7d682.dbbec8",
754     "wires": [
755       
756     ]
757   },
758   {
759     "id": "f50e4f7e.4a67d",
760     "type": "set",
761     "name": "set access-client-id",
762     "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",
763     "comments": "",
764     "x": 2115.1460876464844,
765     "y": 574.2994191646576,
766     "z": "7cf7d682.dbbec8",
767     "wires": [
768       
769     ]
770   },
771   {
772     "id": "53d7cb35.9e4a94",
773     "type": "set",
774     "name": "set access-topology-id",
775     "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",
776     "comments": "",
777     "x": 2125.0350036621094,
778     "y": 613.1882755756378,
779     "z": "7cf7d682.dbbec8",
780     "wires": [
781       
782     ]
783   },
784   {
785     "id": "1e784180.8a488f",
786     "type": "switchNode",
787     "name": "switch access-node-id",
788     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-node-id'`\">\n",
789     "comments": "",
790     "outputs": 1,
791     "x": 1756.8493881225586,
792     "y": 665.8444716930389,
793     "z": "7cf7d682.dbbec8",
794     "wires": [
795       [
796         "76b87020.8228"
797       ]
798     ]
799   },
800   {
801     "id": "76b87020.8228",
802     "type": "outcomeTrue",
803     "name": "true",
804     "xml": "<outcome value='true'>\n",
805     "comments": "",
806     "outputs": 1,
807     "x": 1943.8493881225586,
808     "y": 661.8444716930389,
809     "z": "7cf7d682.dbbec8",
810     "wires": [
811       [
812         "c5389f2b.e694e"
813       ]
814     ]
815   },
816   {
817     "id": "ca14452f.51d7b8",
818     "type": "switchNode",
819     "name": "switch access-ltp-id",
820     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'access-ltp-id'`\">\n",
821     "comments": "",
822     "outputs": 1,
823     "x": 1753.6271591186523,
824     "y": 708.2889482975006,
825     "z": "7cf7d682.dbbec8",
826     "wires": [
827       [
828         "f814a8ba.16d968"
829       ]
830     ]
831   },
832   {
833     "id": "f814a8ba.16d968",
834     "type": "outcomeTrue",
835     "name": "true",
836     "xml": "<outcome value='true'>\n",
837     "comments": "",
838     "outputs": 1,
839     "x": 1940.6271591186523,
840     "y": 704.2889482975006,
841     "z": "7cf7d682.dbbec8",
842     "wires": [
843       [
844         "ae0c0f38.c407d"
845       ]
846     ]
847   },
848   {
849     "id": "c5389f2b.e694e",
850     "type": "set",
851     "name": "set access-node-id",
852     "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",
853     "comments": "",
854     "x": 2115.8497009277344,
855     "y": 660.5216057300568,
856     "z": "7cf7d682.dbbec8",
857     "wires": [
858       
859     ]
860   },
861   {
862     "id": "ae0c0f38.c407d",
863     "type": "set",
864     "name": "set access-ltp-id",
865     "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",
866     "comments": "",
867     "x": 2106.2938537597656,
868     "y": 703.2993776798248,
869     "z": "7cf7d682.dbbec8",
870     "wires": [
871       
872     ]
873   },
874   {
875     "id": "600f2d8b.ac1e64",
876     "type": "switchNode",
877     "name": "switch EIR",
878     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'EIR'`\">\n",
879     "comments": "",
880     "outputs": 1,
881     "x": 1719.5350341796875,
882     "y": 301.4312422275543,
883     "z": "7cf7d682.dbbec8",
884     "wires": [
885       [
886         "39a162af.cbdf4e"
887       ]
888     ]
889   },
890   {
891     "id": "39a162af.cbdf4e",
892     "type": "outcomeTrue",
893     "name": "true",
894     "xml": "<outcome value='true'>\n",
895     "comments": "",
896     "outputs": 1,
897     "x": 1921.5349960327148,
898     "y": 296.43126225471497,
899     "z": "7cf7d682.dbbec8",
900     "wires": [
901       [
902         "5150b53b.34980c"
903       ]
904     ]
905   },
906   {
907     "id": "5150b53b.34980c",
908     "type": "set",
909     "name": "set eir",
910     "xml": "<set>\n<parameter name='prop.sotn.eir' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
911     "comments": "",
912     "x": 2077.8684997558594,
913     "y": 295.8923981189728,
914     "z": "7cf7d682.dbbec8",
915     "wires": [
916       
917     ]
918   },
919   {
920     "id": "f8776a5f.dd77d8",
921     "type": "switchNode",
922     "name": "switch CBS",
923     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'CBS'`\">\n",
924     "comments": "",
925     "outputs": 1,
926     "x": 1719.5350341796875,
927     "y": 350.4312422275543,
928     "z": "7cf7d682.dbbec8",
929     "wires": [
930       [
931         "52870b8e.6e27b4"
932       ]
933     ]
934   },
935   {
936     "id": "52870b8e.6e27b4",
937     "type": "outcomeTrue",
938     "name": "true",
939     "xml": "<outcome value='true'>\n",
940     "comments": "",
941     "outputs": 1,
942     "x": 1918.5349960327148,
943     "y": 346.43124890327454,
944     "z": "7cf7d682.dbbec8",
945     "wires": [
946       [
947         "1fed4c26.5b7f64"
948       ]
949     ]
950   },
951   {
952     "id": "1fed4c26.5b7f64",
953     "type": "set",
954     "name": "set cbs",
955     "xml": "<set>\n<parameter name='prop.sotn.cbs' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
956     "comments": "",
957     "x": 2076.8685607910156,
958     "y": 344.89240860939026,
959     "z": "7cf7d682.dbbec8",
960     "wires": [
961       
962     ]
963   },
964   {
965     "id": "6867734f.34178c",
966     "type": "switchNode",
967     "name": "switch PBS",
968     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'PBS'`\">\n",
969     "comments": "",
970     "outputs": 1,
971     "x": 1719.5350341796875,
972     "y": 395.4312422275543,
973     "z": "7cf7d682.dbbec8",
974     "wires": [
975       [
976         "dc43d92a.b102c8"
977       ]
978     ]
979   },
980   {
981     "id": "dc43d92a.b102c8",
982     "type": "outcomeTrue",
983     "name": "true",
984     "xml": "<outcome value='true'>\n",
985     "comments": "",
986     "outputs": 1,
987     "x": 1918.5349960327148,
988     "y": 388.43124985694885,
989     "z": "7cf7d682.dbbec8",
990     "wires": [
991       [
992         "a31e90a2.55db7"
993       ]
994     ]
995   },
996   {
997     "id": "a31e90a2.55db7",
998     "type": "set",
999     "name": "set pbs",
1000     "xml": "<set>\n<parameter name='prop.sotn.pbs' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1001     "comments": "",
1002     "x": 2079.8685607910156,
1003     "y": 389.89240860939026,
1004     "z": "7cf7d682.dbbec8",
1005     "wires": [
1006       
1007     ]
1008   },
1009   {
1010     "id": "e09fe051.1cbb8",
1011     "type": "switchNode",
1012     "name": "switch color-aware",
1013     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'color-aware'`\">\n",
1014     "comments": "",
1015     "outputs": 1,
1016     "x": 1741.5351181030273,
1017     "y": 442.431259393692,
1018     "z": "7cf7d682.dbbec8",
1019     "wires": [
1020       [
1021         "6b010031.f7dc"
1022       ]
1023     ]
1024   },
1025   {
1026     "id": "6b010031.f7dc",
1027     "type": "outcomeTrue",
1028     "name": "true",
1029     "xml": "<outcome value='true'>\n",
1030     "comments": "",
1031     "outputs": 1,
1032     "x": 1919.5351219177246,
1033     "y": 436.4312517642975,
1034     "z": "7cf7d682.dbbec8",
1035     "wires": [
1036       [
1037         "f64a6ad7.75c698"
1038       ]
1039     ]
1040   },
1041   {
1042     "id": "f64a6ad7.75c698",
1043     "type": "set",
1044     "name": "set colorAware",
1045     "xml": "<set>\n<parameter name='prop.sotn.colorAware' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1046     "comments": "",
1047     "x": 2100.8684997558594,
1048     "y": 435.8924105167389,
1049     "z": "7cf7d682.dbbec8",
1050     "wires": [
1051       
1052     ]
1053   },
1054   {
1055     "id": "1d14a0da.1e8adf",
1056     "type": "switchNode",
1057     "name": "switch coupling-flag",
1058     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'coupling-flag'`\">\n",
1059     "comments": "",
1060     "outputs": 1,
1061     "x": 1741.5351257324219,
1062     "y": 488.43128418922424,
1063     "z": "7cf7d682.dbbec8",
1064     "wires": [
1065       [
1066         "465a723d.71bccc"
1067       ]
1068     ]
1069   },
1070   {
1071     "id": "465a723d.71bccc",
1072     "type": "outcomeTrue",
1073     "name": "true",
1074     "xml": "<outcome value='true'>\n",
1075     "comments": "",
1076     "outputs": 1,
1077     "x": 1919.5351181030273,
1078     "y": 480.4312527179718,
1079     "z": "7cf7d682.dbbec8",
1080     "wires": [
1081       [
1082         "abc827cf.8d31c8"
1083       ]
1084     ]
1085   },
1086   {
1087     "id": "abc827cf.8d31c8",
1088     "type": "set",
1089     "name": "set couplingFlag",
1090     "xml": "<set>\n<parameter name='prop.sotn.couplingFlag' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1091     "comments": "",
1092     "x": 2104.8684997558594,
1093     "y": 480.8924353122711,
1094     "z": "7cf7d682.dbbec8",
1095     "wires": [
1096       
1097     ]
1098   },
1099   {
1100     "id": "8cf376b5.6cba28",
1101     "type": "switchNode",
1102     "name": "switch cVLAN",
1103     "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'cVLAN'`\">\n",
1104     "comments": "",
1105     "outputs": 1,
1106     "x": 1732.5350646972656,
1107     "y": 753.4312918186188,
1108     "z": "7cf7d682.dbbec8",
1109     "wires": [
1110       [
1111         "cbfe2ddc.e03c2"
1112       ]
1113     ]
1114   },
1115   {
1116     "id": "cbfe2ddc.e03c2",
1117     "type": "outcomeTrue",
1118     "name": "true",
1119     "xml": "<outcome value='true'>\n",
1120     "comments": "",
1121     "outputs": 1,
1122     "x": 1937.5350341796875,
1123     "y": 754.4312422275543,
1124     "z": "7cf7d682.dbbec8",
1125     "wires": [
1126       [
1127         "57793550.48202c"
1128       ]
1129     ]
1130   },
1131   {
1132     "id": "57793550.48202c",
1133     "type": "set",
1134     "name": "set cVLAN",
1135     "xml": "<set>\n<parameter name='prop.sotn.cVLAN' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
1136     "comments": "",
1137     "x": 2091.201873779297,
1138     "y": 753.4417135715485,
1139     "z": "7cf7d682.dbbec8",
1140     "wires": [
1141       
1142     ]
1143   },
1144   {
1145     "id": "5bd71de4.186664",
1146     "type": "comment",
1147     "name": "TODO: Recheck AAI schemas",
1148     "info": "",
1149     "comments": "",
1150     "x": 786.0351867675781,
1151     "y": 84.43131852149963,
1152     "z": "7cf7d682.dbbec8",
1153     "wires": [
1154       
1155     ]
1156   }
1157 ]