diff options
Diffstat (limited to 'platform-logic')
2 files changed, 1540 insertions, 199 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-get-resource-request.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-get-resource-request.json index 586ee409..9548e241 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-get-resource-request.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-get-resource-request.json @@ -1 +1,1161 @@ -[{"id":"71e5f19b.23cc1","type":"dgstart","name":"DGSTART","outputs":1,"x":123.75,"y":61.25,"z":"c9fb05a1.f03a38","wires":[["4e6a76bb.d58118"]]},{"id":"4e6a76bb.d58118","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":399.75,"y":62.25,"z":"c9fb05a1.f03a38","wires":[["b1975c3c.54147"]]},{"id":"b1975c3c.54147","type":"method","name":" vnf-get-resource-request","xml":"<method rpc='vnf-get-resource-request' mode='sync'>\n","comments":"","outputs":1,"x":716.75,"y":62.25,"z":"c9fb05a1.f03a38","wires":[["bbb2187d.b4ae88"]]},{"id":"bbb2187d.b4ae88","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":136.25,"y":144.25,"z":"c9fb05a1.f03a38","wires":[["279803f6.bb850c","7e6dd657.146b98","3a37e476.da7fcc"]]},{"id":"12d6dc0d.fd64f4","type":"set","name":"set","xml":"<set>\n <parameter name=\"vnf-get-resource-request-output.vnf-get-resource-response-information.vnf_length\" value='`$service-data.vnfs.vnf_length`'/>\n ","comments":"","x":892.75,"y":221.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"52f69811.1414c8","type":"for","name":"for vnfs","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n","comments":"","outputs":1,"x":1291.75,"y":314.25,"z":"c9fb05a1.f03a38","wires":[["af01353.72b0dc8"]]},{"id":"13db184.775a9e8","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vnf-id`' value=\"`$service-data.vnfs.vnf[$i].vnf-id`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vnf-name`' value=\"`$service-data.vnfs.vnf[$i].vnf-name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param_length`' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`'/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module_length`' value='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`'/>\n \n","comments":"","x":1707.75,"y":312.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"af01353.72b0dc8","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1484.75,"y":313.25,"z":"c9fb05a1.f03a38","wires":[["13db184.775a9e8","64b1d01f.5a16d","210f3c73.f2bc34"]]},{"id":"500a1b48.ca00b4","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":2034.75,"y":411.25,"z":"c9fb05a1.f03a38","wires":[["6092aad9.5c23c4"]]},{"id":"638917f.a0714e8","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.status`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.capability-name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.resource-key_length`' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' />\n","comments":"","x":2428.75,"y":412.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"6092aad9.5c23c4","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":2244.75,"y":412.25,"z":"c9fb05a1.f03a38","wires":[["638917f.a0714e8","7fd0e372.4ea51c"]]},{"id":"226d1977.2bb2a6","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":2936.75,"y":490.25,"z":"c9fb05a1.f03a38","wires":[["90271061.718a2"]]},{"id":"90271061.718a2","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`\"/>\n ","comments":"","x":3160.75,"y":490.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"adbdcd86.970f","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].vf-module-id`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-id`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param_length`' value=\"`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\"/>\n \n","comments":"","x":2457.25,"y":665.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"8a363afa.1d7ff8","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":2260.25,"y":666.25,"z":"c9fb05a1.f03a38","wires":[["adbdcd86.970f","6c63251f.2e2dbc"]]},{"id":"6c63251f.2e2dbc","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n","comments":"","outputs":1,"x":2463.25,"y":742.25,"z":"c9fb05a1.f03a38","wires":[["2927472a.a6f5b8"]]},{"id":"875e84f.49d8978","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key_length`' value=\"`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`\"/>\n \n\n","comments":"","x":2874.25,"y":741.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"2927472a.a6f5b8","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":2690.25,"y":741.25,"z":"c9fb05a1.f03a38","wires":[["875e84f.49d8978","42a7a5d9.b0445c"]]},{"id":"8ae546f5.8f01a8","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":3392.25,"y":815.25,"z":"c9fb05a1.f03a38","wires":[["a6125bb5.09a018"]]},{"id":"a6125bb5.09a018","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`\"/>\n","comments":"","x":3641.25,"y":814.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"8b961e1.b95a5e","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='l' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >\n","comments":"","outputs":1,"x":2010.25,"y":665.25,"z":"c9fb05a1.f03a38","wires":[["8a363afa.1d7ff8"]]},{"id":"98ac6570.361ae8","type":"switchNode","name":"switch vnf length null","xml":"<switch test=\"`$service-data.vnfs.vnf_length == ''`\">\n\n","comments":"","outputs":1,"x":927.75,"y":312.25,"z":"c9fb05a1.f03a38","wires":[["edd588ca.df2798"]]},{"id":"edd588ca.df2798","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1120.75,"y":313.25,"z":"c9fb05a1.f03a38","wires":[["52f69811.1414c8"]]},{"id":"64b1d01f.5a16d","type":"switchNode","name":"switch param length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`\">\n\n","comments":"","outputs":1,"x":1760.75,"y":361.25,"z":"c9fb05a1.f03a38","wires":[["145834f.59f5bcb"]]},{"id":"145834f.59f5bcb","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1836.75,"y":411.25,"z":"c9fb05a1.f03a38","wires":[["500a1b48.ca00b4"]]},{"id":"aea627e9.1c1d48","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1860.75,"y":598.25,"z":"c9fb05a1.f03a38","wires":[["8b961e1.b95a5e"]]},{"id":"210f3c73.f2bc34","type":"switchNode","name":"switch vf module length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length == ''`\">\n\n","comments":"","outputs":1,"x":1769.75,"y":546.25,"z":"c9fb05a1.f03a38","wires":[["aea627e9.1c1d48"]]},{"id":"7fd0e372.4ea51c","type":"switchNode","name":"switch resource-key length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length == ''`\">\n\n","comments":"","outputs":1,"x":2498.75,"y":490.25,"z":"c9fb05a1.f03a38","wires":[["b8c1cd4c.e0428"]]},{"id":"b8c1cd4c.e0428","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2725.75,"y":490.25,"z":"c9fb05a1.f03a38","wires":[["226d1977.2bb2a6"]]},{"id":"42a7a5d9.b0445c","type":"switchNode","name":"switch resource-key length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length == ''`\">\n\n","comments":"","outputs":1,"x":2942.75,"y":816.25,"z":"c9fb05a1.f03a38","wires":[["1364a38e.caf57c"]]},{"id":"1364a38e.caf57c","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":3169.75,"y":816.25,"z":"c9fb05a1.f03a38","wires":[["8ae546f5.8f01a8"]]},{"id":"12107077.40b7c","type":"set","name":"set","xml":"<set>\n\t<parameter name=\"ack-final\" value=\"Y\"/>\n ","comments":"","x":274.0833740234375,"y":1081.916748046875,"z":"c9fb05a1.f03a38","wires":[]},{"id":"3a37e476.da7fcc","type":"returnSuccess","name":"return success","xml":"<return status=\"success\">\n <parameter name=\"error-code\" value=\"200\" />","comments":"","x":287.0833740234375,"y":1182.916748046875,"z":"c9fb05a1.f03a38","wires":[]},{"id":"279803f6.bb850c","type":"set","name":"set","xml":"<set>\n <parameter name=\"vnf-get-resource-request-output.vnf-get-resource-response-information.service-instance-id\" value='`$vnf-get-resource-request-input.service-information.service-instance-id`'/>\n <parameter name=\"vnf-get-resource-request-output.vnf-get-resource-response-information.service-instance-name\" value='`$service-data.service-topology.service-topology-identifier.service-instance-name`'/>\n ","comments":"","x":281.75,"y":144.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"7e6dd657.146b98","type":"switchNode","name":"switch vnf length null","xml":"<switch test=\"`$vnf-get-resource-request-input.vnf_length == ''`\">\n\n","comments":"","outputs":1,"x":337.5,"y":222.75,"z":"c9fb05a1.f03a38","wires":[["7ea307a8.26c5f8","43925d74.653894"]]},{"id":"7ea307a8.26c5f8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":522.75,"y":222.75,"z":"c9fb05a1.f03a38","wires":[["d7e5acc6.a6a9e"]]},{"id":"43925d74.653894","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":514.75,"y":569.25,"z":"c9fb05a1.f03a38","wires":[["244c88d9.17e128"]]},{"id":"d7e5acc6.a6a9e","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":672.75,"y":221.25,"z":"c9fb05a1.f03a38","wires":[["12d6dc0d.fd64f4","98ac6570.361ae8"]]},{"id":"244c88d9.17e128","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":689.75,"y":569.25,"z":"c9fb05a1.f03a38","wires":[["97be966.400cf68","6fab5c8.8f5a5a4"]]},{"id":"97be966.400cf68","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.vnf_counter\" value='0'/>","comments":"","x":854.75,"y":568.25,"z":"c9fb05a1.f03a38","wires":[]},{"id":"6fab5c8.8f5a5a4","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='ll' start='0' end='`$vnf-get-resource-request-input.vnf_length`' >\n","comments":"","outputs":1,"x":933.75,"y":640.25,"z":"c9fb05a1.f03a38","wires":[["7fd5c704.7b7d88"]]},{"id":"7fd5c704.7b7d88","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1193.7498779296875,"y":803.5833129882812,"z":"c9fb05a1.f03a38","wires":[["7f48d3f2.bc62fc","5d7bb52b.3bf2fc"]]},{"id":"7f48d3f2.bc62fc","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.vnf-id\" value=\"`$vnf-get-resource-request-input.vnf[$ll].vnf-id`\"/>\n \n ","comments":"","x":1370.4998779296875,"y":804.5833129882812,"z":"c9fb05a1.f03a38","wires":[]},{"id":"53ff1d53.c963a4","type":"for","name":"for vnfs","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n","comments":"","outputs":1,"x":1589.2498779296875,"y":921.5833129882812,"z":"c9fb05a1.f03a38","wires":[["23a18f9b.123be"]]},{"id":"23a18f9b.123be","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1605.2498779296875,"y":1000.5833129882812,"z":"c9fb05a1.f03a38","wires":[["714e4b4d.72be04"]]},{"id":"4ab50efe.43414","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vnf-id`' value=\"`$service-data.vnfs.vnf[$i].vnf-id`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vnf-name`' value=\"`$service-data.vnfs.vnf[$i].vnf-name`\"/>\n <parameter name=\"tmp.pnum\" value='0'/>\n \n","comments":"","x":1885.2498779296875,"y":1178.5833129882812,"z":"c9fb05a1.f03a38","wires":[]},{"id":"714e4b4d.72be04","type":"switchNode","name":"switch vnf-id match","xml":"<switch test='`$tmp.vnf-id == $service-data.vnfs.vnf[$i].vnf-id`'>\n\n","comments":"","outputs":1,"x":1784.2498779296875,"y":999.5833129882812,"z":"c9fb05a1.f03a38","wires":[["98998365.bf924"]]},{"id":"98998365.bf924","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1988.7498779296875,"y":998.083251953125,"z":"c9fb05a1.f03a38","wires":[["a5490309.aed49"]]},{"id":"a5490309.aed49","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1662.2498779296875,"y":1179.5833129882812,"z":"c9fb05a1.f03a38","wires":[["4ab50efe.43414","eb769595.4a1c88","80140d24.984d9","3c557cf7.80ad04"]]},{"id":"498ab47b.37a03c","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":2212.2498779296875,"y":1277.5833129882812,"z":"c9fb05a1.f03a38","wires":[["648562c9.05cdfc"]]},{"id":"15c41760.a683e9","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.status`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.capability-name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`\"/>\n <parameter name='tmp.prnum' value='0' />\n","comments":"","x":2606.2498779296875,"y":1278.5833129882812,"z":"c9fb05a1.f03a38","wires":[]},{"id":"648562c9.05cdfc","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":2422.2498779296875,"y":1278.5833129882812,"z":"c9fb05a1.f03a38","wires":[["15c41760.a683e9","eba04fd3.4cbc1","7ecd748d.54608c"]]},{"id":"950d3183.cecf7","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":3114.2498779296875,"y":1356.5833129882812,"z":"c9fb05a1.f03a38","wires":[["98f080bb.9a2a9"]]},{"id":"98f080bb.9a2a9","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key_length`' value='`$tmp.prnum + 1`' />\n <parameter name='tmp.prnum' value='`$tmp.prnum + 1`' />\n\n","comments":"","x":3338.2498779296875,"y":1356.5833129882812,"z":"c9fb05a1.f03a38","wires":[]},{"id":"eba04fd3.4cbc1","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param_length`' value='`$tmp.pnum + 1`' />\n <parameter name='tmp.pnum' value='`$tmp.pnum + 1`' />\n","comments":"","x":2618.2498779296875,"y":1425.5833129882812,"z":"c9fb05a1.f03a38","wires":[]},{"id":"fd3454b5.cefc68","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`\"/>\n <parameter name=\"tmp.vfpnum\" value='0'/>\n \n","comments":"","x":2836.75048828125,"y":1934.8331909179688,"z":"c9fb05a1.f03a38","wires":[]},{"id":"e457ca57.d615e8","type":"switchNode","name":"switch vf-module-id is null","xml":"<switch test=\"`$vnf-get-resource-request-input.vnf[$ll].vf-module_length == ''`\">\n\n","comments":"","outputs":1,"x":2392.0005493164062,"y":1727.5832214355469,"z":"c9fb05a1.f03a38","wires":[["44111800.179bc8","261f3d7c.d77342"]]},{"id":"261f3d7c.d77342","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2625.75048828125,"y":1777.8331909179688,"z":"c9fb05a1.f03a38","wires":[["3f2b06c9.6617ea"]]},{"id":"44111800.179bc8","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2625.75048828125,"y":1662.8331909179688,"z":"c9fb05a1.f03a38","wires":[["8fc1c07d.5fb89"]]},{"id":"3f2b06c9.6617ea","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":2639.75048828125,"y":1935.8331909179688,"z":"c9fb05a1.f03a38","wires":[["fd3454b5.cefc68","74abe52f.d8d7fc"]]},{"id":"74abe52f.d8d7fc","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n","comments":"","outputs":1,"x":2842.75048828125,"y":2011.8331909179688,"z":"c9fb05a1.f03a38","wires":[["ceac56f.9b593a8"]]},{"id":"c71fe51d.045db8","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`\"/>\n <parameter name='tmp.pvnfrnum' value='0' />\n","comments":"","x":3253.75048828125,"y":2010.8331909179688,"z":"c9fb05a1.f03a38","wires":[]},{"id":"ceac56f.9b593a8","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":3069.75048828125,"y":2010.8331909179688,"z":"c9fb05a1.f03a38","wires":[["c71fe51d.045db8","e08a2da7.f5fec","8103db8e.8bbc98"]]},{"id":"a0cff78e.a1a3a8","type":"for","name":"for vnf-parameters-data.param","xml":"<for index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":3759.2505798339844,"y":2081.0831298828125,"z":"c9fb05a1.f03a38","wires":[["91e21dd.0da18e"]]},{"id":"91e21dd.0da18e","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.pvnfrnum].name`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.pvnfrnum].value`' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`\"/>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key_length`' value='`$tmp.pvnfrnum + 1`' />\n <parameter name='tmp.pvnfrnum' value='`$tmp.pvnfrnum + 1`' />\n \n","comments":"","x":3973.2505798339844,"y":2081.333038330078,"z":"c9fb05a1.f03a38","wires":[]},{"id":"e08a2da7.f5fec","type":"set","name":"set","xml":"<set>\n <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param_length`' value='`$tmp.vfpnum + 1`' />\n <parameter name='tmp.vfpnum' value='`$tmp.vfpnum + 1`' />\n \n","comments":"","x":3265.75048828125,"y":2157.8331909179688,"z":"c9fb05a1.f03a38","wires":[]},{"id":"1ffac0d4.9f3bdf","type":"for","name":"for vf-module","xml":"<for index='ln' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >\n","comments":"","outputs":1,"x":2187.75048828125,"y":1729.8331909179688,"z":"c9fb05a1.f03a38","wires":[["e457ca57.d615e8"]]},{"id":"eb769595.4a1c88","type":"set","name":"set","xml":"<set>\n <parameter name='vnf-get-resource-request-output.vnf-get-resource-response-information.vnf_length' value='`$tmp.vnf_counter + 1`' />\n <parameter name='tmp.vnf_counter' value='`$tmp.vnf_counter + 1`' />\n \n","comments":"","x":1839.9998168945312,"y":2105.583251953125,"z":"c9fb05a1.f03a38","wires":[]},{"id":"5d7bb52b.3bf2fc","type":"switchNode","name":"switch vnf length null","xml":"<switch test=\"`$service-data.vnfs.vnf_length == ''`\">\n\n","comments":"","outputs":1,"x":1411.9999389648438,"y":865.0833129882812,"z":"c9fb05a1.f03a38","wires":[["8872705c.6c6b"]]},{"id":"8872705c.6c6b","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1429.2498779296875,"y":922.5833129882812,"z":"c9fb05a1.f03a38","wires":[["53ff1d53.c963a4"]]},{"id":"80140d24.984d9","type":"switchNode","name":"switch param length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`\">\n\n","comments":"","outputs":1,"x":1938.2498779296875,"y":1227.5833129882812,"z":"c9fb05a1.f03a38","wires":[["aded468b.41a518"]]},{"id":"aded468b.41a518","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2014.2498779296875,"y":1277.5833129882812,"z":"c9fb05a1.f03a38","wires":[["498ab47b.37a03c"]]},{"id":"75a3c377.d1f7bc","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2038.25048828125,"y":1662.8331909179688,"z":"c9fb05a1.f03a38","wires":[["1ffac0d4.9f3bdf"]]},{"id":"3c557cf7.80ad04","type":"switchNode","name":"switch module length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length == ''`\">\n\n","comments":"","outputs":1,"x":1947.25048828125,"y":1610.8331909179688,"z":"c9fb05a1.f03a38","wires":[["75a3c377.d1f7bc"]]},{"id":"7ecd748d.54608c","type":"switchNode","name":"switch resource-key length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length == ''`\">\n\n","comments":"","outputs":1,"x":2676.2498779296875,"y":1356.5833129882812,"z":"c9fb05a1.f03a38","wires":[["3a94d00d.37917"]]},{"id":"3a94d00d.37917","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2903.2498779296875,"y":1356.5833129882812,"z":"c9fb05a1.f03a38","wires":[["950d3183.cecf7"]]},{"id":"8103db8e.8bbc98","type":"switchNode","name":"switch resource-key length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length == ''`\">\n\n","comments":"","outputs":1,"x":3322.25048828125,"y":2085.8331909179688,"z":"c9fb05a1.f03a38","wires":[["4cf375e9.6b3bac"]]},{"id":"4cf375e9.6b3bac","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":3549.25048828125,"y":2085.8331909179688,"z":"c9fb05a1.f03a38","wires":[["a0cff78e.a1a3a8"]]},{"id":"8fc1c07d.5fb89","type":"for","name":"for vf module length","xml":"<for index='jj' start='0' end='`$vnf-get-resource-request-input.vnf[$ll].vf-module_length`' >\n","comments":"","outputs":1,"x":2823.7501220703125,"y":1661.9166259765625,"z":"c9fb05a1.f03a38","wires":[["bd3e1107.bb98"]]},{"id":"bd3e1107.bb98","type":"switchNode","name":"switch vf-module-id is null","xml":"<switch test='`$vnf-get-resource-request-input.vnf[$ll].vf-module[$jj].vf-module-id == $service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`'>\n\n","comments":"","outputs":1,"x":3092.5,"y":1664,"z":"c9fb05a1.f03a38","wires":[["81cea753.cfda08"]]},{"id":"81cea753.cfda08","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":3328.75,"y":1664,"z":"c9fb05a1.f03a38","wires":[["3f2b06c9.6617ea"]]}]
\ No newline at end of file +[
+ {
+ "id": "c125b89b.aa4e58",
+ "type": "set",
+ "name": "copy resp. to vnf-get-resource-request-output.vnf-get-resource-response-information.",
+ "xml": "<set>\n<parameter name=\"vnf-get-resource-request-output.vnf-get-resource-response-information.\" value='resp.'/>\n ",
+ "comments": "",
+ "x": 834.7867279052734,
+ "y": 2193.393903472461,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "9648d4a2.259b18",
+ "type": "for",
+ "name": "for j in service-data.vnf[$i]...param[]",
+ "xml": "<for silentFailure='true' index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2693.2140350341797,
+ "y": 1231.9760386729613,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "79f5c06f.bae66"
+ ]
+ ]
+ },
+ {
+ "id": "c8ebcff3.348fb",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2391.428352355957,
+ "y": 1529.9404785418883,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "7bb91c6.bf56be4",
+ "28f9ca1c.3c6566",
+ "9648d4a2.259b18",
+ "4c12d7d0.9945a8",
+ "d794d67.5437d28",
+ "31ba7969.a46566",
+ "aa7cc0d5.05e27",
+ "d00eaf7b.17354"
+ ]
+ ]
+ },
+ {
+ "id": "79f5c06f.bae66",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2933.499626159668,
+ "y": 1231.97599861864,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "7a149837.b40128",
+ "90fae782.fe6c28",
+ "efe95ce8.2b499",
+ "74a62ba6.902304",
+ "a278c547.bff798"
+ ]
+ ]
+ },
+ {
+ "id": "6c48b277.4aea4c",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2233.35693359375,
+ "y": 1018.0830971980467,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "c8ebcff3.348fb"
+ ]
+ ]
+ },
+ {
+ "id": "7bb91c6.bf56be4",
+ "type": "set",
+ "name": "set resp.vnf[$tmp.vnf_counter].vnf-id, vnf-name to service-data...",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].vnf-id' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-id`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].vnf-name' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-information.vnf-name`\"/>\n \n",
+ "comments": "",
+ "x": 2796.3922424316406,
+ "y": 980.4405414843932,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "28f9ca1c.3c6566",
+ "type": "set",
+ "name": "set tmp.pnum = 0",
+ "xml": "<set>\n<parameter name=\"tmp.pnum\" value='0'/>\n \n",
+ "comments": "",
+ "x": 2629.8934783935547,
+ "y": 1040.5041763568297,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "7a149837.b40128",
+ "type": "set",
+ "name": "set resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].name, value, status, cap-name to service-data...",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].name' \n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].value' \n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.status' \n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.payload' \n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.payload`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.capability-name' \n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`\"/>\n",
+ "comments": "",
+ "x": 3434.1067276000977,
+ "y": 1108.0117742801085,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "90fae782.fe6c28",
+ "type": "set",
+ "name": "set resp.vnf[$tmp.vnf_counter].param_length = tmp.pnum + 1",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].param_length' value='`$tmp.pnum + 1`' />\n",
+ "comments": "",
+ "x": 3312.606491088867,
+ "y": 1319.2975754737854,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "818172e5.a38a4",
+ "type": "switchNode",
+ "name": "switch tmp.vnf-id == service-data.vnfs.vnf[$i].vnf-id",
+ "xml": "<switch test='`$tmp.vnf-id == $service-data.vnfs.vnf[$i].vnf-id`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1944.5710906982422,
+ "y": 1018.1545655513182,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "6c48b277.4aea4c"
+ ]
+ ]
+ },
+ {
+ "id": "2997c589.50daba",
+ "type": "for",
+ "name": "for i in service-data.vnfs[]",
+ "xml": "<for silentFailure='true' index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1578.1427459716797,
+ "y": 1017.2975852275267,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "818172e5.a38a4"
+ ]
+ ]
+ },
+ {
+ "id": "4c12d7d0.9945a8",
+ "type": "for",
+ "name": "for ln in service-data...vnf[$i]..vf-module[]",
+ "xml": "<for silentFailure='true' index='ln' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2716.786636352539,
+ "y": 1843.0469553256407,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "4d388b69.541c94"
+ ]
+ ]
+ },
+ {
+ "id": "74a62ba6.902304",
+ "type": "for",
+ "name": "for k in service-data.vnfs...resource-key[]",
+ "xml": "<for silentFailure='true' index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3228.9636154174805,
+ "y": 1230.7258875155821,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "d2fcba15.948ff8"
+ ]
+ ]
+ },
+ {
+ "id": "9806a6e6.e6fff8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1365.3607711791992,
+ "y": 906.7657601619139,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "2997c589.50daba",
+ "5709d1f6.d8f51"
+ ]
+ ]
+ },
+ {
+ "id": "4d388b69.541c94",
+ "type": "switchNode",
+ "name": "switch input.vnf[$ll].vf-module_length",
+ "xml": "<switch test=\"`$vnf-get-resource-request-input.vnf[$ll].vf-module_length`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3120.3220977783203,
+ "y": 1843.1185967708007,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "bd93cd89.78a3e",
+ "3f36def1.16b282",
+ "d463d07f.8a224"
+ ]
+ ]
+ },
+ {
+ "id": "4d55a716.46e8f8",
+ "type": "set",
+ "name": "set resp.vnf$tmp.vnf_counter].param[$tmp.pnum]",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].name' \n \tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].value' \n \tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key_length`' \n \tvalue='`$tmp.prnum + 1`' />\n\n",
+ "comments": "",
+ "x": 3775.4634170532227,
+ "y": 1193.8686258578673,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "cb27b969.07c4b8",
+ "type": "for",
+ "name": "for ll in input.vnf_length",
+ "xml": "<for silentFailure='true' index='ll' start='0' end='`$vnf-get-resource-request-input.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1166.9482803344727,
+ "y": 906.8768880153075,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "9806a6e6.e6fff8"
+ ]
+ ]
+ },
+ {
+ "id": "5709d1f6.d8f51",
+ "type": "set",
+ "name": "set tmp.vnf-id = input.vnf[$ll].vnf-id",
+ "xml": "<set>\n <parameter name=\"tmp.vnf-id\" value=\"`$vnf-get-resource-request-input.vnf[$ll].vnf-id`\"/>\n \n ",
+ "comments": "",
+ "x": 1610.2854614257812,
+ "y": 812.6784608149901,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "bd93cd89.78a3e",
+ "type": "not-found",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3414.9879302978516,
+ "y": 1493.0709044719115,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "47a2b55b.21472c"
+ ]
+ ]
+ },
+ {
+ "id": "f90761d7.47a0f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 959.5356330871582,
+ "y": 806.6070601725951,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "cb27b969.07c4b8",
+ "3be9154e.d8b61a"
+ ]
+ ]
+ },
+ {
+ "id": "9aef6544.25f9c8",
+ "type": "for",
+ "name": "for jj in input...vf module[]",
+ "xml": "<for silentFailure='true' index='jj' start='0' end='`$vnf-get-resource-request-input.vnf[$ll].vf-module_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3145.8092880249023,
+ "y": 2041.7974850917235,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "65817c1.22a4b84"
+ ]
+ ]
+ },
+ {
+ "id": "47a2b55b.21472c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3689.2379970550537,
+ "y": 1553.3566643977538,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "3c9b3921.42ff96",
+ "6a0f35b.82d79cc",
+ "4d4016ef.8b38a8"
+ ]
+ ]
+ },
+ {
+ "id": "146b5553.f48ceb",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 835.3937454223633,
+ "y": 806.965181090869,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "f90761d7.47a0f"
+ ]
+ ]
+ },
+ {
+ "id": "3be9154e.d8b61a",
+ "type": "set",
+ "name": "set tmp.vnf_counter = 0",
+ "xml": "<set>\n <parameter name=\"tmp.vnf_counter\" value='0'/>",
+ "comments": "",
+ "x": 1166.8173751831055,
+ "y": 711.5832297587767,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "65817c1.22a4b84",
+ "type": "switchNode",
+ "name": "switch vf-module-id - input == service-data",
+ "xml": "<switch test='`$vnf-get-resource-request-input.vnf[$ll].vf-module[$jj].vf-module-id == $service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3472.5591583251953,
+ "y": 2041.1311146998778,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "2255f72d.0b31f8"
+ ]
+ ]
+ },
+ {
+ "id": "3c9b3921.42ff96",
+ "type": "set",
+ "name": "set resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id to service-data.. ",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id' \n \tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`\"/>\n",
+ "comments": "",
+ "x": 4151.880613327026,
+ "y": 1411.8206174159423,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "6a0f35b.82d79cc",
+ "type": "for",
+ "name": "for m in service-data.vnf[$i]...vf-module[$ln]...param[]",
+ "xml": "<for silentFailure='true' index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4023.0827312469482,
+ "y": 1669.17797253374,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "ec7d1d99.f01f9"
+ ]
+ ]
+ },
+ {
+ "id": "2255f72d.0b31f8",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3731.558906555176,
+ "y": 2041.130801894702,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "47a2b55b.21472c"
+ ]
+ ]
+ },
+ {
+ "id": "46ba1b58.ce05e4",
+ "type": "switchNode",
+ "name": "switch input vnf length",
+ "xml": "<switch test=\"`$vnf-get-resource-request-input.vnf_length`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 615.2817535400391,
+ "y": 576.8769671702757,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "146b5553.f48ceb",
+ "255b4707.066218",
+ "10bc99fc.a4ebc6"
+ ]
+ ]
+ },
+ {
+ "id": "ec7d1d99.f01f9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4322.9757442474365,
+ "y": 1669.3564669871703,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "e94726d5.4bbc48",
+ "1965e4cb.b3d4ab",
+ "4c6cf107.7073b",
+ "742314a6.fc4e4c",
+ "aec2bda.f9b7a4"
+ ]
+ ]
+ },
+ {
+ "id": "255b4707.066218",
+ "type": "not-found",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 836.9443550109863,
+ "y": 328.3690011287108,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "66daf27c.188a1c"
+ ]
+ ]
+ },
+ {
+ "id": "7307ae93.03c54",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 345.1428756713867,
+ "y": 913.8928539538756,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "46ba1b58.ce05e4",
+ "3966eb3c.3dde74",
+ "dc78704d.bad6",
+ "c125b89b.aa4e58"
+ ]
+ ]
+ },
+ {
+ "id": "e94726d5.4bbc48",
+ "type": "set",
+ "name": "set resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name, value",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].value' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.capability-name' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.capability-name`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.payload' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.payload`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.status' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.status`\"/>\t\n",
+ "comments": "",
+ "x": 4806.404218673706,
+ "y": 1514.4993836665526,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "1965e4cb.b3d4ab",
+ "type": "set",
+ "name": "set resp.vnf[].vf-module[].param_length = tmp.vfpnum++",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param_length' \n\tvalue='`$tmp.vfpnum + 1`' />\n \n",
+ "comments": "",
+ "x": 4683.940336227417,
+ "y": 1778.8206174159423,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "66daf27c.188a1c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.5158233642578,
+ "y": 368.8690297389403,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "c314a048.5c279",
+ "4606e948.112a98"
+ ]
+ ]
+ },
+ {
+ "id": "410cd5e5.d529dc",
+ "type": "method",
+ "name": " vnf-get-resource-request",
+ "xml": "<method rpc='vnf-get-resource-request' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 154.9285659790039,
+ "y": 163.32144329790026,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "7307ae93.03c54"
+ ]
+ ]
+ },
+ {
+ "id": "3966eb3c.3dde74",
+ "type": "set",
+ "name": "set resp.service-instance-id, service-instance-name",
+ "xml": "<set>\n<parameter name=\"resp.service-instance-id\" \n\tvalue='`$vnf-get-resource-request-input.service-information.service-instance-id`'/>\n<parameter name=\"resp.service-instance-name\" \n\tvalue='`$service-data.service-topology.service-topology-identifier.service-instance-name`'/>\n ",
+ "comments": "",
+ "x": 705.5633850097656,
+ "y": 202.62294934038073,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "dc78704d.bad6",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status=\"success\">\n <parameter name=\"error-code\" value=\"200\" />",
+ "comments": "",
+ "x": 589.0118827819824,
+ "y": 2286.309591033496,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "c314a048.5c279",
+ "type": "set",
+ "name": "set resp.vnf_length = service-data.vnfs.vnf_length",
+ "xml": "<set>\n <parameter name=\"resp.vnf_length\" value='`$service-data.vnfs.vnf_length`'/>\n ",
+ "comments": "",
+ "x": 1259.0832061767578,
+ "y": 246.94440911058336,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "4606e948.112a98",
+ "type": "for",
+ "name": "for i in service-data...vnf_length",
+ "xml": "<for silentFailure='true' index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1193.9759368896484,
+ "y": 490.91666958574206,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "683b97bb.f68288"
+ ]
+ ]
+ },
+ {
+ "id": "ebf4cb53.aa1608",
+ "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": 186.5,
+ "y": 121.89286682847887,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "410cd5e5.d529dc"
+ ]
+ ]
+ },
+ {
+ "id": "742314a6.fc4e4c",
+ "type": "for",
+ "name": "for n in service-data...vf-module...resource-key[]",
+ "xml": "<for silentFailure='true' index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4644.618474960327,
+ "y": 1669.0350539470091,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "c444a2f2.08e8a",
+ "4aa2b4b9.f0602c"
+ ]
+ ]
+ },
+ {
+ "id": "683b97bb.f68288",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1418.9761352539062,
+ "y": 491.0753590846434,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "22970804.3f1658",
+ "a6cac176.72207",
+ "fe0af4f6.a88cc8"
+ ]
+ ]
+ },
+ {
+ "id": "a266f607.eae098",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 81.21427536010742,
+ "y": 75.7142882347107,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "ebf4cb53.aa1608"
+ ]
+ ]
+ },
+ {
+ "id": "c444a2f2.08e8a",
+ "type": "set",
+ "name": "set resp.vnf[].vf-module[].param[$tmp.vfpnum]...resource-key[$tmp.vnfprnum].name, value, length",
+ "xml": "<set>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].name' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].value' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`\"/>\n<parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key_length`' \n\tvalue=\"`$tmp.vfprnum + 1`\" />\n \n",
+ "comments": "",
+ "x": 5252.297132492065,
+ "y": 1625.3919999385253,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "22970804.3f1658",
+ "type": "set",
+ "name": "set resp.vnf[]...vnf-id, vnf-name, param[], vf-module[] to service-data",
+ "xml": "<set>\n<parameter name='resp.vnf[$i].vnf-id' value=\"`$service-data.vnfs.vnf[$i].vnf-id`\"/>\n<parameter name='resp.vnf[$i].vnf-name' value=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-information.vnf-name`\"/>\n<parameter name='resp.vnf[$i].param_length' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`'/>\n<parameter name='resp.vnf[$i].vf-module_length' value='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`'/>\n \n",
+ "comments": "",
+ "x": 1809.3567581176758,
+ "y": 319.8689934993163,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "a6cac176.72207",
+ "type": "for",
+ "name": "for j in service-data.vnf...param",
+ "xml": "<for silentFailure='true' index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1679.6903457641602,
+ "y": 435.04358647111803,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "aaf0775c.c7bb48"
+ ]
+ ]
+ },
+ {
+ "id": "fe0af4f6.a88cc8",
+ "type": "for",
+ "name": "for l in service-data.vnf[]..vf-module[]",
+ "xml": "<for silentFailure='true' index='l' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1696.285171508789,
+ "y": 618.5831296229735,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "526c4108.5e8cf"
+ ]
+ ]
+ },
+ {
+ "id": "aaf0775c.c7bb48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1921.2616844177246,
+ "y": 434.55151150468737,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "45721dbf.369fa4",
+ "1e55dad0.da9665"
+ ]
+ ]
+ },
+ {
+ "id": "526c4108.5e8cf",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1930.2852020263672,
+ "y": 618.4720704341307,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "52820114.9a49c",
+ "196559f8.534c96"
+ ]
+ ]
+ },
+ {
+ "id": "45721dbf.369fa4",
+ "type": "set",
+ "name": "set resp.vnf[].param[]...",
+ "xml": "<set>\n<parameter name='resp.vnf[$i].param[$j].name' \n \tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`\"/>\n<parameter name='resp.vnf[$i].param[$j].value' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`\"/>\n<parameter name='resp.vnf[$i].param[$j].resource-resolution-data.status' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`\"/>\n<parameter name='resp.vnf[$i].param[$j].resource-resolution-data.capability-name' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`\"/>\n<parameter name='resp.vnf[$i].param[$j].resource-resolution-data.payload' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.payload`\"/>\t\n<parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key_length' \n\tvalue='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' />\n",
+ "comments": "",
+ "x": 2104.62686920166,
+ "y": 385.98010609392077,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "1e55dad0.da9665",
+ "type": "for",
+ "name": "for k in vnf[]...resource-key[]",
+ "xml": "<for silentFailure='true' index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2120.595115661621,
+ "y": 481.1070153499022,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "ac7035c4.a9a798"
+ ]
+ ]
+ },
+ {
+ "id": "52820114.9a49c",
+ "type": "set",
+ "name": "set resp.vnf[$i].vf-module[$l].vf-module-id, param[]",
+ "xml": "<set>\n<parameter name='resp.vnf[$i].vf-module[$l].vf-module-id' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-id`\"/>\n<parameter name='resp.vnf[$i].vf-module[$l].param_length' \n\tvalue=\"`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\"/>\n \n",
+ "comments": "",
+ "x": 2229.475860595703,
+ "y": 551.7576863551512,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "196559f8.534c96",
+ "type": "for",
+ "name": "for m in vnf[$i]...vf-module[$l]...param[]",
+ "xml": "<for silentFailure='true' index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.476043701172,
+ "y": 683.9481255793944,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "4d70d179.abfd6"
+ ]
+ ]
+ },
+ {
+ "id": "ac7035c4.a9a798",
+ "type": "set",
+ "name": "set resp.vnf[]...resource-key[].name/value",
+ "xml": "<set>\n<parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].name' \n \tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`\"/>\n<parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].value' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`\"/>\n ",
+ "comments": "",
+ "x": 2454.3092041015625,
+ "y": 480.5355813289061,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "4d70d179.abfd6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2446.618679046631,
+ "y": 684.0593125605956,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "b89d6eb0.60f5",
+ "b0f17e82.75d09"
+ ]
+ ]
+ },
+ {
+ "id": "b89d6eb0.60f5",
+ "type": "set",
+ "name": "set resp.vnf[$i].vf-module[$l].param[$m].name/value/resource-resolution-data.resource-key[] to service-data",
+ "xml": "<set>\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].name' \n \tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`\"/>\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].value' \n \tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`\"/>\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.status' \n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.status`\"/>\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.payload'\n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.payload`\"/>\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.capability-name'\n value=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.capability-name`\"/>\t\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key_length' \n \tvalue=\"`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`\"/>\n \n\n",
+ "comments": "",
+ "x": 2942.746139526367,
+ "y": 618.297290542163,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "b0f17e82.75d09",
+ "type": "for",
+ "name": "for n in vf-module...resource-key[]",
+ "xml": "<for silentFailure='true' index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2678.174247741699,
+ "y": 748.8528163218871,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "314ebe99.d70712"
+ ]
+ ]
+ },
+ {
+ "id": "314ebe99.d70712",
+ "type": "set",
+ "name": "set resp.vnf[$i].vf-mofule[$l].param[$m].resource-key[$n].name, value to service-data",
+ "xml": "<set>\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].name' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`\"/>\n<parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].value' \n\tvalue=\"`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`\"/>",
+ "comments": "",
+ "x": 3184.697998046875,
+ "y": 748.7576024318114,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "efe95ce8.2b499",
+ "type": "set",
+ "name": "set tmp.prnum = 0",
+ "xml": "<set>\n<parameter name='tmp.prnum' value='0' />\n",
+ "comments": "",
+ "x": 3150.2832679748535,
+ "y": 1164.2184736514464,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "cddaa3ac.80754",
+ "type": "set",
+ "name": "set tmp.prnum++",
+ "xml": "<set>\n<parameter name='tmp.prnum' value='`$tmp.prnum + 1`' />\n\n",
+ "comments": "",
+ "x": 3661.711845397949,
+ "y": 1265.6470892215148,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "d2fcba15.948ff8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3483.140277862549,
+ "y": 1230.7899620318785,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "4d55a716.46e8f8",
+ "cddaa3ac.80754"
+ ]
+ ]
+ },
+ {
+ "id": "a278c547.bff798",
+ "type": "set",
+ "name": "set tmp.pnum++",
+ "xml": "<set>\n<parameter name='tmp.pnum' value='`$tmp.pnum + 1`' />\n",
+ "comments": "",
+ "x": 3150.283332824707,
+ "y": 1375.6471416736022,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "4c6cf107.7073b",
+ "type": "set",
+ "name": "set tmp.vfprnum = 0",
+ "xml": "<set>\n<parameter name='tmp.vfprnum' value='0' />\n",
+ "comments": "",
+ "x": 4549.599584579468,
+ "y": 1587.9368569636717,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "4aa2b4b9.f0602c",
+ "type": "set",
+ "name": "set tmp.vfprnum++",
+ "xml": "<set>\n<parameter name='tmp.vfprnum' value='`$tmp.vfprnum + 1`' />\n \n",
+ "comments": "",
+ "x": 4976.10004234314,
+ "y": 1712.579607703723,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "aec2bda.f9b7a4",
+ "type": "set",
+ "name": "set tmp.vfpnum++",
+ "xml": "<set>\n<parameter name='tmp.vfpnum' value='`$tmp.vfpnum + 1`' />\n \n",
+ "comments": "",
+ "x": 4548.384588241577,
+ "y": 1854.008294799365,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "d794d67.5437d28",
+ "type": "set",
+ "name": "set resp.vnf_length = tmp.vnf_counter + 1",
+ "xml": "<set>\n<parameter name='resp.vnf_length' value='`$tmp.vnf_counter + 1`' />\n\n \n",
+ "comments": "",
+ "x": 2714.5271530151367,
+ "y": 2328.6859700465575,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "31ba7969.a46566",
+ "type": "set",
+ "name": "set tmp.vnf_counter++",
+ "xml": "<set>\n<parameter name='tmp.vnf_counter' value='`$tmp.vnf_counter + 1`' />\n \n",
+ "comments": "",
+ "x": 2643.8584899902344,
+ "y": 2386.9814193034545,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "39a5aff4.91af2",
+ "type": "comment",
+ "name": "Output all vnf and vf-module param and value",
+ "info": "",
+ "comments": "",
+ "x": 741.2697143554688,
+ "y": 271.32853482011706,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "2e5233b1.90a9bc",
+ "type": "comment",
+ "name": "pnum = output vnf param index",
+ "info": "",
+ "comments": "",
+ "x": 2974.8826751708984,
+ "y": 1039.4154507899657,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "9c032868.bb4028",
+ "type": "comment",
+ "name": "tmp.vnf-counter = output vnf index",
+ "info": "",
+ "comments": "",
+ "x": 2774.882942199707,
+ "y": 1159.4155037188902,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "6f06dffb.13272",
+ "type": "comment",
+ "name": "tmp.prnum = output vnf param resource-key index",
+ "info": "",
+ "comments": "",
+ "x": 3849.882987976074,
+ "y": 1155.6655037188902,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "4d4016ef.8b38a8",
+ "type": "set",
+ "name": "set tmp.vfpnum = 0",
+ "xml": "<set>\n<parameter name=\"tmp.vfpnum\" value='0'/>\n \n",
+ "comments": "",
+ "x": 3908.337999343872,
+ "y": 1470.1372029567137,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "8b050854.12e968",
+ "type": "comment",
+ "name": "Looping service-data...",
+ "info": "",
+ "comments": "",
+ "x": 2171.4739379882812,
+ "y": 638.3928286815062,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "aa7cc0d5.05e27",
+ "type": "set",
+ "name": "set tmp.vf_counter = 0",
+ "xml": "<set>\n <parameter name=\"tmp.vf_counter\" value='0'/>",
+ "comments": "",
+ "x": 2644.4283142089844,
+ "y": 1529.1882483744994,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "6220b481.69223c",
+ "type": "comment",
+ "name": "vfpnum = output vf-module param index",
+ "info": "",
+ "comments": "",
+ "x": 4657.853254318237,
+ "y": 1467.10689995531,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "5ce5334a.962ecc",
+ "type": "comment",
+ "name": "tmp.vfprnum = output vf-module param resource-key index",
+ "info": "",
+ "comments": "",
+ "x": 4939.103330612183,
+ "y": 1560.8568665767089,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "ed6f85e2.224788",
+ "type": "comment",
+ "name": "tmp.vf-counter = output vf-module index",
+ "info": "",
+ "comments": "",
+ "x": 4152.853315353394,
+ "y": 1574.6069161677733,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "d00eaf7b.17354",
+ "type": "set",
+ "name": "set tmp.vf_counter++",
+ "xml": "<set>\n <parameter name=\"tmp.vf_counter\" value='`$tmp.vf_counter + 1`'/>",
+ "comments": "",
+ "x": 2639.4286727905273,
+ "y": 2442.9382283473387,
+ "z": "56ce8362.93839c",
+ "wires": []
+ },
+ {
+ "id": "10bc99fc.a4ebc6",
+ "type": "not-found",
+ "name": "0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 837.0724258422852,
+ "y": 436.25100300554186,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "66daf27c.188a1c"
+ ]
+ ]
+ },
+ {
+ "id": "d463d07f.8a224",
+ "type": "not-found",
+ "name": "0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3415.4354705810547,
+ "y": 1555.3417861247435,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "47a2b55b.21472c"
+ ]
+ ]
+ },
+ {
+ "id": "3f36def1.16b282",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2936.864418029785,
+ "y": 2042.0175912166014,
+ "z": "56ce8362.93839c",
+ "wires": [
+ [
+ "9aef6544.25f9c8"
+ ]
+ ]
+ }
+]
\ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-get-resource-request.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-get-resource-request.xml index d602cc0e..f9351482 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-get-resource-request.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-get-resource-request.xml @@ -4,236 +4,417 @@ <method rpc='vnf-get-resource-request' mode='sync'>
<block atomic="true">
<set>
- <parameter name="vnf-get-resource-request-output.vnf-get-resource-response-information.service-instance-id" value='`$vnf-get-resource-request-input.service-information.service-instance-id`'/>
- <parameter name="vnf-get-resource-request-output.vnf-get-resource-response-information.service-instance-name" value='`$service-data.service-topology.service-topology-identifier.service-instance-name`'/>
+ <parameter name="resp.service-instance-id"
+ value='`$vnf-get-resource-request-input.service-information.service-instance-id`'/>
+ <parameter name="resp.service-instance-name"
+ value='`$service-data.service-topology.service-topology-identifier.service-instance-name`'/>
</set>
- <switch test="`$vnf-get-resource-request-input.vnf_length == ''`">
- <outcome value='true'>
- <block atomic="true">
+ <switch test="`$vnf-get-resource-request-input.vnf_length`">
+ <outcome value=''>
+ <block>
<set>
- <parameter name="vnf-get-resource-request-output.vnf-get-resource-response-information.vnf_length" value='`$service-data.vnfs.vnf_length`'/>
+ <parameter name="resp.vnf_length" value='`$service-data.vnfs.vnf_length`'/>
</set>
- <switch test="`$service-data.vnfs.vnf_length == ''`">
- <outcome value='false'>
- <for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >
- <block atomic="true">
+ <for silentFailure='true' index='i' start='0' end='`$service-data.vnfs.vnf_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$i].vnf-id' value="`$service-data.vnfs.vnf[$i].vnf-id`"/>
+ <parameter name='resp.vnf[$i].vnf-name' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-information.vnf-name`"/>
+ <parameter name='resp.vnf[$i].param_length' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`'/>
+ <parameter name='resp.vnf[$i].vf-module_length' value='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`'/>
+ </set>
+ <for silentFailure='true' index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
+ <block>
<set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vnf-id`' value="`$service-data.vnfs.vnf[$i].vnf-id`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vnf-name`' value="`$service-data.vnfs.vnf[$i].vnf-name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param_length`' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`'/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module_length`' value='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`'/>
+ <parameter name='resp.vnf[$i].param[$j].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`"/>
+ <parameter name='resp.vnf[$i].param[$j].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key_length'
+ value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' />
</set>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`">
- <outcome value='false'>
- <for index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
- <block atomic="true">
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.status`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.capability-name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.resource-key_length`' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' />
- </set>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length == ''`">
- <outcome value='false'>
- <for index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`"/>
- </set>
- </for>
- </outcome>
- </switch>
- </block>
+ <for silentFailure='true' index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >
+ <set>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`"/>
+ </set>
+ </for>
+ </block>
+ </for>
+ <for silentFailure='true' index='l' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$i].vf-module[$l].vf-module-id'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-id`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param_length'
+ value="`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`"/>
+ </set>
+ <for silentFailure='true' index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.status`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.capability-name`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key_length'
+ value="`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`"/>
+ </set>
+ <for silentFailure='true' index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
+ <set>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
+ </set>
</for>
- </outcome>
- </switch>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length == ''`">
- <outcome value='false'>
- <for index='l' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >
- <block atomic="true">
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].vf-module-id`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-id`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param_length`' value="`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`"/>
- </set>
- <for index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
- <block atomic="true">
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key_length`' value="`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`"/>
- </set>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length == ''`">
- <outcome value='false'>
- <for index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
- </set>
- </for>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='0'>
+ <block>
+ <set>
+ <parameter name="resp.vnf_length" value='`$service-data.vnfs.vnf_length`'/>
+ </set>
+ <for silentFailure='true' index='i' start='0' end='`$service-data.vnfs.vnf_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$i].vnf-id' value="`$service-data.vnfs.vnf[$i].vnf-id`"/>
+ <parameter name='resp.vnf[$i].vnf-name' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-information.vnf-name`"/>
+ <parameter name='resp.vnf[$i].param_length' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`'/>
+ <parameter name='resp.vnf[$i].vf-module_length' value='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`'/>
+ </set>
+ <for silentFailure='true' index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$i].param[$j].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`"/>
+ <parameter name='resp.vnf[$i].param[$j].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key_length'
+ value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' />
+ </set>
+ <for silentFailure='true' index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >
+ <set>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`"/>
+ <parameter name='resp.vnf[$i].param[$j].resource-resolution-data.resource-key[$k].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`"/>
+ </set>
+ </for>
+ </block>
+ </for>
+ <for silentFailure='true' index='l' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$i].vf-module[$l].vf-module-id'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-id`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param_length'
+ value="`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`"/>
+ </set>
+ <for silentFailure='true' index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.status`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.capability-name`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key_length'
+ value="`service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`"/>
+ </set>
+ <for silentFailure='true' index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
+ <set>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
+ <parameter name='resp.vnf[$i].vf-module[$l].param[$m].resource-resolution-data.resource-key[$n].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$l].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
+ </set>
</for>
- </outcome>
- </switch>
+ </block>
+ </for>
</block>
</for>
- </outcome>
- </switch>
+ </block>
+ </for>
</block>
</outcome>
- <outcome value='false'>
- <block atomic="true">
+ <outcome value='Other'>
+ <block>
<set>
<parameter name="tmp.vnf_counter" value='0'/>
</set>
- <for index='ll' start='0' end='`$vnf-get-resource-request-input.vnf_length`' >
- <block atomic="true">
+ <for silentFailure='true' index='ll' start='0' end='`$vnf-get-resource-request-input.vnf_length`' >
+ <block>
<set>
<parameter name="tmp.vnf-id" value="`$vnf-get-resource-request-input.vnf[$ll].vnf-id`"/>
</set>
- <switch test="`$service-data.vnfs.vnf_length == ''`">
- <outcome value='false'>
- <for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >
+ <for silentFailure='true' index='i' start='0' end='`$service-data.vnfs.vnf_length`' >
+ <switch test='`$tmp.vnf-id == $service-data.vnfs.vnf[$i].vnf-id`'>
+ <outcome value='true'>
<block atomic="true">
- <switch test='`$tmp.vnf-id == $service-data.vnfs.vnf[$i].vnf-id`'>
- <outcome value='true'>
- <block atomic="true">
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vnf-id`' value="`$service-data.vnfs.vnf[$i].vnf-id`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vnf-name`' value="`$service-data.vnfs.vnf[$i].vnf-name`"/>
- <parameter name="tmp.pnum" value='0'/>
- </set>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`">
- <outcome value='false'>
- <for index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
- <block atomic="true">
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vnf-id'
+ value="`$service-data.vnfs.vnf[$i].vnf-id`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vnf-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-information.vnf-name`"/>
+ </set>
+ <set>
+ <parameter name="tmp.pnum" value='0'/>
+ </set>
+ <for silentFailure='true' index='j' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`"/>
+ </set>
+ <set>
+ <parameter name='tmp.prnum' value='0' />
+ </set>
+ <for silentFailure='true' index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key_length`'
+ value='`$tmp.prnum + 1`' />
+ </set>
+ <set>
+ <parameter name='tmp.prnum' value='`$tmp.prnum + 1`' />
+ </set>
+ </block>
+ </for>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].param_length' value='`$tmp.pnum + 1`' />
+ </set>
+ <set>
+ <parameter name='tmp.pnum' value='`$tmp.pnum + 1`' />
+ </set>
+ </block>
+ </for>
+ <set>
+ <parameter name="tmp.vf_counter" value='0'/>
+ </set>
+ <for silentFailure='true' index='ln' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >
+ <switch test="`$vnf-get-resource-request-input.vnf[$ll].vf-module_length`">
+ <outcome value=''>
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`"/>
+ </set>
+ <set>
+ <parameter name="tmp.vfpnum" value='0'/>
+ </set>
+ <for silentFailure='true' index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.capability-name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.status`"/>
+ </set>
+ <set>
+ <parameter name='tmp.vfprnum' value='0' />
+ </set>
+ <for silentFailure='true' index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
<set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].value`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.status`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.status`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.capability-name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.capability-name`"/>
- <parameter name='tmp.prnum' value='0' />
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key_length`'
+ value="`$tmp.vfprnum + 1`" />
</set>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length == ''`">
- <outcome value='false'>
- <for index='k' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key_length`' >
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key[$tmp.prnum].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vnf-topology.vnf-parameters-data.param[$j].resource-resolution-data.resource-key[$k].value`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param[$tmp.pnum].resource-resolution-data.resource-key_length`' value='`$tmp.prnum + 1`' />
- <parameter name='tmp.prnum' value='`$tmp.prnum + 1`' />
- </set>
- </for>
- </outcome>
- </switch>
<set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].param_length`' value='`$tmp.pnum + 1`' />
- <parameter name='tmp.pnum' value='`$tmp.pnum + 1`' />
+ <parameter name='tmp.vfprnum' value='`$tmp.vfprnum + 1`' />
</set>
- </block>
- </for>
- </outcome>
- </switch>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length == ''`">
- <outcome value='false'>
- <for index='ln' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module_length`' >
- <switch test="`$vnf-get-resource-request-input.vnf[$ll].vf-module_length == ''`">
- <outcome value='false'>
- <for index='jj' start='0' end='`$vnf-get-resource-request-input.vnf[$ll].vf-module_length`' >
- <switch test='`$vnf-get-resource-request-input.vnf[$ll].vf-module[$jj].vf-module-id == $service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`'>
- <outcome value='true'>
- <block atomic="true">
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`"/>
- <parameter name="tmp.vfpnum" value='0'/>
- </set>
- <for index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
- <block atomic="true">
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
- <parameter name='tmp.pvnfrnum' value='0' />
- </set>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length == ''`">
- <outcome value='false'>
- <for index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.pvnfrnum].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.pvnfrnum].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key_length`' value='`$tmp.pvnfrnum + 1`' />
- <parameter name='tmp.pvnfrnum' value='`$tmp.pvnfrnum + 1`' />
- </set>
- </for>
- </outcome>
- </switch>
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param_length`' value='`$tmp.vfpnum + 1`' />
- <parameter name='tmp.vfpnum' value='`$tmp.vfpnum + 1`' />
- </set>
- </block>
- </for>
- </block>
- </outcome>
- </switch>
- </for>
- </outcome>
- <outcome value='true'>
- <block atomic="true">
+ </for>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param_length'
+ value='`$tmp.vfpnum + 1`' />
+ </set>
+ <set>
+ <parameter name='tmp.vfpnum' value='`$tmp.vfpnum + 1`' />
+ </set>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='0'>
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`"/>
+ </set>
+ <set>
+ <parameter name="tmp.vfpnum" value='0'/>
+ </set>
+ <for silentFailure='true' index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.capability-name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.status`"/>
+ </set>
+ <set>
+ <parameter name='tmp.vfprnum' value='0' />
+ </set>
+ <for silentFailure='true' index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key_length`'
+ value="`$tmp.vfprnum + 1`" />
+ </set>
+ <set>
+ <parameter name='tmp.vfprnum' value='`$tmp.vfprnum + 1`' />
+ </set>
+ </for>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param_length'
+ value='`$tmp.vfpnum + 1`' />
+ </set>
+ <set>
+ <parameter name='tmp.vfpnum' value='`$tmp.vfpnum + 1`' />
+ </set>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='Other'>
+ <for silentFailure='true' index='jj' start='0' end='`$vnf-get-resource-request-input.vnf[$ll].vf-module_length`' >
+ <switch test='`$vnf-get-resource-request-input.vnf[$ll].vf-module[$jj].vf-module-id == $service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`'>
+ <outcome value='true'>
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`"/>
+ </set>
+ <set>
+ <parameter name="tmp.vfpnum" value='0'/>
+ </set>
+ <for silentFailure='true' index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
+ <block>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.capability-name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.capability-name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.payload'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.payload`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.status'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.status`"/>
+ </set>
<set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].vf-module-id`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-id`"/>
- <parameter name="tmp.vfpnum" value='0'/>
+ <parameter name='tmp.vfprnum' value='0' />
</set>
- <for index='m' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >
- <block atomic="true">
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].value`"/>
- <parameter name='tmp.pvnfrnum' value='0' />
- </set>
- <switch test="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length == ''`">
- <outcome value='false'>
- <for index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.pvnfrnum].name`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.pvnfrnum].value`' value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key_length`' value='`$tmp.pvnfrnum + 1`' />
- <parameter name='tmp.pvnfrnum' value='`$tmp.pvnfrnum + 1`' />
- </set>
- </for>
- </outcome>
- </switch>
- <set>
- <parameter name='`vnf-get-resource-request-output.vnf-get-resource-response-information.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param_length`' value='`$tmp.vfpnum + 1`' />
- <parameter name='tmp.vfpnum' value='`$tmp.vfpnum + 1`' />
- </set>
- </block>
+ <for silentFailure='true' index='n' start='0' end='`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key_length`' >
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].name'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].name`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key[$tmp.vfprnum].value'
+ value="`$service-data.vnfs.vnf[$i].vnf-data.vf-modules.vf-module[$ln].vf-module-data.vf-module-topology.vf-module-parameters.param[$m].resource-resolution-data.resource-key[$n].value`"/>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param[$tmp.vfpnum].resource-resolution-data.resource-key_length`'
+ value="`$tmp.vfprnum + 1`" />
+ </set>
+ <set>
+ <parameter name='tmp.vfprnum' value='`$tmp.vfprnum + 1`' />
+ </set>
</for>
+ <set>
+ <parameter name='resp.vnf[$tmp.vnf_counter].vf-module[$tmp.vf_counter].param_length'
+ value='`$tmp.vfpnum + 1`' />
+ </set>
+ <set>
+ <parameter name='tmp.vfpnum' value='`$tmp.vfpnum + 1`' />
+ </set>
</block>
- </outcome>
- </switch>
- </for>
- </outcome>
- </switch>
- <set>
- <parameter name='vnf-get-resource-request-output.vnf-get-resource-response-information.vnf_length' value='`$tmp.vnf_counter + 1`' />
- <parameter name='tmp.vnf_counter' value='`$tmp.vnf_counter + 1`' />
- </set>
- </block>
- </outcome>
- </switch>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ </switch>
+ </for>
+ <set>
+ <parameter name='resp.vnf_length' value='`$tmp.vnf_counter + 1`' />
+ </set>
+ <set>
+ <parameter name='tmp.vnf_counter' value='`$tmp.vnf_counter + 1`' />
+ </set>
+ <set>
+ <parameter name="tmp.vf_counter" value='`$tmp.vf_counter + 1`'/>
+ </set>
</block>
- </for>
- </outcome>
- </switch>
+ </outcome>
+ </switch>
+ </for>
</block>
</for>
</block>
</outcome>
</switch>
+ <set>
+ <parameter name="vnf-get-resource-request-output.vnf-get-resource-response-information." value='resp.'/>
+ </set>
<return status="success">
<parameter name="error-code" value="200" />
</return>
|