diff options
author | 2020-03-04 03:03:57 +0000 | |
---|---|---|
committer | 2020-03-04 21:52:46 +0000 | |
commit | ae8f83510948c360ec4952fe7a73bfca1a930277 (patch) | |
tree | aef6eaaa6a4256744f1c03c5cc2e5adedbc11ac9 /platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-vf-module-uni-param.json | |
parent | 0a8e7414c87424bd9bf0616d14bce525c9a16e24 (diff) |
DGs for SOTN NNI based service creation
Issue-ID: SDNC-900
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I3ae8efc39aaa5fc5de48b3323f986531d3c7fa74
Former-commit-id: 84477fc8f92e417f809ffe040ffb12de46a43a77
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-vf-module-uni-param.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-vf-module-uni-param.json | 243 |
1 files changed, 243 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-vf-module-uni-param.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-vf-module-uni-param.json new file mode 100644 index 00000000..811602d5 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-get-vf-module-uni-param.json @@ -0,0 +1,243 @@ +[
+ {
+ "id": "92076785.102998",
+ "type": "for",
+ "name": "for each sotn-get-request-input-param",
+ "xml": "<for index=\"idx\" start=\"0\" end=\"`$vf-module-request-input.vf-module-input-parameters.param_length`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 257,
+ "y": 366.6666383743286,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "1481334b.aa109d"
+ ]
+ ]
+ },
+ {
+ "id": "d17e9aae.69c2d8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 89.3332290649414,
+ "y": 29,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "28ba91d2.47447e"
+ ]
+ ]
+ },
+ {
+ "id": "28ba91d2.47447e",
+ "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": 234.33323287963867,
+ "y": 110.0000171661377,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "bfc0526a.9023d"
+ ]
+ ]
+ },
+ {
+ "id": "bfc0526a.9023d",
+ "type": "method",
+ "name": "sotn-get-vf-module-uni-param",
+ "xml": "<method rpc='sotn-get-vf-module-uni-param' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 222.3333511352539,
+ "y": 198,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "b8fc2441.d8f338"
+ ]
+ ]
+ },
+ {
+ "id": "b8fc2441.d8f338",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 229.33324432373047,
+ "y": 284.0000581741333,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "92076785.102998"
+ ]
+ ]
+ },
+ {
+ "id": "1481334b.aa109d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 513.2326469421387,
+ "y": 369.0103905200958,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "397c4a4d.4ed016",
+ "2bdd888b.6d1ef8",
+ "595a4395.a6883c",
+ "ea4e21ab.628e5"
+ ]
+ ]
+ },
+ {
+ "id": "397c4a4d.4ed016",
+ "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": 733.7332763671875,
+ "y": 478.0107421875,
+ "z": "12466ca0.33d983",
+ "wires": []
+ },
+ {
+ "id": "595a4395.a6883c",
+ "type": "switchNode",
+ "name": "switch tpId",
+ "xml": "<switch test=\"`$vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'tpId'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.7326431274414,
+ "y": 296.01042914390564,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "7907fc56.fc4374"
+ ]
+ ]
+ },
+ {
+ "id": "7907fc56.fc4374",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 910.7330360412598,
+ "y": 294.01051592826843,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "6a4f5caf.0f6f14"
+ ]
+ ]
+ },
+ {
+ "id": "6a4f5caf.0f6f14",
+ "type": "set",
+ "name": "set tpId",
+ "xml": "<set>\n<parameter name='prop.uni.tpId' value='`$vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1085.7331199645996,
+ "y": 295.61056327819824,
+ "z": "12466ca0.33d983",
+ "wires": []
+ },
+ {
+ "id": "2bdd888b.6d1ef8",
+ "type": "switchNode",
+ "name": "switch id",
+ "xml": "<switch test=\"`$vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 719.7319984436035,
+ "y": 247.3970763683319,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "7b22e7e.bf6e718"
+ ]
+ ]
+ },
+ {
+ "id": "7b22e7e.bf6e718",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 911.7319221496582,
+ "y": 247.39708304405212,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "ab2d859f.6acac8"
+ ]
+ ]
+ },
+ {
+ "id": "ab2d859f.6acac8",
+ "type": "set",
+ "name": "set id",
+ "xml": "<set>\n<parameter name='prop.uni.id' value='`$vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1055.7321891784668,
+ "y": 246.99721121788025,
+ "z": "12466ca0.33d983",
+ "wires": []
+ },
+ {
+ "id": "ea4e21ab.628e5",
+ "type": "switchNode",
+ "name": "switch cVLAN",
+ "xml": "<switch test=\"`$vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'cVLAN'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 738,
+ "y": 374,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "c123c0b4.3c868"
+ ]
+ ]
+ },
+ {
+ "id": "c123c0b4.3c868",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 906,
+ "y": 371,
+ "z": "12466ca0.33d983",
+ "wires": [
+ [
+ "5bf6b706.8b8148"
+ ]
+ ]
+ },
+ {
+ "id": "5bf6b706.8b8148",
+ "type": "set",
+ "name": "set cVLAN",
+ "xml": "<set>\n<parameter name='prop.uni.cVLAN' value='`$vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1081.0000839233398,
+ "y": 372.6000473499298,
+ "z": "12466ca0.33d983",
+ "wires": []
+ }
+]
\ No newline at end of file |