diff options
author | 2019-03-27 09:25:28 +0530 | |
---|---|---|
committer | 2019-03-28 10:23:09 +0530 | |
commit | 6bae57f12b29d9227decc4101ee0d971f29090d8 (patch) | |
tree | ebabc93021c40770bb628ee9060b123618a64f60 /platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json | |
parent | b47edc477e8604a8f5e53c403bffdf8ce248f779 (diff) |
CCVPN extension site resource DGs
DEVICE and SITE VF-topology-operation DGs
Change-Id: Ieb9fdfed7918489ce56d10e848663f81e56445e7
Issue-ID: SDNC-659
Signed-off-by: Prakash.E <prakash.e@huawei.com>
Former-commit-id: 11f5aef76dcff7ceadaa240c068c727793c7d64a
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json | 556 |
1 files changed, 556 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json new file mode 100644 index 00000000..b51105eb --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json @@ -0,0 +1,556 @@ +[
+ {
+ "id": "5781857d.34f10c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 188.03125,
+ "y": 43.031253814697266,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "34ea5d13.adf2e2"
+ ]
+ ]
+ },
+ {
+ "id": "34ea5d13.adf2e2",
+ "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": 267.31695556640625,
+ "y": 105.26936340332031,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "7a350033.439ec"
+ ]
+ ]
+ },
+ {
+ "id": "7a350033.439ec",
+ "type": "method",
+ "name": "method sdwan-vf-operation-vpn-activate",
+ "xml": "<method rpc='sdwan-vf-operation-vpn-activate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 279.03125,
+ "y": 199.61759567260742,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "eae20948.900428"
+ ]
+ ]
+ },
+ {
+ "id": "eae20948.900428",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 265.6979217529297,
+ "y": 384.6979675292969,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "94df5008.7b42f",
+ "7ed34394.611e1c",
+ "23e3b0bc.99c9d",
+ "3dc91e9a.3f3102",
+ "f95e37c5.b5e148",
+ "fc6cc049.08c93",
+ "b58620d0.ff986",
+ "b6f2d919.b74fa8",
+ "9597930d.e038d",
+ "ef79430c.f091e",
+ "fc543198.c0c2e",
+ "a41eacc.0c7475",
+ "d46578bf.5e8e58",
+ "21b0010b.c0a22e",
+ "5d9f4d8a.00ca04",
+ "48cf7750.d184d8",
+ "4efe1671.fc4788",
+ "d6a9c738.cde808"
+ ]
+ ]
+ },
+ {
+ "id": "94df5008.7b42f",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-sdwan-vf-vpn-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-vf-vpn-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 805.6980133056641,
+ "y": 222.03141355514526,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "23e3b0bc.99c9d",
+ "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": 637.0625152587891,
+ "y": 310.06250381469727,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ed34394.611e1c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sdwan-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"SDWAN-Activate\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 601.7603912353516,
+ "y": 266.0624761581421,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7f983045.d243a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.486083984375,
+ "y": 360.04166173934937,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "875bfb0c.99b4c8",
+ "fda7ec02.f4fa3"
+ ]
+ ]
+ },
+ {
+ "id": "875bfb0c.99b4c8",
+ "type": "switchNode",
+ "name": "switch name",
+ "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1108.4861907958984,
+ "y": 322.0416889190674,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "2605efbe.66ab7"
+ ]
+ ]
+ },
+ {
+ "id": "2605efbe.66ab7",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1282.4863166809082,
+ "y": 322.04169273376465,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "dadb2cf7.2ff69"
+ ]
+ ]
+ },
+ {
+ "id": "dadb2cf7.2ff69",
+ "type": "set",
+ "name": "set name",
+ "xml": "<set>\n<parameter name='prop.name' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1445.4862022399902,
+ "y": 321.6416873931885,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "fda7ec02.f4fa3",
+ "type": "switchNode",
+ "name": "switch topology",
+ "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'topology'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.9026908874512,
+ "y": 369.70831775665283,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "3ae5ca3b.f74cc6"
+ ]
+ ]
+ },
+ {
+ "id": "3ae5ca3b.f74cc6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.902816772461,
+ "y": 369.7083215713501,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "4b92911a.56168"
+ ]
+ ]
+ },
+ {
+ "id": "4b92911a.56168",
+ "type": "set",
+ "name": "set topology",
+ "xml": "<set>\n<parameter name='prop.topology' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1455.902702331543,
+ "y": 369.3083162307739,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "3dc91e9a.3f3102",
+ "type": "for",
+ "name": "for each network-input-parameters",
+ "xml": "<for index='idx' start='0' end='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 672.6526527404785,
+ "y": 369.708309173584,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "7f983045.d243a"
+ ]
+ ]
+ },
+ {
+ "id": "4efe1671.fc4788",
+ "type": "get-resource",
+ "name": "get-resource esr-thirdparty-sdnc",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = 'SDWANController' AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 669.4862022399902,
+ "y": 496.04168128967285,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "46f8b46c.58115c",
+ "a1d7d554.010ed8",
+ "21d4ff8e.d6051"
+ ]
+ ]
+ },
+ {
+ "id": "46f8b46c.58115c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 931.486083984375,
+ "y": 449.04166159033775,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "df26ddf3.952"
+ ]
+ ]
+ },
+ {
+ "id": "a1d7d554.010ed8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 934.97705078125,
+ "y": 496.615697234869,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "c96d1e93.137b6"
+ ]
+ ]
+ },
+ {
+ "id": "21d4ff8e.d6051",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 930.31005859375,
+ "y": 537.9490102231503,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "29af3383.039eac"
+ ]
+ ]
+ },
+ {
+ "id": "c96d1e93.137b6",
+ "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
+ "comments": "",
+ "x": 1111.5484619140625,
+ "y": 484.9014333188534,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "29af3383.039eac",
+ "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
+ "comments": "",
+ "x": 1118.0826148986816,
+ "y": 533.3882029950619,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "48cf7750.d184d8",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.4861221313477,
+ "y": 615.0416851043701,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "47bd8a4e.743ee4",
+ "5c5772a6.eeb8ac"
+ ]
+ ]
+ },
+ {
+ "id": "47bd8a4e.743ee4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 933.486156463623,
+ "y": 592.0416917800903,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "91c9ef14.b46a4"
+ ]
+ ]
+ },
+ {
+ "id": "5c5772a6.eeb8ac",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 925.736156463623,
+ "y": 645.6845750808716,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ [
+ "b75502f5.e09e5"
+ ]
+ ]
+ },
+ {
+ "id": "91c9ef14.b46a4",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
+ "comments": "",
+ "x": 1083.486083984375,
+ "y": 593.0416603088379,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "b75502f5.e09e5",
+ "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 executing get token rest api\" />\n",
+ "comments": "",
+ "x": 1078.486156463623,
+ "y": 645.4346361160278,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "df26ddf3.952",
+ "type": "set",
+ "name": "set controller data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
+ "comments": "",
+ "x": 1128.9861450195312,
+ "y": 437.04166159033775,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "5d9f4d8a.00ca04",
+ "type": "execute",
+ "name": "execute RestApiCallNode Create vpn",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-create.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 695.2254638671875,
+ "y": 728.721978187561,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f95e37c5.b5e148",
+ "type": "set",
+ "name": "set prop.vpn-id and prop.vpn1Id",
+ "xml": "<set>\n<parameter name='prop.vpn-id' value='`$vpn-result.success[0].id`' />\n<parameter name='prop.vpn1Id' value='`$vpn-result.success[0].id`' />\n",
+ "comments": "",
+ "x": 680.2256622314453,
+ "y": 782.7221002578735,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "21b0010b.c0a22e",
+ "type": "execute",
+ "name": "execute RestApiCallNode Create vpn topology",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology-create.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn-id + '/topology'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 728.7254638671875,
+ "y": 825.7219481468201,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc6cc049.08c93",
+ "type": "set",
+ "name": "set tenant-id to service-data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='tenant-id' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.tenant-id`' />\n",
+ "comments": "",
+ "x": 670.7255401611328,
+ "y": 877.4720306396484,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "b58620d0.ff986",
+ "type": "set",
+ "name": "set vpn-id to service-data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='vpn-id' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.vpn-id`' />\n",
+ "comments": "",
+ "x": 660.9754791259766,
+ "y": 976.2218685150146,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "b6f2d919.b74fa8",
+ "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": 618.0352668762207,
+ "y": 1336.5354351997375,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "d6a9c738.cde808",
+ "type": "update",
+ "name": "update SDWAN VPN status to AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n key='sdwan-vpn.sdwan-vpn-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='sdwan-vpn-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='Active' />\n<parameter name='tenanat-id' value='`$prop.tenant-id`' />\n<parameter name='vpn-id' value='`$prop.vpn-id`' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 687.3649978637695,
+ "y": 1230.905207157135,
+ "z": "22c1b0cd.01617",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc543198.c0c2e",
+ "type": "set",
+ "name": "set vf-module-level-oper-status",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-level-oper-status.last-rpc-action' value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-level-oper-status.last-action' value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />",
+ "comments": "",
+ "x": 684.0000152587891,
+ "y": 1174.0000378815457,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "ef79430c.f091e",
+ "type": "set",
+ "name": "set vf-module-id and vf-module-object-path",
+ "xml": "<set>\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
+ "comments": "",
+ "x": 718.0000152587891,
+ "y": 1125.5000369278714,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "9597930d.e038d",
+ "type": "set",
+ "name": "copy input data in service-data",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",
+ "comments": "",
+ "x": 681.9999694824219,
+ "y": 1077.7499914169312,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "a41eacc.0c7475",
+ "type": "set",
+ "name": "set param-length + 1",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />",
+ "comments": "",
+ "x": 657.0000476837158,
+ "y": 1026.0000734329224,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ },
+ {
+ "id": "d46578bf.5e8e58",
+ "type": "set",
+ "name": "set param length + 1",
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.nidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />\n",
+ "comments": "",
+ "x": 652.0000152587891,
+ "y": 922.0000267028809,
+ "z": "22c1b0cd.01617",
+ "wires": []
+ }
+]
\ No newline at end of file |