Update brg topo activate DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_brg-topology-operation-activate.json
index d2c1b10..13cd485 100755 (executable)
@@ -1,20 +1,20 @@
 [
   {
-    "id":"a5f311cb.210c6",
+    "id":"d9e7e1c2.493d3",
     "type":"dgstart",
     "name":"DGSTART",
     "outputs":1,
-    "x":139,
-    "y":110,
-    "z":"bd738317.61f1e",
+    "x":103,
+    "y":46,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "3cc114db.e05a3c"
+        "9a1b0b6b.996428"
       ]
     ]
   },
   {
-    "id":"3cc114db.e05a3c",
+    "id":"9a1b0b6b.996428",
     "type":"service-logic",
     "name":"GENERIC-RESOURCE-API ${project.version}",
     "module":"GENERIC-RESOURCE-API",
     "comments":"",
     "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}'>",
     "outputs":1,
-    "x":235.23807907104492,
-    "y":170.95239067077637,
-    "z":"bd738317.61f1e",
+    "x":199.23807907104492,
+    "y":106.95239067077637,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "27ef1723.4e0278"
+        "1b80fdb3.e51d42"
       ]
     ]
   },
   {
-    "id":"27ef1723.4e0278",
+    "id":"1b80fdb3.e51d42",
     "type":"method",
     "name":"brg-topology-operation-activate",
     "xml":"<method rpc='brg-topology-operation-activate' mode='sync'>\n",
     "comments":"",
     "outputs":1,
-    "x":281.15485763549805,
-    "y":206.19044589996338,
-    "z":"bd738317.61f1e",
+    "x":245.15485763549805,
+    "y":142.19044589996338,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "5084fcc1.6127a4"
+        "b9ef2573.e57c88"
       ]
     ]
   },
   {
-    "id":"5084fcc1.6127a4",
+    "id":"b9ef2573.e57c88",
     "type":"block",
     "name":"block : atomic",
     "xml":"<block atomic=\"true\">",
     "atomic":"true",
     "comments":"",
     "outputs":1,
-    "x":189.47619247436523,
-    "y":349.5237879753113,
-    "z":"bd738317.61f1e",
+    "x":153.47619247436523,
+    "y":285.5237879753113,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "58b2a19b.bb1a9",
-        "7d4ed218.8bbd8c",
-        "e7f02dcd.d7804",
-        "c8a2b5a6.be9028",
-        "57d72c77.8278c4",
-        "da3b0a02.7cb8f8",
-        "2d3dbb81.8d93e4",
-        "49f82ccd.f7c214",
-        "1c4673a7.e44e5c",
-        "8be1a0c.f98886",
-        "ded6be20.02606",
-        "813841f5.5242d",
-        "6b6c396.0e3bdc8",
-        "87c5e69a.216528",
-        "eb01b23d.d2e83",
-        "9d0a59c9.488d38",
-        "52fb1b57.c3a244",
-        "a54b3930.93b098",
-        "390bbb92.09b7f4",
-        "d2ce0116.9d6fd",
-        "d22b2425.82db18",
-        "9afe5c14.6ae23"
+        "b4a1686c.6724e8",
+        "377fb8b4.251228",
+        "d661220d.d848d",
+        "c5c60948.27fc28",
+        "c4711874.0ee758",
+        "aceb1a27.11b7a8",
+        "a5137e71.81a65",
+        "5972a9da.16e978",
+        "50e72018.6624",
+        "b3b13e68.d59bb",
+        "ef8d3b6f.8c3c58",
+        "531893c6.c405dc",
+        "7c4bd318.44ab8c",
+        "14b435e1.73803a",
+        "b8e9e857.b4d5e8",
+        "970b23d4.8d05e",
+        "815c3841.72ff98",
+        "a9cc06ef.aed3d8",
+        "17504c2b.5ecc04",
+        "13ddb22.203944e",
+        "75aa4c7c.d1f814",
+        "173f16cf.2f6b79",
+        "5bcb3869.fa6198",
+        "60d1bf52.ad3d6",
+        "ac82543e.0a2288",
+        "4a0f8ea5.474a2",
+        "5f66c498.33c76c"
       ]
     ]
   },
   {
-    "id":"7d4ed218.8bbd8c",
+    "id":"377fb8b4.251228",
     "type":"returnSuccess",
     "name":"return success",
     "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",
     "comments":"",
-    "x":449.0001220703125,
-    "y":1920.8814477920532,
-    "z":"bd738317.61f1e",
+    "x":405.0001220703125,
+    "y":1954.8816022872925,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"58b2a19b.bb1a9",
+    "id":"b4a1686c.6724e8",
     "type":"set",
     "name":"set output to api handler",
     "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",
     "comments":"",
-    "x":477.75403594970703,
-    "y":1885.003993988037,
-    "z":"bd738317.61f1e",
+    "x":433.75403594970703,
+    "y":1919.0041484832764,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"8be1a0c.f98886",
+    "id":"b3b13e68.d59bb",
     "type":"set",
     "name":"set allotted-resource-oper-status",
     "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",
     "comments":"",
-    "x":495.7542190551758,
-    "y":730.0514001846313,
-    "z":"bd738317.61f1e",
+    "x":459.7542190551758,
+    "y":666.0514001846313,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"c8a2b5a6.be9028",
+    "id":"c5c60948.27fc28",
     "type":"set",
     "name":"set tmp.ar.self-link",
     "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",
     "comments":"",
-    "x":451.73806381225586,
-    "y":323.33332538604736,
-    "z":"bd738317.61f1e",
+    "x":415.73806381225586,
+    "y":259.33332538604736,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"e7f02dcd.d7804",
+    "id":"d661220d.d848d",
     "type":"set",
     "name":"set tmp.ar.allotted-resource-id,etc",
     "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",
     "comments":"",
-    "x":498.9973258972168,
-    "y":289.59259128570557,
-    "z":"bd738317.61f1e",
+    "x":462.9973258972168,
+    "y":225.59259128570557,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"57d72c77.8278c4",
+    "id":"c4711874.0ee758",
     "type":"execute",
     "name":"execute Properties",
     "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",
     "comments":"",
     "outputs":1,
-    "x":457.9934196472168,
-    "y":359.23152446746826,
-    "z":"bd738317.61f1e",
+    "x":421.9934196472168,
+    "y":295.23152446746826,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"2d3dbb81.8d93e4",
+    "id":"a5137e71.81a65",
     "type":"execute",
     "name":"execute RestApiCallNode - Get AR by id",
     "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",
     "comments":"",
     "outputs":1,
-    "x":520.5187530517578,
-    "y":520.4594917297363,
-    "z":"bd738317.61f1e",
+    "x":484.5187530517578,
+    "y":456.4594917297363,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "8276c2bb.14acb",
-        "298fb105.8bda2e"
+        "edb9e1fa.046de",
+        "d98ea5a4.989128"
       ]
     ]
   },
   {
-    "id":"da3b0a02.7cb8f8",
+    "id":"aceb1a27.11b7a8",
     "type":"execute",
     "name":"generate allotted-resource url",
     "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",
     "comments":"",
     "outputs":1,
-    "x":486.0648536682129,
-    "y":419.0172290802002,
-    "z":"bd738317.61f1e",
+    "x":450.0648536682129,
+    "y":355.0172290802002,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"8276c2bb.14acb",
+    "id":"edb9e1fa.046de",
     "type":"success",
     "name":"success",
     "xml":"<outcome value='success'>\n",
     "comments":"",
     "outputs":1,
-    "x":777.8148918151855,
-    "y":519.2672522068024,
-    "z":"bd738317.61f1e",
+    "x":741.8148918151855,
+    "y":455.26725220680237,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "893561c4.da3da"
+        "52d019c0.82c438"
       ]
     ]
   },
   {
-    "id":"49f82ccd.f7c214",
+    "id":"5972a9da.16e978",
     "type":"execute",
     "name":"execute RestApiCallNode - PUT AR by id",
     "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",
     "comments":"",
     "outputs":1,
-    "x":528.5293121337891,
-    "y":873.4341316223145,
-    "z":"bd738317.61f1e",
+    "x":492.52931213378906,
+    "y":809.4341316223145,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "3d80671.2fffe98",
-        "5531bacd.bb4054",
-        "d8812d37.161a9"
+        "854bd044.7a222",
+        "8243312c.4fc6e",
+        "a02378bd.a2d368"
       ]
     ]
   },
   {
-    "id":"3d80671.2fffe98",
+    "id":"854bd044.7a222",
     "type":"not-found",
     "name":"not-found",
     "xml":"<outcome value='not-found'>\n",
     "comments":"",
     "outputs":1,
-    "x":1052.8373832702637,
-    "y":898.4324235916138,
-    "z":"bd738317.61f1e",
+    "x":1016.8373832702637,
+    "y":834.4324235916138,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "3a60fdb3.4a8a52"
+        "981caf01.1190d"
       ]
     ]
   },
   {
-    "id":"5531bacd.bb4054",
+    "id":"8243312c.4fc6e",
     "type":"failure",
     "name":"failure",
     "xml":"<outcome value='failure'>\n",
     "comments":"",
     "outputs":1,
-    "x":1043.8374328613281,
-    "y":866.9324493408203,
-    "z":"bd738317.61f1e",
+    "x":1007.8374328613281,
+    "y":802.9324493408203,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "3a60fdb3.4a8a52"
+        "981caf01.1190d"
       ]
     ]
   },
   {
-    "id":"d8812d37.161a9",
+    "id":"a02378bd.a2d368",
     "type":"success",
     "name":"success",
     "xml":"<outcome value='success'>\n",
     "comments":"",
     "outputs":1,
-    "x":1047.5874710083008,
-    "y":837.2895542159677,
-    "z":"bd738317.61f1e",
+    "x":1011.5874710083008,
+    "y":773.2895542159677,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "74162770.a979c8"
+        "9efe8414.91ed18"
       ]
     ]
   },
   {
-    "id":"3a60fdb3.4a8a52",
+    "id":"981caf01.1190d",
     "type":"returnFailure",
     "name":"return failure",
     "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",
     "comments":"",
-    "x":1213.5874710083008,
-    "y":867.6824731826782,
-    "z":"bd738317.61f1e",
+    "x":1177.5874710083008,
+    "y":803.6824731826782,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"893561c4.da3da",
+    "id":"52d019c0.82c438",
     "type":"block",
     "name":"block: atomic",
     "xml":"<block atomic=\"true\">\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":958.8148460388184,
-    "y":519.7672016620636,
-    "z":"bd738317.61f1e",
+    "x":922.8148460388184,
+    "y":455.7672016620636,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "7cc2aba3.4ab774",
-        "4cf2170b.af9078"
+        "515d911f.70f65",
+        "388539de.469206"
       ]
     ]
   },
   {
-    "id":"7cc2aba3.4ab774",
+    "id":"515d911f.70f65",
     "type":"switchNode",
     "name":"switch brg length",
     "xml":"<switch test='`$mdsal-ar.brg-allotted-resource_length`'>\n",
     "comments":"",
     "outputs":1,
-    "x":1204.6720924377441,
-    "y":554.052964925766,
-    "z":"bd738317.61f1e",
+    "x":1168.6720924377441,
+    "y":490.052964925766,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "f2b5c7f8.4c2788"
+        "a34fd934.5de948"
       ]
     ]
   },
   {
-    "id":"f2b5c7f8.4c2788",
+    "id":"a34fd934.5de948",
     "type":"other",
     "name":"outcome 1",
     "xml":"<outcome value='1'>\n",
     "comments":"",
     "outputs":1,
-    "x":1395.6720962524414,
-    "y":554.0529625415802,
-    "z":"bd738317.61f1e",
+    "x":1359.6720962524414,
+    "y":490.0529625415802,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "99caeac4.1caf68"
+        "1534773e.2f1e69"
       ]
     ]
   },
   {
-    "id":"a94fae60.0d4d8",
+    "id":"d1c6c306.93b2a",
     "type":"set",
     "name":"set brg-ar from get",
     "xml":"<set>\n<parameter name='brg-ar.' value='$mdsal-ar.brg-allotted-resource[0].' />\n",
     "comments":"",
-    "x":1795.5292320251465,
-    "y":554.6243867874146,
-    "z":"bd738317.61f1e",
+    "x":1759.5292320251465,
+    "y":490.62438678741455,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"99caeac4.1caf68",
+    "id":"1534773e.2f1e69",
     "type":"block",
     "name":"block: atomic",
     "xml":"<block atomic='true'>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1566.5290794372559,
-    "y":554.6244316101074,
-    "z":"bd738317.61f1e",
+    "x":1530.5290794372559,
+    "y":490.6244316101074,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "a94fae60.0d4d8",
-        "b911a84d.ae1718",
-        "4be8f1c4.44235"
+        "d1c6c306.93b2a",
+        "2feb6861.c55048",
+        "834030e7.c71a9"
       ]
     ]
   },
   {
-    "id":"b911a84d.ae1718",
+    "id":"2feb6861.c55048",
     "type":"set",
     "name":"set oper-status",
     "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",
     "comments":"",
-    "x":1793.5294761657715,
-    "y":622.0529508590698,
-    "z":"bd738317.61f1e",
+    "x":1757.5294761657715,
+    "y":558.0529508590698,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"1fae3401.6b02fc",
+    "id":"2bb45a1f.a94976",
     "type":"comment",
     "name":"GET brg-allotted-resource from mdsal",
     "info":"",
     "comments":"",
-    "x":545.8148155212402,
-    "y":483.7671926021576,
-    "z":"bd738317.61f1e",
+    "x":509.81481552124023,
+    "y":419.7671926021576,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"4be8f1c4.44235",
+    "id":"834030e7.c71a9",
     "type":"switchNode",
     "name":"switch order-status",
     "xml":"<switch test='`$brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
     "comments":"",
     "outputs":1,
-    "x":1803.52925491333,
-    "y":587.6243848800659,
-    "z":"bd738317.61f1e",
+    "x":1767.52925491333,
+    "y":523.6243848800659,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "78046e66.9f48",
-        "8b7e48bf.d7da38"
+        "930ea57d.0f30f8",
+        "4c055a7a.ab9f24"
       ]
     ]
   },
   {
-    "id":"78046e66.9f48",
+    "id":"930ea57d.0f30f8",
     "type":"outcome",
     "name":"outcome Created",
     "xml":"<outcome value='Created'>\n",
     "comments":"",
     "outputs":1,
-    "x":2015.1292114257812,
-    "y":548.6243848800659,
-    "z":"bd738317.61f1e",
+    "x":1979.1292114257812,
+    "y":484.6243848800659,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "6617e6b1.caed38"
+        "56b9c5ed.fb1fec"
       ]
     ]
   },
   {
-    "id":"8b7e48bf.d7da38",
+    "id":"4c055a7a.ab9f24",
     "type":"outcome",
     "name":"outcome Other",
     "xml":"<outcome value='Other'>\n",
     "comments":"",
     "outputs":1,
-    "x":2040.8435859680176,
-    "y":584.052975654602,
-    "z":"bd738317.61f1e",
+    "x":2004.8435859680176,
+    "y":520.052975654602,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "6617e6b1.caed38"
+        "56b9c5ed.fb1fec"
       ]
     ]
   },
   {
-    "id":"2041ebe5.c30ee4",
+    "id":"77c5ca77.4678d4",
     "type":"comment",
     "name":"Set allotted-resource-identifiers",
     "info":"",
     "comments":"",
-    "x":501.33863830566406,
-    "y":574.3386459350586,
-    "z":"bd738317.61f1e",
+    "x":465.33863830566406,
+    "y":510.3386459350586,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"4cf2170b.af9078",
+    "id":"388539de.469206",
     "type":"set",
     "name":"save backup copy of mdsal-ar for rollback",
     "xml":"<set>\n<parameter name='bk-brg-ar' value='$mdsal-ar.' />\n",
     "comments":"",
-    "x":1284.3864250183105,
-    "y":519.7672936916351,
-    "z":"bd738317.61f1e",
+    "x":1248.3864250183105,
+    "y":455.76729369163513,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"aa22f4fa.80d2f8",
+    "id":"ddaea4c6.1d9aa8",
     "type":"comment",
     "name":"Create urls for restapi",
     "info":"",
     "comments":"",
-    "x":456.9576606750488,
-    "y":388.6243562698364,
-    "z":"bd738317.61f1e",
+    "x":420.9576606750488,
+    "y":324.6243562698364,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"74162770.a979c8",
+    "id":"9efe8414.91ed18",
     "type":"block",
     "name":"block",
     "xml":"<block>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1189.2434387207031,
-    "y":833.4817234054208,
-    "z":"bd738317.61f1e",
+    "x":1153.2434387207031,
+    "y":769.4817234054208,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"6c2fd2bf.8ea39c",
+    "id":"ff41987d.46ce18",
     "type":"comment",
     "name":"TO DO: vnf/put parent",
     "info":"",
     "comments":"",
-    "x":459.2433776855469,
-    "y":762.1481952667236,
-    "z":"bd738317.61f1e",
+    "x":423.2433776855469,
+    "y":698.1481952667236,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"1c4673a7.e44e5c",
+    "id":"50e72018.6624",
     "type":"execute",
     "name":"execute getTime",
     "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
     "comments":"",
     "outputs":1,
-    "x":443.24338150024414,
-    "y":691.4815549850464,
-    "z":"bd738317.61f1e",
+    "x":407.24338150024414,
+    "y":627.4815549850464,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"298fb105.8bda2e",
+    "id":"d98ea5a4.989128",
     "type":"other",
     "name":"other",
     "xml":"<outcome value='Other'>\n",
     "comments":"",
     "outputs":1,
-    "x":777.5766868591309,
-    "y":555.4814250469208,
-    "z":"bd738317.61f1e",
+    "x":741.5766868591309,
+    "y":491.4814250469208,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "da7d30a7.86aa1"
+        "838280a9.26353"
       ]
     ]
   },
   {
-    "id":"da7d30a7.86aa1",
+    "id":"838280a9.26353",
     "type":"block",
     "name":"block: atomic",
     "xml":"<block atomic=\"true\">\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":957.5766372680664,
-    "y":556.1479756832123,
-    "z":"bd738317.61f1e",
+    "x":921.5766372680664,
+    "y":492.1479756832123,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"ded6be20.02606",
+    "id":"ef8d3b6f.8c3c58",
     "type":"set",
     "name":"set id",
     "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.` \" />",
     "comments":"",
-    "x":426.24342346191406,
-    "y":611.1481666564941,
-    "z":"bd738317.61f1e",
+    "x":390.24342346191406,
+    "y":547.1481666564941,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"6617e6b1.caed38",
+    "id":"56b9c5ed.fb1fec",
     "type":"block",
     "name":"block",
     "xml":"<block>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":2229.5997276306152,
-    "y":550.0000190734863,
-    "z":"bd738317.61f1e",
+    "x":2193.5997276306152,
+    "y":486.0000190734863,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"813841f5.5242d",
+    "id":"531893c6.c405dc",
     "type":"update",
     "name":"update AAI allotted-resource",
     "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",
     "comments":"",
     "outputs":1,
-    "x":486.85716247558594,
-    "y":795.2380628585815,
-    "z":"bd738317.61f1e",
+    "x":450.85716247558594,
+    "y":731.2380628585815,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "dfcc7672.3a2628",
-        "f88b958b.1b4058"
+        "35b2a07f.fbd7b",
+        "172a8c52.4cd114"
       ]
     ]
   },
   {
-    "id":"dfcc7672.3a2628",
+    "id":"35b2a07f.fbd7b",
     "type":"failure",
     "name":"failure",
     "xml":"<outcome value='failure'>\n",
     "comments":"",
     "outputs":1,
-    "x":742.6190567016602,
-    "y":778.1905598640442,
-    "z":"bd738317.61f1e",
+    "x":706.6190567016602,
+    "y":714.1905598640442,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "16d52897.21f867"
+        "22b0ba82.e21336"
       ]
     ]
   },
   {
-    "id":"16d52897.21f867",
+    "id":"22b0ba82.e21336",
     "type":"returnFailure",
     "name":"return failure",
     "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",
     "comments":"",
-    "x":909.142936706543,
-    "y":789.8096308708191,
-    "z":"bd738317.61f1e",
+    "x":873.142936706543,
+    "y":725.8096308708191,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"f88b958b.1b4058",
+    "id":"172a8c52.4cd114",
     "type":"failure",
     "name":"not-found",
     "xml":"<outcome value='not-found'>\n",
     "comments":"",
     "outputs":1,
-    "x":749.7143440246582,
-    "y":810.9525275230408,
-    "z":"bd738317.61f1e",
+    "x":713.7143440246582,
+    "y":746.9525275230408,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "16d52897.21f867"
+        "22b0ba82.e21336"
       ]
     ]
   },
   {
-    "id":"6b6c396.0e3bdc8",
+    "id":"7c4bd318.44ab8c",
     "type":"execute",
     "name":"execute RestApiCallNode - setup BRG to vgMux vxlan tunnel port",
     "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",
     "comments":"",
     "outputs":1,
-    "x":603.6666564941406,
-    "y":1206.666666984558,
-    "z":"bd738317.61f1e",
+    "x":563.0000610351562,
+    "y":1300.6668300628662,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "ac72a6ac.9a87d8",
-        "6627db7e.a07df4",
-        "b71c9a02.dc5f38"
+        "37688fbb.e25e1",
+        "ac4b28e5.62c318",
+        "12690113.8980bf"
       ]
     ]
   },
   {
-    "id":"ac72a6ac.9a87d8",
+    "id":"37688fbb.e25e1",
     "type":"not-found",
     "name":"not-found",
     "xml":"<outcome value='not-found'>\n",
     "comments":"",
     "outputs":1,
-    "x":937.6414451599121,
-    "y":1265.9982789978385,
-    "z":"bd738317.61f1e",
+    "x":896.9748497009277,
+    "y":1359.9984420761466,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "87d976e8.3b5e08"
+        "5f4a9e0d.9b39c"
       ]
     ]
   },
   {
-    "id":"6627db7e.a07df4",
+    "id":"ac4b28e5.62c318",
     "type":"failure",
     "name":"failure",
     "xml":"<outcome value='failure'>\n",
     "comments":"",
     "outputs":1,
-    "x":928.6414947509766,
-    "y":1234.498304747045,
-    "z":"bd738317.61f1e",
+    "x":887.9748992919922,
+    "y":1328.4984678253531,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "87d976e8.3b5e08"
+        "5f4a9e0d.9b39c"
       ]
     ]
   },
   {
-    "id":"b71c9a02.dc5f38",
+    "id":"12690113.8980bf",
     "type":"success",
     "name":"success",
     "xml":"<outcome value='success'>\n",
     "comments":"",
     "outputs":1,
-    "x":932.3915328979492,
-    "y":1204.8554096221924,
-    "z":"bd738317.61f1e",
+    "x":891.7249374389648,
+    "y":1298.8555727005005,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "647bb0e7.3a8ce"
+        "2f4610c6.cb40f"
       ]
     ]
   },
   {
-    "id":"87d976e8.3b5e08",
+    "id":"5f4a9e0d.9b39c",
     "type":"returnFailure",
     "name":"return failure",
     "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",
     "comments":"",
-    "x":1098.3915328979492,
-    "y":1235.248328588903,
-    "z":"bd738317.61f1e",
+    "x":1057.7249374389648,
+    "y":1329.248491667211,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"647bb0e7.3a8ce",
+    "id":"2f4610c6.cb40f",
     "type":"block",
     "name":"block",
     "xml":"<block>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1074.0475006103516,
-    "y":1201.0475788116455,
-    "z":"bd738317.61f1e",
+    "x":1033.3809051513672,
+    "y":1295.0477418899536,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"87c5e69a.216528",
+    "id":"14b435e1.73803a",
     "type":"execute",
     "name":"execute RestApiCallNode - setup BRG vxlan bridge domain",
     "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",
     "comments":"",
     "outputs":1,
-    "x":585.3334197998047,
-    "y":1353.333461523056,
-    "z":"bd738317.61f1e",
+    "x":544.6668243408203,
+    "y":1447.3336246013641,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "8bb826ca.7fde18",
-        "3b0cfc96.e063d4",
-        "9233dc34.b0a2e"
+        "3797ac64.379644",
+        "fce58130.bb12a",
+        "6c45ae8b.a4da4"
       ]
     ]
   },
   {
-    "id":"8bb826ca.7fde18",
+    "id":"3797ac64.379644",
     "type":"not-found",
     "name":"not-found",
     "xml":"<outcome value='not-found'>\n",
     "comments":"",
     "outputs":1,
-    "x":933.3080577850342,
-    "y":1428.9983781799674,
-    "z":"bd738317.61f1e",
+    "x":892.6414623260498,
+    "y":1522.9985412582755,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "56013e05.d3ec7"
+        "5e305e58.bfbe4"
       ]
     ]
   },
   {
-    "id":"3b0cfc96.e063d4",
+    "id":"fce58130.bb12a",
     "type":"failure",
     "name":"failure",
     "xml":"<outcome value='failure'>\n",
     "comments":"",
     "outputs":1,
-    "x":924.3081073760986,
-    "y":1397.498403929174,
-    "z":"bd738317.61f1e",
+    "x":883.6415119171143,
+    "y":1491.498567007482,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "56013e05.d3ec7"
+        "5e305e58.bfbe4"
       ]
     ]
   },
   {
-    "id":"9233dc34.b0a2e",
+    "id":"6c45ae8b.a4da4",
     "type":"success",
     "name":"success",
     "xml":"<outcome value='success'>\n",
     "comments":"",
     "outputs":1,
-    "x":928.0581455230713,
-    "y":1367.8555088043213,
-    "z":"bd738317.61f1e",
+    "x":887.3915500640869,
+    "y":1461.8556718826294,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "d277fbef.48ce48"
+        "fb3d8268.ba343"
       ]
     ]
   },
   {
-    "id":"56013e05.d3ec7",
+    "id":"5e305e58.bfbe4",
     "type":"returnFailure",
     "name":"return failure",
     "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",
     "comments":"",
-    "x":1094.0581455230713,
-    "y":1398.2484277710319,
-    "z":"bd738317.61f1e",
+    "x":1053.391550064087,
+    "y":1492.24859084934,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"d277fbef.48ce48",
+    "id":"fb3d8268.ba343",
     "type":"block",
     "name":"block",
     "xml":"<block>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1069.7141132354736,
-    "y":1364.0476779937744,
-    "z":"bd738317.61f1e",
+    "x":1029.0475177764893,
+    "y":1458.0478410720825,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"52fb1b57.c3a244",
+    "id":"815c3841.72ff98",
     "type":"set",
     "name":"set BRG to vgMUX VXLAN Tunnel Port Props",
-    "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.allotted-resource-operation-information.brg-request-input.vgmux-lan-ip` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-ip-address` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni` \" />",
+    "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` \" />",
     "comments":"",
-    "x":539.7778015136719,
-    "y":1071.6669263839722,
-    "z":"bd738317.61f1e",
+    "x":499.1112060546875,
+    "y":1165.6670894622803,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"9d0a59c9.488d38",
+    "id":"970b23d4.8d05e",
     "type":"execute",
     "name":"generate full brg-vpp-honeycomb url",
     "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",
     "comments":"",
     "outputs":1,
-    "x":511.44444274902344,
-    "y":1126.6667051315308,
-    "z":"bd738317.61f1e",
+    "x":470.77784729003906,
+    "y":1220.6668682098389,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"eb01b23d.d2e83",
+    "id":"b8e9e857.b4d5e8",
     "type":"execute",
     "name":"generate honeycomb-url to vBRG",
     "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",
     "comments":"",
     "outputs":1,
-    "x":503.4444580078125,
-    "y":986.333233833313,
-    "z":"bd738317.61f1e",
+    "x":461.7778778076172,
+    "y":1109.3333940505981,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"a54b3930.93b098",
+    "id":"a9cc06ef.aed3d8",
     "type":"set",
     "name":"set BRG Bridge Domain Props",
     "xml":"<set>\n<parameter name='tmp.bridge-domain' value=\"bridge-domain-10\" />\n<parameter name='tmp.split-horizon-group' value=\"2\" />",
     "comments":"",
-    "x":494.7777557373047,
-    "y":1278.3333368301392,
-    "z":"bd738317.61f1e",
+    "x":454.1111602783203,
+    "y":1372.3334999084473,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"66ab9749.6e5de8",
-    "type":"comment",
-    "name":"TO DO: assign brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip",
-    "info":"need to quary mdsal-ar and get information assigned in tunnelxconn DG?",
-    "comments":"",
-    "x":661.0000305175781,
-    "y":935.5000286102295,
-    "z":"bd738317.61f1e",
-    "wires":[
-
-    ]
-  },
-  {
-    "id":"d359b8c.b2e9848",
+    "id":"a0257b81.5e78c8",
     "type":"comment",
     "name":"save service data for BRG to md-sal for SO to do GET ",
     "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)",
     "comments":"",
-    "x":547.5807209014893,
-    "y":1475.2236095443368,
-    "z":"bd738317.61f1e",
+    "x":519.2949829101562,
+    "y":1504.9380531311035,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"d2ce0116.9d6fd",
+    "id":"13ddb22.203944e",
     "type":"execute",
     "name":"execute RestApiCallNode - Get service-data by vnf-id",
     "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",
     "comments":"",
     "outputs":1,
-    "x":560.5014190673828,
-    "y":1596.3346309661865,
-    "z":"bd738317.61f1e",
+    "x":516.5014190673828,
+    "y":1630.3347854614258,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "25295636.0ab61a",
-        "bf6df68d.132c38"
+        "855aaba9.6b3aa8",
+        "a699d7fa.a36428"
       ]
     ]
   },
   {
-    "id":"25295636.0ab61a",
+    "id":"855aaba9.6b3aa8",
     "type":"success",
     "name":"success",
     "xml":"<outcome value='success'>\n",
     "comments":"",
     "outputs":1,
-    "x":849.3213386535645,
-    "y":1593.7139744758606,
-    "z":"bd738317.61f1e",
+    "x":805.3213386535645,
+    "y":1627.7141289710999,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "6176a3d2.ca4a4c"
+        "f2f0f6cf.5680f8"
       ]
     ]
   },
   {
-    "id":"6176a3d2.ca4a4c",
+    "id":"f2f0f6cf.5680f8",
     "type":"block",
     "name":"block: atomic",
     "xml":"<block atomic=\"true\">\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1030.3212928771973,
-    "y":1594.2139239311218,
-    "z":"bd738317.61f1e",
+    "x":986.3212928771973,
+    "y":1628.214078426361,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "8a58185b.1f0588",
-        "e2166c3e.a56a4"
+        "4bd61641.b9f8b8",
+        "917b8b10.4cc338"
       ]
     ]
   },
   {
-    "id":"8a58185b.1f0588",
+    "id":"4bd61641.b9f8b8",
     "type":"switchNode",
     "name":"switch brg length",
     "xml":"<switch test='`$service-data.service-data_length`'>\n",
     "comments":"",
     "outputs":1,
-    "x":1276.178539276123,
-    "y":1628.4996871948242,
-    "z":"bd738317.61f1e",
+    "x":1232.178539276123,
+    "y":1662.4998416900635,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "d1780eb8.0a48d"
+        "8fd40478.4d0058"
       ]
     ]
   },
   {
-    "id":"d1780eb8.0a48d",
+    "id":"8fd40478.4d0058",
     "type":"other",
     "name":"outcome 1",
     "xml":"<outcome value='1'>\n",
     "comments":"",
     "outputs":1,
-    "x":1467.1785430908203,
-    "y":1628.4996848106384,
-    "z":"bd738317.61f1e",
+    "x":1423.1785430908203,
+    "y":1662.4998393058777,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "144d46bd.d15369"
+        "dfcd0278.2218"
       ]
     ]
   },
   {
-    "id":"c4f78b0c.399548",
+    "id":"b0e5cf35.cee86",
     "type":"set",
     "name":"set service-data from get",
     "xml":"<set>\n<parameter name='tmp.service-data.' value='$service-data.service-data[0].' />\n",
     "comments":"",
-    "x":1867.0356788635254,
-    "y":1629.0711090564728,
-    "z":"bd738317.61f1e",
+    "x":1823.0356788635254,
+    "y":1663.071263551712,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"144d46bd.d15369",
+    "id":"dfcd0278.2218",
     "type":"block",
     "name":"block: atomic",
     "xml":"<block atomic='true'>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1638.0355262756348,
-    "y":1629.0711538791656,
-    "z":"bd738317.61f1e",
+    "x":1594.0355262756348,
+    "y":1663.071308374405,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "c4f78b0c.399548",
-        "e2b696d0.92bce8"
+        "b0e5cf35.cee86",
+        "86e0cd73.efb82"
       ]
     ]
   },
   {
-    "id":"acb27e89.7a99b",
+    "id":"e935998f.98c578",
     "type":"comment",
     "name":"GET vnf-api service info",
     "info":"",
     "comments":"",
-    "x":465.89267349243164,
-    "y":1559.6423273086548,
-    "z":"bd738317.61f1e",
+    "x":421.89267349243164,
+    "y":1593.642481803894,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"e2b696d0.92bce8",
+    "id":"86e0cd73.efb82",
     "type":"switchNode",
     "name":"switch order-status",
     "xml":"<switch test='`$tmp.service-data.order-status`'>\n",
     "comments":"",
     "outputs":1,
-    "x":1850.7498970031738,
-    "y":1680.6425342559814,
-    "z":"bd738317.61f1e",
+    "x":1806.7498970031738,
+    "y":1714.6426887512207,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "93dea8c9.d15128",
-        "9bef71a8.f6f6b"
+        "80a04a27.27e6e8",
+        "bd91de80.00dd6"
       ]
     ]
   },
   {
-    "id":"93dea8c9.d15128",
+    "id":"80a04a27.27e6e8",
     "type":"outcome",
     "name":"outcome Created",
     "xml":"<outcome value='Created'>\n",
     "comments":"",
     "outputs":1,
-    "x":2086.63565826416,
-    "y":1623.0711071491241,
-    "z":"bd738317.61f1e",
+    "x":2046.6354598999023,
+    "y":1679.071237564087,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "ef316dbf.6a0cc"
+        "e6bcc367.5fb5e"
       ]
     ]
   },
   {
-    "id":"9bef71a8.f6f6b",
+    "id":"bd91de80.00dd6",
     "type":"outcome",
     "name":"outcome Other",
     "xml":"<outcome value='Other'>\n",
     "comments":"",
     "outputs":1,
-    "x":2112.3500328063965,
-    "y":1658.4996979236603,
-    "z":"bd738317.61f1e",
+    "x":2072.3498344421387,
+    "y":1714.499828338623,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "ef316dbf.6a0cc"
+        "e6bcc367.5fb5e"
       ]
     ]
   },
   {
-    "id":"da592da3.ffeb5",
+    "id":"ead3daba.b613a8",
     "type":"comment",
     "name":"Set service-data",
     "info":"",
     "comments":"",
-    "x":439.9879341125488,
-    "y":1644.4995203018188,
-    "z":"bd738317.61f1e",
+    "x":395.9879341125488,
+    "y":1678.499674797058,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"e2166c3e.a56a4",
+    "id":"917b8b10.4cc338",
     "type":"set",
     "name":"save backup copy of mdsal-ar for rollback",
     "xml":"<set>\n<parameter name='bk-service-data' value='$service-data.' />\n",
     "comments":"",
-    "x":1355.8928718566895,
-    "y":1594.2140159606934,
-    "z":"bd738317.61f1e",
+    "x":1311.8928718566895,
+    "y":1628.2141704559326,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"bf6df68d.132c38",
+    "id":"a699d7fa.a36428",
     "type":"other",
     "name":"other",
     "xml":"<outcome value='Other'>\n",
     "comments":"",
     "outputs":1,
-    "x":849.0831336975098,
-    "y":1629.928147315979,
-    "z":"bd738317.61f1e",
+    "x":805.0831336975098,
+    "y":1663.9283018112183,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "cf1f6a1b.c9ce08"
+        "bcb372d0.e3af8"
       ]
     ]
   },
   {
-    "id":"cf1f6a1b.c9ce08",
+    "id":"bcb372d0.e3af8",
     "type":"block",
     "name":"block: atomic",
     "xml":"<block atomic=\"true\">\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1029.0830841064453,
-    "y":1630.5946979522705,
-    "z":"bd738317.61f1e",
+    "x":985.0830841064453,
+    "y":1664.5948524475098,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"ef316dbf.6a0cc",
+    "id":"e6bcc367.5fb5e",
     "type":"block",
     "name":"block",
     "xml":"<block>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":2301.106174468994,
-    "y":1624.4467413425446,
-    "z":"bd738317.61f1e",
+    "x":2261.1059761047363,
+    "y":1680.4468717575073,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"390bbb92.09b7f4",
+    "id":"17504c2b.5ecc04",
     "type":"execute",
     "name":"generate vnf service-info url",
-    "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=\"`$tmp.ar.brg-vnf-id`\"/>\n",
+    "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",
     "comments":"",
     "outputs":1,
-    "x":486.3108825683594,
-    "y":1517.763334274292,
-    "z":"bd738317.61f1e",
+    "x":442.3108825683594,
+    "y":1551.7634887695312,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"9afe5c14.6ae23",
+    "id":"173f16cf.2f6b79",
     "type":"execute",
     "name":"execute RestApiCallNode - PUT service into service",
     "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",
     "comments":"",
     "outputs":1,
-    "x":560.5966033935547,
-    "y":1773.0016822814941,
-    "z":"bd738317.61f1e",
+    "x":516.5966033935547,
+    "y":1807.0018367767334,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "c87c4ec5.30548",
-        "9b0fe650.2f2a48",
-        "bddffe4d.e139c"
+        "5cf17dae.c40c44",
+        "35de11e4.9a122e",
+        "95e02b4f.ebd798"
       ]
     ]
   },
   {
-    "id":"c87c4ec5.30548",
+    "id":"5cf17dae.c40c44",
     "type":"not-found",
     "name":"not-found",
     "xml":"<outcome value='not-found'>\n",
     "comments":"",
     "outputs":1,
-    "x":1066.8094596862793,
-    "y":1767.5236949920654,
-    "z":"bd738317.61f1e",
+    "x":1022.8094596862793,
+    "y":1801.5238494873047,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "a54672fa.e0b22"
+        "6d015df7.3af934"
       ]
     ]
   },
   {
-    "id":"9b0fe650.2f2a48",
+    "id":"35de11e4.9a122e",
     "type":"failure",
     "name":"failure",
     "xml":"<outcome value='failure'>\n",
     "comments":"",
     "outputs":1,
-    "x":1057.8095092773438,
-    "y":1736.023720741272,
-    "z":"bd738317.61f1e",
+    "x":1013.8095092773438,
+    "y":1770.0238752365112,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "a54672fa.e0b22"
+        "6d015df7.3af934"
       ]
     ]
   },
   {
-    "id":"bddffe4d.e139c",
+    "id":"95e02b4f.ebd798",
     "type":"success",
     "name":"success",
     "xml":"<outcome value='success'>\n",
     "comments":"",
     "outputs":1,
-    "x":1061.5595474243164,
-    "y":1706.3808256164193,
-    "z":"bd738317.61f1e",
+    "x":1017.5595474243164,
+    "y":1740.3809801116586,
+    "z":"f97ade34.d219f",
     "wires":[
       [
-        "818c08d2.8fb6d8"
+        "90681ac.479fee8"
       ]
     ]
   },
   {
-    "id":"a54672fa.e0b22",
+    "id":"6d015df7.3af934",
     "type":"returnFailure",
     "name":"return failure",
     "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",
     "comments":"",
-    "x":1227.5595474243164,
-    "y":1736.7737445831299,
-    "z":"bd738317.61f1e",
+    "x":1183.5595474243164,
+    "y":1770.7738990783691,
+    "z":"f97ade34.d219f",
     "wires":[
 
     ]
   },
   {
-    "id":"818c08d2.8fb6d8",
+    "id":"90681ac.479fee8",
     "type":"block",
     "name":"block",
     "xml":"<block>\n",
     "atomic":"false",
     "comments":"",
     "outputs":1,
-    "x":1203.2155151367188,
-    "y":1702.5729948058724,
-    "z":"bd738317.61f1e",
+    "x":1159.2155151367188,
+    "y":1736.5731493011117,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
     ]
   },
   {
-    "id":"d22b2425.82db18",
+    "id":"75aa4c7c.d1f814",
     "type":"execute",
     "name":"generate services url",
     "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",
     "comments":"",
     "outputs":1,
-    "x":463.92994689941406,
-    "y":1732.52548122406,
-    "z":"bd738317.61f1e",
+    "x":419.92994689941406,
+    "y":1766.5256357192993,
+    "z":"f97ade34.d219f",
+    "wires":[
+      [
+
+      ]
+    ]
+  },
+  {
+    "id":"5bcb3869.fa6198",
+    "type":"get-resource",
+    "name":"get-resource IPADDR from dmaap DHCP_MAP ",
+    "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",
+    "comments":"",
+    "outputs":1,
+    "x":507.85716247558594,
+    "y":857.7501087188721,
+    "z":"f97ade34.d219f",
+    "wires":[
+      [
+
+      ]
+    ]
+  },
+  {
+    "id":"60d1bf52.ad3d6",
+    "type":"set",
+    "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip",
+    "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip' value='`$tmp.brg-wan-ip.ip`' />\n",
+    "comments":"",
+    "x":594.0000305175781,
+    "y":907.0000267028809,
+    "z":"f97ade34.d219f",
+    "wires":[
+
+    ]
+  },
+  {
+    "id":"ac82543e.0a2288",
+    "type":"set",
+    "name":"set tmp.ar.consuming-service-instance-id to find vgmux-lan-ip",
+    "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",
+    "comments":"",
+    "x":554.9999694824219,
+    "y":954.9998550415039,
+    "z":"f97ade34.d219f",
+    "wires":[
+
+    ]
+  },
+  {
+    "id":"4a0f8ea5.474a2",
+    "type":"call",
+    "name":"call GENERIC-RESOURCE-API:get-vgmux-lan-ip",
+    "xml":"<call module='GENERIC-RESOURCE-API' rpc='get-vgmux-lan-ip' mode='sync' >\n",
+    "comments":"",
+    "outputs":1,
+    "x":515.0000152587891,
+    "y":1003.3331918716431,
+    "z":"f97ade34.d219f",
     "wires":[
       [
 
       ]
     ]
+  },
+  {
+    "id":"5f66c498.33c76c",
+    "type":"set",
+    "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip",
+    "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip' value='`$tmp.vgmux-lan-ip`' />\n",
+    "comments":"",
+    "x":593.3332672119141,
+    "y":1056.6665697097778,
+    "z":"f97ade34.d219f",
+    "wires":[
+
+    ]
   }
 ]
\ No newline at end of file