aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json
diff options
context:
space:
mode:
authorMarcus G K Williams <marcus.williams@intel.com>2017-11-14 08:48:46 -0800
committerMarcus G K Williams <marcus.williams@intel.com>2017-11-14 09:10:31 -0800
commita347e10eee024991ff7c0bf7487aa9e2b78f9a84 (patch)
tree4a96d671a3e6faaf1638ea9661ba6de9783dffa7 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json
parent42fb5723b7b11e94fc7d5ab901ae293b7fd67d7f (diff)
Fix brg-topo DGs
1. Added get vg-mgmt-ip in brg-topo-activate so that vg tunnel could be properple setup 2. Added get vbrg-wan-ip to brg-topo-deactivate so that vxlan tunnels can be removed 3. Updated AA&I updates calls to include correct brg variables for global-customer-id, service-type and service-instance-id Issue-Id: SDNC-195 Change-Id: I9470cd782a3bd00fa9332dd7141c28151054b75f Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: becd9978df3428354646a48c2d106177f6477695
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json')
-rwxr-xr-xplatform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json1010
1 files changed, 740 insertions, 270 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json
index 4a2921bf..25e2c1e6 100755
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_brg-topology-operation-deactivate.json
@@ -1,20 +1,20 @@
[
{
- "id":"b1368b6a.79f1a8",
+ "id":"19d07461.d6c8dc",
"type":"dgstart",
"name":"DGSTART",
"outputs":1,
- "x":190,
- "y":152,
- "z":"cfbd0a6c.d9ad88",
+ "x":295,
+ "y":230,
+ "z":"e9217625.0cac48",
"wires":[
[
- "12b1f941.e5c857"
+ "b51a5c82.11d2c"
]
]
},
{
- "id":"12b1f941.e5c857",
+ "id":"b51a5c82.11d2c",
"type":"service-logic",
"name":"GENERIC-RESOURCE-API ${project.version}",
"module":"GENERIC-RESOURCE-API",
@@ -22,138 +22,150 @@
"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":286.2380790710449,
- "y":212.95239067077637,
- "z":"cfbd0a6c.d9ad88",
+ "x":391.2380790710449,
+ "y":290.95239067077637,
+ "z":"e9217625.0cac48",
"wires":[
[
- "ead35ce1.7590c"
+ "cbce84a6.ea6878"
]
]
},
{
- "id":"ead35ce1.7590c",
+ "id":"cbce84a6.ea6878",
"type":"method",
"name":"brg-topology-operation-deactivate",
"xml":"<method rpc='brg-topology-operation-deactivate' mode='sync'>\n",
"comments":"",
"outputs":1,
- "x":332.15485763549805,
- "y":248.19044589996338,
- "z":"cfbd0a6c.d9ad88",
+ "x":437.15485763549805,
+ "y":326.1904458999634,
+ "z":"e9217625.0cac48",
"wires":[
[
- "43ac6a92.ae5614"
+ "d87b2e8f.9e2a"
]
]
},
{
- "id":"43ac6a92.ae5614",
+ "id":"d87b2e8f.9e2a",
"type":"block",
"name":"block : atomic",
"xml":"<block atomic=\"true\">",
"atomic":"true",
"comments":"",
"outputs":1,
- "x":240.47619247436523,
- "y":391.5237879753113,
- "z":"cfbd0a6c.d9ad88",
+ "x":307.1428680419922,
+ "y":1181.1903924942017,
+ "z":"e9217625.0cac48",
"wires":[
[
- "5240106e.51f63",
- "4041ad49.6fc0d4",
- "8ab3e562.da6e08",
- "93b0d070.cd7e4",
- "1ece8431.af7f1c",
- "ed70c5f.ebd7238",
- "200bf55c.cf936a",
- "1b6f2d6b.b6acc3",
- "2a34aedb.e483f2",
- "b55b0b52.943508",
- "5aa308ce.dba788",
- "626eb0d9.80b5f",
- "5cd8e25b.be574c",
- "7f3389ec.e8f508",
- "eafe9188.1bdec",
- "cfdbb6d9.39b868"
+ "7ae0972.e4f1268",
+ "26fbe137.e4574e",
+ "aaf75937.121618",
+ "b30da41f.59e8b8",
+ "eb6cb316.78bb2",
+ "f3f334a7.8ab7b8",
+ "b0c0958f.205828",
+ "9feaac31.accea",
+ "8072d7bb.d79ca8",
+ "a4c2b092.b5846",
+ "9bf033cd.906e8",
+ "2df95cec.fa5264",
+ "22dee26e.7d616e",
+ "61e540d8.506e5",
+ "4ae758c7.df5428",
+ "8327d1cf.254a7",
+ "9ae0d8e5.63af48",
+ "8261fdb3.cd771",
+ "1191ada7.aeacf2",
+ "2ab5bcc1.a3bc14",
+ "2271a9db.dcd166",
+ "b4b8750b.6fbcb8",
+ "f73b7075.c24df",
+ "1a8316bd.e83579",
+ "2bcd212a.e454ce",
+ "e1525574.ab65b8",
+ "ad5e9d69.70e36",
+ "8bd7c7a7.dbe958"
]
]
},
{
- "id":"4041ad49.6fc0d4",
+ "id":"26fbe137.e4574e",
"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":499.00007247924805,
- "y":1351.2144346237183,
- "z":"cfbd0a6c.d9ad88",
+ "x":604.0001449584961,
+ "y":2012.5478963851929,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"5240106e.51f63",
+ "id":"7ae0972.e4f1268",
"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":527.7539863586426,
- "y":1315.3369808197021,
- "z":"cfbd0a6c.d9ad88",
+ "x":632.7540588378906,
+ "y":1976.6704425811768,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"b55b0b52.943508",
+ "id":"a4c2b092.b5846",
"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='PendingDelete' />\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":546.7542419433594,
- "y":772.0514221191406,
- "z":"cfbd0a6c.d9ad88",
+ "x":651.7542419433594,
+ "y":850.0514221191406,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"93b0d070.cd7e4",
+ "id":"b30da41f.59e8b8",
"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":502.73806381225586,
- "y":365.33332538604736,
- "z":"cfbd0a6c.d9ad88",
+ "x":607.7380638122559,
+ "y":443.33332538604736,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"8ab3e562.da6e08",
+ "id":"aaf75937.121618",
"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":549.9973258972168,
- "y":331.59259128570557,
- "z":"cfbd0a6c.d9ad88",
+ "x":654.9973258972168,
+ "y":409.59259128570557,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"1ece8431.af7f1c",
+ "id":"eb6cb316.78bb2",
"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":508.9934196472168,
- "y":401.23152446746826,
- "z":"cfbd0a6c.d9ad88",
+ "x":613.9934196472168,
+ "y":479.23152446746826,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -161,32 +173,32 @@
]
},
{
- "id":"200bf55c.cf936a",
+ "id":"b0c0958f.205828",
"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":571.5187530517578,
- "y":562.4594917297363,
- "z":"cfbd0a6c.d9ad88",
+ "x":676.5187530517578,
+ "y":640.4594917297363,
+ "z":"e9217625.0cac48",
"wires":[
[
- "f39b8deb.2497f",
- "d49f2a4f.e657d8"
+ "3d7103cd.4568dc",
+ "b351e6c5.43b968"
]
]
},
{
- "id":"ed70c5f.ebd7238",
+ "id":"f3f334a7.8ab7b8",
"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":537.0648536682129,
- "y":461.0172290802002,
- "z":"cfbd0a6c.d9ad88",
+ "x":642.0648536682129,
+ "y":539.0172290802002,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -194,307 +206,307 @@
]
},
{
- "id":"f39b8deb.2497f",
+ "id":"3d7103cd.4568dc",
"type":"success",
"name":"success",
"xml":"<outcome value='success'>\n",
"comments":"",
"outputs":1,
- "x":828.8148918151855,
- "y":561.2672522068024,
- "z":"cfbd0a6c.d9ad88",
+ "x":933.8148918151855,
+ "y":639.2672522068024,
+ "z":"e9217625.0cac48",
"wires":[
[
- "ce9ddc22.dec85"
+ "d40621a.b89f9e"
]
]
},
{
- "id":"1b6f2d6b.b6acc3",
+ "id":"9feaac31.accea",
"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":579.5293121337891,
- "y":915.4341316223145,
- "z":"cfbd0a6c.d9ad88",
+ "x":684.5293121337891,
+ "y":993.4341316223145,
+ "z":"e9217625.0cac48",
"wires":[
[
- "db318a86.7bd678",
- "474202ef.7e725c",
- "926f3792.9db948"
+ "dbc1a30c.d1d4b",
+ "d6035553.162138",
+ "27b4f86b.b5c548"
]
]
},
{
- "id":"db318a86.7bd678",
+ "id":"dbc1a30c.d1d4b",
"type":"not-found",
"name":"not-found",
"xml":"<outcome value='not-found'>\n",
"comments":"",
"outputs":1,
- "x":849.837329864502,
- "y":968.432332418859,
- "z":"cfbd0a6c.d9ad88",
+ "x":954.837329864502,
+ "y":1046.432332418859,
+ "z":"e9217625.0cac48",
"wires":[
[
- "5154d5ef.e6843c"
+ "29141af9.f07796"
]
]
},
{
- "id":"474202ef.7e725c",
+ "id":"d6035553.162138",
"type":"failure",
"name":"failure",
"xml":"<outcome value='failure'>\n",
"comments":"",
"outputs":1,
- "x":840.8373794555664,
- "y":936.9323581680655,
- "z":"cfbd0a6c.d9ad88",
+ "x":945.8373794555664,
+ "y":1014.9323581680655,
+ "z":"e9217625.0cac48",
"wires":[
[
- "5154d5ef.e6843c"
+ "29141af9.f07796"
]
]
},
{
- "id":"926f3792.9db948",
+ "id":"27b4f86b.b5c548",
"type":"success",
"name":"success",
"xml":"<outcome value='success'>\n",
"comments":"",
"outputs":1,
- "x":844.5874176025391,
- "y":907.2894630432129,
- "z":"cfbd0a6c.d9ad88",
+ "x":949.5874176025391,
+ "y":985.2894630432129,
+ "z":"e9217625.0cac48",
"wires":[
[
- "8791e6de.a42b98"
+ "d196b6e8.482b88"
]
]
},
{
- "id":"5154d5ef.e6843c",
+ "id":"29141af9.f07796",
"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":1010.5874176025391,
- "y":937.6823820099235,
- "z":"cfbd0a6c.d9ad88",
+ "x":1115.587417602539,
+ "y":1015.6823820099235,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"ce9ddc22.dec85",
+ "id":"d40621a.b89f9e",
"type":"block",
"name":"block: atomic",
"xml":"<block atomic=\"true\">\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":1009.8148460388184,
- "y":561.7672016620636,
- "z":"cfbd0a6c.d9ad88",
+ "x":1114.8148460388184,
+ "y":639.7672016620636,
+ "z":"e9217625.0cac48",
"wires":[
[
- "ff1004f9.28ea78",
- "19849de2.3d4d92"
+ "8b0ae8d2.ae99c8",
+ "7e3f871e.ecf428"
]
]
},
{
- "id":"ff1004f9.28ea78",
+ "id":"8b0ae8d2.ae99c8",
"type":"switchNode",
"name":"switch brg length",
"xml":"<switch test='`$mdsal-ar.brg-allotted-resource_length`'>\n",
"comments":"",
"outputs":1,
- "x":1255.6720924377441,
- "y":596.052964925766,
- "z":"cfbd0a6c.d9ad88",
+ "x":1360.6720924377441,
+ "y":674.052964925766,
+ "z":"e9217625.0cac48",
"wires":[
[
- "458ac54.5835d3c"
+ "3519e6a7.d8988a"
]
]
},
{
- "id":"458ac54.5835d3c",
+ "id":"3519e6a7.d8988a",
"type":"other",
"name":"outcome 1",
"xml":"<outcome value='1'>\n",
"comments":"",
"outputs":1,
- "x":1446.6720962524414,
- "y":596.0529625415802,
- "z":"cfbd0a6c.d9ad88",
+ "x":1551.6720962524414,
+ "y":674.0529625415802,
+ "z":"e9217625.0cac48",
"wires":[
[
- "136fba4.57e3046"
+ "7664af61.543e6"
]
]
},
{
- "id":"1ea71bb3.19d8e4",
+ "id":"1e13655e.0cb03b",
"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":1846.5292320251465,
- "y":596.6243867874146,
- "z":"cfbd0a6c.d9ad88",
+ "x":1951.5292320251465,
+ "y":674.6243867874146,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"136fba4.57e3046",
+ "id":"7664af61.543e6",
"type":"block",
"name":"block: atomic",
"xml":"<block atomic='true'>\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":1617.5290794372559,
- "y":596.6244316101074,
- "z":"cfbd0a6c.d9ad88",
+ "x":1722.5290794372559,
+ "y":674.6244316101074,
+ "z":"e9217625.0cac48",
"wires":[
[
- "1ea71bb3.19d8e4",
- "15299399.5fe66c",
- "7d67802a.2315b"
+ "1e13655e.0cb03b",
+ "110fdea6.c07091",
+ "8aa660c8.2e3bc"
]
]
},
{
- "id":"15299399.5fe66c",
+ "id":"110fdea6.c07091",
"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":1844.5294761657715,
- "y":664.0529508590698,
- "z":"cfbd0a6c.d9ad88",
+ "x":1949.5294761657715,
+ "y":742.0529508590698,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"6ea9033a.90574c",
+ "id":"370dee36.76c892",
"type":"comment",
"name":"GET brg-allotted-resource from mdsal",
"info":"",
"comments":"",
- "x":596.8148155212402,
- "y":525.7671926021576,
- "z":"cfbd0a6c.d9ad88",
+ "x":701.8148155212402,
+ "y":603.7671926021576,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"7d67802a.2315b",
+ "id":"8aa660c8.2e3bc",
"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":1854.52925491333,
- "y":629.6243848800659,
- "z":"cfbd0a6c.d9ad88",
+ "x":1959.52925491333,
+ "y":707.6243848800659,
+ "z":"e9217625.0cac48",
"wires":[
[
- "fc9ac41f.bda4b8",
- "9800dbd8.9df6f8"
+ "82998854.7cca78",
+ "e508d9e1.961e08"
]
]
},
{
- "id":"fc9ac41f.bda4b8",
+ "id":"82998854.7cca78",
"type":"outcome",
"name":"outcome Created",
"xml":"<outcome value='Created'>\n",
"comments":"",
"outputs":1,
- "x":2066.1292114257812,
- "y":590.6243848800659,
- "z":"cfbd0a6c.d9ad88",
+ "x":2171.1292114257812,
+ "y":668.6243848800659,
+ "z":"e9217625.0cac48",
"wires":[
[
- "4ecdc306.3d668c"
+ "50f62ac1.c59a04"
]
]
},
{
- "id":"9800dbd8.9df6f8",
+ "id":"e508d9e1.961e08",
"type":"outcome",
"name":"outcome Other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":2091.8435859680176,
- "y":626.052975654602,
- "z":"cfbd0a6c.d9ad88",
+ "x":2196.8435859680176,
+ "y":704.052975654602,
+ "z":"e9217625.0cac48",
"wires":[
[
- "4ecdc306.3d668c"
+ "50f62ac1.c59a04"
]
]
},
{
- "id":"a5baa812.7889a8",
+ "id":"fb0878b6.3dd068",
"type":"comment",
"name":"Set allotted-resource-identifiers",
"info":"",
"comments":"",
- "x":552.3386383056641,
- "y":616.3386459350586,
- "z":"cfbd0a6c.d9ad88",
+ "x":657.3386383056641,
+ "y":694.3386459350586,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"19849de2.3d4d92",
+ "id":"7e3f871e.ecf428",
"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":1335.3864250183105,
- "y":561.7672936916351,
- "z":"cfbd0a6c.d9ad88",
+ "x":1440.3864250183105,
+ "y":639.7672936916351,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"2e3d5c7a.18d844",
+ "id":"bee5e191.1671a",
"type":"comment",
"name":"Create urls for restapi",
"info":"",
"comments":"",
- "x":507.9576606750488,
- "y":430.6243562698364,
- "z":"cfbd0a6c.d9ad88",
+ "x":612.9576606750488,
+ "y":508.6243562698364,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"8791e6de.a42b98",
+ "id":"d196b6e8.482b88",
"type":"block",
"name":"block",
"xml":"<block>\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":986.2433853149414,
- "y":903.481632232666,
- "z":"cfbd0a6c.d9ad88",
+ "x":1091.2433853149414,
+ "y":981.481632232666,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -502,28 +514,28 @@
]
},
{
- "id":"2006c488.4b571c",
+ "id":"6b4e5a43.fa5094",
"type":"comment",
"name":"TO DO: vnf/put parent",
"info":"",
"comments":"",
- "x":514.5290908813477,
- "y":808.9101696014404,
- "z":"cfbd0a6c.d9ad88",
+ "x":619.5290908813477,
+ "y":886.9101696014404,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"2a34aedb.e483f2",
+ "id":"8072d7bb.d79ca8",
"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":494.24338150024414,
- "y":733.4815549850464,
- "z":"cfbd0a6c.d9ad88",
+ "x":600.9100952148438,
+ "y":808.1482043266296,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -531,32 +543,32 @@
]
},
{
- "id":"d49f2a4f.e657d8",
+ "id":"b351e6c5.43b968",
"type":"other",
"name":"other",
"xml":"<outcome value='Other'>\n",
"comments":"",
"outputs":1,
- "x":828.5766868591309,
- "y":597.4814250469208,
- "z":"cfbd0a6c.d9ad88",
+ "x":933.5766868591309,
+ "y":675.4814250469208,
+ "z":"e9217625.0cac48",
"wires":[
[
- "86c72346.242ce"
+ "a6e56111.1a042"
]
]
},
{
- "id":"86c72346.242ce",
+ "id":"a6e56111.1a042",
"type":"block",
"name":"block: atomic",
"xml":"<block atomic=\"true\">\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":1008.5766372680664,
- "y":598.1479756832123,
- "z":"cfbd0a6c.d9ad88",
+ "x":1113.5766372680664,
+ "y":676.1479756832123,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -564,29 +576,29 @@
]
},
{
- "id":"5aa308ce.dba788",
+ "id":"9bf033cd.906e8",
"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":477.24342346191406,
- "y":653.1481666564941,
- "z":"cfbd0a6c.d9ad88",
+ "x":572.2434272766113,
+ "y":732.8148908615112,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"4ecdc306.3d668c",
+ "id":"50f62ac1.c59a04",
"type":"block",
"name":"block",
"xml":"<block>\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":2280.5997276306152,
- "y":592.0000190734863,
- "z":"cfbd0a6c.d9ad88",
+ "x":2385.5997276306152,
+ "y":670.0000190734863,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -594,157 +606,157 @@
]
},
{
- "id":"626eb0d9.80b5f",
+ "id":"2df95cec.fa5264",
"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=\"out-of-service-path\" />\n",
+ "xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $brg-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $brg-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $brg-topology-operation-input.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=\"out-of-service-path\" />\n",
"comments":"",
"outputs":1,
- "x":541.4285736083984,
- "y":850.571418762207,
- "z":"cfbd0a6c.d9ad88",
+ "x":641.4286422729492,
+ "y":928.5714282989502,
+ "z":"e9217625.0cac48",
"wires":[
[
- "55679e7c.9aaca",
- "9789b3b6.f6b9b"
+ "735fa50a.5aedac",
+ "f4f3106d.3709a"
]
]
},
{
- "id":"55679e7c.9aaca",
+ "id":"735fa50a.5aedac",
"type":"failure",
"name":"failure",
"xml":"<outcome value='failure'>\n",
"comments":"",
"outputs":1,
- "x":797.1904830932617,
- "y":833.5239224433899,
- "z":"cfbd0a6c.d9ad88",
+ "x":902.1904830932617,
+ "y":911.5239224433899,
+ "z":"e9217625.0cac48",
"wires":[
[
- "d1259b.54422a68"
+ "acbfb4ad.063528"
]
]
},
{
- "id":"d1259b.54422a68",
+ "id":"acbfb4ad.063528",
"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":963.7143630981445,
- "y":845.1429934501648,
- "z":"cfbd0a6c.d9ad88",
+ "x":1068.7143630981445,
+ "y":923.1429934501648,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"9789b3b6.f6b9b",
+ "id":"f4f3106d.3709a",
"type":"failure",
"name":"not-found",
"xml":"<outcome value='not-found'>\n",
"comments":"",
"outputs":1,
- "x":804.2857704162598,
- "y":866.2858901023865,
- "z":"cfbd0a6c.d9ad88",
+ "x":909.2857704162598,
+ "y":944.2858901023865,
+ "z":"e9217625.0cac48",
"wires":[
[
- "d1259b.54422a68"
+ "acbfb4ad.063528"
]
]
},
{
- "id":"cfdbb6d9.39b868",
+ "id":"8327d1cf.254a7",
"type":"execute",
"name":"execute RestApiCallNode - delete BRG to vgMux vxlan tunnel port",
"xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\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='DELETE' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
"comments":"",
"outputs":1,
- "x":651.999885559082,
- "y":1190.9600343704224,
- "z":"cfbd0a6c.d9ad88",
+ "x":757.0000038146973,
+ "y":1469.37672996521,
+ "z":"e9217625.0cac48",
"wires":[
[
- "60fe5d9f.60f184",
- "12fb290a.532107",
- "8c68b450.cb4ca8"
+ "6e32aa45.5f8194",
+ "a77ca19a.6e5a6",
+ "ad3f19e9.8b3568"
]
]
},
{
- "id":"60fe5d9f.60f184",
+ "id":"6e32aa45.5f8194",
"type":"not-found",
"name":"not-found",
"xml":"<outcome value='not-found'>\n",
"comments":"",
"outputs":1,
- "x":1073.9747009277344,
- "y":1228.2916730865836,
- "z":"cfbd0a6c.d9ad88",
+ "x":1178.9748191833496,
+ "y":1506.7083686813712,
+ "z":"e9217625.0cac48",
"wires":[
[
- "3f807288.3735ae"
+ "bf98dc87.5b3c4"
]
]
},
{
- "id":"12fb290a.532107",
+ "id":"a77ca19a.6e5a6",
"type":"failure",
"name":"failure",
"xml":"<outcome value='failure'>\n",
"comments":"",
"outputs":1,
- "x":1064.9747505187988,
- "y":1196.7916988357902,
- "z":"cfbd0a6c.d9ad88",
+ "x":1169.974868774414,
+ "y":1475.2083944305778,
+ "z":"e9217625.0cac48",
"wires":[
[
- "3f807288.3735ae"
+ "bf98dc87.5b3c4"
]
]
},
{
- "id":"8c68b450.cb4ca8",
+ "id":"ad3f19e9.8b3568",
"type":"success",
"name":"success",
"xml":"<outcome value='success'>\n",
"comments":"",
"outputs":1,
- "x":1068.7247886657715,
- "y":1167.1488037109375,
- "z":"cfbd0a6c.d9ad88",
+ "x":1173.7249069213867,
+ "y":1445.565499305725,
+ "z":"e9217625.0cac48",
"wires":[
[
- "c8426dda.6a34f"
+ "6e42584e.b2d738"
]
]
},
{
- "id":"3f807288.3735ae",
+ "id":"bf98dc87.5b3c4",
"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",
+ "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 deleting vxlan tunnel\" />\n",
"comments":"",
- "x":1234.7247886657715,
- "y":1197.541722677648,
- "z":"cfbd0a6c.d9ad88",
+ "x":1339.7249069213867,
+ "y":1475.9584182724357,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"c8426dda.6a34f",
+ "id":"6e42584e.b2d738",
"type":"block",
"name":"block",
"xml":"<block>\n",
"atomic":"false",
"comments":"",
"outputs":1,
- "x":1210.3807563781738,
- "y":1163.3409729003906,
- "z":"cfbd0a6c.d9ad88",
+ "x":1315.380874633789,
+ "y":1441.7576684951782,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -752,28 +764,28 @@
]
},
{
- "id":"7f3389ec.e8f508",
+ "id":"61e540d8.506e5",
"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.allotted-resource-operation-information.brg-request-input.brg-wan-ip-address` \" />\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` \" />",
+ "name":"set BRG to vgMUX VXLAN Tunnel Name",
+ "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`'vxlanTun' + $brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vgmux-lan-ip` \" />",
"comments":"",
- "x":590.1111335754395,
- "y":1089.9602737426758,
- "z":"cfbd0a6c.d9ad88",
+ "x":681.7779541015625,
+ "y":1368.3770236968994,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"eafe9188.1bdec",
+ "id":"4ae758c7.df5428",
"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":559.7776985168457,
- "y":1134.9600372314453,
- "z":"cfbd0a6c.d9ad88",
+ "x":664.7778167724609,
+ "y":1413.376732826233,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -781,15 +793,15 @@
]
},
{
- "id":"5cd8e25b.be574c",
+ "id":"22dee26e.7d616e",
"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":553.777774810791,
- "y":1046.6264476776123,
- "z":"cfbd0a6c.d9ad88",
+ "x":658.7778930664062,
+ "y":1325.0431432724,
+ "z":"e9217625.0cac48",
"wires":[
[
@@ -797,27 +809,485 @@
]
},
{
- "id":"696d020f.3bfa3c",
- "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?",
+ "id":"9ae0d8e5.63af48",
+ "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":700.9999847412109,
+ "y":1075.8332653045654,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"8261fdb3.cd771",
+ "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":787.142822265625,
+ "y":1123.416519165039,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"1191ada7.aeacf2",
+ "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":748.1427612304688,
+ "y":1171.416347503662,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"2ab5bcc1.a3bc14",
+ "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.tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-lan-ip`' />\n",
"comments":"",
- "x":715.3333206176758,
- "y":1003.79332447052,
- "z":"cfbd0a6c.d9ad88",
+ "x":791.4760894775391,
+ "y":1268.0829801559448,
+ "z":"e9217625.0cac48",
"wires":[
]
},
{
- "id":"e67f5695.27f668",
+ "id":"56899e0f.9f0a9",
"type":"comment",
- "name":"<--- TO DO: vgmux-bearer-ip is part of brg-requiest-input but need vgmux-lan-ip",
+ "name":"Setup VXLAN Tunnel - vBRG to vgMUX",
"info":"",
"comments":"",
- "x":1038.0000305175781,
- "y":1088.0000324249268,
- "z":"cfbd0a6c.d9ad88",
+ "x":350.30946350097656,
+ "y":1076.4166297912598,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"2271a9db.dcd166",
+ "type":"call",
+ "name":"call GENERIC-RESOURCE-API:get-tunnelxconn-ar",
+ "xml":"<call module='GENERIC-RESOURCE-API' rpc='get-tunnelxconn-ar' mode='sync' >\n",
+ "comments":"",
+ "outputs":1,
+ "x":716.6666107177734,
+ "y":1216.6665077209473,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"ad5e9d69.70e36",
+ "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='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='DELETE' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
+ "comments":"",
+ "outputs":1,
+ "x":750.7049789428711,
+ "y":1825.0618782043457,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "b97f57b9.da4a38",
+ "edd6cfd6.0c5c6",
+ "a1875f2b.49a61"
+ ]
+ ]
+ },
+ {
+ "id":"b97f57b9.da4a38",
+ "type":"not-found",
+ "name":"not-found",
+ "xml":"<outcome value='not-found'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1084.6797676086426,
+ "y":1884.393490217626,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "8f0443c6.63f49"
+ ]
+ ]
+ },
+ {
+ "id":"edd6cfd6.0c5c6",
+ "type":"failure",
+ "name":"failure",
+ "xml":"<outcome value='failure'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1075.679817199707,
+ "y":1852.8935159668326,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "8f0443c6.63f49"
+ ]
+ ]
+ },
+ {
+ "id":"a1875f2b.49a61",
+ "type":"success",
+ "name":"success",
+ "xml":"<outcome value='success'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1079.4298553466797,
+ "y":1823.25062084198,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "ee0fe1f7.5d9d6"
+ ]
+ ]
+ },
+ {
+ "id":"8f0443c6.63f49",
+ "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":1245.4298553466797,
+ "y":1853.6435398086905,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"ee0fe1f7.5d9d6",
+ "type":"block",
+ "name":"block",
+ "xml":"<block>\n",
+ "atomic":"false",
+ "comments":"",
+ "outputs":1,
+ "x":1221.085823059082,
+ "y":1819.442790031433,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"2bcd212a.e454ce",
+ "type":"set",
+ "name":"set vG to vgMUX VXLAN Tunnel Name",
+ "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`'vxlanTun' + $brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip` \" />\n",
+ "comments":"",
+ "x":672.1494979858398,
+ "y":1721.7288551330566,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"e1525574.ab65b8",
+ "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":660.1494674682617,
+ "y":1780.0618467330933,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"1a8316bd.e83579",
+ "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":647.1495361328125,
+ "y":1668.7282466888428,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+
+ ]
+ ]
+ },
+ {
+ "id":"eaa53259.f5fbf",
+ "type":"comment",
+ "name":"Get vg-mgmt-ip",
+ "info":"brg tunnelxconnn consuming-service-instance-id\nfound in services as service-instance-id",
+ "comments":"",
+ "x":347.8716354370117,
+ "y":1616.8953161239624,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"9bd5631.49aaba",
+ "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":1491.5382080078125,
+ "y":1607.2283487319946,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "5387ccd0.736d34"
+ ]
+ ]
+ },
+ {
+ "id":"f73b7075.c24df",
+ "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":684.8716583251953,
+ "y":1619.89475440979,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "da8a3a08.847948",
+ "c7e2b4a3.bcd4c8",
+ "4e104241.ba90cc"
+ ]
+ ]
+ },
+ {
+ "id":"5387ccd0.736d34",
+ "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":1596.2050170898438,
+ "y":1714.5616245269775,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "27b2238f.48bacc"
+ ]
+ ]
+ },
+ {
+ "id":"27b2238f.48bacc",
+ "type":"success",
+ "name":"true",
+ "xml":"<outcome value='true'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1851.8715934753418,
+ "y":1665.561752319336,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "d6b8cc2c.e7ed2"
+ ]
+ ]
+ },
+ {
+ "id":"da8a3a08.847948",
+ "type":"success",
+ "name":"success",
+ "xml":"<outcome value='success'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1176.5382614135742,
+ "y":1623.8948411941528,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "9bd5631.49aaba"
+ ]
+ ]
+ },
+ {
+ "id":"4e104241.ba90cc",
+ "type":"not-found",
+ "name":"not-found",
+ "xml":"<outcome value='not-found'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1154.8716201782227,
+ "y":1690.5615339279175,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "95609128.36e19"
+ ]
+ ]
+ },
+ {
+ "id":"c7e2b4a3.bcd4c8",
+ "type":"failure",
+ "name":"failure",
+ "xml":"<outcome value='failure'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":1145.871669769287,
+ "y":1659.061559677124,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "95609128.36e19"
+ ]
+ ]
+ },
+ {
+ "id":"95609128.36e19",
+ "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":1315.6217079162598,
+ "y":1659.811583518982,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"d6b8cc2c.e7ed2",
+ "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":1885.5381240844727,
+ "y":1566.8949918746948,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "dc75c31d.21ba2"
+ ]
+ ]
+ },
+ {
+ "id":"d6733026.3d178",
+ "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":2445.5381088256836,
+ "y":1590.561650276184,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "43171d7f.7e6834"
+ ]
+ ]
+ },
+ {
+ "id":"43171d7f.7e6834",
+ "type":"success",
+ "name":"true",
+ "xml":"<outcome value='true'>\n",
+ "comments":"",
+ "outputs":1,
+ "x":2695.5381927490234,
+ "y":1592.2283849716187,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "3f1e667b.61b1aa"
+ ]
+ ]
+ },
+ {
+ "id":"dc75c31d.21ba2",
+ "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":2110.5382385253906,
+ "y":1593.8949279785156,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "d918ac81.8d655"
+ ]
+ ]
+ },
+ {
+ "id":"d918ac81.8d655",
+ "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":2200.538215637207,
+ "y":1678.8948965072632,
+ "z":"e9217625.0cac48",
+ "wires":[
+ [
+ "d6733026.3d178"
+ ]
+ ]
+ },
+ {
+ "id":"3f1e667b.61b1aa",
+ "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",
+ "comments":"",
+ "x":2877.2047424316406,
+ "y":1588.894944190979,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"8bd7c7a7.dbe958",
+ "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":762.8334503173828,
+ "y":1518.3331851959229,
+ "z":"e9217625.0cac48",
+ "wires":[
+
+ ]
+ },
+ {
+ "id":"b4b8750b.6fbcb8",
+ "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":798.8333930969238,
+ "y":1572.666563987732,
+ "z":"e9217625.0cac48",
"wires":[
]