Update brg activate and tunnelxconn create DGs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_tunnelxconn-topology-operation-create.json
1 [
2   {
3     "id":"39656334.a3e8bc",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":167.5,
8     "y":125,
9     "z":"4a786afb.312ac4",
10     "wires":[
11       [
12         "641071ac.34ce3"
13       ]
14     ]
15   },
16   {
17     "id":"641071ac.34ce3",
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":263.7380790710449,
26     "y":185.95239067077637,
27     "z":"4a786afb.312ac4",
28     "wires":[
29       [
30         "67611285.46e87c"
31       ]
32     ]
33   },
34   {
35     "id":"67611285.46e87c",
36     "type":"method",
37     "name":"tunnelxconn-topology-operation-create",
38     "xml":"<method rpc='tunnelxconn-topology-operation-create' mode='sync'>\n",
39     "comments":"",
40     "outputs":1,
41     "x":309.65485763549805,
42     "y":221.19044589996338,
43     "z":"4a786afb.312ac4",
44     "wires":[
45       [
46         "a134c0c3.36b48"
47       ]
48     ]
49   },
50   {
51     "id":"a134c0c3.36b48",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "comments":"",
57     "outputs":1,
58     "x":217.97619247436523,
59     "y":364.5237879753113,
60     "z":"4a786afb.312ac4",
61     "wires":[
62       [
63         "afc9ff4c.06763",
64         "fd58bf7f.5b2af",
65         "fc1a7e2b.aacb3",
66         "3dfd770d.60f198",
67         "9fda81c2.e3d96",
68         "9068ce9.11d8a3",
69         "181809a4.09e046",
70         "93a91e68.a5dae",
71         "21a50431.15138c",
72         "522f9134.9df63",
73         "a51f265e.f89ce8",
74         "5c0e33aa.afc40c",
75         "e2f23076.04596",
76         "742c0c13.6fb084",
77         "81851f96.4bd83",
78         "e1d29d16.5b99d"
79       ]
80     ]
81   },
82   {
83     "id":"fd58bf7f.5b2af",
84     "type":"returnSuccess",
85     "name":"return success",
86     "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",
87     "comments":"",
88     "x":471.16680908203125,
89     "y":1489.5479049682617,
90     "z":"4a786afb.312ac4",
91     "wires":[
92
93     ]
94   },
95   {
96     "id":"afc9ff4c.06763",
97     "type":"set",
98     "name":"set output to api handler",
99     "xml":"<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='tunnelxconn-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $tunnelxconn-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
100     "comments":"",
101     "x":499.9207229614258,
102     "y":1453.6704511642456,
103     "z":"4a786afb.312ac4",
104     "wires":[
105
106     ]
107   },
108   {
109     "id":"522f9134.9df63",
110     "type":"set",
111     "name":"set allotted-resource-oper-status",
112     "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Created' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$tunnelxconn-topology-operation-input.request-information.request-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
113     "comments":"",
114     "x":524.2542190551758,
115     "y":745.0514001846313,
116     "z":"4a786afb.312ac4",
117     "wires":[
118
119     ]
120   },
121   {
122     "id":"3dfd770d.60f198",
123     "type":"set",
124     "name":"set tmp.ar.self-link",
125     "xml":"<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:tunnelxconn-allotted-resources/tunnelxconn-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/tunnelxconn-topology/'` \" />\n\n",
126     "comments":"",
127     "x":480.23806381225586,
128     "y":338.33332538604736,
129     "z":"4a786afb.312ac4",
130     "wires":[
131
132     ]
133   },
134   {
135     "id":"fc1a7e2b.aacb3",
136     "type":"set",
137     "name":"set tmp.ar.allotted-resource-id,etc",
138     "xml":"<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$tunnelxconn-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
139     "comments":"",
140     "x":527.4973258972168,
141     "y":304.59259128570557,
142     "z":"4a786afb.312ac4",
143     "wires":[
144
145     ]
146   },
147   {
148     "id":"9fda81c2.e3d96",
149     "type":"execute",
150     "name":"execute Properties",
151     "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",
152     "comments":"",
153     "outputs":1,
154     "x":486.4934196472168,
155     "y":374.23152446746826,
156     "z":"4a786afb.312ac4",
157     "wires":[
158       [
159
160       ]
161     ]
162   },
163   {
164     "id":"181809a4.09e046",
165     "type":"execute",
166     "name":"execute RestApiCallNode - Get AR by id",
167     "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",
168     "comments":"",
169     "outputs":1,
170     "x":549.0187530517578,
171     "y":535.4594917297363,
172     "z":"4a786afb.312ac4",
173     "wires":[
174       [
175         "72f658fd.fd3218",
176         "8b2321c4.4a2dd"
177       ]
178     ]
179   },
180   {
181     "id":"9068ce9.11d8a3",
182     "type":"execute",
183     "name":"generate allotted-resource url",
184     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.tx-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",
185     "comments":"",
186     "outputs":1,
187     "x":514.5648536682129,
188     "y":434.0172290802002,
189     "z":"4a786afb.312ac4",
190     "wires":[
191       [
192
193       ]
194     ]
195   },
196   {
197     "id":"72f658fd.fd3218",
198     "type":"success",
199     "name":"success",
200     "xml":"<outcome value='success'>\n",
201     "comments":"",
202     "outputs":1,
203     "x":806.3148918151855,
204     "y":534.2672522068024,
205     "z":"4a786afb.312ac4",
206     "wires":[
207       [
208         "35db9fa9.7487b"
209       ]
210     ]
211   },
212   {
213     "id":"93a91e68.a5dae",
214     "type":"execute",
215     "name":"execute RestApiCallNode - PUT AR by id",
216     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.tx.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",
217     "comments":"",
218     "outputs":1,
219     "x":557.0293121337891,
220     "y":888.4341316223145,
221     "z":"4a786afb.312ac4",
222     "wires":[
223       [
224         "fe564e37.78d35",
225         "68c9b814.ae8428",
226         "20a9be75.8d72f2"
227       ]
228     ]
229   },
230   {
231     "id":"fe564e37.78d35",
232     "type":"not-found",
233     "name":"not-found",
234     "xml":"<outcome value='not-found'>\n",
235     "comments":"",
236     "outputs":1,
237     "x":825.3373527526855,
238     "y":949.432451248169,
239     "z":"4a786afb.312ac4",
240     "wires":[
241       [
242         "afa4d00a.d44e"
243       ]
244     ]
245   },
246   {
247     "id":"68c9b814.ae8428",
248     "type":"failure",
249     "name":"failure",
250     "xml":"<outcome value='failure'>\n",
251     "comments":"",
252     "outputs":1,
253     "x":818.3373794555664,
254     "y":909.9323581680655,
255     "z":"4a786afb.312ac4",
256     "wires":[
257       [
258         "afa4d00a.d44e"
259       ]
260     ]
261   },
262   {
263     "id":"20a9be75.8d72f2",
264     "type":"success",
265     "name":"success",
266     "xml":"<outcome value='success'>\n",
267     "comments":"",
268     "outputs":1,
269     "x":822.0874176025391,
270     "y":880.2894630432129,
271     "z":"4a786afb.312ac4",
272     "wires":[
273       [
274         "33071dcd.5083e2"
275       ]
276     ]
277   },
278   {
279     "id":"afa4d00a.d44e",
280     "type":"returnFailure",
281     "name":"return failure",
282     "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for tunnelxconn-allotted-resource\" />\n",
283     "comments":"",
284     "x":988.0874176025391,
285     "y":910.6823820099235,
286     "z":"4a786afb.312ac4",
287     "wires":[
288
289     ]
290   },
291   {
292     "id":"35db9fa9.7487b",
293     "type":"block",
294     "name":"block: atomic",
295     "xml":"<block atomic=\"true\">\n",
296     "atomic":"false",
297     "comments":"",
298     "outputs":1,
299     "x":987.3148460388184,
300     "y":534.7672016620636,
301     "z":"4a786afb.312ac4",
302     "wires":[
303       [
304         "b2595262.3530d",
305         "d20db31.4b44d5"
306       ]
307     ]
308   },
309   {
310     "id":"b2595262.3530d",
311     "type":"switchNode",
312     "name":"switch tx length",
313     "xml":"<switch test='`$mdsal-ar.tunnelxconn-allotted-resource_length`'>\n",
314     "comments":"",
315     "outputs":1,
316     "x":1233.1720924377441,
317     "y":569.052964925766,
318     "z":"4a786afb.312ac4",
319     "wires":[
320       [
321         "decde441.1f9868"
322       ]
323     ]
324   },
325   {
326     "id":"decde441.1f9868",
327     "type":"other",
328     "name":"outcome 1",
329     "xml":"<outcome value='1'>\n",
330     "comments":"",
331     "outputs":1,
332     "x":1424.1720962524414,
333     "y":569.0529625415802,
334     "z":"4a786afb.312ac4",
335     "wires":[
336       [
337         "343ba2be.ce917e"
338       ]
339     ]
340   },
341   {
342     "id":"779744db.feb39c",
343     "type":"set",
344     "name":"set tx-ar from get",
345     "xml":"<set>\n<parameter name='tx-ar.' value='$mdsal-ar.tunnelxconn-allotted-resource[0].' />\n",
346     "comments":"",
347     "x":1824.0292320251465,
348     "y":569.6243867874146,
349     "z":"4a786afb.312ac4",
350     "wires":[
351
352     ]
353   },
354   {
355     "id":"343ba2be.ce917e",
356     "type":"block",
357     "name":"block: atomic",
358     "xml":"<block atomic='true'>\n",
359     "atomic":"false",
360     "comments":"",
361     "outputs":1,
362     "x":1595.0290794372559,
363     "y":569.6244316101074,
364     "z":"4a786afb.312ac4",
365     "wires":[
366       [
367         "779744db.feb39c",
368         "a99c0b17.0d6ea8",
369         "e744f8ef.172ca8"
370       ]
371     ]
372   },
373   {
374     "id":"a99c0b17.0d6ea8",
375     "type":"set",
376     "name":"set oper-status",
377     "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$tx-ar.allotted-resource-status.rpc-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$tx-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
378     "comments":"",
379     "x":1822.0294761657715,
380     "y":637.0529508590698,
381     "z":"4a786afb.312ac4",
382     "wires":[
383
384     ]
385   },
386   {
387     "id":"ace3a58f.952468",
388     "type":"comment",
389     "name":"GET tunnelxconn-allotted-resource from mdsal",
390     "info":"",
391     "comments":"",
392     "x":574.3148155212402,
393     "y":498.7671926021576,
394     "z":"4a786afb.312ac4",
395     "wires":[
396
397     ]
398   },
399   {
400     "id":"e744f8ef.172ca8",
401     "type":"switchNode",
402     "name":"switch order-status",
403     "xml":"<switch test='`$tx-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
404     "comments":"",
405     "outputs":1,
406     "x":1832.02925491333,
407     "y":602.6243848800659,
408     "z":"4a786afb.312ac4",
409     "wires":[
410       [
411         "6bd5626e.dd743c",
412         "f59cb4de.fb1958"
413       ]
414     ]
415   },
416   {
417     "id":"6bd5626e.dd743c",
418     "type":"outcome",
419     "name":"outcome PendingCreate",
420     "xml":"<outcome value='PendingCreate'>\n",
421     "comments":"",
422     "outputs":1,
423     "x":2043.6292114257812,
424     "y":563.6243848800659,
425     "z":"4a786afb.312ac4",
426     "wires":[
427       [
428         "9ce4e0bb.186ca"
429       ]
430     ]
431   },
432   {
433     "id":"f59cb4de.fb1958",
434     "type":"outcome",
435     "name":"outcome Other",
436     "xml":"<outcome value='Other'>\n",
437     "comments":"",
438     "outputs":1,
439     "x":2069.3435859680176,
440     "y":599.052975654602,
441     "z":"4a786afb.312ac4",
442     "wires":[
443       [
444         "9ce4e0bb.186ca"
445       ]
446     ]
447   },
448   {
449     "id":"899fdbf4.ba87a8",
450     "type":"comment",
451     "name":"Set allotted-resource-identifiers",
452     "info":"",
453     "comments":"",
454     "x":529.8386383056641,
455     "y":589.3386459350586,
456     "z":"4a786afb.312ac4",
457     "wires":[
458
459     ]
460   },
461   {
462     "id":"d20db31.4b44d5",
463     "type":"set",
464     "name":"save backup copy of mdsal-ar for rollback",
465     "xml":"<set>\n<parameter name='bk-tx-ar' value='$mdsal-ar.' />\n",
466     "comments":"",
467     "x":1312.8864250183105,
468     "y":534.7672936916351,
469     "z":"4a786afb.312ac4",
470     "wires":[
471
472     ]
473   },
474   {
475     "id":"66a8da44.6d23a4",
476     "type":"comment",
477     "name":"Create urls for restapi",
478     "info":"",
479     "comments":"",
480     "x":485.4576606750488,
481     "y":403.6243562698364,
482     "z":"4a786afb.312ac4",
483     "wires":[
484
485     ]
486   },
487   {
488     "id":"33071dcd.5083e2",
489     "type":"block",
490     "name":"block",
491     "xml":"<block>\n",
492     "atomic":"false",
493     "comments":"",
494     "outputs":1,
495     "x":963.7433853149414,
496     "y":876.481632232666,
497     "z":"4a786afb.312ac4",
498     "wires":[
499       [
500
501       ]
502     ]
503   },
504   {
505     "id":"79d0ecaa.1db8b4",
506     "type":"comment",
507     "name":"TO DO: vnf/put parent",
508     "info":"",
509     "comments":"",
510     "x":497.7433776855469,
511     "y":810.4815540313718,
512     "z":"4a786afb.312ac4",
513     "wires":[
514
515     ]
516   },
517   {
518     "id":"21a50431.15138c",
519     "type":"execute",
520     "name":"execute getTime",
521     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
522     "comments":"",
523     "outputs":1,
524     "x":471.74338150024414,
525     "y":706.4815549850464,
526     "z":"4a786afb.312ac4",
527     "wires":[
528       [
529
530       ]
531     ]
532   },
533   {
534     "id":"8b2321c4.4a2dd",
535     "type":"other",
536     "name":"other",
537     "xml":"<outcome value='Other'>\n",
538     "comments":"",
539     "outputs":1,
540     "x":806.0766868591309,
541     "y":570.4814250469208,
542     "z":"4a786afb.312ac4",
543     "wires":[
544       [
545         "626d5dea.144114"
546       ]
547     ]
548   },
549   {
550     "id":"626d5dea.144114",
551     "type":"block",
552     "name":"block: atomic",
553     "xml":"<block atomic=\"true\">\n",
554     "atomic":"false",
555     "comments":"",
556     "outputs":1,
557     "x":986.0766372680664,
558     "y":571.1479756832123,
559     "z":"4a786afb.312ac4",
560     "wires":[
561       [
562
563       ]
564     ]
565   },
566   {
567     "id":"a51f265e.f89ce8",
568     "type":"set",
569     "name":"set id",
570     "xml":"<set>\n<parameter name='tx-ar.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='tx-ar.allotted-resource-status.action' value=\"`$tunnelxconn-topology-operation-input.request-information.request-action` \" />\n<parameter name='tx-ar.allotted-resource-status.rpc-name' value=\"tunnelxconn-topology-operation\" />\n<parameter name='tx-ar.allotted-resource-status.rpc-action' value=\"`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$tunnelxconn-topology-operation-input.request-information.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$tunnelxconn-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$tunnelxconn-topology-operation-input.service-information.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.tunnelxconn-request-input.' value=\"`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.` \" />",
571     "comments":"",
572     "x":454.74342346191406,
573     "y":626.1481666564941,
574     "z":"4a786afb.312ac4",
575     "wires":[
576
577     ]
578   },
579   {
580     "id":"9ce4e0bb.186ca",
581     "type":"block",
582     "name":"block",
583     "xml":"<block>\n",
584     "atomic":"false",
585     "comments":"",
586     "outputs":1,
587     "x":2258.0997276306152,
588     "y":565.0000190734863,
589     "z":"4a786afb.312ac4",
590     "wires":[
591       [
592
593       ]
594     ]
595   },
596   {
597     "id":"81851f96.4bd83",
598     "type":"execute",
599     "name":"execute RestApiCallNode - setup vG vxlan tunnel port",
600     "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",
601     "comments":"",
602     "outputs":1,
603     "x":588.3330688476562,
604     "y":1214.451904296875,
605     "z":"4a786afb.312ac4",
606     "wires":[
607       [
608         "51118cd5.ce58d4",
609         "98768673.92b068",
610         "813a7874.8439f8"
611       ]
612     ]
613   },
614   {
615     "id":"51118cd5.ce58d4",
616     "type":"not-found",
617     "name":"not-found",
618     "xml":"<outcome value='not-found'>\n",
619     "comments":"",
620     "outputs":1,
621     "x":930.6411418914795,
622     "y":1252.7834300026298,
623     "z":"4a786afb.312ac4",
624     "wires":[
625       [
626         "896732c2.335fd"
627       ]
628     ]
629   },
630   {
631     "id":"98768673.92b068",
632     "type":"failure",
633     "name":"failure",
634     "xml":"<outcome value='failure'>\n",
635     "comments":"",
636     "outputs":1,
637     "x":921.641191482544,
638     "y":1221.2834557518363,
639     "z":"4a786afb.312ac4",
640     "wires":[
641       [
642         "896732c2.335fd"
643       ]
644     ]
645   },
646   {
647     "id":"813a7874.8439f8",
648     "type":"success",
649     "name":"success",
650     "xml":"<outcome value='success'>\n",
651     "comments":"",
652     "outputs":1,
653     "x":925.3912296295166,
654     "y":1191.6405606269836,
655     "z":"4a786afb.312ac4",
656     "wires":[
657       [
658         "85bfd8ec.a6d9d8"
659       ]
660     ]
661   },
662   {
663     "id":"896732c2.335fd",
664     "type":"returnFailure",
665     "name":"return failure",
666     "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",
667     "comments":"",
668     "x":1091.3912296295166,
669     "y":1222.0334795936942,
670     "z":"4a786afb.312ac4",
671     "wires":[
672
673     ]
674   },
675   {
676     "id":"85bfd8ec.a6d9d8",
677     "type":"block",
678     "name":"block",
679     "xml":"<block>\n",
680     "atomic":"false",
681     "comments":"",
682     "outputs":1,
683     "x":1067.047197341919,
684     "y":1187.8327298164368,
685     "z":"4a786afb.312ac4",
686     "wires":[
687       [
688
689       ]
690     ]
691   },
692   {
693     "id":"e2f23076.04596",
694     "type":"set",
695     "name":"set vgMUX VXLAN Tunnel Port vG Props",
696     "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`'vxlanTun' + $tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip` \" />\n<parameter name='tmp.tunnel-dest-ip' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-bearer-ip` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vni` \" />",
697     "comments":"",
698     "x":553.444221496582,
699     "y":1084.4521808624268,
700     "z":"4a786afb.312ac4",
701     "wires":[
702
703     ]
704   },
705   {
706     "id":"742c0c13.6fb084",
707     "type":"execute",
708     "name":"generate full vgMUX vpp-honeycomb url",
709     "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",
710     "comments":"",
711     "outputs":1,
712     "x":547.4442138671875,
713     "y":1141.1186981201172,
714     "z":"4a786afb.312ac4",
715     "wires":[
716       [
717
718       ]
719     ]
720   },
721   {
722     "id":"5c0e33aa.afc40c",
723     "type":"execute",
724     "name":"generate honeycomb-url to vgMUX",
725     "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=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-bearer-ip`\"/>\n",
726     "comments":"",
727     "outputs":1,
728     "x":534.7775421142578,
729     "y":1032.7852993011475,
730     "z":"4a786afb.312ac4",
731     "wires":[
732       [
733
734       ]
735     ]
736   },
737   {
738     "id":"e1d29d16.5b99d",
739     "type":"execute",
740     "name":"execute RestApiCallNode - setup vG vxlan tunnel xconnect",
741     "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.xconnect.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",
742     "comments":"",
743     "outputs":1,
744     "x":604,
745     "y":1332,
746     "z":"4a786afb.312ac4",
747     "wires":[
748       [
749         "6bd302d3.f65bbc",
750         "eaa38ec5.5a68b",
751         "144162f6.ac5d4d"
752       ]
753     ]
754   },
755   {
756     "id":"6bd302d3.f65bbc",
757     "type":"not-found",
758     "name":"not-found",
759     "xml":"<outcome value='not-found'>\n",
760     "comments":"",
761     "outputs":1,
762     "x":934.3080806732178,
763     "y":1370.331535242498,
764     "z":"4a786afb.312ac4",
765     "wires":[
766       [
767         "fdbbce24.3b93"
768       ]
769     ]
770   },
771   {
772     "id":"eaa38ec5.5a68b",
773     "type":"failure",
774     "name":"failure",
775     "xml":"<outcome value='failure'>\n",
776     "comments":"",
777     "outputs":1,
778     "x":925.3081302642822,
779     "y":1338.8315609917045,
780     "z":"4a786afb.312ac4",
781     "wires":[
782       [
783         "fdbbce24.3b93"
784       ]
785     ]
786   },
787   {
788     "id":"144162f6.ac5d4d",
789     "type":"success",
790     "name":"success",
791     "xml":"<outcome value='success'>\n",
792     "comments":"",
793     "outputs":1,
794     "x":929.0581684112549,
795     "y":1309.1886658668518,
796     "z":"4a786afb.312ac4",
797     "wires":[
798       [
799         "b6787459.fbc298"
800       ]
801     ]
802   },
803   {
804     "id":"fdbbce24.3b93",
805     "type":"returnFailure",
806     "name":"return failure",
807     "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",
808     "comments":"",
809     "x":1095.0581684112549,
810     "y":1339.5815848335624,
811     "z":"4a786afb.312ac4",
812     "wires":[
813
814     ]
815   },
816   {
817     "id":"b6787459.fbc298",
818     "type":"block",
819     "name":"block",
820     "xml":"<block>\n",
821     "atomic":"false",
822     "comments":"",
823     "outputs":1,
824     "x":1070.7141361236572,
825     "y":1305.380835056305,
826     "z":"4a786afb.312ac4",
827     "wires":[
828       [
829
830       ]
831     ]
832   }
833 ]