Update brg topo activate DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_brg-topology-operation-activate.json
1 [
2   {
3     "id":"d9e7e1c2.493d3",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":103,
8     "y":46,
9     "z":"f97ade34.d219f",
10     "wires":[
11       [
12         "9a1b0b6b.996428"
13       ]
14     ]
15   },
16   {
17     "id":"9a1b0b6b.996428",
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":199.23807907104492,
26     "y":106.95239067077637,
27     "z":"f97ade34.d219f",
28     "wires":[
29       [
30         "1b80fdb3.e51d42"
31       ]
32     ]
33   },
34   {
35     "id":"1b80fdb3.e51d42",
36     "type":"method",
37     "name":"brg-topology-operation-activate",
38     "xml":"<method rpc='brg-topology-operation-activate' mode='sync'>\n",
39     "comments":"",
40     "outputs":1,
41     "x":245.15485763549805,
42     "y":142.19044589996338,
43     "z":"f97ade34.d219f",
44     "wires":[
45       [
46         "b9ef2573.e57c88"
47       ]
48     ]
49   },
50   {
51     "id":"b9ef2573.e57c88",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "comments":"",
57     "outputs":1,
58     "x":153.47619247436523,
59     "y":285.5237879753113,
60     "z":"f97ade34.d219f",
61     "wires":[
62       [
63         "b4a1686c.6724e8",
64         "377fb8b4.251228",
65         "d661220d.d848d",
66         "c5c60948.27fc28",
67         "c4711874.0ee758",
68         "aceb1a27.11b7a8",
69         "a5137e71.81a65",
70         "5972a9da.16e978",
71         "50e72018.6624",
72         "b3b13e68.d59bb",
73         "ef8d3b6f.8c3c58",
74         "531893c6.c405dc",
75         "7c4bd318.44ab8c",
76         "14b435e1.73803a",
77         "b8e9e857.b4d5e8",
78         "970b23d4.8d05e",
79         "815c3841.72ff98",
80         "a9cc06ef.aed3d8",
81         "17504c2b.5ecc04",
82         "13ddb22.203944e",
83         "75aa4c7c.d1f814",
84         "173f16cf.2f6b79",
85         "5bcb3869.fa6198",
86         "60d1bf52.ad3d6",
87         "ac82543e.0a2288",
88         "4a0f8ea5.474a2",
89         "5f66c498.33c76c"
90       ]
91     ]
92   },
93   {
94     "id":"377fb8b4.251228",
95     "type":"returnSuccess",
96     "name":"return success",
97     "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",
98     "comments":"",
99     "x":405.0001220703125,
100     "y":1954.8816022872925,
101     "z":"f97ade34.d219f",
102     "wires":[
103
104     ]
105   },
106   {
107     "id":"b4a1686c.6724e8",
108     "type":"set",
109     "name":"set output to api handler",
110     "xml":"<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='brg-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $brg-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
111     "comments":"",
112     "x":433.75403594970703,
113     "y":1919.0041484832764,
114     "z":"f97ade34.d219f",
115     "wires":[
116
117     ]
118   },
119   {
120     "id":"b3b13e68.d59bb",
121     "type":"set",
122     "name":"set allotted-resource-oper-status",
123     "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$brg-topology-operation-input.request-information.request-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$brg-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$brg-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
124     "comments":"",
125     "x":459.7542190551758,
126     "y":666.0514001846313,
127     "z":"f97ade34.d219f",
128     "wires":[
129
130     ]
131   },
132   {
133     "id":"c5c60948.27fc28",
134     "type":"set",
135     "name":"set tmp.ar.self-link",
136     "xml":"<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:brg-allotted-resources/brg-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/brg-topology/'` \" />\n\n",
137     "comments":"",
138     "x":415.73806381225586,
139     "y":259.33332538604736,
140     "z":"f97ade34.d219f",
141     "wires":[
142
143     ]
144   },
145   {
146     "id":"d661220d.d848d",
147     "type":"set",
148     "name":"set tmp.ar.allotted-resource-id,etc",
149     "xml":"<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$brg-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n<parameter name='tmp.ar.brg-vnf-id' value='`$brg-topology-operation-input.allotted-resource-data.brg-topology.brg-assignments.brg-vnf-id`' />\n\n\n",
150     "comments":"",
151     "x":462.9973258972168,
152     "y":225.59259128570557,
153     "z":"f97ade34.d219f",
154     "wires":[
155
156     ]
157   },
158   {
159     "id":"c4711874.0ee758",
160     "type":"execute",
161     "name":"execute Properties",
162     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
163     "comments":"",
164     "outputs":1,
165     "x":421.9934196472168,
166     "y":295.23152446746826,
167     "z":"f97ade34.d219f",
168     "wires":[
169       [
170
171       ]
172     ]
173   },
174   {
175     "id":"a5137e71.81a65",
176     "type":"execute",
177     "name":"execute RestApiCallNode - Get AR by id",
178     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
179     "comments":"",
180     "outputs":1,
181     "x":484.5187530517578,
182     "y":456.4594917297363,
183     "z":"f97ade34.d219f",
184     "wires":[
185       [
186         "edb9e1fa.046de",
187         "d98ea5a4.989128"
188       ]
189     ]
190   },
191   {
192     "id":"aceb1a27.11b7a8",
193     "type":"execute",
194     "name":"generate allotted-resource url",
195     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.brg-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
196     "comments":"",
197     "outputs":1,
198     "x":450.0648536682129,
199     "y":355.0172290802002,
200     "z":"f97ade34.d219f",
201     "wires":[
202       [
203
204       ]
205     ]
206   },
207   {
208     "id":"edb9e1fa.046de",
209     "type":"success",
210     "name":"success",
211     "xml":"<outcome value='success'>\n",
212     "comments":"",
213     "outputs":1,
214     "x":741.8148918151855,
215     "y":455.26725220680237,
216     "z":"f97ade34.d219f",
217     "wires":[
218       [
219         "52d019c0.82c438"
220       ]
221     ]
222   },
223   {
224     "id":"5972a9da.16e978",
225     "type":"execute",
226     "name":"execute RestApiCallNode - PUT AR by id",
227     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.brg.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
228     "comments":"",
229     "outputs":1,
230     "x":492.52931213378906,
231     "y":809.4341316223145,
232     "z":"f97ade34.d219f",
233     "wires":[
234       [
235         "854bd044.7a222",
236         "8243312c.4fc6e",
237         "a02378bd.a2d368"
238       ]
239     ]
240   },
241   {
242     "id":"854bd044.7a222",
243     "type":"not-found",
244     "name":"not-found",
245     "xml":"<outcome value='not-found'>\n",
246     "comments":"",
247     "outputs":1,
248     "x":1016.8373832702637,
249     "y":834.4324235916138,
250     "z":"f97ade34.d219f",
251     "wires":[
252       [
253         "981caf01.1190d"
254       ]
255     ]
256   },
257   {
258     "id":"8243312c.4fc6e",
259     "type":"failure",
260     "name":"failure",
261     "xml":"<outcome value='failure'>\n",
262     "comments":"",
263     "outputs":1,
264     "x":1007.8374328613281,
265     "y":802.9324493408203,
266     "z":"f97ade34.d219f",
267     "wires":[
268       [
269         "981caf01.1190d"
270       ]
271     ]
272   },
273   {
274     "id":"a02378bd.a2d368",
275     "type":"success",
276     "name":"success",
277     "xml":"<outcome value='success'>\n",
278     "comments":"",
279     "outputs":1,
280     "x":1011.5874710083008,
281     "y":773.2895542159677,
282     "z":"f97ade34.d219f",
283     "wires":[
284       [
285         "9efe8414.91ed18"
286       ]
287     ]
288   },
289   {
290     "id":"981caf01.1190d",
291     "type":"returnFailure",
292     "name":"return failure",
293     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for brg-allotted-resource\" />\n",
294     "comments":"",
295     "x":1177.5874710083008,
296     "y":803.6824731826782,
297     "z":"f97ade34.d219f",
298     "wires":[
299
300     ]
301   },
302   {
303     "id":"52d019c0.82c438",
304     "type":"block",
305     "name":"block: atomic",
306     "xml":"<block atomic=\"true\">\n",
307     "atomic":"false",
308     "comments":"",
309     "outputs":1,
310     "x":922.8148460388184,
311     "y":455.7672016620636,
312     "z":"f97ade34.d219f",
313     "wires":[
314       [
315         "515d911f.70f65",
316         "388539de.469206"
317       ]
318     ]
319   },
320   {
321     "id":"515d911f.70f65",
322     "type":"switchNode",
323     "name":"switch brg length",
324     "xml":"<switch test='`$mdsal-ar.brg-allotted-resource_length`'>\n",
325     "comments":"",
326     "outputs":1,
327     "x":1168.6720924377441,
328     "y":490.052964925766,
329     "z":"f97ade34.d219f",
330     "wires":[
331       [
332         "a34fd934.5de948"
333       ]
334     ]
335   },
336   {
337     "id":"a34fd934.5de948",
338     "type":"other",
339     "name":"outcome 1",
340     "xml":"<outcome value='1'>\n",
341     "comments":"",
342     "outputs":1,
343     "x":1359.6720962524414,
344     "y":490.0529625415802,
345     "z":"f97ade34.d219f",
346     "wires":[
347       [
348         "1534773e.2f1e69"
349       ]
350     ]
351   },
352   {
353     "id":"d1c6c306.93b2a",
354     "type":"set",
355     "name":"set brg-ar from get",
356     "xml":"<set>\n<parameter name='brg-ar.' value='$mdsal-ar.brg-allotted-resource[0].' />\n",
357     "comments":"",
358     "x":1759.5292320251465,
359     "y":490.62438678741455,
360     "z":"f97ade34.d219f",
361     "wires":[
362
363     ]
364   },
365   {
366     "id":"1534773e.2f1e69",
367     "type":"block",
368     "name":"block: atomic",
369     "xml":"<block atomic='true'>\n",
370     "atomic":"false",
371     "comments":"",
372     "outputs":1,
373     "x":1530.5290794372559,
374     "y":490.6244316101074,
375     "z":"f97ade34.d219f",
376     "wires":[
377       [
378         "d1c6c306.93b2a",
379         "2feb6861.c55048",
380         "834030e7.c71a9"
381       ]
382     ]
383   },
384   {
385     "id":"2feb6861.c55048",
386     "type":"set",
387     "name":"set oper-status",
388     "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$brg-ar.allotted-resource-status.rpc-action`' />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
389     "comments":"",
390     "x":1757.5294761657715,
391     "y":558.0529508590698,
392     "z":"f97ade34.d219f",
393     "wires":[
394
395     ]
396   },
397   {
398     "id":"2bb45a1f.a94976",
399     "type":"comment",
400     "name":"GET brg-allotted-resource from mdsal",
401     "info":"",
402     "comments":"",
403     "x":509.81481552124023,
404     "y":419.7671926021576,
405     "z":"f97ade34.d219f",
406     "wires":[
407
408     ]
409   },
410   {
411     "id":"834030e7.c71a9",
412     "type":"switchNode",
413     "name":"switch order-status",
414     "xml":"<switch test='`$brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
415     "comments":"",
416     "outputs":1,
417     "x":1767.52925491333,
418     "y":523.6243848800659,
419     "z":"f97ade34.d219f",
420     "wires":[
421       [
422         "930ea57d.0f30f8",
423         "4c055a7a.ab9f24"
424       ]
425     ]
426   },
427   {
428     "id":"930ea57d.0f30f8",
429     "type":"outcome",
430     "name":"outcome Created",
431     "xml":"<outcome value='Created'>\n",
432     "comments":"",
433     "outputs":1,
434     "x":1979.1292114257812,
435     "y":484.6243848800659,
436     "z":"f97ade34.d219f",
437     "wires":[
438       [
439         "56b9c5ed.fb1fec"
440       ]
441     ]
442   },
443   {
444     "id":"4c055a7a.ab9f24",
445     "type":"outcome",
446     "name":"outcome Other",
447     "xml":"<outcome value='Other'>\n",
448     "comments":"",
449     "outputs":1,
450     "x":2004.8435859680176,
451     "y":520.052975654602,
452     "z":"f97ade34.d219f",
453     "wires":[
454       [
455         "56b9c5ed.fb1fec"
456       ]
457     ]
458   },
459   {
460     "id":"77c5ca77.4678d4",
461     "type":"comment",
462     "name":"Set allotted-resource-identifiers",
463     "info":"",
464     "comments":"",
465     "x":465.33863830566406,
466     "y":510.3386459350586,
467     "z":"f97ade34.d219f",
468     "wires":[
469
470     ]
471   },
472   {
473     "id":"388539de.469206",
474     "type":"set",
475     "name":"save backup copy of mdsal-ar for rollback",
476     "xml":"<set>\n<parameter name='bk-brg-ar' value='$mdsal-ar.' />\n",
477     "comments":"",
478     "x":1248.3864250183105,
479     "y":455.76729369163513,
480     "z":"f97ade34.d219f",
481     "wires":[
482
483     ]
484   },
485   {
486     "id":"ddaea4c6.1d9aa8",
487     "type":"comment",
488     "name":"Create urls for restapi",
489     "info":"",
490     "comments":"",
491     "x":420.9576606750488,
492     "y":324.6243562698364,
493     "z":"f97ade34.d219f",
494     "wires":[
495
496     ]
497   },
498   {
499     "id":"9efe8414.91ed18",
500     "type":"block",
501     "name":"block",
502     "xml":"<block>\n",
503     "atomic":"false",
504     "comments":"",
505     "outputs":1,
506     "x":1153.2434387207031,
507     "y":769.4817234054208,
508     "z":"f97ade34.d219f",
509     "wires":[
510       [
511
512       ]
513     ]
514   },
515   {
516     "id":"ff41987d.46ce18",
517     "type":"comment",
518     "name":"TO DO: vnf/put parent",
519     "info":"",
520     "comments":"",
521     "x":423.2433776855469,
522     "y":698.1481952667236,
523     "z":"f97ade34.d219f",
524     "wires":[
525
526     ]
527   },
528   {
529     "id":"50e72018.6624",
530     "type":"execute",
531     "name":"execute getTime",
532     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
533     "comments":"",
534     "outputs":1,
535     "x":407.24338150024414,
536     "y":627.4815549850464,
537     "z":"f97ade34.d219f",
538     "wires":[
539       [
540
541       ]
542     ]
543   },
544   {
545     "id":"d98ea5a4.989128",
546     "type":"other",
547     "name":"other",
548     "xml":"<outcome value='Other'>\n",
549     "comments":"",
550     "outputs":1,
551     "x":741.5766868591309,
552     "y":491.4814250469208,
553     "z":"f97ade34.d219f",
554     "wires":[
555       [
556         "838280a9.26353"
557       ]
558     ]
559   },
560   {
561     "id":"838280a9.26353",
562     "type":"block",
563     "name":"block: atomic",
564     "xml":"<block atomic=\"true\">\n",
565     "atomic":"false",
566     "comments":"",
567     "outputs":1,
568     "x":921.5766372680664,
569     "y":492.1479756832123,
570     "z":"f97ade34.d219f",
571     "wires":[
572       [
573
574       ]
575     ]
576   },
577   {
578     "id":"ef8d3b6f.8c3c58",
579     "type":"set",
580     "name":"set id",
581     "xml":"<set>\n<parameter name='brg-ar.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='brg-ar.allotted-resource-status.action' value=\"`$brg-topology-operation-input.request-information.request-action` \" />\n<parameter name='brg-ar.allotted-resource-status.rpc-name' value=\"brg-topology-operation\" />\n<parameter name='brg-ar.allotted-resource-status.rpc-action' value=\"`$brg-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$brg-topology-operation-input.request-information.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$brg-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$brg-topology-operation-input.service-information.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$brg-topology-operation-input.allotted-resource-information.` \" />\n<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.' value=\"`$brg-topology-operation-input.brg-request-input.` \" />",
582     "comments":"",
583     "x":390.24342346191406,
584     "y":547.1481666564941,
585     "z":"f97ade34.d219f",
586     "wires":[
587
588     ]
589   },
590   {
591     "id":"56b9c5ed.fb1fec",
592     "type":"block",
593     "name":"block",
594     "xml":"<block>\n",
595     "atomic":"false",
596     "comments":"",
597     "outputs":1,
598     "x":2193.5997276306152,
599     "y":486.0000190734863,
600     "z":"f97ade34.d219f",
601     "wires":[
602       [
603
604       ]
605     ]
606   },
607   {
608     "id":"531893c6.c405dc",
609     "type":"update",
610     "name":"update AAI allotted-resource",
611     "xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $service-data.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $service-data.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $service-data.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"operational-status\" value=\"in-service-path\" />\n",
612     "comments":"",
613     "outputs":1,
614     "x":450.85716247558594,
615     "y":731.2380628585815,
616     "z":"f97ade34.d219f",
617     "wires":[
618       [
619         "35b2a07f.fbd7b",
620         "172a8c52.4cd114"
621       ]
622     ]
623   },
624   {
625     "id":"35b2a07f.fbd7b",
626     "type":"failure",
627     "name":"failure",
628     "xml":"<outcome value='failure'>\n",
629     "comments":"",
630     "outputs":1,
631     "x":706.6190567016602,
632     "y":714.1905598640442,
633     "z":"f97ade34.d219f",
634     "wires":[
635       [
636         "22b0ba82.e21336"
637       ]
638     ]
639   },
640   {
641     "id":"22b0ba82.e21336",
642     "type":"returnFailure",
643     "name":"return failure",
644     "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=\"AAI failed\" />\n",
645     "comments":"",
646     "x":873.142936706543,
647     "y":725.8096308708191,
648     "z":"f97ade34.d219f",
649     "wires":[
650
651     ]
652   },
653   {
654     "id":"172a8c52.4cd114",
655     "type":"failure",
656     "name":"not-found",
657     "xml":"<outcome value='not-found'>\n",
658     "comments":"",
659     "outputs":1,
660     "x":713.7143440246582,
661     "y":746.9525275230408,
662     "z":"f97ade34.d219f",
663     "wires":[
664       [
665         "22b0ba82.e21336"
666       ]
667     ]
668   },
669   {
670     "id":"7c4bd318.44ab8c",
671     "type":"execute",
672     "name":"execute RestApiCallNode - setup BRG to vgMux vxlan tunnel port",
673     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.vxlan-tunnel.templatefile`\" />\n    <parameter name='restapiUrl' value='`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url`' />\n    <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n    <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
674     "comments":"",
675     "outputs":1,
676     "x":563.0000610351562,
677     "y":1300.6668300628662,
678     "z":"f97ade34.d219f",
679     "wires":[
680       [
681         "37688fbb.e25e1",
682         "ac4b28e5.62c318",
683         "12690113.8980bf"
684       ]
685     ]
686   },
687   {
688     "id":"37688fbb.e25e1",
689     "type":"not-found",
690     "name":"not-found",
691     "xml":"<outcome value='not-found'>\n",
692     "comments":"",
693     "outputs":1,
694     "x":896.9748497009277,
695     "y":1359.9984420761466,
696     "z":"f97ade34.d219f",
697     "wires":[
698       [
699         "5f4a9e0d.9b39c"
700       ]
701     ]
702   },
703   {
704     "id":"ac4b28e5.62c318",
705     "type":"failure",
706     "name":"failure",
707     "xml":"<outcome value='failure'>\n",
708     "comments":"",
709     "outputs":1,
710     "x":887.9748992919922,
711     "y":1328.4984678253531,
712     "z":"f97ade34.d219f",
713     "wires":[
714       [
715         "5f4a9e0d.9b39c"
716       ]
717     ]
718   },
719   {
720     "id":"12690113.8980bf",
721     "type":"success",
722     "name":"success",
723     "xml":"<outcome value='success'>\n",
724     "comments":"",
725     "outputs":1,
726     "x":891.7249374389648,
727     "y":1298.8555727005005,
728     "z":"f97ade34.d219f",
729     "wires":[
730       [
731         "2f4610c6.cb40f"
732       ]
733     ]
734   },
735   {
736     "id":"5f4a9e0d.9b39c",
737     "type":"returnFailure",
738     "name":"return failure",
739     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for brg-allotted-resource\" />\n",
740     "comments":"",
741     "x":1057.7249374389648,
742     "y":1329.248491667211,
743     "z":"f97ade34.d219f",
744     "wires":[
745
746     ]
747   },
748   {
749     "id":"2f4610c6.cb40f",
750     "type":"block",
751     "name":"block",
752     "xml":"<block>\n",
753     "atomic":"false",
754     "comments":"",
755     "outputs":1,
756     "x":1033.3809051513672,
757     "y":1295.0477418899536,
758     "z":"f97ade34.d219f",
759     "wires":[
760       [
761
762       ]
763     ]
764   },
765   {
766     "id":"14b435e1.73803a",
767     "type":"execute",
768     "name":"execute RestApiCallNode - setup BRG vxlan bridge domain",
769     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.bridge-domain.templatefile`\" />\n    <parameter name='restapiUrl' value=\"`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url + '/v3po:l2' `\" />\n    <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n    <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
770     "comments":"",
771     "outputs":1,
772     "x":544.6668243408203,
773     "y":1447.3336246013641,
774     "z":"f97ade34.d219f",
775     "wires":[
776       [
777         "3797ac64.379644",
778         "fce58130.bb12a",
779         "6c45ae8b.a4da4"
780       ]
781     ]
782   },
783   {
784     "id":"3797ac64.379644",
785     "type":"not-found",
786     "name":"not-found",
787     "xml":"<outcome value='not-found'>\n",
788     "comments":"",
789     "outputs":1,
790     "x":892.6414623260498,
791     "y":1522.9985412582755,
792     "z":"f97ade34.d219f",
793     "wires":[
794       [
795         "5e305e58.bfbe4"
796       ]
797     ]
798   },
799   {
800     "id":"fce58130.bb12a",
801     "type":"failure",
802     "name":"failure",
803     "xml":"<outcome value='failure'>\n",
804     "comments":"",
805     "outputs":1,
806     "x":883.6415119171143,
807     "y":1491.498567007482,
808     "z":"f97ade34.d219f",
809     "wires":[
810       [
811         "5e305e58.bfbe4"
812       ]
813     ]
814   },
815   {
816     "id":"6c45ae8b.a4da4",
817     "type":"success",
818     "name":"success",
819     "xml":"<outcome value='success'>\n",
820     "comments":"",
821     "outputs":1,
822     "x":887.3915500640869,
823     "y":1461.8556718826294,
824     "z":"f97ade34.d219f",
825     "wires":[
826       [
827         "fb3d8268.ba343"
828       ]
829     ]
830   },
831   {
832     "id":"5e305e58.bfbe4",
833     "type":"returnFailure",
834     "name":"return failure",
835     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for brg-allotted-resource\" />\n",
836     "comments":"",
837     "x":1053.391550064087,
838     "y":1492.24859084934,
839     "z":"f97ade34.d219f",
840     "wires":[
841
842     ]
843   },
844   {
845     "id":"fb3d8268.ba343",
846     "type":"block",
847     "name":"block",
848     "xml":"<block>\n",
849     "atomic":"false",
850     "comments":"",
851     "outputs":1,
852     "x":1029.0475177764893,
853     "y":1458.0478410720825,
854     "z":"f97ade34.d219f",
855     "wires":[
856       [
857
858       ]
859     ]
860   },
861   {
862     "id":"815c3841.72ff98",
863     "type":"set",
864     "name":"set BRG to vgMUX VXLAN Tunnel Port Props",
865     "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`'vxlanTun' + $brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip` \" />\n<parameter name='tmp.tunnel-dest-ip' value=\"`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni` \" />",
866     "comments":"",
867     "x":499.1112060546875,
868     "y":1165.6670894622803,
869     "z":"f97ade34.d219f",
870     "wires":[
871
872     ]
873   },
874   {
875     "id":"970b23d4.8d05e",
876     "type":"execute",
877     "name":"generate full brg-vpp-honeycomb url",
878     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.vpp-honeycomb`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.vpp-honeycomb-url\"/>\n    <parameter name=\"target\" value=\"{tunnel-name}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.tunnel-name`\"/>\n",
879     "comments":"",
880     "outputs":1,
881     "x":470.77784729003906,
882     "y":1220.6668682098389,
883     "z":"f97ade34.d219f",
884     "wires":[
885       [
886
887       ]
888     ]
889   },
890   {
891     "id":"b8e9e857.b4d5e8",
892     "type":"execute",
893     "name":"generate honeycomb-url to vBRG",
894     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.honeycomb.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.honeycomb.url\"/>\n    <parameter name=\"target\" value=\"{honeycomb-instance-ip}\"/>\n    <parameter name=\"replacement\" value=\"`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip`\"/>\n",
895     "comments":"",
896     "outputs":1,
897     "x":461.7778778076172,
898     "y":1109.3333940505981,
899     "z":"f97ade34.d219f",
900     "wires":[
901       [
902
903       ]
904     ]
905   },
906   {
907     "id":"a9cc06ef.aed3d8",
908     "type":"set",
909     "name":"set BRG Bridge Domain Props",
910     "xml":"<set>\n<parameter name='tmp.bridge-domain' value=\"bridge-domain-10\" />\n<parameter name='tmp.split-horizon-group' value=\"2\" />",
911     "comments":"",
912     "x":454.1111602783203,
913     "y":1372.3334999084473,
914     "z":"f97ade34.d219f",
915     "wires":[
916
917     ]
918   },
919   {
920     "id":"a0257b81.5e78c8",
921     "type":"comment",
922     "name":"save service data for BRG to md-sal for SO to do GET ",
923     "info":"http://c1.vm1.sdnc.simpledemo.openecomp.org:8282/restconf/config/GENERIC-RESOURCE-API:services/service/e565bb6b-de14-4a5c-a992-65a681771a7a/service-data/service-topology/\n\n\nservice-instance-id is of the vBRG (in VNF-API data)",
924     "comments":"",
925     "x":519.2949829101562,
926     "y":1504.9380531311035,
927     "z":"f97ade34.d219f",
928     "wires":[
929
930     ]
931   },
932   {
933     "id":"13ddb22.203944e",
934     "type":"execute",
935     "name":"execute RestApiCallNode - Get service-data by vnf-id",
936     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.vnf-api-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"service-data\" />\n\n",
937     "comments":"",
938     "outputs":1,
939     "x":516.5014190673828,
940     "y":1630.3347854614258,
941     "z":"f97ade34.d219f",
942     "wires":[
943       [
944         "855aaba9.6b3aa8",
945         "a699d7fa.a36428"
946       ]
947     ]
948   },
949   {
950     "id":"855aaba9.6b3aa8",
951     "type":"success",
952     "name":"success",
953     "xml":"<outcome value='success'>\n",
954     "comments":"",
955     "outputs":1,
956     "x":805.3213386535645,
957     "y":1627.7141289710999,
958     "z":"f97ade34.d219f",
959     "wires":[
960       [
961         "f2f0f6cf.5680f8"
962       ]
963     ]
964   },
965   {
966     "id":"f2f0f6cf.5680f8",
967     "type":"block",
968     "name":"block: atomic",
969     "xml":"<block atomic=\"true\">\n",
970     "atomic":"false",
971     "comments":"",
972     "outputs":1,
973     "x":986.3212928771973,
974     "y":1628.214078426361,
975     "z":"f97ade34.d219f",
976     "wires":[
977       [
978         "4bd61641.b9f8b8",
979         "917b8b10.4cc338"
980       ]
981     ]
982   },
983   {
984     "id":"4bd61641.b9f8b8",
985     "type":"switchNode",
986     "name":"switch brg length",
987     "xml":"<switch test='`$service-data.service-data_length`'>\n",
988     "comments":"",
989     "outputs":1,
990     "x":1232.178539276123,
991     "y":1662.4998416900635,
992     "z":"f97ade34.d219f",
993     "wires":[
994       [
995         "8fd40478.4d0058"
996       ]
997     ]
998   },
999   {
1000     "id":"8fd40478.4d0058",
1001     "type":"other",
1002     "name":"outcome 1",
1003     "xml":"<outcome value='1'>\n",
1004     "comments":"",
1005     "outputs":1,
1006     "x":1423.1785430908203,
1007     "y":1662.4998393058777,
1008     "z":"f97ade34.d219f",
1009     "wires":[
1010       [
1011         "dfcd0278.2218"
1012       ]
1013     ]
1014   },
1015   {
1016     "id":"b0e5cf35.cee86",
1017     "type":"set",
1018     "name":"set service-data from get",
1019     "xml":"<set>\n<parameter name='tmp.service-data.' value='$service-data.service-data[0].' />\n",
1020     "comments":"",
1021     "x":1823.0356788635254,
1022     "y":1663.071263551712,
1023     "z":"f97ade34.d219f",
1024     "wires":[
1025
1026     ]
1027   },
1028   {
1029     "id":"dfcd0278.2218",
1030     "type":"block",
1031     "name":"block: atomic",
1032     "xml":"<block atomic='true'>\n",
1033     "atomic":"false",
1034     "comments":"",
1035     "outputs":1,
1036     "x":1594.0355262756348,
1037     "y":1663.071308374405,
1038     "z":"f97ade34.d219f",
1039     "wires":[
1040       [
1041         "b0e5cf35.cee86",
1042         "86e0cd73.efb82"
1043       ]
1044     ]
1045   },
1046   {
1047     "id":"e935998f.98c578",
1048     "type":"comment",
1049     "name":"GET vnf-api service info",
1050     "info":"",
1051     "comments":"",
1052     "x":421.89267349243164,
1053     "y":1593.642481803894,
1054     "z":"f97ade34.d219f",
1055     "wires":[
1056
1057     ]
1058   },
1059   {
1060     "id":"86e0cd73.efb82",
1061     "type":"switchNode",
1062     "name":"switch order-status",
1063     "xml":"<switch test='`$tmp.service-data.order-status`'>\n",
1064     "comments":"",
1065     "outputs":1,
1066     "x":1806.7498970031738,
1067     "y":1714.6426887512207,
1068     "z":"f97ade34.d219f",
1069     "wires":[
1070       [
1071         "80a04a27.27e6e8",
1072         "bd91de80.00dd6"
1073       ]
1074     ]
1075   },
1076   {
1077     "id":"80a04a27.27e6e8",
1078     "type":"outcome",
1079     "name":"outcome Created",
1080     "xml":"<outcome value='Created'>\n",
1081     "comments":"",
1082     "outputs":1,
1083     "x":2046.6354598999023,
1084     "y":1679.071237564087,
1085     "z":"f97ade34.d219f",
1086     "wires":[
1087       [
1088         "e6bcc367.5fb5e"
1089       ]
1090     ]
1091   },
1092   {
1093     "id":"bd91de80.00dd6",
1094     "type":"outcome",
1095     "name":"outcome Other",
1096     "xml":"<outcome value='Other'>\n",
1097     "comments":"",
1098     "outputs":1,
1099     "x":2072.3498344421387,
1100     "y":1714.499828338623,
1101     "z":"f97ade34.d219f",
1102     "wires":[
1103       [
1104         "e6bcc367.5fb5e"
1105       ]
1106     ]
1107   },
1108   {
1109     "id":"ead3daba.b613a8",
1110     "type":"comment",
1111     "name":"Set service-data",
1112     "info":"",
1113     "comments":"",
1114     "x":395.9879341125488,
1115     "y":1678.499674797058,
1116     "z":"f97ade34.d219f",
1117     "wires":[
1118
1119     ]
1120   },
1121   {
1122     "id":"917b8b10.4cc338",
1123     "type":"set",
1124     "name":"save backup copy of mdsal-ar for rollback",
1125     "xml":"<set>\n<parameter name='bk-service-data' value='$service-data.' />\n",
1126     "comments":"",
1127     "x":1311.8928718566895,
1128     "y":1628.2141704559326,
1129     "z":"f97ade34.d219f",
1130     "wires":[
1131
1132     ]
1133   },
1134   {
1135     "id":"a699d7fa.a36428",
1136     "type":"other",
1137     "name":"other",
1138     "xml":"<outcome value='Other'>\n",
1139     "comments":"",
1140     "outputs":1,
1141     "x":805.0831336975098,
1142     "y":1663.9283018112183,
1143     "z":"f97ade34.d219f",
1144     "wires":[
1145       [
1146         "bcb372d0.e3af8"
1147       ]
1148     ]
1149   },
1150   {
1151     "id":"bcb372d0.e3af8",
1152     "type":"block",
1153     "name":"block: atomic",
1154     "xml":"<block atomic=\"true\">\n",
1155     "atomic":"false",
1156     "comments":"",
1157     "outputs":1,
1158     "x":985.0830841064453,
1159     "y":1664.5948524475098,
1160     "z":"f97ade34.d219f",
1161     "wires":[
1162       [
1163
1164       ]
1165     ]
1166   },
1167   {
1168     "id":"e6bcc367.5fb5e",
1169     "type":"block",
1170     "name":"block",
1171     "xml":"<block>\n",
1172     "atomic":"false",
1173     "comments":"",
1174     "outputs":1,
1175     "x":2261.1059761047363,
1176     "y":1680.4468717575073,
1177     "z":"f97ade34.d219f",
1178     "wires":[
1179       [
1180
1181       ]
1182     ]
1183   },
1184   {
1185     "id":"17504c2b.5ecc04",
1186     "type":"execute",
1187     "name":"generate vnf service-info url",
1188     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.vnf-api.service-information`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.vnf-api-url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$brg-topology-operation-input.allotted-resource-data.brg-topology.brg-assignments.brg-vnf-id`\"/>\n",
1189     "comments":"",
1190     "outputs":1,
1191     "x":442.3108825683594,
1192     "y":1551.7634887695312,
1193     "z":"f97ade34.d219f",
1194     "wires":[
1195       [
1196
1197       ]
1198     ]
1199   },
1200   {
1201     "id":"173f16cf.2f6b79",
1202     "type":"execute",
1203     "name":"execute RestApiCallNode - PUT service into service",
1204     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.services.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.services-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
1205     "comments":"",
1206     "outputs":1,
1207     "x":516.5966033935547,
1208     "y":1807.0018367767334,
1209     "z":"f97ade34.d219f",
1210     "wires":[
1211       [
1212         "5cf17dae.c40c44",
1213         "35de11e4.9a122e",
1214         "95e02b4f.ebd798"
1215       ]
1216     ]
1217   },
1218   {
1219     "id":"5cf17dae.c40c44",
1220     "type":"not-found",
1221     "name":"not-found",
1222     "xml":"<outcome value='not-found'>\n",
1223     "comments":"",
1224     "outputs":1,
1225     "x":1022.8094596862793,
1226     "y":1801.5238494873047,
1227     "z":"f97ade34.d219f",
1228     "wires":[
1229       [
1230         "6d015df7.3af934"
1231       ]
1232     ]
1233   },
1234   {
1235     "id":"35de11e4.9a122e",
1236     "type":"failure",
1237     "name":"failure",
1238     "xml":"<outcome value='failure'>\n",
1239     "comments":"",
1240     "outputs":1,
1241     "x":1013.8095092773438,
1242     "y":1770.0238752365112,
1243     "z":"f97ade34.d219f",
1244     "wires":[
1245       [
1246         "6d015df7.3af934"
1247       ]
1248     ]
1249   },
1250   {
1251     "id":"95e02b4f.ebd798",
1252     "type":"success",
1253     "name":"success",
1254     "xml":"<outcome value='success'>\n",
1255     "comments":"",
1256     "outputs":1,
1257     "x":1017.5595474243164,
1258     "y":1740.3809801116586,
1259     "z":"f97ade34.d219f",
1260     "wires":[
1261       [
1262         "90681ac.479fee8"
1263       ]
1264     ]
1265   },
1266   {
1267     "id":"6d015df7.3af934",
1268     "type":"returnFailure",
1269     "name":"return failure",
1270     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for brg-allotted-resource\" />\n",
1271     "comments":"",
1272     "x":1183.5595474243164,
1273     "y":1770.7738990783691,
1274     "z":"f97ade34.d219f",
1275     "wires":[
1276
1277     ]
1278   },
1279   {
1280     "id":"90681ac.479fee8",
1281     "type":"block",
1282     "name":"block",
1283     "xml":"<block>\n",
1284     "atomic":"false",
1285     "comments":"",
1286     "outputs":1,
1287     "x":1159.2155151367188,
1288     "y":1736.5731493011117,
1289     "z":"f97ade34.d219f",
1290     "wires":[
1291       [
1292
1293       ]
1294     ]
1295   },
1296   {
1297     "id":"75aa4c7c.d1f814",
1298     "type":"execute",
1299     "name":"generate services url",
1300     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.services`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.services-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.service-data.service-information.service-instance-id`\"/>\n",
1301     "comments":"",
1302     "outputs":1,
1303     "x":419.92994689941406,
1304     "y":1766.5256357192993,
1305     "z":"f97ade34.d219f",
1306     "wires":[
1307       [
1308
1309       ]
1310     ]
1311   },
1312   {
1313     "id":"5bcb3869.fa6198",
1314     "type":"get-resource",
1315     "name":"get-resource IPADDR from dmaap DHCP_MAP ",
1316     "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='IPADDR' key=\"SELECT min(ip_addr) ip from DHCP_MAP where mac_addr = $brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-mac-address\" pfx=\"tmp.brg-wan-ip\" >\n",
1317     "comments":"",
1318     "outputs":1,
1319     "x":507.85716247558594,
1320     "y":857.7501087188721,
1321     "z":"f97ade34.d219f",
1322     "wires":[
1323       [
1324
1325       ]
1326     ]
1327   },
1328   {
1329     "id":"60d1bf52.ad3d6",
1330     "type":"set",
1331     "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip",
1332     "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip' value='`$tmp.brg-wan-ip.ip`' />\n",
1333     "comments":"",
1334     "x":594.0000305175781,
1335     "y":907.0000267028809,
1336     "z":"f97ade34.d219f",
1337     "wires":[
1338
1339     ]
1340   },
1341   {
1342     "id":"ac82543e.0a2288",
1343     "type":"set",
1344     "name":"set tmp.ar.consuming-service-instance-id to find vgmux-lan-ip",
1345     "xml":"<set>\n<parameter name='tmp.ar.consuming-service-instance-id' value='`$allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id`' />\n",
1346     "comments":"",
1347     "x":554.9999694824219,
1348     "y":954.9998550415039,
1349     "z":"f97ade34.d219f",
1350     "wires":[
1351
1352     ]
1353   },
1354   {
1355     "id":"4a0f8ea5.474a2",
1356     "type":"call",
1357     "name":"call GENERIC-RESOURCE-API:get-vgmux-lan-ip",
1358     "xml":"<call module='GENERIC-RESOURCE-API' rpc='get-vgmux-lan-ip' mode='sync' >\n",
1359     "comments":"",
1360     "outputs":1,
1361     "x":515.0000152587891,
1362     "y":1003.3331918716431,
1363     "z":"f97ade34.d219f",
1364     "wires":[
1365       [
1366
1367       ]
1368     ]
1369   },
1370   {
1371     "id":"5f66c498.33c76c",
1372     "type":"set",
1373     "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip",
1374     "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip' value='`$tmp.vgmux-lan-ip`' />\n",
1375     "comments":"",
1376     "x":593.3332672119141,
1377     "y":1056.6665697097778,
1378     "z":"f97ade34.d219f",
1379     "wires":[
1380
1381     ]
1382   }
1383 ]