aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json
diff options
context:
space:
mode:
authorgaurav <gaurav.agrawal@huawei.com>2018-07-25 16:14:34 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2018-07-25 11:42:16 +0000
commitbb17c401f713e29f652ac49ff8633b829604c40b (patch)
treeebe07e92054df7f1af44abfcad7acc5464259a9a /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json
parenta5304e219bd29c881ab6c50be7a5a6463ef7afa8 (diff)
Adding site Resource DG
Initial implementation of site resource DG. Change-Id: I65b6a7e335b4053f3133b731849badec7240ec1b Issue-ID: SDNC-356 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: f1ad68601c2616b39756cb6f516d6dad5237f0c0
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json816
1 files changed, 816 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json
new file mode 100644
index 00000000..c640ab5b
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json
@@ -0,0 +1,816 @@
+[
+ {
+ "id": "8213d9f3.3e3b78",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 134.01040649414062,
+ "y": 78.01041412353516,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "3fd007b3.454158"
+ ]
+ ]
+ },
+ {
+ "id": "3fd007b3.454158",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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": 209.29611206054688,
+ "y": 118.24852561950684,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "f3d8ce84.4fd8"
+ ]
+ ]
+ },
+ {
+ "id": "f3d8ce84.4fd8",
+ "type": "method",
+ "name": "method site-vnf-topology-operation-activate",
+ "xml": "<method rpc='site-vnf-topology-operation-activate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 230.43902587890625,
+ "y": 208.01041412353516,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "931047c0.e29ba8"
+ ]
+ ]
+ },
+ {
+ "id": "931047c0.e29ba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 210.67707061767578,
+ "y": 379.67708587646484,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "87b79277.d3a8",
+ "443f31de.8f2cf",
+ "e48e518f.1dc2a",
+ "4a014615.6e9cf8",
+ "bf95d9ae.8087f8",
+ "c850e5af.e42fa8",
+ "b4c6f1a.73d561",
+ "d7008318.12e1b",
+ "3993fb6.79aca04",
+ "2b37bcac.68f084"
+ ]
+ ]
+ },
+ {
+ "id": "87b79277.d3a8",
+ "type": "for",
+ "name": "for loop i - VNF input parameters",
+ "xml": "<for index='idx' start='0' end='`$ctx.vnf-data.vnf-request-input.vnf-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 663.1151428222656,
+ "y": 267.0782470703125,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "73aa520a.b2adbc"
+ ]
+ ]
+ },
+ {
+ "id": "73aa520a.b2adbc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 909.893337726593,
+ "y": 267.6338765351102,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "ac680e81.777c9",
+ "27ece0ee.53311",
+ "2e9d64a5.63180c",
+ "ad341ac7.a856e8",
+ "43160102.ca0c8",
+ "8a88d2d2.3cbb4"
+ ]
+ ]
+ },
+ {
+ "id": "ac680e81.777c9",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.1152267456055,
+ "y": 222.63385391235352,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "f0bc6f88.f42a7"
+ ]
+ ]
+ },
+ {
+ "id": "f0bc6f88.f42a7",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1302.1152267456055,
+ "y": 218.63385391235352,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "a80ac0f1.029e7"
+ ]
+ ]
+ },
+ {
+ "id": "a80ac0f1.029e7",
+ "type": "set",
+ "name": "set name",
+ "xml": "<set>\n<parameter name='prop.site.name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1470.1152267456055,
+ "y": 219.23386001586914,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "27ece0ee.53311",
+ "type": "switchNode",
+ "name": "switch description",
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'description'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.9549446105957,
+ "y": 265.63384914398193,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "3c96f97e.2329d6"
+ ]
+ ]
+ },
+ {
+ "id": "3c96f97e.2329d6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1319.9549446105957,
+ "y": 261.63384914398193,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "38a8969d.eda21a"
+ ]
+ ]
+ },
+ {
+ "id": "38a8969d.eda21a",
+ "type": "set",
+ "name": "set description",
+ "xml": "<set>\n<parameter name='prop.site.description' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1481.2884254455566,
+ "y": 261.09500885009766,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "2e9d64a5.63180c",
+ "type": "switchNode",
+ "name": "switch location",
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'location'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1123.04105758667,
+ "y": 308.0411911010742,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "4384d4ab.76bf6c"
+ ]
+ ]
+ },
+ {
+ "id": "4384d4ab.76bf6c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1310.04105758667,
+ "y": 304.0411911010742,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "3079a852.4cd8f8"
+ ]
+ ]
+ },
+ {
+ "id": "3079a852.4cd8f8",
+ "type": "set",
+ "name": "set location",
+ "xml": "<set>\n<parameter name='prop.site.location' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1478.04105758667,
+ "y": 304.64119720458984,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "ad341ac7.a856e8",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1113.0103759765625,
+ "y": 176.607177734375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "653e71ed.565a9"
+ ]
+ ]
+ },
+ {
+ "id": "653e71ed.565a9",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1300.0103759765625,
+ "y": 172.607177734375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "2466a0b0.31d85"
+ ]
+ ]
+ },
+ {
+ "id": "2466a0b0.31d85",
+ "type": "set",
+ "name": "set id",
+ "xml": "<set>\n<parameter name='prop.site.id' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1468.0103759765625,
+ "y": 173.20718383789062,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "43160102.ca0c8",
+ "type": "switchNode",
+ "name": "switch type",
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'type'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1122.0103759765625,
+ "y": 351.60717010498047,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "5f80b289.c102cc"
+ ]
+ ]
+ },
+ {
+ "id": "5f80b289.c102cc",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1309.0103759765625,
+ "y": 347.60717010498047,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "123b0821.89fa08"
+ ]
+ ]
+ },
+ {
+ "id": "123b0821.89fa08",
+ "type": "set",
+ "name": "set type & sdwan.site",
+ "xml": "<set>\n<parameter name='prop.site.type' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='tmp.sdwan.site' value='true' />",
+ "comments": "",
+ "x": 1507.0103759765625,
+ "y": 347.2071838378906,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "8a88d2d2.3cbb4",
+ "type": "switchNode",
+ "name": "switch role",
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'role'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1125.0103759765625,
+ "y": 394.60717010498047,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "dbc514.9b453af"
+ ]
+ ]
+ },
+ {
+ "id": "dbc514.9b453af",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1312.0103759765625,
+ "y": 390.60717010498047,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "78dc31fa.1149c"
+ ]
+ ]
+ },
+ {
+ "id": "78dc31fa.1149c",
+ "type": "set",
+ "name": "set role & sdwan.site",
+ "xml": "<set>\n<parameter name='prop.site.role' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='tmp.sdwan.site' value='true' />\n",
+ "comments": "",
+ "x": 1520.0103759765625,
+ "y": 390.2071838378906,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "443f31de.8f2cf",
+ "type": "switchNode",
+ "name": "switch service-data.vnfs.vnf_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 671,
+ "y": 69,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "d2748c44.5140a",
+ "132b0e47.fe6172",
+ "6c7ae40f.24628c"
+ ]
+ ]
+ },
+ {
+ "id": "d2748c44.5140a",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1084,
+ "y": 62.00006103515625,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "910f30c.abfcad"
+ ]
+ ]
+ },
+ {
+ "id": "910f30c.abfcad",
+ "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 1302.7774658203125,
+ "y": 37.889007568359375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "132b0e47.fe6172",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 996.0003662109375,
+ "y": 116.00007629394531,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "2df38444.65759c"
+ ]
+ ]
+ },
+ {
+ "id": "2df38444.65759c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1167.2698974609375,
+ "y": 99.55461120605469,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "1580b603.a7115a",
+ "2393097b.207106"
+ ]
+ ]
+ },
+ {
+ "id": "1580b603.a7115a",
+ "type": "for",
+ "name": "for vidx..service-data.vnfs.vnf_length[]",
+ "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1465.285888671875,
+ "y": 80.42861938476562,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "d610b844.0652c8"
+ ]
+ ]
+ },
+ {
+ "id": "2393097b.207106",
+ "type": "switchNode",
+ "name": "switch tmp.vidx ",
+ "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1386.5872802734375,
+ "y": 123.41180419921875,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "dd032095.3aded"
+ ]
+ ]
+ },
+ {
+ "id": "dd032095.3aded",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1587.015869140625,
+ "y": 128.98321533203125,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "40072c93.943294"
+ ]
+ ]
+ },
+ {
+ "id": "d610b844.0652c8",
+ "type": "switchNode",
+ "name": "switch vnfid found",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1775.7144775390625,
+ "y": 78.6787109375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "fc26d8de.94b0a8"
+ ]
+ ]
+ },
+ {
+ "id": "40072c93.943294",
+ "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
+ "comments": "",
+ "x": 1758.4443359375,
+ "y": 129.12606811523438,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "fc26d8de.94b0a8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1981.666748046875,
+ "y": 77.57144165039062,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "7149eeb8.6b351"
+ ]
+ ]
+ },
+ {
+ "id": "7149eeb8.6b351",
+ "type": "set",
+ "name": "set tmp.vidx and ctx.vnf-data",
+ "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
+ "comments": "",
+ "x": 2220.198486328125,
+ "y": 73.32144165039062,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "6c7ae40f.24628c",
+ "type": "outcome",
+ "name": "0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.96875,
+ "y": 25.96875,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "910f30c.abfcad"
+ ]
+ ]
+ },
+ {
+ "id": "cdf59db6.a5688",
+ "type": "comment",
+ "name": "TODO: Check validation",
+ "info": "",
+ "comments": "",
+ "x": 628,
+ "y": 21,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "e48e518f.1dc2a",
+ "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": 606.3436889648438,
+ "y": 717.34375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "4a014615.6e9cf8",
+ "type": "set",
+ "name": "set vnf-level-oper-status to Active",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
+ "comments": "",
+ "x": 662.8237915039062,
+ "y": 543.680908203125,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "bf95d9ae.8087f8",
+ "type": "set",
+ "name": "copy input data to service data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-index`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n\n",
+ "comments": "",
+ "x": 652.6769409179688,
+ "y": 502.6771240234375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "c850e5af.e42fa8",
+ "type": "save",
+ "name": "update siteInstance configuration in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf' \n key='generic-vnf.vnf-id = $prop.vnf-index' >\n<parameter name='vnf-id' value='`$prop.vnf-index`' />\n<parameter name='in-maint' value='true' />\n<parameter name='is-closed-loop-disabled' value='false' />\n<parameter name='orchestration-status' value='Active' />\n<parameter name='operational-status' value='Active' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $prop.vnf-index + '/vnf-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 683.0104370117188,
+ "y": 627.5659790039062,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "b4c6f1a.73d561",
+ "type": "save",
+ "name": "save service relationship in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-index`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 654.0104370117188,
+ "y": 668.34375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "d7008318.12e1b",
+ "type": "set",
+ "name": "set vnf-index and vnf-object-path",
+ "xml": "<set>\n<parameter name='vnfId' value='`$prop.vnf-index`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $prop.vnf-index + '/vnf-data/'` \" />",
+ "comments": "",
+ "x": 659.5104370117188,
+ "y": 585.34375,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "2b37bcac.68f084",
+ "type": "switchNode",
+ "name": "switch sdwan.site",
+ "xml": "<switch test=\"`$tmp.sdwan.site`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 615,
+ "y": 348,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "a9004d13.a7ec4",
+ "27d5839b.ac9ebc"
+ ]
+ ]
+ },
+ {
+ "id": "3993fb6.79aca04",
+ "type": "set",
+ "name": "set sdwan.site",
+ "xml": "<set>\n<parameter name='tmp.sdwan.site' value='false' />\n",
+ "comments": "",
+ "x": 606,
+ "y": 217,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "27d5839b.ac9ebc",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 751,
+ "y": 441,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "1ed61d3a.a1c323"
+ ]
+ ]
+ },
+ {
+ "id": "a9004d13.a7ec4",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 794.8887939453125,
+ "y": 361.00006103515625,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+ "289c3fbe.f462"
+ ]
+ ]
+ },
+ {
+ "id": "289c3fbe.f462",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 934,
+ "y": 361,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "1ed61d3a.a1c323",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 913,
+ "y": 440,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "ce5d0a29.098d18",
+ "type": "comment",
+ "name": "TODO: SDWAN implementation for site",
+ "info": "",
+ "comments": "",
+ "x": 1097,
+ "y": 485,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "ba135787.4aba08",
+ "type": "comment",
+ "name": "Site and role will be used to identify SDWAN service",
+ "info": "",
+ "comments": "",
+ "x": 1829,
+ "y": 358,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "c30ca451.c8aa78",
+ "type": "comment",
+ "name": "TODO: AAI",
+ "info": "",
+ "comments": "",
+ "x": 900,
+ "y": 638,
+ "z": "68309cb5.9fbe94",
+ "wires": [
+
+ ]
+ }
+]