+ "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip' value='`$tmp.tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-lan-ip`' />\n",
+ "comments":"",
+ "x":643.6665954589844,
+ "y":1113.9998979568481,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"45028fce.bc261",
+ "type":"comment",
+ "name":"Change to POST and just update service?",
+ "info":"",
+ "comments":"",
+ "x":675.6905326843262,
+ "y":2536.261999130249,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"ddefeb7c.fde178",
+ "type":"execute",
+ "name":"execute RestApiCallNode - setup vG 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":619.5000534057617,
+ "y":2011.50009059906,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "3f1edea5.6a50d2",
+ "8888b0ab.16315",
+ "3526cde7.569032"
+ ]
+ ]
+ },
+ {
+ "id":"3f1edea5.6a50d2",
+ "type":"not-found",
+ "name":"not-found",
+ "xml":"<outcome value='not-found'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":953.4748420715332,
+ "y":2070.8317026123405,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "c0fc11de.72caa"
+ ]
+ ]
+ },
+ {
+ "id":"8888b0ab.16315",
+ "type":"failure",
+ "name":"failure",
+ "xml":"<outcome value='failure'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":944.4748916625977,
+ "y":2039.331728361547,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "c0fc11de.72caa"
+ ]
+ ]
+ },
+ {
+ "id":"3526cde7.569032",
+ "type":"success",
+ "name":"success",
+ "xml":"<outcome value='success'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":948.2249298095703,
+ "y":2009.6888332366943,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "efec532d.a134e"
+ ]
+ ]
+ },
+ {
+ "id":"c0fc11de.72caa",
+ "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 setting up vxlan tunnel\" />\n",
+ "comments":"",
+ "x":1114.2249298095703,
+ "y":2040.081752203405,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"efec532d.a134e",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":1089.8808975219727,
+ "y":2005.8810024261475,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"127d8c70.64ae14",
+ "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":599.5001831054688,
+ "y":2118.167016029358,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "4d574e47.5fa9a",
+ "5d98b669.650688",
+ "d9d3976b.be5808"
+ ]
+ ]
+ },
+ {
+ "id":"4d574e47.5fa9a",
+ "type":"not-found",
+ "name":"not-found",
+ "xml":"<outcome value='not-found'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":944.1415214538574,
+ "y":2198.8317607864738,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "414d312.d89cfd"
+ ]
+ ]
+ },
+ {
+ "id":"5d98b669.650688",
+ "type":"failure",
+ "name":"failure",
+ "xml":"<outcome value='failure'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":935.1415710449219,
+ "y":2167.3317865356803,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "414d312.d89cfd"
+ ]
+ ]
+ },
+ {
+ "id":"d9d3976b.be5808",
+ "type":"success",
+ "name":"success",
+ "xml":"<outcome value='success'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":938.8916091918945,
+ "y":2137.6888914108276,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "ea34928b.af361"
+ ]
+ ]
+ },
+ {
+ "id":"414d312.d89cfd",
+ "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 setting up bridge domain\" />\n",
+ "comments":"",
+ "x":1104.8916091918945,
+ "y":2168.081810377538,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"ea34928b.af361",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":1080.5475769042969,
+ "y":2133.8810606002808,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"dad15ca1.13a96",
+ "type":"set",
+ "name":"set vG 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.vgmux-bearer-ip` \" />\n<parameter name='tmp.tunnel-dest-ip' value=\"`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-ip` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni` \" />",
+ "comments":"",
+ "x":549.2779006958008,
+ "y":1911.500280380249,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"898815a9.12a638",
+ "type":"execute",
+ "name":"generate full vg-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":528.9445419311523,
+ "y":1966.5000591278076,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"890a1877.5b6b98",
+ "type":"execute",
+ "name":"generate honeycomb-url to vG",
+ "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.vg-mgmt-ip`\"/>\n",
+ "comments":"",
+ "outputs":1,
+ "x":508.2779312133789,
+ "y":1851.833254814148,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"4ebb5d6e.3b72b4",
+ "type":"set",
+ "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-ip",
+ "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-ip' value='`$tmp.tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip`' />\n",
+ "comments":"",
+ "x":620.3333740234375,
+ "y":1563.9999618530273,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"94c1462c.043b88",
+ "type":"set",
+ "name":"set brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip",
+ "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip' value='`$tmp.tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-bearer-ip`' />\n",
+ "comments":"",
+ "x":658.6666717529297,
+ "y":1613.999891281128,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"cf968917.b69b88",
+ "type":"comment",
+ "name":"Setup VXLAN Tunnel - vG to vgMUX",
+ "info":"",
+ "comments":"",
+ "x":205.3333282470703,
+ "y":1567.3331804275513,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"e863c266.46b5f",
+ "type":"comment",
+ "name":"Setup VXLAN Tunnel - vBRG to vgMUX",
+ "info":"",
+ "comments":"",
+ "x":207.5,
+ "y":917.3334655761719,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"80306115.be919",
+ "type":"comment",
+ "name":"Get vg-mgmt-ip",
+ "info":"brg tunnelxconnn consuming-service-instance-id\nfound in services as service-instance-id",
+ "comments":"",
+ "x":203.33334350585938,
+ "y":1761.6669359207153,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"2b05ed04.a37c82",
+ "type":"set",
+ "name":"set tmp.search.consuming-service-instance-id to find vg-mgmt-ip",
+ "xml":"<set>\n<parameter name='tmp.search.consuming-service-instance-id' value='`$brg-topology-operation-input.allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id`' />\n",
+ "comments":"",
+ "x":606.4999313354492,
+ "y":1685.6662950515747,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"64e3c820.beeeb8",
+ "type":"for",
+ "name":"for tmp.servicedata.services",
+ "xml":"<for index='serviceidx' start='0' end='`$tmp.servicedata.services.service_length`' >\n\n\n",
+ "comments":"",
+ "outputs":1,
+ "x":1460.666519165039,
+ "y":1628.333200454712,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "437927a8.b53de8"
+ ]
+ ]
+ },
+ {
+ "id":"59a607df.c64478",
+ "type":"get-resource",
+ "name":"get-resource generic-resource-api:services ",
+ "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='services' pfx='tmp.servicedata' >\n",
+ "comments":"",
+ "outputs":1,
+ "x":544.0000381469727,
+ "y":1762.9997386932373,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "d452dcaa.3bee9",
+ "6e818aeb.a4aa04",
+ "eac2b2a0.0610f"
+ ]
+ ]
+ },
+ {
+ "id":"437927a8.b53de8",
+ "type":"switchNode",
+ "name":"switch parent-service-instance-id matches",
+ "xml":"<switch test='`$tmp.servicedata.services.service[$serviceidx].service-instance-id == $tmp.search.consuming-service-instance-id`'>\n\n\n",
+ "comments":"",
+ "outputs":1,
+ "x":1545.3333435058594,
+ "y":1709.0000143051147,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "82666621.1fed58"
+ ]
+ ]
+ },
+ {
+ "id":"82666621.1fed58",
+ "type":"success",
+ "name":"true",
+ "xml":"<outcome value='true'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1799.3333358764648,
+ "y":1701.6665935516357,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "d33ebff.e8b004"
+ ]
+ ]
+ },
+ {
+ "id":"d452dcaa.3bee9",
+ "type":"success",
+ "name":"success",
+ "xml":"<outcome value='success'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1140.6666259765625,
+ "y":1664.999797821045,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "64e3c820.beeeb8"
+ ]
+ ]
+ },
+ {
+ "id":"eac2b2a0.0610f",
+ "type":"not-found",
+ "name":"not-found",
+ "xml":"<outcome value='not-found'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1118.999984741211,
+ "y":1731.6664905548096,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "7856f029.11793"
+ ]
+ ]
+ },
+ {
+ "id":"6e818aeb.a4aa04",
+ "type":"failure",
+ "name":"failure",
+ "xml":"<outcome value='failure'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1110.0000343322754,
+ "y":1700.166516304016,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "7856f029.11793"
+ ]
+ ]
+ },
+ {
+ "id":"7856f029.11793",
+ "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 getting GENERIC-RESOURCE-API:services\" />\n",
+ "comments":"",
+ "x":1279.750072479248,
+ "y":1700.916540145874,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"d33ebff.e8b004",
+ "type":"for",
+ "name":"for service vnfs",
+ "xml":"<for index='vnfidx' start='0' end='`$tmp.servicedata.services.service[$serviceidx].service-data.vnfs.vnf_length`' >\n\n\n",
+ "comments":"",
+ "outputs":1,
+ "x":1937.6664505004883,
+ "y":1549.9999027252197,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "ee53e172.1bc7a"
+ ]
+ ]
+ },
+ {
+ "id":"150fc701.eb64c9",
+ "type":"switchNode",
+ "name":"switch parent-service-instance-id matches",
+ "xml":"<switch test='`$tmp.servicedata.services.service[$serviceidx].service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfmoduleidx].vf-module-data.vf-module-topology.vf-module-parameters.param[$paramidx].name == vgw_private_ip_1`'>\n\n\n",
+ "comments":"",
+ "outputs":1,
+ "x":2409.666473388672,
+ "y":1631.6666069030762,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "48cef87f.eedc58"
+ ]
+ ]
+ },
+ {
+ "id":"48cef87f.eedc58",
+ "type":"success",
+ "name":"true",
+ "xml":"<outcome value='true'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":2659.6665573120117,
+ "y":1633.3333415985107,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "f0d4ba11.70cc48"
+ ]
+ ]
+ },
+ {
+ "id":"ee53e172.1bc7a",
+ "type":"for",
+ "name":"for service vnf vf-modules",
+ "xml":"<for index='vfmoduleidx' start='0' end='`$tmp.servicedata.services.service[$serviceidx].service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n\n\n",
+ "comments":"",
+ "outputs":1,
+ "x":2074.666603088379,
+ "y":1634.9998846054077,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "e6adb279.1c4ce"
+ ]
+ ]
+ },
+ {
+ "id":"e6adb279.1c4ce",
+ "type":"for",
+ "name":"for service vnfs vf-modules parameters",
+ "xml":"<for index='paramidx' start='0' end='`$tmp.servicedata.services.service[$serviceidx].service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfmoduleidx].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n\n\n",
+ "comments":"",
+ "outputs":1,
+ "x":2164.6665802001953,
+ "y":1719.9998531341553,
+ "z":"5fc74ec4.a79bd",
+ "wires":[
+ [
+ "150fc701.eb64c9"
+ ]
+ ]
+ },
+ {
+ "id":"f0d4ba11.70cc48",
+ "type":"set",
+ "name":"set vg-mgmt-ip",
+ "xml":"<set>\n<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-mgmt-ip' value='`$tmp.servicedata.services.service[$serviceidx].service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfmoduleidx].vf-module-data.vf-module-topology.vf-module-parameters.param[$paramidx].value`' />\n",