diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-deactivate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-deactivate.json | 599 |
1 files changed, 599 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-deactivate.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-deactivate.json new file mode 100644 index 00000000..14263832 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-deactivate.json @@ -0,0 +1,599 @@ +[
+ {
+ "id": "702b97b3.8ee378",
+ "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": 767.03125,
+ "y": 208.03125,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "32955a69.c89b66",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 149.36448669433594,
+ "y": 29.031090259552002,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "6d10fa5f.ef1ca4"
+ ]
+ ]
+ },
+ {
+ "id": "6d10fa5f.ef1ca4",
+ "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": 228.6501922607422,
+ "y": 91.26919984817505,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "90ef259f.4465b8"
+ ]
+ ]
+ },
+ {
+ "id": "90ef259f.4465b8",
+ "type": "method",
+ "name": "method sdwan-vf-operation-vpn-deactivate",
+ "xml": "<method rpc='sdwan-vf-operation-vpn-deactivate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 240.36448669433594,
+ "y": 185.61743211746216,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "36593f98.16e3d"
+ ]
+ ]
+ },
+ {
+ "id": "36593f98.16e3d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 227.03115844726562,
+ "y": 370.6978039741516,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "702b97b3.8ee378",
+ "2f3304e5.d7fd4c",
+ "6be98d9b.539ff4",
+ "a0c4b3e9.994a9",
+ "b323d31c.acd57",
+ "5f46d882.04a158",
+ "621066a9.944e88",
+ "e3e4d1bd.80fd7",
+ "b9de2d65.c5979",
+ "7f24be05.1cd31",
+ "c30bc7b4.1dd508",
+ "5edb2470.30880c",
+ "c2f4c0be.85e67",
+ "637b40e9.05bd1"
+ ]
+ ]
+ },
+ {
+ "id": "6be98d9b.539ff4",
+ "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": 598.395751953125,
+ "y": 296.062340259552,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f3304e5.d7fd4c",
+ "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": 563.0936279296875,
+ "y": 252.06231260299683,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5ced122.5325a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 874.8193664550781,
+ "y": 379.04149866104126,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "3739b39c.50fc6c",
+ "ac6efceb.fbae4",
+ "f4c9064c.3cb418",
+ "6663d5f5.4132fc"
+ ]
+ ]
+ },
+ {
+ "id": "3739b39c.50fc6c",
+ "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": 1069.8194274902344,
+ "y": 308.0415253639221,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "5651b769.f6f788"
+ ]
+ ]
+ },
+ {
+ "id": "5651b769.f6f788",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1243.8195533752441,
+ "y": 308.0415291786194,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "8feb29dd.764fe8"
+ ]
+ ]
+ },
+ {
+ "id": "8feb29dd.764fe8",
+ "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": 1406.8194389343262,
+ "y": 307.6415238380432,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "ac6efceb.fbae4",
+ "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": 1080.235927581787,
+ "y": 355.70815420150757,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "fffcbfb8.f2fa"
+ ]
+ ]
+ },
+ {
+ "id": "fffcbfb8.f2fa",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.2360534667969,
+ "y": 355.70815801620483,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "aba521f0.c2f18"
+ ]
+ ]
+ },
+ {
+ "id": "aba521f0.c2f18",
+ "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": 1417.235939025879,
+ "y": 355.30815267562866,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "a0c4b3e9.994a9",
+ "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": 635.9858703613281,
+ "y": 381.70817041397095,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "d5ced122.5325a"
+ ]
+ ]
+ },
+ {
+ "id": "b9de2d65.c5979",
+ "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": 649.8194122314453,
+ "y": 619.0415069162846,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "962e611e.d3b8",
+ "d1b437fc.b72478",
+ "76cb6a63.2b7384"
+ ]
+ ]
+ },
+ {
+ "id": "962e611e.d3b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.8194122314453,
+ "y": 565.0415081977844,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "61f20284.b32c7c"
+ ]
+ ]
+ },
+ {
+ "id": "d1b437fc.b72478",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 898.3103790283203,
+ "y": 612.6155438423157,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "d289f55.a1fa308"
+ ]
+ ]
+ },
+ {
+ "id": "76cb6a63.2b7384",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.6433868408203,
+ "y": 653.9488568305969,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "7041e417.d417bc"
+ ]
+ ]
+ },
+ {
+ "id": "d289f55.a1fa308",
+ "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": 1074.8817901611328,
+ "y": 600.9012799263,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "7041e417.d417bc",
+ "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": 1081.415943145752,
+ "y": 649.3880496025085,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "7f24be05.1cd31",
+ "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": 657.8194122314453,
+ "y": 730.0415069162846,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "4afad198.25387",
+ "f3670767.c4d1d8"
+ ]
+ ]
+ },
+ {
+ "id": "4afad198.25387",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.8194847106934,
+ "y": 708.041538387537,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "7f06af8d.b7446"
+ ]
+ ]
+ },
+ {
+ "id": "f3670767.c4d1d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 889.0694847106934,
+ "y": 761.6844216883183,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "5cfe33a1.e2bc8c"
+ ]
+ ]
+ },
+ {
+ "id": "7f06af8d.b7446",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
+ "comments": "",
+ "x": 1046.8194122314453,
+ "y": 709.0415069162846,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "5cfe33a1.e2bc8c",
+ "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": 1041.8194847106934,
+ "y": 761.4344827234745,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "61f20284.b32c7c",
+ "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": 1092.3194732666016,
+ "y": 553.0415081977844,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "b323d31c.acd57",
+ "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": 592.3685722351074,
+ "y": 1226.5350461006165,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "f4c9064c.3cb418",
+ "type": "switchNode",
+ "name": "switch vpn-id",
+ "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'vpn-id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.368392944336,
+ "y": 405.284996509552,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "7073b26f.c2162c"
+ ]
+ ]
+ },
+ {
+ "id": "7073b26f.c2162c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1259.3684253692627,
+ "y": 405.2849953174591,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "ec43e2d2.05e58"
+ ]
+ ]
+ },
+ {
+ "id": "ec43e2d2.05e58",
+ "type": "set",
+ "name": "set prop.vpn-id",
+ "xml": "<set>\n<parameter name='prop.vpn-id' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1424.3683586120605,
+ "y": 407.88499689102173,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "6663d5f5.4132fc",
+ "type": "switchNode",
+ "name": "switch tenant-id",
+ "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'tenant-id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1088.1182556152344,
+ "y": 449.284996509552,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "b0ecdc75.e86fd"
+ ]
+ ]
+ },
+ {
+ "id": "b0ecdc75.e86fd",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1257.1184558868408,
+ "y": 448.28499841690063,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ [
+ "aa1766f9.85f0b8"
+ ]
+ ]
+ },
+ {
+ "id": "aa1766f9.85f0b8",
+ "type": "set",
+ "name": "set prop.tenant-id",
+ "xml": "<set>\n<parameter name='prop.tenant-id' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1420.1183414459229,
+ "y": 447.88499307632446,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "c30bc7b4.1dd508",
+ "type": "call",
+ "name": "call sdwan-get-tenant-auth",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 626.3644866943359,
+ "y": 816.031090259552,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5edb2470.30880c",
+ "type": "execute",
+ "name": "execute RestApiCallNode delete vpn topology",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\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=\"delete\"/>\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": 685.364501953125,
+ "y": 874.6978039741516,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2f4c0be.85e67",
+ "type": "execute",
+ "name": "execute RestApiCallNode delete vpn",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-delete.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn/action/batch-delete'`\" />\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": 662.8645172119141,
+ "y": 931.6980247497559,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "637b40e9.05bd1",
+ "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='PendingDelete' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 658.5832214355469,
+ "y": 1156.734342098236,
+ "z": "e3dba753.67e0f8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f46d882.04a158",
+ "type": "set",
+ "name": "copy input data 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.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": 645,
+ "y": 998,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "621066a9.944e88",
+ "type": "set",
+ "name": "set 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": 628.6666564941406,
+ "y": 1039.416741847992,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ },
+ {
+ "id": "e3e4d1bd.80fd7",
+ "type": "set",
+ "name": "set vf-module-oper-status to PendingDelete",
+ "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='PendingDelete' />\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`' />\n",
+ "comments": "",
+ "x": 684.1467742919922,
+ "y": 1089.0039992332458,
+ "z": "e3dba753.67e0f8",
+ "wires": []
+ }
+]
\ No newline at end of file |