- "id":"b7b31c06.60266",
- "type":"execute",
- "name":"execute RestApiCallNode - setup vgMux to BRG 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":605.1625823974609,
- "y":1510.2343139648438,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "aba59524.bc77c8",
- "e1789de0.06c8d",
- "f925fc50.89e98"
- ]
- ]
- },
- {
- "id":"aba59524.bc77c8",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":977.1372489929199,
- "y":1564.8991645798087,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "59180579.1119ac"
- ]
- ]
- },
- {
- "id":"e1789de0.06c8d",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":968.1372985839844,
- "y":1533.3991903290153,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "59180579.1119ac"
- ]
- ]
- },
- {
- "id":"f925fc50.89e98",
- "type":"success",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":971.887336730957,
- "y":1503.7562952041626,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "997a6286.bc8a6"
- ]
- ]
- },
- {
- "id":"59180579.1119ac",
- "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":1137.887336730957,
- "y":1534.1492141708732,
- "z":"87a856d9.9ec508",
- "wires":[
-
- ]
- },
- {
- "id":"997a6286.bc8a6",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",
- "comments":"",
- "outputs":1,
- "x":1113.5433044433594,
- "y":1499.9484643936157,
- "z":"87a856d9.9ec508",
- "wires":[
- [
-
- ]
- ]
- },
- {
- "id":"4de82e6d.f68d1",
- "type":"set",
- "name":"set vgMUX to BRG VXLAN Tunnel Port Props",
- "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`'vxlanTun' + $brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vgmux-bearer-ip` \" />\n<parameter name='tmp.tunnel-dest-ip' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-ip-address` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vgmux-bearer-ip` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni` \" />",
- "comments":"",
- "x":546.273681640625,
- "y":1391.9011373519897,
- "z":"87a856d9.9ec508",
- "wires":[
-
- ]
- },
- {
- "id":"39a8ddb.60b2222",
- "type":"execute",
- "name":"generate full vgMUX-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":529.6070098876953,
- "y":1450.2342700958252,
- "z":"87a856d9.9ec508",
- "wires":[
- [
-
- ]
- ]
- },
- {
- "id":"33ab2b01.6cab74",
- "type":"execute",
- "name":"generate honeycomb-url to vgMUX",
- "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.allotted-resource-operation-information.brg-request-input.vgmux-bearer-ip`\"/>\n",
- "comments":"",
- "outputs":1,
- "x":516.2736663818359,
- "y":1336.900857925415,
- "z":"87a856d9.9ec508",
- "wires":[
- [
-
- ]
- ]
- },
- {
- "id":"a21afe27.1472c",
- "type":"execute",
- "name":"execute RestApiCallNode - setup vgMUX to BRG vxlan tunnel xconnect",
- "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",
- "comments":"",
- "outputs":1,
- "x":623.3333129882812,
- "y":1609.9998779296875,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "9f350be0.c73188",
- "b487c24.98b254",
- "b0b52d79.1d3db"
- ]
- ]
- },
- {
- "id":"9f350be0.c73188",
- "type":"not-found",
- "name":"not-found",
- "xml":"<outcome value='not-found'>\n",
- "comments":"",
- "outputs":1,
- "x":974.3080177307129,
- "y":1690.6647199615836,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "6d663e66.14fad"
- ]
- ]
- },
- {
- "id":"b487c24.98b254",
- "type":"failure",
- "name":"failure",
- "xml":"<outcome value='failure'>\n",
- "comments":"",
- "outputs":1,
- "x":965.3080673217773,
- "y":1659.1647457107902,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "6d663e66.14fad"
- ]
- ]
- },
- {
- "id":"b0b52d79.1d3db",
- "type":"success",
- "name":"success",
- "xml":"<outcome value='success'>\n",
- "comments":"",
- "outputs":1,
- "x":969.05810546875,
- "y":1629.5218505859375,
- "z":"87a856d9.9ec508",
- "wires":[
- [
- "c9430c21.30428"
- ]
- ]
- },
- {
- "id":"6d663e66.14fad",
- "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":1135.05810546875,
- "y":1659.914769552648,
- "z":"87a856d9.9ec508",
- "wires":[
-
- ]
- },
- {
- "id":"c9430c21.30428",
- "type":"block",
- "name":"block",
- "xml":"<block>\n",
- "atomic":"false",