aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.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-deactivate.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-deactivate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json803
1 files changed, 803 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json
new file mode 100644
index 00000000..ad6eb1e4
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_site-vnf-topology-operation-deactivate.json
@@ -0,0 +1,803 @@
+[
+ {
+ "id": "29fa8678.95f9ca",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 131,
+ "y": 118,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "d48a6f16.dbc94"
+ ]
+ ]
+ },
+ {
+ "id": "d48a6f16.dbc94",
+ "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": 206.28570556640625,
+ "y": 158.23811149597168,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "7ed81cb7.0a51d4"
+ ]
+ ]
+ },
+ {
+ "id": "7ed81cb7.0a51d4",
+ "type": "method",
+ "name": "method site-vnf-topology-operation-deactivate",
+ "xml": "<method rpc='site-vnf-topology-operation-deactivate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 227.42861938476562,
+ "y": 248,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "aa23d49.327ed28"
+ ]
+ ]
+ },
+ {
+ "id": "aa23d49.327ed28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 207.66666412353516,
+ "y": 419.6666717529297,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "9bb8f3a8.802f5",
+ "15d3779a.2c8a88",
+ "9540c63d.a06978",
+ "78df0c0e.576094",
+ "99b35972.99c3a8",
+ "61eb6b8d.7cad14",
+ "4080214.adfeae",
+ "6f647857.5c6b48",
+ "4302e938.be3ef8",
+ "1364166a.1d494a"
+ ]
+ ]
+ },
+ {
+ "id": "9bb8f3a8.802f5",
+ "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": 660.104736328125,
+ "y": 307.06783294677734,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "a5175fe3.e03a"
+ ]
+ ]
+ },
+ {
+ "id": "a5175fe3.e03a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 906.8829312324524,
+ "y": 307.623462411575,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "a25f1f5b.132b7",
+ "617dd8fe.aa7948",
+ "15ed8251.27c1ce",
+ "984a8326.9a457",
+ "ff594d8d.7aa95",
+ "20f2971f.ecec88"
+ ]
+ ]
+ },
+ {
+ "id": "a25f1f5b.132b7",
+ "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": 1112.1048202514648,
+ "y": 262.62343978881836,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "e1ea29c6.845788"
+ ]
+ ]
+ },
+ {
+ "id": "e1ea29c6.845788",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1299.1048202514648,
+ "y": 258.62343978881836,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "cda20cf5.41ce9"
+ ]
+ ]
+ },
+ {
+ "id": "cda20cf5.41ce9",
+ "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": 1467.1048202514648,
+ "y": 259.223445892334,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "617dd8fe.aa7948",
+ "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": 1129.944538116455,
+ "y": 305.6234350204468,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "9accb009.2112d"
+ ]
+ ]
+ },
+ {
+ "id": "9accb009.2112d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1316.944538116455,
+ "y": 301.6234350204468,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "8ca9a7db.ec8f18"
+ ]
+ ]
+ },
+ {
+ "id": "8ca9a7db.ec8f18",
+ "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": 1478.278018951416,
+ "y": 301.0845947265625,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "15ed8251.27c1ce",
+ "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": 1120.0306510925293,
+ "y": 348.03077697753906,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "8dc32f9.9a097d"
+ ]
+ ]
+ },
+ {
+ "id": "8dc32f9.9a097d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307.0306510925293,
+ "y": 344.03077697753906,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "c9cae02e.83783"
+ ]
+ ]
+ },
+ {
+ "id": "c9cae02e.83783",
+ "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": 1475.0306510925293,
+ "y": 344.6307830810547,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "984a8326.9a457",
+ "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": 1109.9999694824219,
+ "y": 216.59676361083984,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "96a74444.b53228"
+ ]
+ ]
+ },
+ {
+ "id": "96a74444.b53228",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1296.9999694824219,
+ "y": 212.59676361083984,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "df6964b4.228f78"
+ ]
+ ]
+ },
+ {
+ "id": "df6964b4.228f78",
+ "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": 1464.9999694824219,
+ "y": 213.19676971435547,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "ff594d8d.7aa95",
+ "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": 1118.9999694824219,
+ "y": 391.5967559814453,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "343eddcc.c79502"
+ ]
+ ]
+ },
+ {
+ "id": "343eddcc.c79502",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1305.9999694824219,
+ "y": 387.5967559814453,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "c923d4d2.c53e48"
+ ]
+ ]
+ },
+ {
+ "id": "c923d4d2.c53e48",
+ "type": "set",
+ "name": "set type",
+ "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": 1473.9999694824219,
+ "y": 388.19676208496094,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "20f2971f.ecec88",
+ "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": 1121.9999694824219,
+ "y": 434.5967559814453,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "4a74022c.fbbfdc"
+ ]
+ ]
+ },
+ {
+ "id": "4a74022c.fbbfdc",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1308.9999694824219,
+ "y": 430.5967559814453,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "ed0bb784.6f5f28"
+ ]
+ ]
+ },
+ {
+ "id": "ed0bb784.6f5f28",
+ "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": 1516.9999694824219,
+ "y": 430.19676971435547,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "15d3779a.2c8a88",
+ "type": "switchNode",
+ "name": "switch service-data.vnfs.vnf_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 667.9895935058594,
+ "y": 108.98958587646484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "ce757eba.3051d",
+ "317e6180.be733e",
+ "355929c1.e3c516"
+ ]
+ ]
+ },
+ {
+ "id": "ce757eba.3051d",
+ "type": "other",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1080.9895935058594,
+ "y": 101.9896469116211,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "3a71c6fc.a403ea"
+ ]
+ ]
+ },
+ {
+ "id": "3a71c6fc.a403ea",
+ "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": 1299.7670593261719,
+ "y": 77.87859344482422,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "317e6180.be733e",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 992.9899597167969,
+ "y": 155.98966217041016,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "6231a17a.01c0e"
+ ]
+ ]
+ },
+ {
+ "id": "6231a17a.01c0e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1164.2594909667969,
+ "y": 139.54419708251953,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "b34aef0c.acf71",
+ "8f0f5852.1fb888"
+ ]
+ ]
+ },
+ {
+ "id": "b34aef0c.acf71",
+ "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": 1462.2754821777344,
+ "y": 120.41820526123047,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "dbdd8064.8b575"
+ ]
+ ]
+ },
+ {
+ "id": "8f0f5852.1fb888",
+ "type": "switchNode",
+ "name": "switch tmp.vidx ",
+ "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1383.5768737792969,
+ "y": 163.4013900756836,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "790650c4.ec7c"
+ ]
+ ]
+ },
+ {
+ "id": "790650c4.ec7c",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1584.0054626464844,
+ "y": 168.9728012084961,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "3c6f340.b39b3cc"
+ ]
+ ]
+ },
+ {
+ "id": "dbdd8064.8b575",
+ "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": 1772.7040710449219,
+ "y": 118.66829681396484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "442b99c7.862238"
+ ]
+ ]
+ },
+ {
+ "id": "3c6f340.b39b3cc",
+ "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": 1755.4339294433594,
+ "y": 169.11565399169922,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "442b99c7.862238",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1978.6563415527344,
+ "y": 117.56102752685547,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "9a4c2f33.323f8"
+ ]
+ ]
+ },
+ {
+ "id": "9a4c2f33.323f8",
+ "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": 2217.1880798339844,
+ "y": 113.31102752685547,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "355929c1.e3c516",
+ "type": "outcome",
+ "name": "0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.9583435058594,
+ "y": 65.95833587646484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "3a71c6fc.a403ea"
+ ]
+ ]
+ },
+ {
+ "id": "28632f1f.75eb4",
+ "type": "comment",
+ "name": "TODO: Check validation",
+ "info": "",
+ "comments": "",
+ "x": 624.9895935058594,
+ "y": 60.989585876464844,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "9540c63d.a06978",
+ "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": 603.3332824707031,
+ "y": 757.3333358764648,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "78df0c0e.576094",
+ "type": "set",
+ "name": "set vnf-level-oper-status to PendingDelete",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\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": 682.8133850097656,
+ "y": 585.6704711914062,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "99b35972.99c3a8",
+ "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": 649.6665344238281,
+ "y": 542.6667098999023,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "61eb6b8d.7cad14",
+ "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='PendingDelete' />\n<parameter name='operational-status' value='PendingDelete' />\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": 677,
+ "y": 665.5556030273438,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "4080214.adfeae",
+ "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": 651.0000305175781,
+ "y": 708.3333358764648,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "6f647857.5c6b48",
+ "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": 656.5000305175781,
+ "y": 625.3333358764648,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "1364166a.1d494a",
+ "type": "switchNode",
+ "name": "switch sdwan.site",
+ "xml": "<switch test=\"`$tmp.sdwan.site`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 611.9895935058594,
+ "y": 387.98958587646484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "2e02ce5b.120d72",
+ "c3598024.ef229"
+ ]
+ ]
+ },
+ {
+ "id": "4302e938.be3ef8",
+ "type": "set",
+ "name": "set sdwan.site",
+ "xml": "<set>\n<parameter name='tmp.sdwan.site' value='false' />\n",
+ "comments": "",
+ "x": 602.9895935058594,
+ "y": 256.98958587646484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "c3598024.ef229",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 747.9895935058594,
+ "y": 480.98958587646484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "38d8d2a8.f58c0e"
+ ]
+ ]
+ },
+ {
+ "id": "2e02ce5b.120d72",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 791.8783874511719,
+ "y": 400.9896469116211,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+ "ad672f8e.2adcd"
+ ]
+ ]
+ },
+ {
+ "id": "ad672f8e.2adcd",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 930.9895935058594,
+ "y": 400.98958587646484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "38d8d2a8.f58c0e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 909.9895935058594,
+ "y": 479.98958587646484,
+ "z": "af5ae803.904aa8",
+ "wires": [
+ [
+
+ ]
+ ]
+ },
+ {
+ "id": "d9bbd64d.c1dfa8",
+ "type": "comment",
+ "name": "TODO: SDWAN implementation for site",
+ "info": "",
+ "comments": "",
+ "x": 1067.9895935058594,
+ "y": 521.9895858764648,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ },
+ {
+ "id": "dfb2bb0b.f25f38",
+ "type": "comment",
+ "name": "TODO: AAI",
+ "info": "",
+ "comments": "",
+ "x": 902,
+ "y": 671,
+ "z": "af5ae803.904aa8",
+ "wires": [
+
+ ]
+ }
+]